@ai-matrx/design-system 0.86.356 → 0.86.358

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 (131) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/auth-gate-dialog.js +2 -2
  3. package/dist/carousel.js +11 -10
  4. package/dist/carousel.js.map +1 -1
  5. package/dist/{chunk-UWTODOMD.js → chunk-2BQAHLU3.js} +4 -4
  6. package/dist/{chunk-T4D7WAV7.js → chunk-42GFQMLA.js} +2 -2
  7. package/dist/chunk-5Z5GTXKL.js +79 -0
  8. package/dist/chunk-5Z5GTXKL.js.map +1 -0
  9. package/dist/{chunk-POJ3RR3K.js → chunk-B5D3VIMC.js} +1 -1
  10. package/dist/{chunk-POJ3RR3K.js.map → chunk-B5D3VIMC.js.map} +1 -1
  11. package/dist/{chunk-4WSXAP24.js → chunk-BB5LA7FQ.js} +3 -1
  12. package/dist/chunk-BB5LA7FQ.js.map +1 -0
  13. package/dist/{chunk-FRJ4PPA2.js → chunk-CZGZV35G.js} +2 -2
  14. package/dist/{chunk-RLM4RSED.js → chunk-GUGBVQ4T.js} +6 -4
  15. package/dist/{chunk-RLM4RSED.js.map → chunk-GUGBVQ4T.js.map} +1 -1
  16. package/dist/{chunk-LJKF267O.js → chunk-HS6GMHKZ.js} +18 -76
  17. package/dist/chunk-HS6GMHKZ.js.map +1 -0
  18. package/dist/{chunk-2PO3N42Q.js → chunk-K3XWUACX.js} +5 -5
  19. package/dist/{chunk-ZMUPFGQO.js → chunk-K5ZQROWN.js} +5 -5
  20. package/dist/{chunk-U46XUQI7.js → chunk-KSCSH7AO.js} +16 -14
  21. package/dist/chunk-KSCSH7AO.js.map +1 -0
  22. package/dist/{chunk-MTE6N7XU.js → chunk-NFJ63LIH.js} +2 -2
  23. package/dist/{chunk-CFUXEGW2.js → chunk-OUQT72UL.js} +4 -4
  24. package/dist/{chunk-WUD23YTG.js → chunk-P56Y43RL.js} +6 -6
  25. package/dist/{chunk-GMNROZQJ.js → chunk-QTPW44IJ.js} +2 -2
  26. package/dist/{chunk-QA7EHFRX.js → chunk-T3FKFPCW.js} +5 -5
  27. package/dist/{chunk-X6ZRHJQP.js → chunk-T57DLONB.js} +20 -11
  28. package/dist/chunk-T57DLONB.js.map +1 -0
  29. package/dist/{chunk-SOCNWQMX.js → chunk-TEMAM5ET.js} +3 -3
  30. package/dist/{chunk-CH2NWSES.js → chunk-TIV6M7Q7.js} +3 -3
  31. package/dist/{chunk-6XNYYROM.js → chunk-WVEDW5VO.js} +2 -2
  32. package/dist/clipboard-fallback-dialog.js +4 -4
  33. package/dist/controls.cjs +34 -13
  34. package/dist/controls.cjs.map +1 -1
  35. package/dist/controls.js +9 -8
  36. package/dist/data-table/data-row-inspector.cjs +99 -11
  37. package/dist/data-table/data-row-inspector.cjs.map +1 -1
  38. package/dist/data-table/data-row-inspector.js +8 -7
  39. package/dist/data-table/data-row-window.cjs +99 -11
  40. package/dist/data-table/data-row-window.cjs.map +1 -1
  41. package/dist/data-table/data-row-window.js +11 -10
  42. package/dist/data-table/drill-chart.cjs +15 -3
  43. package/dist/data-table/drill-chart.cjs.map +1 -1
  44. package/dist/data-table/drill-chart.js +2 -1
  45. package/dist/data-table/drill-chart.js.map +1 -1
  46. package/dist/data-table/host.cjs.map +1 -1
  47. package/dist/data-table/host.d.cts +6 -2
  48. package/dist/data-table/host.d.ts +6 -2
  49. package/dist/data-table/host.js +1 -1
  50. package/dist/data-table/index.cjs +54 -40
  51. package/dist/data-table/index.cjs.map +1 -1
  52. package/dist/data-table/index.d.cts +6 -2
  53. package/dist/data-table/index.d.ts +6 -2
  54. package/dist/data-table/index.js +25 -28
  55. package/dist/data-table/index.js.map +1 -1
  56. package/dist/data-table/pagination.cjs +19 -10
  57. package/dist/data-table/pagination.cjs.map +1 -1
  58. package/dist/data-table/pagination.js +4 -4
  59. package/dist/data-table/uuid-cell.cjs +99 -11
  60. package/dist/data-table/uuid-cell.cjs.map +1 -1
  61. package/dist/data-table/uuid-cell.js +5 -4
  62. package/dist/desktop.cjs +45 -15
  63. package/dist/desktop.cjs.map +1 -1
  64. package/dist/desktop.js +23 -15
  65. package/dist/desktop.js.map +1 -1
  66. package/dist/email-input-dialog.cjs +15 -3
  67. package/dist/email-input-dialog.cjs.map +1 -1
  68. package/dist/email-input-dialog.js +4 -3
  69. package/dist/email-input-dialog.js.map +1 -1
  70. package/dist/error-sentence.cjs +130 -0
  71. package/dist/error-sentence.cjs.map +1 -0
  72. package/dist/error-sentence.d.cts +49 -0
  73. package/dist/error-sentence.d.ts +49 -0
  74. package/dist/error-sentence.js +22 -0
  75. package/dist/error-sentence.js.map +1 -0
  76. package/dist/index.cjs +47 -26
  77. package/dist/index.cjs.map +1 -1
  78. package/dist/index.d.cts +12 -10
  79. package/dist/index.d.ts +12 -10
  80. package/dist/index.js +30 -28
  81. package/dist/index.js.map +1 -1
  82. package/dist/item.cjs +19 -10
  83. package/dist/item.cjs.map +1 -1
  84. package/dist/item.js +7 -7
  85. package/dist/lite-table.cjs +15 -3
  86. package/dist/lite-table.cjs.map +1 -1
  87. package/dist/lite-table.js +5 -4
  88. package/dist/lite-table.js.map +1 -1
  89. package/dist/menu-look.cjs +19 -10
  90. package/dist/menu-look.cjs.map +1 -1
  91. package/dist/menu-look.js +2 -2
  92. package/dist/notice-stack.cjs +2 -0
  93. package/dist/notice-stack.cjs.map +1 -1
  94. package/dist/notice-stack.d.cts +11 -1
  95. package/dist/notice-stack.d.ts +11 -1
  96. package/dist/notice-stack.js +3 -1
  97. package/dist/record-list.cjs +34 -13
  98. package/dist/record-list.cjs.map +1 -1
  99. package/dist/record-list.js +8 -7
  100. package/dist/record-list.js.map +1 -1
  101. package/dist/sandbox-gate-dialog.js +2 -2
  102. package/dist/scope-mismatch-dialog.js +2 -2
  103. package/dist/settings.js +3 -3
  104. package/dist/swipe-deck.cjs +15 -3
  105. package/dist/swipe-deck.cjs.map +1 -1
  106. package/dist/swipe-deck.js +2 -1
  107. package/dist/swipe-deck.js.map +1 -1
  108. package/dist/text-input-dialog.cjs +15 -3
  109. package/dist/text-input-dialog.cjs.map +1 -1
  110. package/dist/text-input-dialog.js +4 -3
  111. package/dist/text-input-dialog.js.map +1 -1
  112. package/dist/value-prompts-dialog.js +2 -2
  113. package/dist/writing-field.js +5 -5
  114. package/package.json +12 -2
  115. package/dist/chunk-4WSXAP24.js.map +0 -1
  116. package/dist/chunk-LJKF267O.js.map +0 -1
  117. package/dist/chunk-U46XUQI7.js.map +0 -1
  118. package/dist/chunk-X6ZRHJQP.js.map +0 -1
  119. /package/dist/{chunk-UWTODOMD.js.map → chunk-2BQAHLU3.js.map} +0 -0
  120. /package/dist/{chunk-T4D7WAV7.js.map → chunk-42GFQMLA.js.map} +0 -0
  121. /package/dist/{chunk-FRJ4PPA2.js.map → chunk-CZGZV35G.js.map} +0 -0
  122. /package/dist/{chunk-2PO3N42Q.js.map → chunk-K3XWUACX.js.map} +0 -0
  123. /package/dist/{chunk-ZMUPFGQO.js.map → chunk-K5ZQROWN.js.map} +0 -0
  124. /package/dist/{chunk-MTE6N7XU.js.map → chunk-NFJ63LIH.js.map} +0 -0
  125. /package/dist/{chunk-CFUXEGW2.js.map → chunk-OUQT72UL.js.map} +0 -0
  126. /package/dist/{chunk-WUD23YTG.js.map → chunk-P56Y43RL.js.map} +0 -0
  127. /package/dist/{chunk-GMNROZQJ.js.map → chunk-QTPW44IJ.js.map} +0 -0
  128. /package/dist/{chunk-QA7EHFRX.js.map → chunk-T3FKFPCW.js.map} +0 -0
  129. /package/dist/{chunk-SOCNWQMX.js.map → chunk-TEMAM5ET.js.map} +0 -0
  130. /package/dist/{chunk-CH2NWSES.js.map → chunk-TIV6M7Q7.js.map} +0 -0
  131. /package/dist/{chunk-6XNYYROM.js.map → chunk-WVEDW5VO.js.map} +0 -0
