@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.
- package/CHANGELOG.md +30 -2
- package/dist/carousel.js +6 -6
- package/dist/{chunk-T4D7WAV7.js → chunk-42GFQMLA.js} +2 -2
- 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-FRJ4PPA2.js → chunk-CZGZV35G.js} +2 -2
- package/dist/{chunk-ACZALXD6.js → chunk-K3XWUACX.js} +3 -3
- package/dist/{chunk-TV2IDHPZ.js → chunk-K5ZQROWN.js} +4 -4
- 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-XZGYKKCE.js → chunk-OUQT72UL.js} +3 -3
- 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 +2 -2
- package/dist/controls.cjs +19 -10
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.js +6 -6
- 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 +9 -8
- package/dist/data-table/drill-chart.js +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 +39 -37
- 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 +19 -23
- 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 +20 -11
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.d.cts +1 -1
- package/dist/desktop.d.ts +1 -1
- package/dist/desktop.js +13 -13
- package/dist/desktop.js.map +1 -1
- package/dist/email-input-dialog.js +1 -1
- package/dist/index.cjs +31 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +20 -20
- package/dist/item.cjs +19 -10
- package/dist/item.cjs.map +1 -1
- package/dist/item.js +5 -5
- package/dist/lite-table.js +3 -3
- package/dist/menu-look.cjs +19 -10
- package/dist/menu-look.cjs.map +1 -1
- package/dist/menu-look.js +2 -2
- package/dist/record-list.cjs +19 -10
- package/dist/record-list.cjs.map +1 -1
- package/dist/record-list.js +6 -6
- package/dist/settings.js +3 -3
- package/dist/swipe-deck.cjs +11 -2
- package/dist/swipe-deck.cjs.map +1 -1
- package/dist/swipe-deck.js +12 -3
- package/dist/swipe-deck.js.map +1 -1
- package/dist/text-input-dialog.js +1 -1
- package/dist/writing-field.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-U46XUQI7.js.map +0 -1
- package/dist/chunk-X6ZRHJQP.js.map +0 -1
- /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-ACZALXD6.js.map → chunk-K3XWUACX.js.map} +0 -0
- /package/dist/{chunk-TV2IDHPZ.js.map → chunk-K5ZQROWN.js.map} +0 -0
- /package/dist/{chunk-MTE6N7XU.js.map → chunk-NFJ63LIH.js.map} +0 -0
- /package/dist/{chunk-XZGYKKCE.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,7 +122,7 @@ import {
|
|
|
122
122
|
} from "../chunk-KMJ3VN67.js";
|
|
123
123
|
import {
|
|
124
124
|
MatrxTableRowAlchemyProvider
|
|
125
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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(
|
|
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(
|
|
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 }));
|