@ai-matrx/design-system 0.86.361 → 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 +9 -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
package/dist/item.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
runCommand,
|
|
13
13
|
runToggle,
|
|
14
14
|
useItemMenuHost
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SOCDBDFS.js";
|
|
16
16
|
import "./chunk-J6637L6D.js";
|
|
17
17
|
import {
|
|
18
18
|
MenuLookContent,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
MenuLookSub,
|
|
23
23
|
MenuLookSubContent,
|
|
24
24
|
MenuLookSubTrigger
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WUI5OFCH.js";
|
|
26
26
|
import "./chunk-HEFTQUJ5.js";
|
|
27
27
|
import "./chunk-K4XCB576.js";
|
|
28
28
|
import {
|
|
@@ -44,14 +44,14 @@ import "./chunk-NDTDBBMM.js";
|
|
|
44
44
|
import "./chunk-KPZX2M2C.js";
|
|
45
45
|
import "./chunk-WFBPCMPF.js";
|
|
46
46
|
import "./chunk-OPF265PU.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-KOUHF4JC.js";
|
|
48
48
|
import "./chunk-BD77DHUO.js";
|
|
49
49
|
import "./chunk-BKCJUFD3.js";
|
|
50
50
|
import "./chunk-MOZRIHJF.js";
|
|
51
51
|
import {
|
|
52
52
|
DropdownMenu,
|
|
53
53
|
DropdownMenuTrigger
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-AKSKVT2M.js";
|
|
55
55
|
import "./chunk-BNXNIN2S.js";
|
|
56
56
|
import "./chunk-B5D3VIMC.js";
|
|
57
57
|
import "./chunk-WFITMVDB.js";
|
package/dist/lite-table.js
CHANGED
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
} from "./chunk-WFBPCMPF.js";
|
|
18
18
|
import {
|
|
19
19
|
Button
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KOUHF4JC.js";
|
|
21
21
|
import "./chunk-BD77DHUO.js";
|
|
22
22
|
import "./chunk-BKCJUFD3.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-AKSKVT2M.js";
|
|
24
24
|
import "./chunk-BNXNIN2S.js";
|
|
25
25
|
import "./chunk-HS6GMHKZ.js";
|
|
26
26
|
import "./chunk-WFITMVDB.js";
|
package/dist/menu-look.cjs
CHANGED
|
@@ -427,14 +427,18 @@ var DropdownMenuSubTrigger = React5.forwardRef(({ className, inset, children, ..
|
|
|
427
427
|
}
|
|
428
428
|
));
|
|
429
429
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
430
|
-
var DropdownMenuSubContent = React5.forwardRef(({
|
|
430
|
+
var DropdownMenuSubContent = React5.forwardRef(({ container, ...props }, ref) => {
|
|
431
431
|
const portalContainer = usePortalContainer(container);
|
|
432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(OpenDropdownMenuSubContent, { ref, ...props }) });
|
|
433
|
+
});
|
|
434
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
435
|
+
var OpenDropdownMenuSubContent = React5.forwardRef(({ className, surface = "default", sideOffset = 2, alignOffset = -4, collisionPadding, onFocusOutside, children, ...props }, ref) => {
|
|
432
436
|
const [bottomClearance] = React5.useState(sharedBottomClearance);
|
|
433
437
|
const padding = menuCollisionPadding(collisionPadding ?? 8, 0, bottomClearance);
|
|
434
438
|
const nested = useNestedSubmenuPlacement(ref, padding);
|
|
435
439
|
const keep = useSubmenuSurvivesParentPanelFocus(nested.ref, onFocusOutside);
|
|
436
440
|
const edges = useMenuScrollEdges(keep.ref);
|
|
437
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
438
442
|
DropdownMenuPrimitive.SubContent,
|
|
439
443
|
{
|
|
440
444
|
ref: edges.ref,
|
|
@@ -448,9 +452,9 @@ var DropdownMenuSubContent = React5.forwardRef(({ className, container, surface
|
|
|
448
452
|
...props,
|
|
449
453
|
children: nested.wrap(edges.wrap(children))
|
|
450
454
|
}
|
|
451
|
-
)
|
|
455
|
+
);
|
|
452
456
|
});
|
|
453
|
-
|
|
457
|
+
OpenDropdownMenuSubContent.displayName = "OpenDropdownMenuSubContent";
|
|
454
458
|
function menuCollisionPadding(caller, top, bottom, fallback = 0) {
|
|
455
459
|
const side = (key) => typeof caller === "number" ? caller : caller?.[key] ?? fallback;
|
|
456
460
|
return { top: Math.max(side("top"), top), right: side("right"), bottom: Math.max(side("bottom"), bottom), left: side("left") };
|
|
@@ -479,12 +483,16 @@ function measureClearance(height) {
|
|
|
479
483
|
probe.remove();
|
|
480
484
|
return Number.isFinite(px) ? Math.ceil(px) : 0;
|
|
481
485
|
}
|
|
482
|
-
var DropdownMenuContent = React5.forwardRef(({
|
|
486
|
+
var DropdownMenuContent = React5.forwardRef(({ container, ...props }, ref) => {
|
|
483
487
|
const portalContainer = usePortalContainer(container);
|
|
488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(OpenDropdownMenuContent, { ref, ...props }) });
|
|
489
|
+
});
|
|
490
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
491
|
+
var OpenDropdownMenuContent = React5.forwardRef(({ className, sideOffset = 4, surface = "default", children, onCloseAutoFocus, collisionPadding, ...props }, ref) => {
|
|
484
492
|
const [topClearance] = React5.useState(sharedTopClearance);
|
|
485
493
|
const [bottomClearance] = React5.useState(sharedBottomClearance);
|
|
486
494
|
const edges = useMenuScrollEdges(ref);
|
|
487
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
488
496
|
DropdownMenuPrimitive.Content,
|
|
489
497
|
{
|
|
490
498
|
ref: edges.ref,
|
|
@@ -504,9 +512,9 @@ var DropdownMenuContent = React5.forwardRef(({ className, sideOffset = 4, contai
|
|
|
504
512
|
onCloseAutoFocus: keepMovedFocus(onCloseAutoFocus),
|
|
505
513
|
children: edges.wrap(children)
|
|
506
514
|
}
|
|
507
|
-
)
|
|
515
|
+
);
|
|
508
516
|
});
|
|
509
|
-
|
|
517
|
+
OpenDropdownMenuContent.displayName = "OpenDropdownMenuContent";
|
|
510
518
|
var DropdownMenuItem = React5.forwardRef(({ className, inset, tone, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
511
519
|
DropdownMenuPrimitive.Item,
|
|
512
520
|
{
|