Minor Changes
-
ed928a0: Update ActionBar with enter/exit animations, keyboard support, and built-in Table integration.
- Add
useActionBarhook andActionBarContextfor managing selection state between ActionBar and Table - Add
actionBarrender prop to Table for automatic selection wiring and ActionBar positioning - Add enter/exit animations using
motion/reactand react-ariauseEnterAnimation/useExitAnimation - Add Escape key support to clear selection via
FocusScopeanduseKeyboard - Add screen reader announcement when ActionBar appears
- Add localized
selectedCount/selectedAllmessages (en-US, de-DE) - Update ActionBar theme slots: rename
actionstotoolbar, addselectionslot - Update theme type definition to match new slot names
- Add
-
e6091b6: Export
appearancesmap from@marigold/theme-rui/appearancesThe theme package now exports a typed
appearancesobject (andAppearancestype) via@marigold/theme-rui/appearances. This map is auto-generated during the build from component style files and contains the availablevariant/sizekeys for each themed component.This removes the duplicated
build-appearances.mjsscripts that previously existed indocs, replacing them with a single source of truth in the theme package. -
b115fda: Migrate from
class-variance-authoritytocvaand simplifyextendThemevia function composition.- Replace
class-variance-authoritydependency withcva(v1 beta), which has built-in Tailwind merge support viadefineConfig - Refactor the custom
cvawrapper to usecva'sdefineConfigwith atwMergehook, storing variant configs in a WeakMap (for docs introspection) instead of a.variantsproperty - Simplify
extendThemeto compose style functions directly (cn(existingFn(props), newFn(props))) instead of extracting and merging variant configs — this preservesdefaultVariantsandcompoundVariantsthat were previously lost during merging - Update all theme style files in
theme-ruito the newcvaAPI (object config withbase/variants/compoundVariantskeys)
- Replace
-
61bfc60: Refactor relational spacing scale for better semantic clarity and visual rhythm.
- Rename
--spacing-peertoken to--spacing-regular - Remove unused
--spacing-joinedand--spacing-contexttokens - Adjust spacing scale values: tight (4px→6px), regular (16px→24px), group (32px→48px), section (64px→96px)
- Move field-internal spacing from theme (
Field.stylesspace-y-2) into component implementations using newin-fieldcustom variant - Add
in-field:mb-1.5to Label andin-field:mt-1to HelpText for consistent field layout - Update
SpacingTokenstype to reflect new scale
- Rename
-
470d81c: feat(DST-979): Introduce a dedicated Sidebar component
Add new
Sidebarcomponent for persistent app-level navigation. Features compound component API (Sidebar.Header,Sidebar.Nav,Sidebar.Item,Sidebar.Footer,Sidebar.Toggle, etc.), drill-down sub-navigation with animated transitions, collapse/expand with keyboard shortcut (Cmd+B / Ctrl+B) and localStorage persistence, mobile-responsive sheet overlay, full accessibility support, and i18n (EN/DE). -
c3bf8e4: feat([DST-1168]): Introduce TopNavigation Component
- Three-slot grid layout (
Start,Middle,End) using compound component pattern - Semantic HTML with
<header>container and<nav>landmarks - Sticky by default, configurable alignment, and i18n ARIA labels
- Theme styles for
theme-ruiand type definitions in@marigold/system
- Three-slot grid layout (
Patch Changes
-
91eb222: Update ActionBar styling with surface contrast and dedicated button slot.
- Apply
ui-surface-contrastutility to ActionBar container for adaptive theming - Add
buttonslot to ActionBar theme for properly styled action buttons (replacesButton.ghost) - Add
clearButtonhover/focus/disabled styles using theme-aware utilities - Update
ActionButtonto useActionBar.buttonclassNames instead ofButton.ghost - Replace
CloseButtonwithIconButtonfor the clear selection button - Update stories to use
lucide-reacticons directly
- Apply
-
cf56729: Add explicit
typescondition to package exports for reliable type resolution. -
5d4c915: feat([DST-1240]): Add auto-collapse behavior to Breadcrumbs. The
maxVisibleItemsprop now defaults to'auto', which uses aResizeObserverto progressively show or hide breadcrumb items based on available container width. -
28eba72: Improve color contrast ratios to meet WCAG AA standards.
Token changes (theme.css):
- Bump
muted-foregroundfrom stone-500 to stone-600 (4.71:1 → 7.55:1) - Bump
disabled-foregroundfrom stone-400 to stone-500 (2.37:1 → 4.71:1) - Bump
placeholderfrom stone-500 to stone-600 (4.71:1 → 7.55:1)
Component fixes:
- Remove opacity modifiers (
/80,/70) on muted-foreground in Calendar, ComboBox, Select, DatePicker, and Input - Replace
text-foreground/60in Table editable cells withtext-muted-foreground - Replace
marker:text-foreground/50in List withmarker:text-muted-foreground - Replace
opacity-60in Accordion icon and Menu item SVGs withtext-muted-foreground - Replace
disabled:opacity-50in Tabs withdisabled:text-disabled-foreground - Replace hardcoded
bg-stone-300/bg-stone-800in Table drop indicator withbg-border/bg-brandtokens - Fix bug where
disabled:text-gray-50made Input icons nearly invisible
- Bump
-
b61ba43: Refined elevation shadow tokens:
shadow-elevation-borderis slightly more subtle with symmetric spread;shadow-elevation-raisedsoftens the crisp first layer and is a touch darker overall. -
7ca2eb1: feat([DST-1227]): 💄 Implement Animated Transitions for Tabs Component, The active tab underline must slide smoothly between items
-
f7870ce: Reinforce floating Drawer panel boundary with darker border and spread shadow
-
a3e3e8e: Replace fixed
hover:bg-hover hover:text-foregroundwithhover:bg-current/10on ghost-style buttons. The new value usescurrentColorat 10% opacity so the hover background adapts to any container (light or dark) without forcing a fixed stone-100 background or overriding text color. Applied consistently toButton(ghost, destructive-ghost),IconButton,Pagination,Tabs, andTableeditable-cell action buttons. -
beebd7c: Improve ListBox and Menu usability on mobile screens (DST-1210).
- Align
useSmallScreenhook with Tailwind'ssmbreakpoint by deriving the value fromdefaultTheme.screens.smusing CSS Media Queries Level 4 range syntax (width < 640px) - Add
max-sm:min-h-11(44px) to ListBox and Menu items for WCAG 2.1 touch targets on mobile - Replace
min-[600px]:withsm:in Table editable cell styles for breakpoint consistency - Refactor
useSmallScreento useMediaQueryList.addEventListener('change')instead ofwindow.resize - Extract shared
mockMatchMediatest helper intotest.utils
- Align
-
9de007c: Align
Menubutton styles withButtonby reusingbuttonBase— consistent sizing, hover, disabled, and pending states across both components. -
ed2baef: fix(NumberField): prevent group from appearing disabled when stepper hits min/max boundary
-
a715f08: Add shared CSS utilities
ui-interactive,ui-press,ui-panel-header, andui-panel-actionsto reduce repeated style patterns across component theme files. -
600d09f: fix(DSTSUP-233): Added card shadows to master- and adminmark
-
1ec6788: Set explicit
py-0on table column headers to prevent external systems from overriding vertical padding -
f63e57f: refactor(DST-1233): remove tailwindcss-animate, standardize overlay animations
-
Updated dependencies [91eb222]
-
Updated dependencies [ed928a0]
-
Updated dependencies [cf56729]
-
Updated dependencies [5d4c915]
-
Updated dependencies [b3c7085]
-
Updated dependencies [3019d28]
-
Updated dependencies [efbd292]
-
Updated dependencies [7ca2eb1]
-
Updated dependencies [95c22b6]
-
Updated dependencies [4a24ad6]
-
Updated dependencies [beebd7c]
-
Updated dependencies [b115fda]
-
Updated dependencies [61bfc60]
-
Updated dependencies [470d81c]
-
Updated dependencies [600d09f]
-
Updated dependencies [c3bf8e4]
-
Updated dependencies [f63e57f]
-
Updated dependencies [d963df2]
- @marigold/components@17.2.0
- @marigold/system@17.2.0