@ai-matrx/design-system 0.86.357 → 0.86.359

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 (91) hide show
  1. package/CHANGELOG.md +30 -2
  2. package/dist/carousel.js +6 -6
  3. package/dist/{chunk-T4D7WAV7.js → chunk-42GFQMLA.js} +2 -2
  4. package/dist/{chunk-POJ3RR3K.js → chunk-B5D3VIMC.js} +1 -1
  5. package/dist/{chunk-POJ3RR3K.js.map → chunk-B5D3VIMC.js.map} +1 -1
  6. package/dist/{chunk-FRJ4PPA2.js → chunk-CZGZV35G.js} +2 -2
  7. package/dist/{chunk-ACZALXD6.js → chunk-K3XWUACX.js} +3 -3
  8. package/dist/{chunk-TV2IDHPZ.js → chunk-K5ZQROWN.js} +4 -4
  9. package/dist/{chunk-U46XUQI7.js → chunk-KSCSH7AO.js} +16 -14
  10. package/dist/chunk-KSCSH7AO.js.map +1 -0
  11. package/dist/{chunk-MTE6N7XU.js → chunk-NFJ63LIH.js} +2 -2
  12. package/dist/{chunk-XZGYKKCE.js → chunk-OUQT72UL.js} +3 -3
  13. package/dist/{chunk-WUD23YTG.js → chunk-P56Y43RL.js} +6 -6
  14. package/dist/{chunk-GMNROZQJ.js → chunk-QTPW44IJ.js} +2 -2
  15. package/dist/{chunk-QA7EHFRX.js → chunk-T3FKFPCW.js} +5 -5
  16. package/dist/{chunk-X6ZRHJQP.js → chunk-T57DLONB.js} +20 -11
  17. package/dist/chunk-T57DLONB.js.map +1 -0
  18. package/dist/{chunk-SOCNWQMX.js → chunk-TEMAM5ET.js} +3 -3
  19. package/dist/{chunk-CH2NWSES.js → chunk-TIV6M7Q7.js} +3 -3
  20. package/dist/{chunk-6XNYYROM.js → chunk-WVEDW5VO.js} +2 -2
  21. package/dist/clipboard-fallback-dialog.js +2 -2
  22. package/dist/controls.cjs +19 -10
  23. package/dist/controls.cjs.map +1 -1
  24. package/dist/controls.js +6 -6
  25. package/dist/data-table/data-row-inspector.cjs +99 -11
  26. package/dist/data-table/data-row-inspector.cjs.map +1 -1
  27. package/dist/data-table/data-row-inspector.js +8 -7
  28. package/dist/data-table/data-row-window.cjs +99 -11
  29. package/dist/data-table/data-row-window.cjs.map +1 -1
  30. package/dist/data-table/data-row-window.js +9 -8
  31. package/dist/data-table/drill-chart.js +1 -1
  32. package/dist/data-table/host.cjs.map +1 -1
  33. package/dist/data-table/host.d.cts +6 -2
  34. package/dist/data-table/host.d.ts +6 -2
  35. package/dist/data-table/host.js +1 -1
  36. package/dist/data-table/index.cjs +39 -37
  37. package/dist/data-table/index.cjs.map +1 -1
  38. package/dist/data-table/index.d.cts +6 -2
  39. package/dist/data-table/index.d.ts +6 -2
  40. package/dist/data-table/index.js +19 -23
  41. package/dist/data-table/index.js.map +1 -1
  42. package/dist/data-table/pagination.cjs +19 -10
  43. package/dist/data-table/pagination.cjs.map +1 -1
  44. package/dist/data-table/pagination.js +4 -4
  45. package/dist/data-table/uuid-cell.cjs +99 -11
  46. package/dist/data-table/uuid-cell.cjs.map +1 -1
  47. package/dist/data-table/uuid-cell.js +5 -4
  48. package/dist/desktop.cjs +20 -11
  49. package/dist/desktop.cjs.map +1 -1
  50. package/dist/desktop.d.cts +1 -1
  51. package/dist/desktop.d.ts +1 -1
  52. package/dist/desktop.js +13 -13
  53. package/dist/desktop.js.map +1 -1
  54. package/dist/email-input-dialog.js +1 -1
  55. package/dist/index.cjs +31 -22
  56. package/dist/index.cjs.map +1 -1
  57. package/dist/index.d.cts +9 -9
  58. package/dist/index.d.ts +9 -9
  59. package/dist/index.js +20 -20
  60. package/dist/item.cjs +19 -10
  61. package/dist/item.cjs.map +1 -1
  62. package/dist/item.js +5 -5
  63. package/dist/lite-table.js +3 -3
  64. package/dist/menu-look.cjs +19 -10
  65. package/dist/menu-look.cjs.map +1 -1
  66. package/dist/menu-look.js +2 -2
  67. package/dist/record-list.cjs +19 -10
  68. package/dist/record-list.cjs.map +1 -1
  69. package/dist/record-list.js +6 -6
  70. package/dist/settings.js +3 -3
  71. package/dist/swipe-deck.cjs +11 -2
  72. package/dist/swipe-deck.cjs.map +1 -1
  73. package/dist/swipe-deck.js +12 -3
  74. package/dist/swipe-deck.js.map +1 -1
  75. package/dist/text-input-dialog.js +1 -1
  76. package/dist/writing-field.js +3 -3
  77. package/package.json +2 -2
  78. package/dist/chunk-U46XUQI7.js.map +0 -1
  79. package/dist/chunk-X6ZRHJQP.js.map +0 -1
  80. /package/dist/{chunk-T4D7WAV7.js.map → chunk-42GFQMLA.js.map} +0 -0
  81. /package/dist/{chunk-FRJ4PPA2.js.map → chunk-CZGZV35G.js.map} +0 -0
  82. /package/dist/{chunk-ACZALXD6.js.map → chunk-K3XWUACX.js.map} +0 -0
  83. /package/dist/{chunk-TV2IDHPZ.js.map → chunk-K5ZQROWN.js.map} +0 -0
  84. /package/dist/{chunk-MTE6N7XU.js.map → chunk-NFJ63LIH.js.map} +0 -0
  85. /package/dist/{chunk-XZGYKKCE.js.map → chunk-OUQT72UL.js.map} +0 -0
  86. /package/dist/{chunk-WUD23YTG.js.map → chunk-P56Y43RL.js.map} +0 -0
  87. /package/dist/{chunk-GMNROZQJ.js.map → chunk-QTPW44IJ.js.map} +0 -0
  88. /package/dist/{chunk-QA7EHFRX.js.map → chunk-T3FKFPCW.js.map} +0 -0
  89. /package/dist/{chunk-SOCNWQMX.js.map → chunk-TEMAM5ET.js.map} +0 -0
  90. /package/dist/{chunk-CH2NWSES.js.map → chunk-TIV6M7Q7.js.map} +0 -0
  91. /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,7 +122,7 @@ import {
122
122
  } from "../chunk-KMJ3VN67.js";
