@ai-matrx/design-system 0.86.337 → 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.
Files changed (88) hide show
  1. package/CHANGELOG.md +37 -2
  2. package/dist/carousel.js +6 -6
  3. package/dist/{chunk-GHPUO3O7.js → chunk-5IR3BZOS.js} +2 -2
  4. package/dist/{chunk-DQUCOMAC.js → chunk-6QKT52FR.js} +2 -2
  5. package/dist/{chunk-B24DLFWR.js → chunk-B4WMMAAJ.js} +2 -2
  6. package/dist/{chunk-M34WPTPX.js → chunk-CEA6X445.js} +2 -2
  7. package/dist/{chunk-PBDQZPKV.js → chunk-CJBSBKG5.js} +2 -2
  8. package/dist/{chunk-Q2HWDJED.js → chunk-GLLPO66A.js} +2 -2
  9. package/dist/{chunk-WZC3K7SO.js → chunk-LGC6EVFE.js} +4 -4
  10. package/dist/chunk-LGC6EVFE.js.map +1 -0
  11. package/dist/{chunk-BYOFPPPI.js → chunk-M45FEAVG.js} +4 -4
  12. package/dist/{chunk-RGJPHRU3.js → chunk-T4IJELSS.js} +4 -4
  13. package/dist/{chunk-L5OACQXS.js → chunk-TO4ZLGDW.js} +5 -2
  14. package/dist/chunk-TO4ZLGDW.js.map +1 -0
  15. package/dist/{chunk-VQ3G6AFN.js → chunk-TWRC7NP4.js} +4 -4
  16. package/dist/{chunk-BM2YYBUO.js → chunk-UM45E3LO.js} +2 -2
  17. package/dist/{chunk-SMJGESH7.js → chunk-WFITMVDB.js} +5 -2
  18. package/dist/{chunk-SMJGESH7.js.map → chunk-WFITMVDB.js.map} +1 -1
  19. package/dist/{chunk-QOEKPR37.js → chunk-XTP6HOB6.js} +2 -2
  20. package/dist/clipboard-fallback-dialog.cjs +4 -1
  21. package/dist/clipboard-fallback-dialog.cjs.map +1 -1
  22. package/dist/clipboard-fallback-dialog.js +3 -3
  23. package/dist/content-transfer.css +16 -6
  24. package/dist/controls.cjs +4 -1
  25. package/dist/controls.cjs.map +1 -1
  26. package/dist/controls.js +6 -6
  27. package/dist/data-table/data-row-inspector.js +5 -5
  28. package/dist/data-table/data-row-window.js +6 -6
  29. package/dist/data-table/index.cjs +4 -1
  30. package/dist/data-table/index.cjs.map +1 -1
  31. package/dist/data-table/index.js +9 -9
  32. package/dist/data-table/layered-filter-builder.cjs +4 -1
  33. package/dist/data-table/layered-filter-builder.cjs.map +1 -1
  34. package/dist/data-table/layered-filter-builder.js +2 -2
  35. package/dist/data-table/pagination.cjs +4 -1
  36. package/dist/data-table/pagination.cjs.map +1 -1
  37. package/dist/data-table/pagination.js +3 -3
  38. package/dist/data-table/uuid-cell.js +3 -3
  39. package/dist/desktop.cjs +4 -1
  40. package/dist/desktop.cjs.map +1 -1
  41. package/dist/desktop.js +5 -5
  42. package/dist/email-input-dialog.cjs +4 -1
  43. package/dist/email-input-dialog.cjs.map +1 -1
  44. package/dist/email-input-dialog.js +2 -2
  45. package/dist/index.cjs +10 -4
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +4 -3
  48. package/dist/index.d.ts +4 -3
  49. package/dist/index.js +11 -11
  50. package/dist/index.js.map +1 -1
  51. package/dist/item.cjs +5 -2
  52. package/dist/item.cjs.map +1 -1
  53. package/dist/item.d.cts +5 -3
  54. package/dist/item.d.ts +5 -3
  55. package/dist/item.js +4 -4
  56. package/dist/lite-table.js +2 -2
  57. package/dist/menu-look.cjs +4 -1
  58. package/dist/menu-look.cjs.map +1 -1
  59. package/dist/menu-look.css +8 -0
  60. package/dist/menu-look.d.cts +4 -1
  61. package/dist/menu-look.d.ts +4 -1
  62. package/dist/menu-look.js +1 -1
  63. package/dist/record-list.cjs +5 -2
  64. package/dist/record-list.cjs.map +1 -1
  65. package/dist/record-list.d.cts +5 -3
  66. package/dist/record-list.d.ts +5 -3
  67. package/dist/record-list.js +4 -4
  68. package/dist/settings.cjs +4 -1
  69. package/dist/settings.cjs.map +1 -1
  70. package/dist/settings.js +3 -3
  71. package/dist/text-input-dialog.cjs +4 -1
  72. package/dist/text-input-dialog.cjs.map +1 -1
  73. package/dist/text-input-dialog.js +2 -2
  74. package/dist/writing-field.js +3 -3
  75. package/package.json +2 -2
  76. package/dist/chunk-L5OACQXS.js.map +0 -1
  77. package/dist/chunk-WZC3K7SO.js.map +0 -1
  78. /package/dist/{chunk-GHPUO3O7.js.map → chunk-5IR3BZOS.js.map} +0 -0
  79. /package/dist/{chunk-DQUCOMAC.js.map → chunk-6QKT52FR.js.map} +0 -0
  80. /package/dist/{chunk-B24DLFWR.js.map → chunk-B4WMMAAJ.js.map} +0 -0
  81. /package/dist/{chunk-M34WPTPX.js.map → chunk-CEA6X445.js.map} +0 -0
  82. /package/dist/{chunk-PBDQZPKV.js.map → chunk-CJBSBKG5.js.map} +0 -0
  83. /package/dist/{chunk-Q2HWDJED.js.map → chunk-GLLPO66A.js.map} +0 -0
  84. /package/dist/{chunk-BYOFPPPI.js.map → chunk-M45FEAVG.js.map} +0 -0
  85. /package/dist/{chunk-RGJPHRU3.js.map → chunk-T4IJELSS.js.map} +0 -0
  86. /package/dist/{chunk-VQ3G6AFN.js.map → chunk-TWRC7NP4.js.map} +0 -0
  87. /package/dist/{chunk-BM2YYBUO.js.map → chunk-UM45E3LO.js.map} +0 -0
  88. /package/dist/{chunk-QOEKPR37.js.map → chunk-XTP6HOB6.js.map} +0 -0
