github marigold-ui/marigold @marigold/components@17.4.0

latest release: @marigold/system@17.4.0
one day ago

Minor Changes

  • f4f7a05: feat(DST-1306): migrate Card padding props to semantic spacing tokens

    • Refactor Card to use createSpacingVar instead of static padding class maps
    • space prop (gap between children) continues to accept relational SpacingTokens (tight, related, regular, group, section) and numeric scale values
    • p prop (all sides) now accepts InsetSpacingTokens (square-*, squish-*, stretch-*) and numeric scale values
    • px/py/pt/pb/pl/pr now accept PaddingSpacingTokens (padding-tight, padding-snug, padding-regular, padding-relaxed, padding-loose) and numeric scale values
  • f560d95: feat(DST-1239): migrate Inset component to semantic spacing tokens

    • space prop accepts inset recipe tokens (square-*, squish-*, stretch-*) and numeric scale values
    • spaceX/spaceY props accept single-value padding tokens (padding-tight, padding-snug, padding-regular, padding-relaxed, padding-loose) and numeric scale values
    • Add InsetSpacingTokens type for multi-value inset recipes
    • Add PaddingSpacingTokens type for single-value per-axis padding
    • Add --spacing-padding-* CSS custom properties to theme
  • a4b467f: feat(DST-1323): always-on virtualization for <Select>, <ComboBox>, and <Autocomplete> dropdowns

    Follow-up to #5307. Large datasets (hundreds to thousands of items) no longer freeze the browser when opening or filtering these components — the internal <ListBox> is now virtualized with react-aria's Virtualizer + ListLayout (same pattern used by <TagField>).

    • <Select>, <ComboBox>, <Autocomplete>: virtualization is enabled by default on desktop, with no public API change
    • <ListBox>: the virtualized list now has a bounded height (max-h: 24rem) so the virtualizer has a viewport to clip against when used inside a <Popover>

Patch Changes

  • bbf0832: refactor([DSTSUP-245]): Clean up Calendar styles

    Move hardcoded Tailwind classes from Calendar component files into theme slots, reduce cell padding from p-2 to p-1, and add new calendarHeading theme slot.

  • 3f77810: Remove redundant subcomponent exports (AccordionItem, ListBoxItem, SelectListItem, ProgressCircleSvg) from the public index. These are already accessible via their parent compound components (e.g., Accordion.Item) or are internal implementation details.

  • 85b2eb0: fix(DST-1275): improve EditableCell hover/focus affordance with data-editable attribute

  • 50566a2: fix(DSTSUP-241): remove redundant label from mobile Menu tray

    The Menu component's label prop serves as trigger button text. On mobile,
    it was also rendered as <Tray.Title>, duplicating the label the user just
    tapped. Unlike form components (Select, ComboBox, DatePicker) where the label
    describes a field, the Menu label has no additional context value inside the
    tray. Removing it keeps the mobile tray clean and avoids showing non-text
    labels (e.g. icons from ActionMenu) as tray titles.

  • 203baca: Replace local useRenderProps hook with the export from react-aria-components, removing redundant code.

  • 969c8cc: chore([DST-1290]): Upgrade lucide-react from v0.575.0 to v1.x

    Upgraded lucide-react to the stable v1 API, which brings ~32% bundle size reduction and default aria-hidden on icons.
    No icon renames or removals affect the codebase since no brand icons from lucide are used.

  • Updated dependencies [bbf0832]

  • Updated dependencies [d341a9d]

  • Updated dependencies [f560d95]

    • @marigold/system@17.4.0

Don't miss a new marigold release

NewReleases is sending notifications on new releases.