123
123
  import {
124
124
  MatrxTableRowAlchemyProvider
125
- } from "../chunk-CH2NWSES.js";
125
+ } from "../chunk-TIV6M7Q7.js";
126
126
  import {
127
127
  DragCursorMonitor
128
128
  } from "../chunk-NR22O36P.js";
@@ -145,12 +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
152
  } from "../chunk-5Z5GTXKL.js";
153
- import "../chunk-HS6GMHKZ.js";
154
153
  import {
155
154
  Skeleton
156
155
  } from "../chunk-DRSBLHOF.js";
@@ -172,7 +171,7 @@ import {
172
171
  MacLookLayer,
173
172
  useMacLookAttributes,
174
173
  withMacLookDefaults
175
- } from "../chunk-XZGYKKCE.js";
174
+ } from "../chunk-OUQT72UL.js";
176
175
  import "../chunk-YC5GAO35.js";
177
176
  import {
178
177
  Checkbox
@@ -216,7 +215,7 @@ import {
216
215
  searchValueVariants,
217
216
  stringifyCellValue,
218
217
  tokenFromColumnName
219
- } from "../chunk-WUD23YTG.js";
218
+ } from "../chunk-P56Y43RL.js";
220
219
  import {
221
220
  TIME_RANGE_PRESETS,
222
221
  TIME_RANGE_PRESET_VALUES,
@@ -230,7 +229,7 @@ import {
230
229
  DeferredCopyButtons,
231
230
  MissingCopyControls,
232
231
  tableAgentText
233
- } from "../chunk-FRJ4PPA2.js";
232
+ } from "../chunk-CZGZV35G.js";
234
233
  import "../chunk-KPZX2M2C.js";
235
234
  import "../chunk-GLZJ7WZK.js";
236
235
  import "../chunk-B3LDW3IQ.js";
@@ -240,7 +239,7 @@ import {
240
239
  } from "../chunk-FXT7PZAF.js";
241
240
  import {
242
241
  PropertyRow
243
- } from "../chunk-MTE6N7XU.js";
242
+ } from "../chunk-NFJ63LIH.js";
244
243
  import "../chunk-WFBPCMPF.js";
245
244
  import "../chunk-KGW373MK.js";