@@ -5362,8 +5362,12 @@ interface MatrxDataTableHost {
5362
5362
  defaultDensity?: MatrxDataTableDensity; /** Host default look (`default` | `mac`); a table's explicit `look` takes precedence. One switch turns every table under the host, and every mode built on it, to the Mac look. */
5363
5363
  defaultLook?: MatrxDataTableLook;
5364
5364
  notify?: {
5365
- success(message: string): void;
5366
- error(message: string): void;
5365
+ success(message: string, options?: {
5366
+ description?: string;
5367
+ }): void;
5368
+ error(message: string, options?: {
5369
+ description?: string;
5370
+ }): void;
5367
5371
  }; /** Client-side navigation (the app router), for `rowClick="page"`. Absent: a full page load. */
5368
5372
  navigate?: (href: string) => void;
5369
5373
  }
@@ -5362,8 +5362,12 @@ interface MatrxDataTableHost {
5362
5362
  defaultDensity?: MatrxDataTableDensity; /** Host default look (`default` | `mac`); a table's explicit `look` takes precedence. One switch turns every table under the host, and every mode built on it, to the Mac look. */
5363
5363
  defaultLook?: MatrxDataTableLook;
5364
5364
  notify?: {
5365
- success(message: string): void;
5366
- error(message: string): void;
5365
+ success(message: string, options?: {
5366
+ description?: string;
5367
+ }): void;
5368
+ error(message: string, options?: {
5369
+ description?: string;
5370
+ }): void;
5367
5371
  }; /** Client-side navigation (the app router), for `rowClick="page"`. Absent: a full page load. */
5368
5372
  navigate?: (href: string) => void;
5369
5373
  }
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  DEFAULT_TABLE_PAGE_SIZES,
7
7
  GenericTablePagination
