Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
60.33 KB
MD5: 7b8fe9c5198be37ce94484dc189ed9b1
SHA-1: 948928763fec0a4455297c55a7759cc2c065a8a9
SHA-256: aaba28d4bd6250e0caef95b4a6b0b442d8e8e31826c5137d4dc957ee8e0b0497
Download zip
129.18 KB
MD5: d7192146455cdbcf076f0bcd31327ce5
SHA-1: 44ebe4b72d0486bdcf04bfd98477ea8bcc304801
SHA-256: 4fd89e1b206dd1abb6327d8201d8200bdfe11e8e06ec15c97858160a8e630ddd
Release notes
SDX React Base 1.0.0-alpha2 fixes the details element Card chrome (className merge on the details template), adds update-report template components, a stateless confirm-form card and CheckboxToggle, and hardens vertical-tabs and form-element rendering.
Fixed
templates/details/details.tsx: merge the design-system base class (sdx-details,sdx-details__summary) with Drupal-suppliedattributes/summary_attributesinstead of letting the spread overwrite it. Restores Card chrome on every native details element rendered through SDX.
Added
- Update-report template components for the Drupal core update module.
- Stateless
confirm-formcard,CheckboxToggle,rich-text-fieldhook. - Fallback templates adopt
@sdx/ui/BadgeandEmptyStateprimitives.
Changed
isSdxNodecheck is stricter: requires bothcomponentandhtmlproperties.- Table
cellContent: preserveComponentNodedata soHtmlFragmentcan render it without losing structure. vertical-tabsrenders from structured children; drops DOM parsing.form-element: attributes routed throughspreadAttributes.- Block templates typed against shared
BlockPropsfrom@sdx/base/types. useDrupalFormuses@sdx/securityfor CSRF.- Select dropdown width fix;
text-format-wrapperoverride. - Drop
sdx_typescriptdependency.
Internal
- Cleanup pass after the
vertical-tabsandform-elementrefactors (dead code removed, comment hygiene).
Full changelog: CHANGELOG.md