246
245
  import {
@@ -258,7 +257,7 @@ import {
258
257
  RecordId,
259
258
  shortUuid,
260
259
  useTableNotice
261
- } from "../chunk-U46XUQI7.js";
260
+ } from "../chunk-KSCSH7AO.js";
262
261
  import {
263
262
  Badge,
264
263
  Button as Button2,
@@ -267,7 +266,7 @@ import {
267
266
  SegmentedControl,
268
267
  Select as Select2,
269
268
  Tabs
270
- } from "../chunk-6XNYYROM.js";
269
+ } from "../chunk-WVEDW5VO.js";
271
270
  import "../chunk-BD77DHUO.js";
272
271
  import "../chunk-BKCJUFD3.js";
273
272
  import {
@@ -290,8 +289,11 @@ import {
290
289
  DropdownMenuSubContent,
291
290
  DropdownMenuSubTrigger,
292
291
  DropdownMenuTrigger
293
- } from "../chunk-X6ZRHJQP.js";
292
+ } from "../chunk-T57DLONB.js";
294
293
  import "../chunk-BNXNIN2S.js";
294
+ import {
295
+ peopleErrorSentence
296
+ } from "../chunk-HS6GMHKZ.js";
295
297
  import "../chunk-ORXB4A5E.js";
296
298
  import {
297
299
  MatrxDataTableProvider,
@@ -301,7 +303,7 @@ import {
301
303
  lazyCallback,
302
304
  useMatrxDataTableHost,
303
305
  useMatrxTableRowAlchemy
304
- } from "../chunk-POJ3RR3K.js";
306
+ } from "../chunk-B5D3VIMC.js";
305
307
  import {
306
308
  ArrowDown,
307
309
  ArrowDownToLine,
@@ -10998,9 +11000,7 @@ function MatrxDataTableCore(coreProps) {
10998
11000
  });
10999
11001
  toast.success("Change saved");
11000
11002
  }).catch((error) => {
11001
- toast.error(
11002
- `Couldn't save: ${error instanceof Error ? error.message : String(error)}`
11003
- );
11003
+ toast.error("Not saved", { description: peopleErrorSentence(error, null, { card: true }) });
11004
11004
  }).finally(() => finishSaving(scope));
11005
11005
  }
11006
11006
  };
@@ -11146,9 +11146,7 @@ function MatrxDataTableCore(coreProps) {
11146
11146
  if (!hierarchy) return;
11147
11147
  void Promise.resolve(hierarchy.onMove(row, move)).catch(
11148
11148
  (error) => {
11149
- toast.error(
11150
- `Couldn't move row: ${error instanceof Error ? error.message : String(error)}`
11151
- );
11149
+ toast.error("Row not moved", { description: peopleErrorSentence(error, null, { card: true }) });
11152
11150
  }
11153
11151
  );
11154
11152
  };
@@ -11276,9 +11274,7 @@ function MatrxDataTableCore(coreProps) {
11276
11274
  });
11277
11275
  toast.success("Changes saved");
11278
11276
  } catch (e) {
11279
- toast.error(
11280
- `Couldn't save: ${e instanceof Error ? e.message : String(e)}`
11281
- );
11277
+ toast.error("Not saved", { description: peopleErrorSentence(e, null, { card: true }) });
11282
11278
  } finally {
11283
11279
  savingScopesRef.current.delete(scope);
11284
11280
  finishSaving(scope);
@@ -12855,7 +12851,7 @@ function MatrxDataTableCore(coreProps) {
12855
12851
  void Promise.resolve().then(() => toolbar.refresh?.onRefresh()).catch((cause) => {
12856
12852
  const message = cause instanceof Error ? cause.message : String(cause);
12857
12853
  setToolbarActionError(`Refresh failed: ${message}`);
12858
- toast.error(`Refresh failed: ${message}`);
12854
+ toast.error("Not refreshed", { description: peopleErrorSentence(cause, message, { card: true }) });
12859
12855
  }).finally(() => {
12860
12856
  toolbarActionPendingRef.current.refresh = false;
12861
12857
  setToolbarActionPending((current) => ({ ...current, refresh: false }));
@@ -12880,7 +12876,7 @@ function MatrxDataTableCore(coreProps) {
12880
12876
  void Promise.resolve().then(() => toolbar.add?.onAdd()).catch((cause) => {
12881
12877
  const message = cause instanceof Error ? cause.message : String(cause);
12882
12878
  setToolbarActionError(`Add failed: ${message}`);
12883
- toast.error(`Add failed: ${message}`);
12879
+ toast.error("Not added", { description: peopleErrorSentence(cause, message, { card: true }) });
12884
12880
  }).finally(() => {
12885
12881
  toolbarActionPendingRef.current.add = false;
12886
12882
  setToolbarActionPending((current) => ({ ...current, add: false }));