8
- } from "../chunk-SOCNWQMX.js";
8
+ } from "../chunk-TEMAM5ET.js";
9
9
  import {
10
10
  useScrollPagination
11
11
  } from "../chunk-VOFK23MG.js";
@@ -122,14 +122,14 @@ import {
122
122
  } from "../chunk-KMJ3VN67.js";
123
123
  import {
124
124
  MatrxTableRowAlchemyProvider
125
- } from "../chunk-CH2NWSES.js";
125
+ } from "../chunk-TIV6M7Q7.js";
126
+ import {
127
+ DragCursorMonitor
128
+ } from "../chunk-NR22O36P.js";
126
129
  import {
127
130
  ArchiveFilter,
128
131
  DEFAULT_ARCHIVE_FILTER
129
132
  } from "../chunk-VQQ3O7J5.js";
130
- import {
131
- DragCursorMonitor
132
- } from "../chunk-NR22O36P.js";
133
133
  import {
134
134
  BottomSheet
135
135
  } from "../chunk-WQ2QCMMA.js";
@@ -145,11 +145,11 @@ import {
145
145
  ConfirmDialog,
146
146
  EmptyState,
147
147
  Tile
148
- } from "../chunk-GMNROZQJ.js";
148
+ } from "../chunk-QTPW44IJ.js";
149
149
  import "../chunk-K4XCB576.js";
