@ai-matrx/design-system 0.86.360 → 0.86.362
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 +24 -2
- package/README.md +2 -0
- package/dist/carousel.js +5 -5
- package/dist/{chunk-ZU2ZODDD.js → chunk-2QFA6CK4.js} +4 -4
- package/dist/{chunk-UCEKAKHP.js → chunk-3YTF4MH2.js} +2 -2
- package/dist/{chunk-T57DLONB.js → chunk-AKSKVT2M.js} +17 -9
- package/dist/chunk-AKSKVT2M.js.map +1 -0
- package/dist/{chunk-LU75R6YX.js → chunk-KOUHF4JC.js} +2 -2
- package/dist/{chunk-HISATFYI.js → chunk-LS3C7IUV.js} +2 -2
- package/dist/{chunk-QK7GPIEA.js → chunk-QJ6SQNXD.js} +4 -4
- package/dist/{chunk-TSETPQWU.js → chunk-RO5CRIOL.js} +2 -2
- package/dist/{chunk-WHERV3VC.js → chunk-SOCDBDFS.js} +4 -4
- package/dist/{chunk-C5HYUXR2.js → chunk-UGUVTE77.js} +2 -2
- package/dist/{chunk-FF524V6P.js → chunk-VOLSYNJY.js} +3 -3
- package/dist/{chunk-WOA6WHV2.js → chunk-WLKHQGX5.js} +2 -2
- package/dist/{chunk-42GFQMLA.js → chunk-WUI5OFCH.js} +2 -2
- package/dist/clipboard-fallback-dialog.js +2 -2
- package/dist/controls.cjs +16 -8
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.js +5 -5
- package/dist/data-table/data-row-inspector.js +5 -5
- package/dist/data-table/data-row-window.js +6 -6
- package/dist/data-table/index.cjs +858 -772
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +541 -461
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/pagination.cjs +16 -8
- package/dist/data-table/pagination.cjs.map +1 -1
- package/dist/data-table/pagination.js +3 -3
- package/dist/data-table/uuid-cell.js +3 -3
- package/dist/desktop.cjs +16 -8
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.js +5 -5
- package/dist/index.cjs +20 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/intro-stage.cjs +24 -3
- package/dist/intro-stage.cjs.map +1 -1
- package/dist/intro-stage.d.cts +9 -3
- package/dist/intro-stage.d.ts +9 -3
- package/dist/intro-stage.js +24 -3
- package/dist/intro-stage.js.map +1 -1
- package/dist/item.cjs +16 -8
- package/dist/item.cjs.map +1 -1
- package/dist/item.js +4 -4
- package/dist/lite-table.js +2 -2
- package/dist/menu-look.cjs +16 -8
- package/dist/menu-look.cjs.map +1 -1
- package/dist/menu-look.js +2 -2
- package/dist/record-list.cjs +16 -8
- package/dist/record-list.cjs.map +1 -1
- package/dist/record-list.js +4 -4
- package/dist/settings.js +3 -3
- package/dist/styles.css +18 -0
- package/dist/thumbnail-grid.cjs +27 -1
- package/dist/thumbnail-grid.cjs.map +1 -1
- package/dist/thumbnail-grid.d.cts +16 -2
- package/dist/thumbnail-grid.d.ts +16 -2
- package/dist/thumbnail-grid.js +27 -1
- package/dist/thumbnail-grid.js.map +1 -1
- package/dist/writing-field.cjs +3 -2
- package/dist/writing-field.cjs.map +1 -1
- package/dist/writing-field.js +6 -5
- package/dist/writing-field.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-T57DLONB.js.map +0 -1
- /package/dist/{chunk-ZU2ZODDD.js.map → chunk-2QFA6CK4.js.map} +0 -0
- /package/dist/{chunk-UCEKAKHP.js.map → chunk-3YTF4MH2.js.map} +0 -0
- /package/dist/{chunk-LU75R6YX.js.map → chunk-KOUHF4JC.js.map} +0 -0
- /package/dist/{chunk-HISATFYI.js.map → chunk-LS3C7IUV.js.map} +0 -0
- /package/dist/{chunk-QK7GPIEA.js.map → chunk-QJ6SQNXD.js.map} +0 -0
- /package/dist/{chunk-TSETPQWU.js.map → chunk-RO5CRIOL.js.map} +0 -0
- /package/dist/{chunk-WHERV3VC.js.map → chunk-SOCDBDFS.js.map} +0 -0
- /package/dist/{chunk-C5HYUXR2.js.map → chunk-UGUVTE77.js.map} +0 -0
- /package/dist/{chunk-FF524V6P.js.map → chunk-VOLSYNJY.js.map} +0 -0
- /package/dist/{chunk-WOA6WHV2.js.map → chunk-WLKHQGX5.js.map} +0 -0
- /package/dist/{chunk-42GFQMLA.js.map → chunk-WUI5OFCH.js.map} +0 -0
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_TABLE_PAGE_SIZES,
|
|
4
4
|
GenericTablePagination
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-LS3C7IUV.js";
|
|
6
|
+
import "../chunk-KOUHF4JC.js";
|
|
7
7
|
import "../chunk-BD77DHUO.js";
|
|
8
8
|
import "../chunk-BKCJUFD3.js";
|
|
9
9
|
import "../chunk-PIQJULQB.js";
|
|
10
10
|
import "../chunk-MOZRIHJF.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-AKSKVT2M.js";
|
|
12
12
|
import "../chunk-BNXNIN2S.js";
|
|
13
13
|
import "../chunk-ORXB4A5E.js";
|
|
14
14
|
import "../chunk-B5D3VIMC.js";
|
|
@@ -3,13 +3,13 @@ import "../chunk-QFP4BUKZ.js";
|
|
|
3
3
|
import {
|
|
4
4
|
RecordId,
|
|
5
5
|
shortUuid
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-RO5CRIOL.js";
|
|
7
|
+
import "../chunk-KOUHF4JC.js";
|
|
8
8
|
import "../chunk-BD77DHUO.js";
|
|
9
9
|
import "../chunk-BKCJUFD3.js";
|
|
10
10
|
import "../chunk-PIQJULQB.js";
|
|
11
11
|
import "../chunk-MOZRIHJF.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-AKSKVT2M.js";
|
|
13
13
|
import "../chunk-BNXNIN2S.js";
|
|
14
14
|
import "../chunk-HS6GMHKZ.js";
|
|
15
15
|
import "../chunk-ORXB4A5E.js";
|
package/dist/desktop.cjs
CHANGED
|
@@ -3894,14 +3894,18 @@ var DropdownMenuSubTrigger = React25.forwardRef(({ className, inset, children, .
|
|
|
3894
3894
|
}
|
|
3895
3895
|
));
|
|
3896
3896
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
3897
|
-
var DropdownMenuSubContent = React25.forwardRef(({
|
|
3897
|
+
var DropdownMenuSubContent = React25.forwardRef(({ container, ...props }, ref) => {
|
|
3898
3898
|
const portalContainer = usePortalContainer(container);
|
|
3899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(OpenDropdownMenuSubContent, { ref, ...props }) });
|
|
3900
|
+
});
|
|
3901
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
3902
|
+
var OpenDropdownMenuSubContent = React25.forwardRef(({ className, surface = "default", sideOffset = 2, alignOffset = -4, collisionPadding, onFocusOutside, children, ...props }, ref) => {
|
|
3899
3903
|
const [bottomClearance] = React25.useState(sharedBottomClearance);
|
|
3900
3904
|
const padding = menuCollisionPadding(collisionPadding ?? 8, 0, bottomClearance);
|
|
3901
3905
|
const nested = useNestedSubmenuPlacement(ref, padding);
|
|
3902
3906
|
const keep = useSubmenuSurvivesParentPanelFocus(nested.ref, onFocusOutside);
|
|
3903
3907
|
const edges = useMenuScrollEdges(keep.ref);
|
|
3904
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3908
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3905
3909
|
DropdownMenuPrimitive.SubContent,
|
|
3906
3910
|
{
|
|
3907
3911
|
ref: edges.ref,
|
|
@@ -3915,9 +3919,9 @@ var DropdownMenuSubContent = React25.forwardRef(({ className, container, surface
|
|
|
3915
3919
|
...props,
|
|
3916
3920
|
children: nested.wrap(edges.wrap(children))
|
|
3917
3921
|
}
|
|
3918
|
-
)
|
|
3922
|
+
);
|
|
3919
3923
|
});
|
|
3920
|
-
|
|
3924
|
+
OpenDropdownMenuSubContent.displayName = "OpenDropdownMenuSubContent";
|
|
3921
3925
|
function menuCollisionPadding(caller, top, bottom, fallback = 0) {
|
|
3922
3926
|
const side = (key2) => typeof caller === "number" ? caller : caller?.[key2] ?? fallback;
|
|
3923
3927
|
return { top: Math.max(side("top"), top), right: side("right"), bottom: Math.max(side("bottom"), bottom), left: side("left") };
|
|
@@ -3946,12 +3950,16 @@ function measureClearance(height) {
|
|
|
3946
3950
|
probe.remove();
|
|
3947
3951
|
return Number.isFinite(px) ? Math.ceil(px) : 0;
|
|
3948
3952
|
}
|
|
3949
|
-
var DropdownMenuContent = React25.forwardRef(({
|
|
3953
|
+
var DropdownMenuContent = React25.forwardRef(({ container, ...props }, ref) => {
|
|
3950
3954
|
const portalContainer = usePortalContainer(container);
|
|
3955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(OpenDropdownMenuContent, { ref, ...props }) });
|
|
3956
|
+
});
|
|
3957
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
3958
|
+
var OpenDropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, surface = "default", children, onCloseAutoFocus, collisionPadding, ...props }, ref) => {
|
|
3951
3959
|
const [topClearance] = React25.useState(sharedTopClearance);
|
|
3952
3960
|
const [bottomClearance] = React25.useState(sharedBottomClearance);
|
|
3953
3961
|
const edges = useMenuScrollEdges(ref);
|
|
3954
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3955
3963
|
DropdownMenuPrimitive.Content,
|
|
3956
3964
|
{
|
|
3957
3965
|
ref: edges.ref,
|
|
@@ -3971,9 +3979,9 @@ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, conta
|
|
|
3971
3979
|
onCloseAutoFocus: keepMovedFocus(onCloseAutoFocus),
|
|
3972
3980
|
children: edges.wrap(children)
|
|
3973
3981
|
}
|
|
3974
|
-
)
|
|
3982
|
+
);
|
|
3975
3983
|
});
|
|
3976
|
-
|
|
3984
|
+
OpenDropdownMenuContent.displayName = "OpenDropdownMenuContent";
|
|
3977
3985
|
var DropdownMenuItem = React25.forwardRef(({ className, inset, tone, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3978
3986
|
DropdownMenuPrimitive.Item,
|
|
3979
3987
|
{
|