@justanarthur/modo-ui 2.1.0 → 2.2.0
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/blocks/desktop-shell/index.tsx +2 -1
- package/components/inputs/checkbox/index.tsx +5 -0
- package/components/inputs/combobox/index.tsx +9 -4
- package/components/inputs/radio/index.tsx +5 -0
- package/components/inputs/select/index.tsx +23 -3
- package/components/inputs/slider/comfortable.tsx +10 -4
- package/components/inputs/slider/compact.tsx +153 -71
- package/components/inputs/slider/examples.mdx +24 -0
- package/components/inputs/slider/geometry.ts +18 -6
- package/components/inputs/slider/index.tsx +30 -8
- package/components/inputs/slider/value-display.tsx +16 -9
- package/components/inputs/switch/index.tsx +5 -0
- package/components/inputs/textarea/examples.mdx +19 -0
- package/components/inputs/textarea/index.tsx +42 -5
- package/components/navigation/sidebar/sidebar-group.tsx +2 -1
- package/components/navigation/sidebar/sidebar-menu-sub.tsx +2 -1
- package/components/navigation/sidebar/sidebar-shell.tsx +2 -1
- package/components/navigation/tree/index.tsx +2 -1
- package/components/overlays/dropdown/index.tsx +50 -8
- package/components/overlays/dropdown/submenu.tsx +41 -10
- package/components/overlays/tooltip/examples.mdx +13 -0
- package/components/overlays/tooltip/index.tsx +58 -16
- package/dist/blocks/desktop-shell/index.js +28 -27
- package/dist/blocks/sidebar-app/index.js +38 -37
- package/dist/components/actions/button/index.js +4 -4
- package/dist/components/actions/copy/index.js +12 -12
- package/dist/components/containers/accordion/index.d.ts +1 -1
- package/dist/components/containers/accordion/index.js +16 -16
- package/dist/components/containers/card/index.js +14 -14
- package/dist/components/data-display/avatar/index.js +3 -3
- package/dist/components/data-display/badge/index.js +2 -2
- package/dist/components/data-display/diff/index.js +4 -4
- package/dist/components/data-display/list/index.js +3 -3
- package/dist/components/data-display/log-view/index.js +8 -8
- package/dist/components/data-display/markdown/index.js +15 -15
- package/dist/components/data-display/table/index.js +9 -9
- package/dist/components/feedback/empty-state/index.js +3 -3
- package/dist/components/feedback/meter/index.js +2 -2
- package/dist/components/feedback/progress/index.js +2 -2
- package/dist/components/inputs/checkbox/index.d.ts +2 -0
- package/dist/components/inputs/checkbox/index.js +13 -13
- package/dist/components/inputs/choice-list/index.js +10 -10
- package/dist/components/inputs/color-picker/index.js +22 -22
- package/dist/components/inputs/combobox/index.d.ts +1 -1
- package/dist/components/inputs/combobox/index.js +21 -21
- package/dist/components/inputs/date-time/calendar/index.js +9 -9
- package/dist/components/inputs/date-time/date-picker/index.js +28 -28
- package/dist/components/inputs/date-time/date-range-picker/index.js +28 -28
- package/dist/components/inputs/date-time/duration-picker/index.js +27 -27
- package/dist/components/inputs/date-time/month-picker/index.js +26 -26
- package/dist/components/inputs/date-time/time-picker/index.js +27 -27
- package/dist/components/inputs/editable-text/index.js +2 -2
- package/dist/components/inputs/field/index.js +5 -5
- package/dist/components/inputs/file-dropzone/index.js +8 -8
- package/dist/components/inputs/input/index.js +6 -6
- package/dist/components/inputs/key-value/index.js +12 -12
- package/dist/components/inputs/number-input/index.js +7 -7
- package/dist/components/inputs/radio/index.d.ts +2 -0
- package/dist/components/inputs/radio/index.js +12 -12
- package/dist/components/inputs/search/index.js +23 -23
- package/dist/components/inputs/select/index.d.ts +22 -4
- package/dist/components/inputs/select/index.js +22 -22
- package/dist/components/inputs/slider/index.d.ts +12 -3
- package/dist/components/inputs/slider/index.js +4 -4
- package/dist/components/inputs/switch/index.d.ts +2 -0
- package/dist/components/inputs/switch/index.js +9 -9
- package/dist/components/inputs/textarea/index.d.ts +8 -1
- package/dist/components/inputs/textarea/index.js +4 -4
- package/dist/components/navigation/breadcrumb/index.js +25 -25
- package/dist/components/navigation/navigation-menu/index.js +17 -17
- package/dist/components/navigation/pagination/index.js +16 -16
- package/dist/components/navigation/sidebar/index.js +26 -25
- package/dist/components/navigation/tabs/index.js +13 -13
- package/dist/components/navigation/tree/index.js +10 -9
- package/dist/components/overlays/alert-dialog/index.d.ts +3 -3
- package/dist/components/overlays/alert-dialog/index.js +15 -15
- package/dist/components/overlays/command/index.d.ts +1 -1
- package/dist/components/overlays/command/index.js +21 -21
- package/dist/components/overlays/context-menu/index.d.ts +20 -1
- package/dist/components/overlays/context-menu/index.js +25 -25
- package/dist/components/overlays/dialog/index.d.ts +3 -3
- package/dist/components/overlays/dialog/index.js +14 -14
- package/dist/components/overlays/dropdown/index.d.ts +30 -8
- package/dist/components/overlays/dropdown/index.js +24 -24
- package/dist/components/overlays/lightbox/index.js +12 -12
- package/dist/components/overlays/popover/index.d.ts +6 -6
- package/dist/components/overlays/popover/index.js +11 -11
- package/dist/components/overlays/preview-card/index.js +10 -10
- package/dist/components/overlays/sheet/index.d.ts +3 -3
- package/dist/components/overlays/sheet/index.js +15 -15
- package/dist/components/overlays/toast/index.d.ts +1 -1
- package/dist/components/overlays/toast/index.js +11 -11
- package/dist/components/overlays/tooltip/index.d.ts +35 -10
- package/dist/components/overlays/tooltip/index.js +8 -8
- package/dist/docs/index.js +18 -17
- package/dist/index.d.ts +88 -36
- package/dist/index.js +78 -77
- package/dist/lib/fluid-hover-highlight.js +4 -4
- package/dist/lib/focus-ring.js +2 -2
- package/dist/lib/goo-indicator.js +3 -3
- package/dist/lib/inert.d.ts +7 -0
- package/dist/lib/inert.js +6 -0
- package/dist/lib/morph-layers.js +4 -4
- package/dist/lib/morph-part.js +2 -2
- package/dist/lib/overlay.d.ts +20 -13
- package/dist/lib/overlay.js +5 -4
- package/dist/lib/popup-rows.js +2 -2
- package/dist/lib/popup-surface.js +7 -7
- package/dist/lib/scroll-column.js +6 -6
- package/dist/lib/slot.d.ts +5 -2
- package/dist/lib/slot.js +1 -1
- package/dist/lib/use-merge-split.js +4 -4
- package/dist/lib/use-morph.js +2 -2
- package/dist/primitives/content/code/index.js +3 -3
- package/dist/primitives/layout/resizable/index.js +2 -2
- package/dist/primitives/layout/sortable/index.js +5 -5
- package/dist/primitives/systems/craft/index.js +3 -3
- package/dist/primitives/systems/fluid-hover/index.js +6 -6
- package/dist/primitives/systems/morph/index.js +14 -14
- package/dist/primitives/systems/motion/index.js +7 -7
- package/dist/primitives/systems/sizes/index.js +2 -2
- package/dist/shared/{components-280grw6q.js → components-09n5hgmx.js} +2 -2
- package/dist/shared/{components-1f3a7gmg.js → components-151vndgm.js} +3 -3
- package/dist/shared/{components-14wzcym0.js → components-16wx5av1.js} +6 -6
- package/dist/shared/{components-yf2gtq68.js → components-19e2wpxc.js} +9 -6
- package/dist/shared/{components-rzy6h7s4.js → components-1nqp7wqr.js} +1 -1
- package/dist/shared/components-2myjk2zf.js +8 -0
- package/dist/shared/{components-9rebr89j.js → components-2q0m4mxf.js} +2 -2
- package/dist/shared/{components-1asw2ph0.js → components-2zr49v82.js} +3 -3
- package/dist/shared/{components-wq9hrera.js → components-313rmbxy.js} +2 -2
- package/dist/shared/{components-0h2mng6m.js → components-31pkxwfz.js} +1 -1
- package/dist/shared/{components-w2at9ntm.js → components-3cvwrzc1.js} +3 -3
- package/dist/shared/{components-n0gbyp5a.js → components-4xd21p2p.js} +6 -6
- package/dist/shared/{components-t0c1rw40.js → components-7v6869ga.js} +1 -1
- package/dist/shared/{components-kwxye0an.js → components-7wjkag2j.js} +4 -2
- package/dist/shared/{components-fqsgd07c.js → components-85dz3xx3.js} +4 -4
- package/dist/shared/{components-3rvrdsa9.js → components-8qkd3659.js} +1 -1
- package/dist/shared/{components-me742146.js → components-8qwbwtv9.js} +5 -5
- package/dist/shared/{components-nxqrw789.js → components-90sfqz5t.js} +1 -1
- package/dist/shared/{components-b9bj65j3.js → components-90y8qwxv.js} +9 -9
- package/dist/shared/{components-g35n8tzm.js → components-95kp19zn.js} +1 -1
- package/dist/shared/{components-nhmgr5xc.js → components-9e5fpy3v.js} +14 -11
- package/dist/shared/{components-a1ms36qq.js → components-9hysh6d3.js} +1 -1
- package/dist/shared/{components-hcftn5r8.js → components-9s9vb2w0.js} +7 -4
- package/dist/shared/{components-vfreweq3.js → components-a3edrqpb.js} +3 -3
- package/dist/shared/{components-ee09xmkh.js → components-afj2ajea.js} +8 -5
- package/dist/shared/{components-ev0ytbqb.js → components-ajgwbabq.js} +4 -4
- package/dist/shared/{components-62510420.js → components-dr5c27yd.js} +6 -6
- package/dist/shared/{components-s90v3jpr.js → components-fqdh9ysk.js} +68 -19
- package/dist/shared/{components-2m2hg11x.js → components-gfw4zk8b.js} +8 -8
- package/dist/shared/{components-z0kz9rxj.js → components-gvwxswpr.js} +1 -1
- package/dist/shared/{components-p32aqk3q.js → components-h9se5cz5.js} +110 -73
- package/dist/shared/{components-77gxngmc.js → components-jd21f3mb.js} +8 -8
- package/dist/shared/{components-xnkc892z.js → components-mamtvenk.js} +2 -2
- package/dist/shared/{components-1hga6pkn.js → components-mcnyaaep.js} +3 -3
- package/dist/shared/{components-h0x2pj2y.js → components-mpx3yq5c.js} +24 -10
- package/dist/shared/{components-j79a6jqa.js → components-nc8wggew.js} +3 -3
- package/dist/shared/{components-r5q9gdh4.js → components-nd3f803g.js} +7 -7
- package/dist/shared/{components-9ca0c92a.js → components-nehs80xd.js} +1 -1
- package/dist/shared/{components-4t2cjav8.js → components-pgs3p035.js} +1 -1
- package/dist/shared/{components-91mmbrw3.js → components-ppc2dmxs.js} +2 -2
- package/dist/shared/{components-b2kjsn1s.js → components-qc1fae2s.js} +6 -6
- package/dist/shared/{components-fmyvz4r2.js → components-qd27dvgj.js} +6 -6
- package/dist/shared/{components-9z7bq8gn.js → components-qe8yp3vf.js} +3 -3
- package/dist/shared/{components-wx1dcp2n.js → components-qhk2m7fj.js} +2 -2
- package/dist/shared/{components-a1mwqxsv.js → components-qkt4h7x4.js} +8 -8
- package/dist/shared/{components-6rtawx8y.js → components-qs0cwe8p.js} +10 -10
- package/dist/shared/{components-y8m64zdw.js → components-r6ejdtpr.js} +3 -3
- package/dist/shared/{components-1bnf96sr.js → components-rj4nnqkz.js} +39 -11
- package/dist/shared/{components-gd8gmr6w.js → components-rmhdr4g1.js} +1 -1
- package/dist/shared/{components-e7zxwja1.js → components-rts2mggt.js} +1 -1
- package/dist/shared/{components-ta4e10mx.js → components-s25rehbv.js} +1 -1
- package/dist/shared/{components-chda6b23.js → components-sxstx1x7.js} +33 -4
- package/dist/shared/{components-b7p1pjcm.js → components-t4eb37vd.js} +2 -2
- package/dist/shared/{components-7xc2dne4.js → components-v3c3madd.js} +2 -2
- package/dist/shared/{components-22h8dvt1.js → components-v81eejq6.js} +3 -3
- package/dist/shared/{components-w1ysefg1.js → components-veaxns17.js} +2 -2
- package/dist/shared/{components-czvraaw9.js → components-vkrp4nb9.js} +4 -4
- package/dist/shared/{components-gsstwhtv.js → components-vv420geb.js} +6 -3
- package/dist/shared/{components-5xs8pkkj.js → components-w5p7mfb4.js} +1 -1
- package/dist/shared/{components-rgng034x.js → components-xvf8jcza.js} +25 -4
- package/dist/shared/{components-q7zk70tx.js → components-y07de1qv.js} +1 -1
- package/dist/shared/{components-0cpte6s1.js → components-yn8bw8tv.js} +11 -10
- package/dist/shared/{components-xa9fvd5b.js → components-z9gc2weg.js} +3 -3
- package/dist/shared/{components-twyj2y8c.js → components-zk1tj5za.js} +3 -3
- package/dist/shared/{components-hz6armxa.js → components-zktkxnzq.js} +7 -4
- package/dist/styles.css +5 -1
- package/lib/inert.ts +15 -0
- package/lib/overlay.tsx +49 -5
- package/lib/slot.tsx +9 -3
- package/package.json +6 -1
- /package/dist/shared/{components-jw45ck66.js → components-02683eqd.js} +0 -0
- /package/dist/shared/{components-q0hs5rqn.js → components-6c52v58g.js} +0 -0
- /package/dist/shared/{components-y4gsk1jt.js → components-fa61vwag.js} +0 -0
- /package/dist/shared/{components-nz14rwtd.js → components-ffng9rpa.js} +0 -0
- /package/dist/shared/{components-knryyjme.js → components-hbqyf35a.js} +0 -0
- /package/dist/shared/{components-7mj5wsv3.js → components-k9qbcmaa.js} +0 -0
- /package/dist/shared/{components-8pnvkrbw.js → components-mp7en54n.js} +0 -0
- /package/dist/shared/{components-h8v9nh5r.js → components-pbx77hzb.js} +0 -0
- /package/dist/shared/{components-c515d6xr.js → components-v1m0xjbw.js} +0 -0
- /package/dist/shared/{components-pa43g2r2.js → components-wddr0r6a.js} +0 -0
- /package/dist/shared/{components-ymq8tbq9.js → components-wqac4434.js} +0 -0
- /package/dist/shared/{components-m3vxpz2z.js → components-yy0a9b02.js} +0 -0
- /package/dist/shared/{components-92mvpt9h.js → components-zwgxvktt.js} +0 -0
|
@@ -8,31 +8,31 @@ import {
|
|
|
8
8
|
} from "./components-bkwjvvkh.js";
|
|
9
9
|
import {
|
|
10
10
|
MorphPartScope2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-wddr0r6a.js";
|
|
12
12
|
import {
|
|
13
13
|
useMorph2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-mp7en54n.js";
|
|
15
|
+
import {
|
|
16
|
+
cn2
|
|
17
|
+
} from "./components-xnp09586.js";
|
|
15
18
|
import {
|
|
16
19
|
OverlayContext2,
|
|
17
20
|
useOverlayRoot2,
|
|
18
21
|
useOverlay2,
|
|
19
22
|
usePortalContainer2
|
|
20
|
-
} from "./components-
|
|
21
|
-
import {
|
|
22
|
-
cn2
|
|
23
|
-
} from "./components-xnp09586.js";
|
|
23
|
+
} from "./components-xvf8jcza.js";
|
|
24
24
|
import {
|
|
25
25
|
PopupSurface2
|
|
26
|
-
} from "./components-
|
|
26
|
+
} from "./components-90sfqz5t.js";
|
|
27
27
|
import {
|
|
28
28
|
useSizeVariant2
|
|
29
29
|
} from "./components-znspksk0.js";
|
|
30
30
|
import {
|
|
31
31
|
slotPart2
|
|
32
|
-
} from "./components-
|
|
32
|
+
} from "./components-7wjkag2j.js";
|
|
33
33
|
import {
|
|
34
34
|
Button2
|
|
35
|
-
} from "./components-
|
|
35
|
+
} from "./components-31pkxwfz.js";
|
|
36
36
|
|
|
37
37
|
// components/overlays/dialog/index.tsx
|
|
38
38
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
@@ -40,34 +40,37 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
resolveSlotTemplate2,
|
|
42
42
|
slotElement2
|
|
43
|
-
} from "./components-
|
|
43
|
+
} from "./components-7wjkag2j.js";
|
|
44
44
|
import {
|
|
45
45
|
Button2
|
|
46
|
-
} from "./components-
|
|
46
|
+
} from "./components-31pkxwfz.js";
|
|
47
47
|
import {
|
|
48
48
|
Sheet2
|
|
49
|
-
} from "./components-
|
|
49
|
+
} from "./components-dr5c27yd.js";
|
|
50
50
|
import {
|
|
51
51
|
GooIndicator2
|
|
52
|
-
} from "./components-
|
|
52
|
+
} from "./components-gvwxswpr.js";
|
|
53
53
|
import {
|
|
54
54
|
FluidHoverHighlight2
|
|
55
|
-
} from "./components-
|
|
55
|
+
} from "./components-95kp19zn.js";
|
|
56
56
|
import {
|
|
57
57
|
FocusRing2
|
|
58
|
-
} from "./components-
|
|
58
|
+
} from "./components-v1m0xjbw.js";
|
|
59
59
|
import {
|
|
60
60
|
useFluidHover2
|
|
61
61
|
} from "./components-7c4a0egq.js";
|
|
62
62
|
import {
|
|
63
63
|
useIsoLayoutEffect2
|
|
64
64
|
} from "./components-v2j3jx89.js";
|
|
65
|
+
import {
|
|
66
|
+
inertProps2
|
|
67
|
+
} from "./components-2myjk2zf.js";
|
|
65
68
|
import {
|
|
66
69
|
WeightLabel2
|
|
67
70
|
} from "./components-y09nr7fe.js";
|
|
68
71
|
import {
|
|
69
72
|
SizeScope2
|
|
70
|
-
} from "./components-
|
|
73
|
+
} from "./components-ffng9rpa.js";
|
|
71
74
|
import {
|
|
72
75
|
fieldVariants2
|
|
73
76
|
} from "./components-grxgqa75.js";
|
|
@@ -76,7 +79,7 @@ import {
|
|
|
76
79
|
} from "./components-8wp8d8q1.js";
|
|
77
80
|
import {
|
|
78
81
|
Tooltip2
|
|
79
|
-
} from "./components-
|
|
82
|
+
} from "./components-rj4nnqkz.js";
|
|
80
83
|
|
|
81
84
|
// components/navigation/sidebar/index.tsx
|
|
82
85
|
import {
|
|
@@ -533,7 +536,7 @@ var SidebarGroup2 = forwardRef(({ className, collapsible = false, open: openProp
|
|
|
533
536
|
children: /* @__PURE__ */ jsx3("div", {
|
|
534
537
|
ref: fold.contentRef,
|
|
535
538
|
className: "flex w-full min-w-0 flex-col",
|
|
536
|
-
...open
|
|
539
|
+
...inertProps2(!open),
|
|
537
540
|
children: tail.filter((k) => !isHeaderAction(k))
|
|
538
541
|
})
|
|
539
542
|
})
|
|
@@ -1050,7 +1053,7 @@ var SidebarMenuSub2 = forwardRef5(({ className, open: openProp, children, ...pro
|
|
|
1050
1053
|
"data-sidebar": "menu-sub",
|
|
1051
1054
|
"data-state": open ? "open" : "closed",
|
|
1052
1055
|
"aria-hidden": open ? undefined : true,
|
|
1053
|
-
...open
|
|
1056
|
+
...inertProps2(!open),
|
|
1054
1057
|
className: cn2("relative ml-[15px] flex min-w-0 flex-col border-l border-border pl-2 select-none", className),
|
|
1055
1058
|
...props,
|
|
1056
1059
|
children
|
|
@@ -1655,7 +1658,7 @@ var SidebarShell = forwardRef9(({ side, variant, bordered = true, rail = true, r
|
|
|
1655
1658
|
initial: false,
|
|
1656
1659
|
animate: { x: open ? "0%" : side === "left" ? "-100%" : "100%" },
|
|
1657
1660
|
transition,
|
|
1658
|
-
...open
|
|
1661
|
+
...inertProps2(!open && !isResizing),
|
|
1659
1662
|
children: [
|
|
1660
1663
|
variant === "floating" ? /* @__PURE__ */ jsx12("div", {
|
|
1661
1664
|
"data-sidebar": "sidebar",
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
12
12
|
import {
|
|
13
13
|
FluidHoverHighlight2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-95kp19zn.js";
|
|
15
15
|
import {
|
|
16
16
|
useShape2
|
|
17
17
|
} from "./components-kxpcj2ry.js";
|
|
18
18
|
import {
|
|
19
19
|
FocusRing2
|
|
20
|
-
} from "./components-
|
|
20
|
+
} from "./components-v1m0xjbw.js";
|
|
21
21
|
import {
|
|
22
22
|
useIcon2
|
|
23
23
|
} from "./components-jnhpgpfk.js";
|
|
@@ -46,13 +46,13 @@ import {
|
|
|
46
46
|
useSelectionRuns2,
|
|
47
47
|
useMergeSplitBlocks2,
|
|
48
48
|
SelectionBackgrounds2
|
|
49
|
-
} from "./components-
|
|
49
|
+
} from "./components-veaxns17.js";
|
|
50
50
|
import {
|
|
51
51
|
WeightLabel2
|
|
52
52
|
} from "./components-y09nr7fe.js";
|
|
53
53
|
import {
|
|
54
54
|
SizeScope2
|
|
55
|
-
} from "./components-
|
|
55
|
+
} from "./components-ffng9rpa.js";
|
|
56
56
|
|
|
57
57
|
// components/inputs/checkbox/index.tsx
|
|
58
58
|
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
@@ -220,6 +220,7 @@ var Checkbox2 = forwardRef(({
|
|
|
220
220
|
index: indexProp,
|
|
221
221
|
disabled: disabledProp,
|
|
222
222
|
name,
|
|
223
|
+
required,
|
|
223
224
|
value,
|
|
224
225
|
size,
|
|
225
226
|
className,
|
|
@@ -279,6 +280,7 @@ var Checkbox2 = forwardRef(({
|
|
|
279
280
|
onCheckedChange: onToggle,
|
|
280
281
|
disabled,
|
|
281
282
|
name,
|
|
283
|
+
required,
|
|
282
284
|
value,
|
|
283
285
|
...hover,
|
|
284
286
|
className: cn2("relative inline-flex shrink-0 cursor-pointer outline-none", "focus-visible:ring-1 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background", compact ? "size-3.5 rounded-sm" : "size-4 rounded-box", disabled && "opacity-50 pointer-events-none", className),
|
|
@@ -311,6 +313,7 @@ var Checkbox2 = forwardRef(({
|
|
|
311
313
|
indeterminate,
|
|
312
314
|
disabled,
|
|
313
315
|
name,
|
|
316
|
+
required,
|
|
314
317
|
value,
|
|
315
318
|
onCheckedChange: onToggle,
|
|
316
319
|
tabIndex: -1,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./components-xnp09586.js";
|
|
23
23
|
import {
|
|
24
24
|
calendar_default
|
|
25
|
-
} from "./components-
|
|
25
|
+
} from "./components-t4eb37vd.js";
|
|
26
26
|
import {
|
|
27
27
|
readDateValue,
|
|
28
28
|
writeDateValue,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
invalidOf,
|
|
35
35
|
PickerShell,
|
|
36
36
|
PickerInput
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-qkt4h7x4.js";
|
|
38
38
|
import {
|
|
39
39
|
TimeColumns
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-rts2mggt.js";
|
|
41
41
|
|
|
42
42
|
// components/inputs/date-time/date-picker/index.tsx
|
|
43
43
|
import { format, set } from "date-fns";
|
|
@@ -11,19 +11,22 @@ import {
|
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
12
12
|
import {
|
|
13
13
|
GooIndicator2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-gvwxswpr.js";
|
|
15
15
|
import {
|
|
16
16
|
FluidHoverHighlight2
|
|
17
|
-
} from "./components-
|
|
17
|
+
} from "./components-95kp19zn.js";
|
|
18
18
|
import {
|
|
19
19
|
useShape2
|
|
20
20
|
} from "./components-kxpcj2ry.js";
|
|
21
21
|
import {
|
|
22
22
|
FocusRing2
|
|
23
|
-
} from "./components-
|
|
23
|
+
} from "./components-v1m0xjbw.js";
|
|
24
24
|
import {
|
|
25
25
|
useIcon2
|
|
26
26
|
} from "./components-jnhpgpfk.js";
|
|
27
|
+
import {
|
|
28
|
+
inertProps2
|
|
29
|
+
} from "./components-2myjk2zf.js";
|
|
27
30
|
import {
|
|
28
31
|
useSize2
|
|
29
32
|
} from "./components-znspksk0.js";
|
|
@@ -39,7 +42,7 @@ import {
|
|
|
39
42
|
} from "./components-y09nr7fe.js";
|
|
40
43
|
import {
|
|
41
44
|
SizeScope2
|
|
42
|
-
} from "./components-
|
|
45
|
+
} from "./components-ffng9rpa.js";
|
|
43
46
|
|
|
44
47
|
// components/navigation/tree/index.tsx
|
|
45
48
|
import { AnimatePresence, motion } from "motion/react";
|
|
@@ -105,7 +108,7 @@ function TreeGroup({ open, items, depth }) {
|
|
|
105
108
|
ref,
|
|
106
109
|
role: "group",
|
|
107
110
|
"data-tree-group": open ? "open" : "closed",
|
|
108
|
-
...open
|
|
111
|
+
...inertProps2(!open),
|
|
109
112
|
className: cn2("flex flex-col border-l border-border pl-[var(--space-1)]", GUIDE[size.variant]),
|
|
110
113
|
children: items.map((item) => /* @__PURE__ */ jsx(TreeRow, {
|
|
111
114
|
item,
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
} from "./components-xnp09586.js";
|
|
9
9
|
import {
|
|
10
10
|
button_default
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-31pkxwfz.js";
|
|
12
12
|
import {
|
|
13
13
|
MorphPart2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-wddr0r6a.js";
|
|
15
15
|
import {
|
|
16
16
|
opensInPlace2,
|
|
17
17
|
useMorphOrigin2,
|
|
18
18
|
useMorph2
|
|
19
|
-
} from "./components-
|
|
19
|
+
} from "./components-mp7en54n.js";
|
|
20
20
|
import {
|
|
21
21
|
MorphSurface2
|
|
22
|
-
} from "./components-
|
|
22
|
+
} from "./components-313rmbxy.js";
|
|
23
23
|
import {
|
|
24
24
|
SURFACE_BG2,
|
|
25
25
|
SURFACE_SHADOW2
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./components-bkwjvvkh.js";
|
|
6
6
|
import {
|
|
7
7
|
useMorph2
|
|
8
|
-
} from "./components-
|
|
9
|
-
import {
|
|
10
|
-
usePortalContainer2
|
|
11
|
-
} from "./components-rgng034x.js";
|
|
8
|
+
} from "./components-mp7en54n.js";
|
|
12
9
|
import {
|
|
13
10
|
cn2
|
|
14
11
|
} from "./components-xnp09586.js";
|
|
12
|
+
import {
|
|
13
|
+
usePortalContainer2
|
|
14
|
+
} from "./components-xvf8jcza.js";
|
|
15
15
|
import {
|
|
16
16
|
useShape2
|
|
17
17
|
} from "./components-kxpcj2ry.js";
|
|
18
18
|
import {
|
|
19
19
|
PopupSurface2
|
|
20
|
-
} from "./components-
|
|
20
|
+
} from "./components-90sfqz5t.js";
|
|
21
21
|
import {
|
|
22
22
|
useDialogState2,
|
|
23
23
|
DialogTrigger2,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
DialogTitle2,
|
|
28
28
|
DialogDescription2,
|
|
29
29
|
DialogState2
|
|
30
|
-
} from "./components-
|
|
30
|
+
} from "./components-90y8qwxv.js";
|
|
31
31
|
|
|
32
32
|
// components/overlays/sheet/index.tsx
|
|
33
33
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
useMorph2
|
|
5
|
-
} from "./components-
|
|
5
|
+
} from "./components-mp7en54n.js";
|
|
6
6
|
import {
|
|
7
7
|
cn2
|
|
8
8
|
} from "./components-xnp09586.js";
|
|
9
9
|
import {
|
|
10
10
|
GooIndicator2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-gvwxswpr.js";
|
|
12
12
|
import {
|
|
13
13
|
FluidHoverHighlight2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-95kp19zn.js";
|
|
15
15
|
import {
|
|
16
16
|
FocusRing2
|
|
17
|
-
} from "./components-
|
|
17
|
+
} from "./components-v1m0xjbw.js";
|
|
18
18
|
import {
|
|
19
19
|
useMergeRefs2
|
|
20
20
|
} from "./components-bkwjvvkh.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
useOverlay2,
|
|
28
28
|
positionerProps2,
|
|
29
29
|
usePortalContainer2
|
|
30
|
-
} from "./components-
|
|
30
|
+
} from "./components-xvf8jcza.js";
|
|
31
31
|
import {
|
|
32
32
|
POPUP_SHAPE2,
|
|
33
33
|
popupScrollAreaClass2,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
CheckMark2,
|
|
44
44
|
PopupLabel2,
|
|
45
45
|
PopupSeparator2
|
|
46
|
-
} from "./components-
|
|
46
|
+
} from "./components-6c52v58g.js";
|
|
47
47
|
import {
|
|
48
48
|
rowIndexOf2,
|
|
49
49
|
useRowGroup2
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
slotPart2,
|
|
58
58
|
resolveSlotTemplate2,
|
|
59
59
|
slotElement2
|
|
60
|
-
} from "./components-
|
|
60
|
+
} from "./components-7wjkag2j.js";
|
|
61
61
|
import {
|
|
62
62
|
useFluidHover2,
|
|
63
63
|
useRegisterFluidHoverItem2
|
|
@@ -66,10 +66,10 @@ import {
|
|
|
66
66
|
useSelectionRuns2,
|
|
67
67
|
useMergeSplitBlocks2,
|
|
68
68
|
SelectionBackgrounds2
|
|
69
|
-
} from "./components-
|
|
69
|
+
} from "./components-veaxns17.js";
|
|
70
70
|
import {
|
|
71
71
|
SizeScope2
|
|
72
|
-
} from "./components-
|
|
72
|
+
} from "./components-ffng9rpa.js";
|
|
73
73
|
import {
|
|
74
74
|
SURFACE_BG2
|
|
75
75
|
} from "./components-ceyn28cf.js";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
} from "./components-y09nr7fe.js";
|
|
88
88
|
import {
|
|
89
89
|
PopupSurface2
|
|
90
|
-
} from "./components-
|
|
90
|
+
} from "./components-90sfqz5t.js";
|
|
91
91
|
import {
|
|
92
92
|
ScrollArea2
|
|
93
93
|
} from "./components-esy5nsvc.js";
|
|
@@ -993,13 +993,32 @@ var DropdownSubTrigger2 = forwardRef5(({ openOnHover = true, delay, closeDelay,
|
|
|
993
993
|
});
|
|
994
994
|
});
|
|
995
995
|
DropdownSubTrigger2.displayName = "DropdownSubTrigger";
|
|
996
|
-
var DropdownSubContent2 = forwardRef5(({
|
|
996
|
+
var DropdownSubContent2 = forwardRef5(({
|
|
997
|
+
side,
|
|
998
|
+
align,
|
|
999
|
+
sideOffset,
|
|
1000
|
+
alignOffset = -4,
|
|
1001
|
+
collisionPadding,
|
|
1002
|
+
collisionBoundary,
|
|
1003
|
+
positionerClassName,
|
|
1004
|
+
effect,
|
|
1005
|
+
hideSource,
|
|
1006
|
+
className,
|
|
1007
|
+
...props
|
|
1008
|
+
}, ref) => /* @__PURE__ */ jsx5(MenuPopup, {
|
|
997
1009
|
ref,
|
|
998
1010
|
part: "Dropdown.SubContent",
|
|
999
|
-
positioner: {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1011
|
+
positioner: positionerProps2({
|
|
1012
|
+
side,
|
|
1013
|
+
align,
|
|
1014
|
+
sideOffset,
|
|
1015
|
+
alignOffset,
|
|
1016
|
+
collisionPadding,
|
|
1017
|
+
collisionBoundary,
|
|
1018
|
+
positionerClassName,
|
|
1019
|
+
effect,
|
|
1020
|
+
hideSource
|
|
1021
|
+
}, { side: "right", align: "start", sideOffset: 8 }),
|
|
1003
1022
|
focusFirstRow: false,
|
|
1004
1023
|
effect,
|
|
1005
1024
|
hideSource,
|
|
@@ -1113,7 +1132,15 @@ var Dropdown2 = forwardRef6(({
|
|
|
1113
1132
|
});
|
|
1114
1133
|
});
|
|
1115
1134
|
Dropdown2.displayName = "Dropdown";
|
|
1116
|
-
function DropdownMenu2({
|
|
1135
|
+
function DropdownMenu2({
|
|
1136
|
+
children,
|
|
1137
|
+
open,
|
|
1138
|
+
defaultOpen,
|
|
1139
|
+
onOpenChange,
|
|
1140
|
+
disabled = false,
|
|
1141
|
+
modal = false,
|
|
1142
|
+
size
|
|
1143
|
+
}) {
|
|
1117
1144
|
const root = useOverlayRoot2({ open, defaultOpen });
|
|
1118
1145
|
return /* @__PURE__ */ jsx6(SizeScope2, {
|
|
1119
1146
|
size,
|
|
@@ -1127,7 +1154,7 @@ function DropdownMenu2({ children, open, defaultOpen, onOpenChange, disabled = f
|
|
|
1127
1154
|
root.onOpenChange(next, details);
|
|
1128
1155
|
},
|
|
1129
1156
|
disabled,
|
|
1130
|
-
modal
|
|
1157
|
+
modal,
|
|
1131
1158
|
children
|
|
1132
1159
|
})
|
|
1133
1160
|
})
|
|
@@ -1135,10 +1162,32 @@ function DropdownMenu2({ children, open, defaultOpen, onOpenChange, disabled = f
|
|
|
1135
1162
|
}
|
|
1136
1163
|
DropdownMenu2.displayName = "DropdownMenu";
|
|
1137
1164
|
var DropdownTrigger2 = slotPart2(Menu4.Trigger, "DropdownTrigger");
|
|
1138
|
-
var DropdownContent2 = forwardRef6(({
|
|
1165
|
+
var DropdownContent2 = forwardRef6(({
|
|
1166
|
+
side,
|
|
1167
|
+
align,
|
|
1168
|
+
sideOffset,
|
|
1169
|
+
alignOffset,
|
|
1170
|
+
collisionPadding,
|
|
1171
|
+
collisionBoundary,
|
|
1172
|
+
positionerClassName,
|
|
1173
|
+
effect,
|
|
1174
|
+
hideSource,
|
|
1175
|
+
className,
|
|
1176
|
+
...props
|
|
1177
|
+
}, ref) => /* @__PURE__ */ jsx6(MenuPopup, {
|
|
1139
1178
|
ref,
|
|
1140
1179
|
part: "Dropdown.Content",
|
|
1141
|
-
positioner: positionerProps2({
|
|
1180
|
+
positioner: positionerProps2({
|
|
1181
|
+
side,
|
|
1182
|
+
align,
|
|
1183
|
+
sideOffset,
|
|
1184
|
+
alignOffset,
|
|
1185
|
+
collisionPadding,
|
|
1186
|
+
collisionBoundary,
|
|
1187
|
+
positionerClassName,
|
|
1188
|
+
effect,
|
|
1189
|
+
hideSource
|
|
1190
|
+
}, { side: "bottom", align: "start", sideOffset: 6 }),
|
|
1142
1191
|
focusFirstRow: true,
|
|
1143
1192
|
effect,
|
|
1144
1193
|
hideSource,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./components-znspksk0.js";
|
|
22
22
|
import {
|
|
23
23
|
SizeScope2
|
|
24
|
-
} from "./components-
|
|
24
|
+
} from "./components-ffng9rpa.js";
|
|
25
25
|
import {
|
|
26
26
|
mergeRefs2
|
|
27
27
|
} from "./components-bkwjvvkh.js";
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
} from "./components-45r18egt.js";
|
|
31
31
|
import {
|
|
32
32
|
Slider2
|
|
33
|
-
} from "./components-
|
|
33
|
+
} from "./components-h9se5cz5.js";
|
|
34
34
|
import {
|
|
35
35
|
useMorph2
|
|
36
|
-
} from "./components-
|
|
36
|
+
} from "./components-mp7en54n.js";
|
|
37
37
|
import {
|
|
38
38
|
FluidHoverHighlight2
|
|
39
|
-
} from "./components-
|
|
39
|
+
} from "./components-95kp19zn.js";
|
|
40
40
|
import {
|
|
41
41
|
FocusRing2
|
|
42
|
-
} from "./components-
|
|
42
|
+
} from "./components-v1m0xjbw.js";
|
|
43
43
|
import {
|
|
44
44
|
useIcon2
|
|
45
45
|
} from "./components-jnhpgpfk.js";
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
positionerProps2,
|
|
51
51
|
PortalContainer2,
|
|
52
52
|
usePortalContainer2
|
|
53
|
-
} from "./components-
|
|
53
|
+
} from "./components-xvf8jcza.js";
|
|
54
54
|
import {
|
|
55
55
|
POPUP_SHAPE2
|
|
56
56
|
} from "./components-mse06t0x.js";
|
|
57
57
|
import {
|
|
58
58
|
PopupSurface2
|
|
59
|
-
} from "./components-
|
|
59
|
+
} from "./components-90sfqz5t.js";
|
|
60
60
|
import {
|
|
61
61
|
useRowFocus2
|
|
62
62
|
} from "./components-vcte8p75.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./components-y09nr7fe.js";
|
|
70
70
|
import {
|
|
71
71
|
Tooltip2
|
|
72
|
-
} from "./components-
|
|
72
|
+
} from "./components-rj4nnqkz.js";
|
|
73
73
|
import {
|
|
74
74
|
clamp012,
|
|
75
75
|
hsvToRgb2,
|