150
150
  import {
151
151
  ErrorBox
152
- } from "../chunk-LJKF267O.js";
152
+ } from "../chunk-5Z5GTXKL.js";
153
153
  import {
154
154
  Skeleton
155
155
  } from "../chunk-DRSBLHOF.js";
@@ -171,7 +171,7 @@ import {
171
171
  MacLookLayer,
172
172
  useMacLookAttributes,
173
173
  withMacLookDefaults
174
- } from "../chunk-CFUXEGW2.js";
174
+ } from "../chunk-OUQT72UL.js";
175
175
  import "../chunk-YC5GAO35.js";
176
176
  import {
177
177
  Checkbox
@@ -184,11 +184,11 @@ import {
184
184
  DialogFooter,
185
185
  DialogHeader,
186
186
  DialogTitle
187
- } from "../chunk-UWTODOMD.js";
187
+ } from "../chunk-2BQAHLU3.js";
188
+ import "../chunk-LEPD6TV7.js";
188
189
  import "../chunk-IMQ3RX35.js";
189
190
  import "../chunk-U24MOJWK.js";
190
191
  import "../chunk-NDTDBBMM.js";
191
- import "../chunk-LEPD6TV7.js";
192
192
  import {
193
193
  DataRowInspector,
194
194
  SELECT_EMPTY_VALUE,
@@ -215,7 +215,7 @@ import {
215
215
  searchValueVariants,
216
216
  stringifyCellValue,
217
217
  tokenFromColumnName
218
- } from "../chunk-WUD23YTG.js";
218
+ } from "../chunk-P56Y43RL.js";
219
219
  import {
220
220
  TIME_RANGE_PRESETS,
221
221
  TIME_RANGE_PRESET_VALUES,
@@ -229,7 +229,7 @@ import {
229
229
  DeferredCopyButtons,
230
230
  MissingCopyControls,
231
231
  tableAgentText
232
- } from "../chunk-FRJ4PPA2.js";
232
+ } from "../chunk-CZGZV35G.js";
233
233
  import "../chunk-KPZX2M2C.js";
234
234
  import "../chunk-GLZJ7WZK.js";
235
235
  import "../chunk-B3LDW3IQ.js";
@@ -239,7 +239,7 @@ import {
239
239
  } from "../chunk-FXT7PZAF.js";
240
240
  import {
241
241
  PropertyRow
242
- } from "../chunk-MTE6N7XU.js";
242
+ } from "../chunk-NFJ63LIH.js";
243
243
  import "../chunk-WFBPCMPF.js";
244
244
  import "../chunk-KGW373MK.js";
245
245
  import {
@@ -257,7 +257,7 @@ import {
257
257
  RecordId,
258
258
  shortUuid,
259
259
  useTableNotice
260
- } from "../chunk-U46XUQI7.js";
260
+ } from "../chunk-KSCSH7AO.js";
261
261
  import {
262
262
  Badge,
263
263
  Button as Button2,
@@ -266,7 +266,7 @@ import {
266
266
  SegmentedControl,
267
267
  Select as Select2,
268
268
  Tabs
269
- } from "../chunk-6XNYYROM.js";
269
+ } from "../chunk-WVEDW5VO.js";
270
270
  import "../chunk-BD77DHUO.js";
271
271
  import "../chunk-BKCJUFD3.js";
