Install

Works with Drupal: ^10.3 || ^11

Using 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-supplied attributes / summary_attributes instead 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-form card, CheckboxToggle, rich-text-field hook.
  • Fallback templates adopt @sdx/ui/Badge and EmptyState primitives.

Changed

  • isSdxNode check is stricter: requires both component and html properties.
  • Table cellContent: preserve ComponentNode data so HtmlFragment can render it without losing structure.
  • vertical-tabs renders from structured children; drops DOM parsing.
  • form-element: attributes routed through spreadAttributes.
  • Block templates typed against shared BlockProps from @sdx/base/types.
  • useDrupalForm uses @sdx/security for CSRF.
  • Select dropdown width fix; text-format-wrapper override.
  • Drop sdx_typescript dependency.

Internal

  • Cleanup pass after the vertical-tabs and form-element refactors (dead code removed, comment hygiene).

Full changelog: CHANGELOG.md

Created by: vzsigmond
Created on: 17 Apr 2026 at 15:18 UTC
Last updated: 17 Apr 2026 at 15:18 UTC
Bug fixes
New features

Other releases