@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.
- package/CHANGELOG.md +16 -0
- package/dist/auth-gate-dialog.js +2 -2
- package/dist/carousel.js +11 -10
- package/dist/carousel.js.map +1 -1
- package/dist/{chunk-UWTODOMD.js → chunk-2BQAHLU3.js} +4 -4
- package/dist/{chunk-T4D7WAV7.js → chunk-42GFQMLA.js} +2 -2
- package/dist/chunk-5Z5GTXKL.js +79 -0
- package/dist/chunk-5Z5GTXKL.js.map +1 -0
- package/dist/{chunk-POJ3RR3K.js → chunk-B5D3VIMC.js} +1 -1
- package/dist/{chunk-POJ3RR3K.js.map → chunk-B5D3VIMC.js.map} +1 -1
- package/dist/{chunk-4WSXAP24.js → chunk-BB5LA7FQ.js} +3 -1
- package/dist/chunk-BB5LA7FQ.js.map +1 -0
- package/dist/{chunk-FRJ4PPA2.js → chunk-CZGZV35G.js} +2 -2
- package/dist/{chunk-RLM4RSED.js → chunk-GUGBVQ4T.js} +6 -4
- package/dist/{chunk-RLM4RSED.js.map → chunk-GUGBVQ4T.js.map} +1 -1
- package/dist/{chunk-LJKF267O.js → chunk-HS6GMHKZ.js} +18 -76
- package/dist/chunk-HS6GMHKZ.js.map +1 -0
- package/dist/{chunk-2PO3N42Q.js → chunk-K3XWUACX.js} +5 -5
- package/dist/{chunk-ZMUPFGQO.js → chunk-K5ZQROWN.js} +5 -5
- package/dist/{chunk-U46XUQI7.js → chunk-KSCSH7AO.js} +16 -14
- package/dist/chunk-KSCSH7AO.js.map +1 -0
- package/dist/{chunk-MTE6N7XU.js → chunk-NFJ63LIH.js} +2 -2
- package/dist/{chunk-CFUXEGW2.js → chunk-OUQT72UL.js} +4 -4
- package/dist/{chunk-WUD23YTG.js → chunk-P56Y43RL.js} +6 -6
- package/dist/{chunk-GMNROZQJ.js → chunk-QTPW44IJ.js} +2 -2
- package/dist/{chunk-QA7EHFRX.js → chunk-T3FKFPCW.js} +5 -5
- package/dist/{chunk-X6ZRHJQP.js → chunk-T57DLONB.js} +20 -11
- package/dist/chunk-T57DLONB.js.map +1 -0
- package/dist/{chunk-SOCNWQMX.js → chunk-TEMAM5ET.js} +3 -3
- package/dist/{chunk-CH2NWSES.js → chunk-TIV6M7Q7.js} +3 -3
- package/dist/{chunk-6XNYYROM.js → chunk-WVEDW5VO.js} +2 -2
- package/dist/clipboard-fallback-dialog.js +4 -4
- package/dist/controls.cjs +34 -13
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.js +9 -8
- package/dist/data-table/data-row-inspector.cjs +99 -11
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +8 -7
- package/dist/data-table/data-row-window.cjs +99 -11
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +11 -10
- package/dist/data-table/drill-chart.cjs +15 -3
- package/dist/data-table/drill-chart.cjs.map +1 -1
- package/dist/data-table/drill-chart.js +2 -1
- package/dist/data-table/drill-chart.js.map +1 -1
- package/dist/data-table/host.cjs.map +1 -1
- package/dist/data-table/host.d.cts +6 -2
- package/dist/data-table/host.d.ts +6 -2
- package/dist/data-table/host.js +1 -1
- package/dist/data-table/index.cjs +54 -40
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +6 -2
- package/dist/data-table/index.d.ts +6 -2
- package/dist/data-table/index.js +25 -28
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/pagination.cjs +19 -10
- package/dist/data-table/pagination.cjs.map +1 -1
- package/dist/data-table/pagination.js +4 -4
- package/dist/data-table/uuid-cell.cjs +99 -11
- package/dist/data-table/uuid-cell.cjs.map +1 -1
- package/dist/data-table/uuid-cell.js +5 -4
- package/dist/desktop.cjs +45 -15
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.js +23 -15
- package/dist/desktop.js.map +1 -1
- package/dist/email-input-dialog.cjs +15 -3
- package/dist/email-input-dialog.cjs.map +1 -1
- package/dist/email-input-dialog.js +4 -3
- package/dist/email-input-dialog.js.map +1 -1
- package/dist/error-sentence.cjs +130 -0
- package/dist/error-sentence.cjs.map +1 -0
- package/dist/error-sentence.d.cts +49 -0
- package/dist/error-sentence.d.ts +49 -0
- package/dist/error-sentence.js +22 -0
- package/dist/error-sentence.js.map +1 -0
- package/dist/index.cjs +47 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -10
- package/dist/index.d.ts +12 -10
- package/dist/index.js +30 -28
- package/dist/index.js.map +1 -1
- package/dist/item.cjs +19 -10
- package/dist/item.cjs.map +1 -1
- package/dist/item.js +7 -7
- package/dist/lite-table.cjs +15 -3
- package/dist/lite-table.cjs.map +1 -1
- package/dist/lite-table.js +5 -4
- package/dist/lite-table.js.map +1 -1
- package/dist/menu-look.cjs +19 -10
- package/dist/menu-look.cjs.map +1 -1
- package/dist/menu-look.js +2 -2
- package/dist/notice-stack.cjs +2 -0
- package/dist/notice-stack.cjs.map +1 -1
- package/dist/notice-stack.d.cts +11 -1
- package/dist/notice-stack.d.ts +11 -1
- package/dist/notice-stack.js +3 -1
- package/dist/record-list.cjs +34 -13
- package/dist/record-list.cjs.map +1 -1
- package/dist/record-list.js +8 -7
- package/dist/record-list.js.map +1 -1
- package/dist/sandbox-gate-dialog.js +2 -2
- package/dist/scope-mismatch-dialog.js +2 -2
- package/dist/settings.js +3 -3
- package/dist/swipe-deck.cjs +15 -3
- package/dist/swipe-deck.cjs.map +1 -1
- package/dist/swipe-deck.js +2 -1
- package/dist/swipe-deck.js.map +1 -1
- package/dist/text-input-dialog.cjs +15 -3
- package/dist/text-input-dialog.cjs.map +1 -1
- package/dist/text-input-dialog.js +4 -3
- package/dist/text-input-dialog.js.map +1 -1
- package/dist/value-prompts-dialog.js +2 -2
- package/dist/writing-field.js +5 -5
- package/package.json +12 -2
- package/dist/chunk-4WSXAP24.js.map +0 -1
- package/dist/chunk-LJKF267O.js.map +0 -1
- package/dist/chunk-U46XUQI7.js.map +0 -1
- package/dist/chunk-X6ZRHJQP.js.map +0 -1
- /package/dist/{chunk-UWTODOMD.js.map → chunk-2BQAHLU3.js.map} +0 -0
- /package/dist/{chunk-T4D7WAV7.js.map → chunk-42GFQMLA.js.map} +0 -0
- /package/dist/{chunk-FRJ4PPA2.js.map → chunk-CZGZV35G.js.map} +0 -0
- /package/dist/{chunk-2PO3N42Q.js.map → chunk-K3XWUACX.js.map} +0 -0
- /package/dist/{chunk-ZMUPFGQO.js.map → chunk-K5ZQROWN.js.map} +0 -0
- /package/dist/{chunk-MTE6N7XU.js.map → chunk-NFJ63LIH.js.map} +0 -0
- /package/dist/{chunk-CFUXEGW2.js.map → chunk-OUQT72UL.js.map} +0 -0
- /package/dist/{chunk-WUD23YTG.js.map → chunk-P56Y43RL.js.map} +0 -0
- /package/dist/{chunk-GMNROZQJ.js.map → chunk-QTPW44IJ.js.map} +0 -0
- /package/dist/{chunk-QA7EHFRX.js.map → chunk-T3FKFPCW.js.map} +0 -0
- /package/dist/{chunk-SOCNWQMX.js.map → chunk-TEMAM5ET.js.map} +0 -0
- /package/dist/{chunk-CH2NWSES.js.map → chunk-TIV6M7Q7.js.map} +0 -0
- /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
|
|
5366
|
-
|
|
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
|
|
5366
|
-
|
|
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
|
}
|
package/dist/data-table/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_TABLE_PAGE_SIZES,
|
|
7
7
|
GenericTablePagination
|
|
8
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
148
|
+
} from "../chunk-QTPW44IJ.js";
|
|
149
149
|
import "../chunk-K4XCB576.js";
|
|
150
150
|
import {
|
|
151
151
|
ErrorBox
|
|
152
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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(
|
|
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(
|
|
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 }));
|