272
272
  import {
@@ -289,8 +289,11 @@ import {
289
289
  DropdownMenuSubContent,
290
290
  DropdownMenuSubTrigger,
291
291
  DropdownMenuTrigger
292
- } from "../chunk-X6ZRHJQP.js";
292
+ } from "../chunk-T57DLONB.js";
293
293
  import "../chunk-BNXNIN2S.js";
294
+ import {
295
+ peopleErrorSentence
296
+ } from "../chunk-HS6GMHKZ.js";
294
297
  import "../chunk-ORXB4A5E.js";
295
298
  import {
296
299
  MatrxDataTableProvider,
@@ -300,7 +303,7 @@ import {
300
303
  lazyCallback,
301
304
  useMatrxDataTableHost,
302
305
  useMatrxTableRowAlchemy
303
- } from "../chunk-POJ3RR3K.js";
306
+ } from "../chunk-B5D3VIMC.js";
304
307
  import {
305
308
  ArrowDown,
306
309
  ArrowDownToLine,
@@ -10997,9 +11000,7 @@ function MatrxDataTableCore(coreProps) {
10997
11000
  });
10998
11001
  toast.success("Change saved");
10999
11002
  }).catch((error) => {
11000
- toast.error(
11001
- `Couldn't save: ${error instanceof Error ? error.message : String(error)}`
11002
- );
11003
+ toast.error("Not saved", { description: peopleErrorSentence(error, null, { card: true }) });
11003
11004
  }).finally(() => finishSaving(scope));
11004
11005
  }
11005
11006
  };
@@ -11145,9 +11146,7 @@ function MatrxDataTableCore(coreProps) {
11145
11146
  if (!hierarchy) return;
11146
11147
  void Promise.resolve(hierarchy.onMove(row, move)).catch(
11147
11148
  (error) => {
11148
- toast.error(
11149
- `Couldn't move row: ${error instanceof Error ? error.message : String(error)}`
11150
- );
11149
+ toast.error("Row not moved", { description: peopleErrorSentence(error, null, { card: true }) });
11151
11150
  }
11152
11151
  );
11153
11152
  };
@@ -11275,9 +11274,7 @@ function MatrxDataTableCore(coreProps) {
11275
11274
  });
11276
11275
  toast.success("Changes saved");
11277
11276
  } catch (e) {
11278
- toast.error(
11279
- `Couldn't save: ${e instanceof Error ? e.message : String(e)}`
11280
- );
11277
+ toast.error("Not saved", { description: peopleErrorSentence(e, null, { card: true }) });
11281
11278
  } finally {
11282
11279
  savingScopesRef.current.delete(scope);
11283
11280
  finishSaving(scope);
@@ -12854,7 +12851,7 @@ function MatrxDataTableCore(coreProps) {
12854
12851
  void Promise.resolve().then(() => toolbar.refresh?.onRefresh()).catch((cause) => {
12855
12852
  const message = cause instanceof Error ? cause.message : String(cause);
12856
12853
  setToolbarActionError(`Refresh failed: ${message}`);
12857
- toast.error(`Refresh failed: ${message}`);
12854
+ toast.error("Not refreshed", { description: peopleErrorSentence(cause, message, { card: true }) });
12858
12855
  }).finally(() => {
12859
12856
  toolbarActionPendingRef.current.refresh = false;
12860
12857
  setToolbarActionPending((current) => ({ ...current, refresh: false }));
@@ -12879,7 +12876,7 @@ function MatrxDataTableCore(coreProps) {
12879
12876
  void Promise.resolve().then(() => toolbar.add?.onAdd()).catch((cause) => {
12880
12877
  const message = cause instanceof Error ? cause.message : String(cause);
12881
12878
  setToolbarActionError(`Add failed: ${message}`);
12882
- toast.error(`Add failed: ${message}`);
12879
+ toast.error("Not added", { description: peopleErrorSentence(cause, message, { card: true }) });
12883
12880
  }).finally(() => {
12884
12881
  toolbarActionPendingRef.current.add = false;
12885
12882
  setToolbarActionPending((current) => ({ ...current, add: false }));