@ai-matrx/records-ui 0.116.110 → 0.116.112
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 -1
- package/dist/{SaveToTable-WZ4BELUI.js → SaveToTable-GRDFTAC4.js} +4 -4
- package/dist/{chunk-TABDUUEC.js → chunk-DZ4KNUSS.js} +16 -3
- package/dist/chunk-DZ4KNUSS.js.map +1 -0
- package/dist/{chunk-NS2VEKMS.js → chunk-FZVW6XVB.js} +2 -2
- package/dist/{chunk-K7OX6RG6.js → chunk-JTEIYLII.js} +3 -1
- package/dist/chunk-JTEIYLII.js.map +1 -0
- package/dist/{chunk-TZ2KUSHH.js → chunk-LGQLATW5.js} +30 -9
- package/dist/chunk-LGQLATW5.js.map +1 -0
- package/dist/{chunk-T7SXM6ZL.js → chunk-N76I4VXM.js} +5 -4
- package/dist/{chunk-T7SXM6ZL.js.map → chunk-N76I4VXM.js.map} +1 -1
- package/dist/{chunk-D7LNXDKV.js → chunk-Z3EUU2NM.js} +2 -2
- package/dist/helpers.cjs +21 -6
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +11 -3
- package/dist/helpers.d.ts +11 -3
- package/dist/helpers.js +21 -6
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +447 -403
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +247 -240
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +195 -160
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +4 -4
- package/dist/skeleton.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-K7OX6RG6.js.map +0 -1
- package/dist/chunk-TABDUUEC.js.map +0 -1
- package/dist/chunk-TZ2KUSHH.js.map +0 -1
- /package/dist/{SaveToTable-WZ4BELUI.js.map → SaveToTable-GRDFTAC4.js.map} +0 -0
- /package/dist/{chunk-NS2VEKMS.js.map → chunk-FZVW6XVB.js.map} +0 -0
- /package/dist/{chunk-D7LNXDKV.js.map → chunk-Z3EUU2NM.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -511,6 +511,10 @@ declare const NO_RIGHTS: TableRights;
|
|
|
511
511
|
*/
|
|
512
512
|
declare function tableRightsAt(level: PermissionLevel | null): TableRights;
|
|
513
513
|
|
|
514
|
+
/** A notice card's optional line under its title (design-system NOTICE_TEXT_BUDGET). */
|
|
515
|
+
interface NoticeLine {
|
|
516
|
+
description?: string;
|
|
517
|
+
}
|
|
514
518
|
/** What a host's map painter is given. Pins arrive unclustered; the painter clusters them for its zoom. */
|
|
515
519
|
interface MapCanvasProps {
|
|
516
520
|
pins: readonly MapPin[];
|
|
@@ -853,12 +857,16 @@ interface RecordsUiHost {
|
|
|
853
857
|
}) => ReactNode;
|
|
854
858
|
/** Toasts. Absent means the screen shows the sentence inline instead — never silence. */
|
|
855
859
|
notify?: {
|
|
856
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* A card: a short title and an optional line (`description`, design-system NOTICE_TEXT_BUDGET:
|
|
862
|
+
* the names and causes ride the line, never the title). `action`: one button on the card (an
|
|
863
|
+
* Undo). A host without actions draws the words alone.
|
|
864
|
+
*/
|
|
857
865
|
success: (message: string, action?: {
|
|
858
866
|
label: string;
|
|
859
867
|
run: () => void;
|
|
860
|
-
}) => void;
|
|
861
|
-
error: (message: string) => void;
|
|
868
|
+
}, options?: NoticeLine) => void;
|
|
869
|
+
error: (message: string, options?: NoticeLine) => void;
|
|
862
870
|
/**
|
|
863
871
|
* OPTIONAL. THE REVERSIBLE ACTION (`@ai-matrx/kit/reversible`): something this package did
|
|
864
872
|
* that can be undone — a table archived — handed to the host's one announcer, which acts it
|
|
@@ -2230,7 +2238,8 @@ declare const MANUAL_SORT: {
|
|
|
2230
2238
|
readonly backTitle: "Go back to the order set by hand";
|
|
2231
2239
|
readonly instead: "Use this sort instead";
|
|
2232
2240
|
readonly insteadTitle: "Keep this sort as the view's order. It replaces the hand-set order.";
|
|
2233
|
-
|
|
2241
|
+
/** The card's title; the sort rides its line. */
|
|
2242
|
+
readonly replacedToast: "Sorted, hand order replaced";
|
|
2234
2243
|
};
|
|
2235
2244
|
/**
|
|
2236
2245
|
* THE SORT, AS TOOLBAR STATE (lane TABLE-PAGE-CHROME, owner 2026-09-25: "replace with canonical
|
package/dist/index.d.ts
CHANGED
|
@@ -511,6 +511,10 @@ declare const NO_RIGHTS: TableRights;
|
|
|
511
511
|
*/
|
|
512
512
|
declare function tableRightsAt(level: PermissionLevel | null): TableRights;
|
|
513
513
|
|
|
514
|
+
/** A notice card's optional line under its title (design-system NOTICE_TEXT_BUDGET). */
|
|
515
|
+
interface NoticeLine {
|
|
516
|
+
description?: string;
|
|
517
|
+
}
|
|
514
518
|
/** What a host's map painter is given. Pins arrive unclustered; the painter clusters them for its zoom. */
|
|
515
519
|
interface MapCanvasProps {
|
|
516
520
|
pins: readonly MapPin[];
|
|
@@ -853,12 +857,16 @@ interface RecordsUiHost {
|
|
|
853
857
|
}) => ReactNode;
|
|
854
858
|
/** Toasts. Absent means the screen shows the sentence inline instead — never silence. */
|
|
855
859
|
notify?: {
|
|
856
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* A card: a short title and an optional line (`description`, design-system NOTICE_TEXT_BUDGET:
|
|
862
|
+
* the names and causes ride the line, never the title). `action`: one button on the card (an
|
|
863
|
+
* Undo). A host without actions draws the words alone.
|
|
864
|
+
*/
|
|
857
865
|
success: (message: string, action?: {
|
|
858
866
|
label: string;
|
|
859
867
|
run: () => void;
|
|
860
|
-
}) => void;
|
|
861
|
-
error: (message: string) => void;
|
|
868
|
+
}, options?: NoticeLine) => void;
|
|
869
|
+
error: (message: string, options?: NoticeLine) => void;
|
|
862
870
|
/**
|
|
863
871
|
* OPTIONAL. THE REVERSIBLE ACTION (`@ai-matrx/kit/reversible`): something this package did
|
|
864
872
|
* that can be undone — a table archived — handed to the host's one announcer, which acts it
|
|
@@ -2230,7 +2238,8 @@ declare const MANUAL_SORT: {
|
|
|
2230
2238
|
readonly backTitle: "Go back to the order set by hand";
|
|
2231
2239
|
readonly instead: "Use this sort instead";
|
|
2232
2240
|
readonly insteadTitle: "Keep this sort as the view's order. It replaces the hand-set order.";
|
|
2233
|
-
|
|
2241
|
+
/** The card's title; the sort rides its line. */
|
|
2242
|
+
readonly replacedToast: "Sorted, hand order replaced";
|
|
2234
2243
|
};
|
|
2235
2244
|
/**
|
|
2236
2245
|
* THE SORT, AS TOOLBAR STATE (lane TABLE-PAGE-CHROME, owner 2026-09-25: "replace with canonical
|