@ai-matrx/design-system 0.55.1 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.56.0
4
+
5
+ - **THE PANEL MOTION (the motion standard, Arman 2026-10-02).** Every panel-like slide the
6
+ package ships now opens AND closes on one token pair, `--matrx-motion-duration-panel` /
7
+ `--matrx-motion-ease-panel`: the Sheet on every side (was 500ms `ease-out` in, 300ms
8
+ `ease-in` out), the mobile Dialog / CommandDialog bottom sheet (was 200ms), the vaul Drawer
9
+ and its scrim (was vaul 1.1.2's 0.5s `cubic-bezier(0.32,0.72,0,1)`, including the inline
10
+ settle after a released drag — a drag itself still has no transition), and the Sidebar's
11
+ collapse (`--sidebar-duration` / `--sidebar-easing` are now defined from the pair, was
12
+ 200ms `linear`). The names are the package's contract; `tokens.css` ships the standard as
13
+ the layered default — 600ms, `cubic-bezier(0.4, 0, 0.2, 1)`, 0ms under
14
+ `prefers-reduced-motion: reduce` — and a host that declares them unlayered owns the values.
15
+ `--matrx-motion-duration-sheet` is removed (nothing reads it). Menus, popovers, tooltips and
16
+ dialogs keep the small-motion tokens. Guard: `src/panel-motion.test.ts` (15 red on 0.55.1).
17
+
18
+ ### Consumer action
19
+
20
+ - Hosts that already define `--matrx-motion-duration-panel` / `--matrx-motion-ease-panel`
21
+ (matrx-frontend `app/globals.css`) need nothing. Any other host gets the standard from
22
+ `tokens.css`; to retime every panel at once, redeclare the two tokens unlayered.
23
+ - Remove any host override of `--matrx-motion-duration-sheet` (no longer read).
24
+
3
25
  ## 0.55.1
4
26
 
5
27
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.cjs CHANGED
@@ -4757,8 +4757,8 @@ function SidebarProvider({
4757
4757
  style: {
4758
4758
  "--sidebar-width": SIDEBAR_WIDTH,
4759
4759
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
4760
- "--sidebar-duration": "200ms",
4761
- "--sidebar-easing": "linear",
4760
+ "--sidebar-duration": "var(--matrx-motion-duration-panel)",
4761
+ "--sidebar-easing": "var(--matrx-motion-ease-panel)",
4762
4762
  ...style
4763
4763
  },
4764
4764
  className: cn(