@@ -218,3 +218,11 @@ a.cm-header:hover, a.cm-header:focus-visible { background: hsl(var(--accent)); c
218
218
  over the row): the row keeps that room free so the current check never sits under it. */
219
219
  .cm-menu .cm-item[data-end-button] { padding-right: 32px; }
220
220
  .cm-menu [data-menu-look-disclosure][data-pending] > .cm-item { background: transparent; color: hsl(var(--muted-foreground)); }
221
+
222
+ /* HOVER TEXT HAS A TOUCH TWIN (2026-10-23). A menu row's hover text (`labelTitle`, a SelectItem's
223
+ `description`) is drawn as its muted second line ONLY where nothing can hover — a phone, a
224
+ mouse-less tablet. Desktop keeps one line per row (Arman, 2026-10-14: no "novels"). */
225
+ [data-touch-hint] { display: none; }
226
+ @media (hover: none) {
227
+ [data-touch-hint] { display: block; }
228
+ }
@@ -256,7 +256,10 @@ interface MenuLookRowBodyProps {
256
256
  /** The glyph (any 16px svg; the slot sizes it). Omitted → no icon column; the text starts the row. */
257
257
  icon?: React.ReactNode | undefined;
258
258
  label: React.ReactNode;
259
- /** Hover text for the label (a long description stays out of the row: no "novels" in menus). */
259
+ /**
260
+ * Hover text for the label (a long description stays out of the row: no "novels" in menus). Where
261
+ * nothing can hover (a phone, a mouse-less tablet) it is the row's muted second line instead.
262
+ */
260
263
  labelTitle?: string | undefined;
261
264
  /** A muted second line under the label. */
262
265
  description?: React.ReactNode | undefined;
@@ -256,7 +256,10 @@ interface MenuLookRowBodyProps {
256
256
  /** The glyph (any 16px svg; the slot sizes it). Omitted → no icon column; the text starts the row. */
257
257
  icon?: React.ReactNode | undefined;
258
258
  label: React.ReactNode;
259
- /** Hover text for the label (a long description stays out of the row: no "novels" in menus). */
259
+ /**
260
+ * Hover text for the label (a long description stays out of the row: no "novels" in menus). Where
261
+ * nothing can hover (a phone, a mouse-less tablet) it is the row's muted second line instead.
262
+ */
260
263
  labelTitle?: string | undefined;
261
264
  /** A muted second line under the label. */
262
265
  description?: React.ReactNode | undefined;
package/dist/menu-look.js CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  MenuLookSubContent,
35
35
  MenuLookSubTrigger,
36
36
  menuLookItemClass
37
- } from "./chunk-L5OACQXS.js";
37
+ } from "./chunk-TO4ZLGDW.js";
38
38
  import "./chunk-HEFTQUJ5.js";
39
39
  import "./chunk-OPF265PU.js";
40
40
  import "./chunk-X6ZRHJQP.js";
@@ -1962,7 +1962,10 @@ function MenuLookRowBody({ icon, label, labelTitle, description, trail, badge, s
1962
1962
  icon ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MenuLookIconSlot, { children: icon }) : null,
1963
1963
  /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("span", { className: MENU_LOOK_CLASS.text, children: [
1964
1964
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.label, title: labelTitle, children: label }),
1965
- description ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.hint, children: description }) : null
1965
+ description ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.hint, children: description }) : labelTitle ? (
1966
+ // Hover text has a touch twin: where nothing can hover, the label's hover text is the row's second line (menu-look.css).
1967
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.hint, "data-touch-hint": "", children: labelTitle })
1968
+ ) : null
1966
1969
  ] }),
1967
1970
  trail ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.trail, children: trail }) : null,
1968
1971
  badge ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: MENU_LOOK_CLASS.badge, children: badge }) : null,
@@ -2645,7 +2648,7 @@ function DrawerEntry({
2645
2648
  ),
2646
2649
  /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col", children: [
2647
2650
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "truncate text-[15px]", title: entry.description, children: entry.label }),
2648
- disabled && entry.disabledReason ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "truncate type-body text-muted-foreground", children: entry.disabledReason }) : null
2651
+ disabled && entry.disabledReason ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "truncate type-body text-muted-foreground", children: entry.disabledReason }) : entry.description ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { "data-touch-hint-drawer": "", className: "truncate type-body text-muted-foreground", children: entry.description }) : null
2649
2652
  ] })
2650
2653
  ] });
2651
2654
  if (isSubmenu(entry)) {