@ai-matrx/design-system 0.86.338 → 0.86.339

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,9 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.86.339
4
+
5
+ - **Hover text has a touch twin** (2026-10-23): where nothing can hover (a phone, a mouse-less tablet) a menu row's hover text is its muted second line — the menu look's `labelTitle` (every `ItemMenu` dropdown / right-click row) and a `SelectItem`'s `description` draw a `[data-touch-hint]` line shown only under `(hover: none)` (menu-look.css), and the phone `ItemMenuDrawer` draws an entry's `description` under its label again. Desktop keeps one line per row. Proof: `src/item/hover-text-has-a-touch-twin.test.tsx`, `src/select.test.tsx`. Consumer action: none.
6
+
3
7
  ## 0.86.338
4
8
 
5
- UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/design-system/src`.
9
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
10
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
11
+ Diff: `git diff 903759de6e 82d533cb27 -- apps/shared/design-system/src`
12
+
13
+ Changed shipped source files (5):
14
+ - `apps/shared/design-system/src/item/ItemMenuDrawer.tsx`
15
+ - `apps/shared/design-system/src/item/types.ts`
16
+ - `apps/shared/design-system/src/menu-look.css`
17
+ - `apps/shared/design-system/src/menu-look.tsx`
18
+ - `apps/shared/design-system/src/select.tsx`
19
+
20
+ ## 0.86.337
21
+
22
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
23
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
24
+ Diff: `git diff 1273dc6962 903759de6e -- apps/shared/design-system/src`
25
+
26
+ Changed shipped source files (1):
27
+ - `apps/shared/design-system/src/organization-picker.tsx`
7
28
 
8
29
  ## 0.86.336
9
30
 
@@ -66,18 +66,28 @@ button[data-alchemy-trigger="icon"] > svg { width: 0.875rem; height: 0.875rem; s
66
66
  .matrx-alchemy-palette-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
67
67
  .matrx-alchemy-palette-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
68
68
  .matrx-alchemy-palette-tile { display: grid; place-items: center; align-content: center; gap: 0.1875rem; min-width: 0; min-height: 2.75rem; padding: 0.3125rem 0; border: 0; border-radius: 0.375rem; background: transparent; color: hsl(var(--foreground, 240 10% 4%)); font: inherit; font-size: 0.6875rem; line-height: 1.15; text-align: center; cursor: pointer; }
69
- .matrx-alchemy-palette-tile > span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
69
+ /* The strip's tiles are the design-system Tile (layout="stack"), whose card padding and 4.5rem height are
70
+ `!important` in the tap-lock layer — so the palette's compact tile is declared in that layer, one step more
71
+ specific, borderless (the palette is one surface, no box inside it). Unlayered, it lost: "Markdown" read
72
+ "Ma…" in a 58px column. */
73
+ @layer matrx-tap-lock {
74
+ .matrx-tile.matrx-alchemy-palette-tile[data-layout="stack"] { align-items: center !important; justify-content: center !important; gap: 0.1875rem !important; min-height: 2.75rem !important; padding: 0.3125rem 0 !important; border-width: 0 !important; background-color: transparent !important; }
75
+ .matrx-tile.matrx-alchemy-palette-tile[data-layout="stack"] .matrx-tile-text { width: 100%; align-items: center; }
76
+ .matrx-tile.matrx-alchemy-palette-tile[data-layout="stack"] .matrx-tile-title { max-width: 100%; font-size: 0.6875rem !important; font-weight: 400 !important; line-height: 1.15 !important; text-align: center; }
77
+ }
70
78
  .matrx-alchemy-palette-glyph { width: 1rem; height: 1rem; color: hsl(var(--muted-foreground, 240 4% 46%)); flex: 0 0 auto; }
71
- .matrx-alchemy-palette-tile > :is(.matrx-alchemy-palette-glyph, .matrx-alchemy-menu-icon, .matrx-alchemy-copied-check) { width: 1rem; height: 1rem; }
79
+ .matrx-alchemy-palette-tile :is(.matrx-alchemy-palette-glyph, .matrx-alchemy-menu-icon, .matrx-alchemy-copied-check) { width: 1rem; height: 1rem; }
72
80
  .matrx-alchemy-palette-group { display: grid; gap: 0; margin-top: 0.25rem; padding-top: 0.25rem; border-top: 1px solid hsl(var(--border, 240 6% 90%)); }
73
81
  .matrx-alchemy-palette > .matrx-alchemy-palette-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
74
82
  .matrx-alchemy-palette-row,
75
83
  .matrx-alchemy-palette-fold > summary { display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 1.75rem; padding: 0.25rem 0.5rem; border: 0; border-radius: 0.3125rem; background: transparent; color: hsl(var(--foreground, 240 10% 4%)); font: inherit; font-size: 0.8125rem; font-weight: 400; line-height: 1.2; text-align: left; cursor: pointer; }
76
- .matrx-alchemy-palette-row > span,
84
+ /* A row is a Tile: only its text column grows. Every-span (`> span`) also grew Tile's icon slot to half the
85
+ row and pushed each label to the right edge. */
86
+ .matrx-alchemy-palette-row > .matrx-tile-text,
77
87
  .matrx-alchemy-palette-fold > summary > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
78
- .matrx-alchemy-palette-row > :is(.matrx-alchemy-palette-glyph, .matrx-alchemy-menu-icon),
88
+ .matrx-alchemy-palette-row :is(.matrx-alchemy-palette-glyph, .matrx-alchemy-menu-icon),
79
89
  .matrx-alchemy-palette-fold > summary > .matrx-alchemy-palette-glyph { width: 1rem; height: 1rem; }
80
- .matrx-alchemy-palette-row-ai > .matrx-alchemy-palette-glyph { color: hsl(var(--primary, 262 43% 51%)); }
90
+ .matrx-alchemy-palette-row-ai .matrx-alchemy-palette-glyph { color: hsl(var(--primary, 262 43% 51%)); }
81
91
  .matrx-alchemy-palette-fold > summary { list-style: none; }
82
92
  .matrx-alchemy-palette-fold > summary::-webkit-details-marker { display: none; }
83
93
  .matrx-alchemy-palette-fold > summary .matrx-alchemy-disclosure { width: 0.875rem; height: 0.875rem; color: hsl(var(--muted-foreground, 240 4% 46%)); transition: transform 120ms ease; }
@@ -694,7 +704,7 @@ label.matrx-alchemy-prep-node.matrx-alchemy-check > .matrx-alchemy-prep-size { g
694
704
  /* Inside a host menu (row ⋯ › Alchemy) the host's panel IS the surface: never a card inside it. */
695
705
  .matrx-alchemy-menu.matrx-alchemy-palette[data-embedded] { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
696
706
  .matrx-alchemy-palette-row[data-copied="true"] .matrx-alchemy-copied-check { color: hsl(var(--success)); }
697
- .matrx-alchemy-palette-row > .matrx-alchemy-copied-check { width: 1rem; height: 1rem; }
707
+ .matrx-alchemy-palette-row .matrx-alchemy-copied-check { width: 1rem; height: 1rem; }
698
708
  /* Choose what to copy (2026-10-14): the token budget row above the data tree. */
699
709
  .matrx-alchemy-prep-budget { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; margin-bottom: 0.5rem; }
700
710
  .matrx-alchemy-prep-budget-meter { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: hsl(var(--foreground)); }
package/dist/index.cjs CHANGED
@@ -13315,7 +13315,7 @@ function MenuDoor({ action, menu, disabled }) {
13315
13315
  variant: "quiet",
13316
13316
  "aria-label": action.label,
13317
13317
  title: action.label,
13318
- icon: action.busy ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Loader2Icon, { className: "animate-spin" }) : glyph,
13318
+ icon: action.busy ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Loader2Icon, { className: "matrx-spin" }) : glyph,
13319
13319
  className: "shrink-0",
13320
13320
  disabled: disabled || action.busy,
13321
13321
  onClick: (event) => event.stopPropagation()
@@ -13544,7 +13544,7 @@ function PeekCardFooter({ primary, primaryAt, onSettings, doors = [], copy, open
13544
13544
  style: fills ? { minWidth: PEEK_PRIMARY_MIN_PX[sheet ? "sheet" : "card"] } : void 0,
13545
13545
  disabled: loading || primary.disabled || primary.busy,
13546
13546
  title: primary.title,
13547
- icon: primary.busy ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Loader2Icon, { className: "animate-spin" }) : void 0,
13547
+ icon: primary.busy ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Loader2Icon, { className: "matrx-spin" }) : void 0,
13548
13548
  onClick: primary.onClick,
13549
13549
  children: primary.label
13550
13550
  }