@justanarthur/modo-ui 2.2.0 → 2.4.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/components/data-display/diff/index.tsx +19 -3
- package/components/inputs/choice-list/index.tsx +4 -3
- package/components/navigation/sidebar/menu-scope.tsx +142 -53
- package/components/navigation/sidebar/sidebar-menu-actions.tsx +5 -5
- package/components/navigation/sidebar/sidebar-menu-button.tsx +4 -7
- package/components/navigation/sidebar/sidebar-menu-item.tsx +39 -36
- package/components/navigation/sidebar/sidebar-menu-sub.tsx +3 -2
- package/components/overlays/command/index.tsx +70 -12
- package/components/overlays/dropdown/menu-popup.tsx +11 -2
- package/components/overlays/tooltip/index.tsx +9 -1
- package/dist/blocks/desktop-shell/index.js +28 -28
- package/dist/blocks/sidebar-app/index.js +38 -38
- package/dist/components/actions/button/index.js +4 -4
- package/dist/components/actions/copy/index.js +12 -12
- package/dist/components/containers/accordion/index.js +17 -17
- package/dist/components/containers/card/index.js +15 -15
- 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.d.ts +1 -1
- 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 +16 -16
- package/dist/components/data-display/table/index.js +10 -10
- 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.js +14 -14
- package/dist/components/inputs/choice-list/index.js +11 -11
- package/dist/components/inputs/color-picker/index.js +23 -23
- package/dist/components/inputs/combobox/index.js +21 -21
- package/dist/components/inputs/date-time/calendar/index.js +10 -10
- 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.js +13 -13
- package/dist/components/inputs/search/index.js +24 -24
- package/dist/components/inputs/select/index.js +22 -22
- package/dist/components/inputs/slider/index.js +4 -4
- package/dist/components/inputs/switch/index.js +10 -10
- package/dist/components/inputs/textarea/index.js +4 -4
- package/dist/components/navigation/breadcrumb/index.js +26 -26
- package/dist/components/navigation/navigation-menu/index.js +18 -18
- package/dist/components/navigation/pagination/index.js +17 -17
- package/dist/components/navigation/sidebar/index.js +26 -26
- package/dist/components/navigation/tabs/index.js +14 -14
- package/dist/components/navigation/tree/index.js +10 -10
- package/dist/components/overlays/alert-dialog/index.js +15 -15
- package/dist/components/overlays/command/index.d.ts +6 -3
- package/dist/components/overlays/command/index.js +22 -22
- package/dist/components/overlays/context-menu/index.js +26 -26
- package/dist/components/overlays/dialog/index.js +14 -14
- package/dist/components/overlays/dropdown/index.js +25 -25
- package/dist/components/overlays/lightbox/index.js +12 -12
- package/dist/components/overlays/popover/index.js +10 -10
- package/dist/components/overlays/preview-card/index.js +10 -10
- package/dist/components/overlays/sheet/index.js +15 -15
- package/dist/components/overlays/toast/index.js +11 -11
- package/dist/components/overlays/tooltip/index.js +7 -7
- package/dist/docs/index.js +17 -17
- package/dist/index.d.ts +16 -8
- package/dist/index.js +80 -80
- package/dist/lib/fluid-hover-highlight.js +5 -4
- package/dist/lib/focus-ring.d.ts +5 -2
- package/dist/lib/focus-ring.js +3 -2
- package/dist/lib/goo-indicator.d.ts +5 -2
- package/dist/lib/goo-indicator.js +4 -3
- package/dist/lib/morph-layers.js +4 -4
- package/dist/lib/morph-part.js +2 -2
- package/dist/lib/overlay.d.ts +8 -1
- package/dist/lib/overlay.js +6 -4
- package/dist/lib/popup-rows.js +2 -2
- package/dist/lib/popup-surface.js +7 -7
- package/dist/lib/scroll-column.js +7 -7
- package/dist/lib/use-fluid-hover.d.ts +3 -1
- package/dist/lib/use-fluid-hover.js +3 -1
- package/dist/lib/use-merge-split.js +5 -4
- package/dist/lib/use-morph.js +2 -2
- package/dist/primitives/content/code/index.js +3 -3
- package/dist/primitives/layout/resizable/index.d.ts +4 -2
- 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 +7 -7
- package/dist/primitives/systems/morph/index.js +13 -13
- package/dist/primitives/systems/motion/index.js +6 -6
- package/dist/primitives/systems/sizes/index.js +2 -2
- package/dist/shared/{components-19e2wpxc.js → components-0bvxny7s.js} +5 -5
- package/dist/shared/{components-v3c3madd.js → components-0ep66sg9.js} +6 -6
- package/dist/shared/{components-nd3f803g.js → components-0v4jxw7z.js} +3 -3
- package/dist/shared/{components-9hysh6d3.js → components-1f5624hb.js} +1 -1
- package/dist/shared/{components-8qwbwtv9.js → components-1qw8hqwq.js} +9 -9
- package/dist/shared/{components-7c4a0egq.js → components-21hcwp85.js} +78 -43
- package/dist/shared/{components-qhk2m7fj.js → components-3qcgeay1.js} +2 -2
- package/dist/shared/{components-zk1tj5za.js → components-3rt5c1qt.js} +3 -3
- package/dist/shared/{components-ppc2dmxs.js → components-3sb31vw5.js} +1 -1
- package/dist/shared/{components-qs0cwe8p.js → components-4fay97sm.js} +10 -10
- package/dist/shared/{components-09n5hgmx.js → components-4fhjk3jz.js} +2 -2
- package/dist/shared/{components-vkrp4nb9.js → components-4m9stj7d.js} +11 -11
- package/dist/shared/{components-pgs3p035.js → components-4t2cjav8.js} +1 -1
- package/dist/shared/{components-v1m0xjbw.js → components-5wykqxph.js} +6 -1
- package/dist/shared/{components-w5p7mfb4.js → components-5xs8pkkj.js} +1 -1
- package/dist/shared/{components-rj4nnqkz.js → components-7rn454aq.js} +13 -4
- package/dist/shared/{components-zktkxnzq.js → components-895m1f3s.js} +8 -8
- package/dist/shared/{components-t4eb37vd.js → components-8m5e493q.js} +2 -2
- package/dist/shared/{components-1nqp7wqr.js → components-8nnhzeb3.js} +5 -5
- package/dist/shared/{components-mcnyaaep.js → components-8xe4h118.js} +6 -6
- package/dist/shared/{components-a3edrqpb.js → components-9am5511q.js} +3 -3
- package/dist/shared/{components-95kp19zn.js → components-9b2m90st.js} +1 -1
- package/dist/shared/{components-qd27dvgj.js → components-9yrajpy0.js} +3 -3
- package/dist/shared/{components-ajgwbabq.js → components-abqfs5fh.js} +4 -4
- package/dist/shared/{components-dr5c27yd.js → components-ac0x7zpq.js} +4 -4
- package/dist/shared/{components-y07de1qv.js → components-af44r4y9.js} +2 -2
- package/dist/shared/{components-90y8qwxv.js → components-br6t88cb.js} +5 -5
- package/dist/shared/{components-gvwxswpr.js → components-bxqmbcz2.js} +7 -3
- package/dist/shared/{components-9e5fpy3v.js → components-cc9kfhkb.js} +171 -115
- package/dist/shared/{components-rts2mggt.js → components-d4gkhy26.js} +1 -1
- package/dist/shared/{components-veaxns17.js → components-eawe4nxm.js} +2 -2
- package/dist/shared/{components-qe8yp3vf.js → components-fpgfs01m.js} +3 -3
- package/dist/shared/{components-xvf8jcza.js → components-ft5dgjg6.js} +10 -3
- package/dist/shared/{components-pbx77hzb.js → components-fv9y76b0.js} +15 -3
- package/dist/shared/{components-afj2ajea.js → components-fymenepq.js} +8 -8
- package/dist/shared/{components-rmhdr4g1.js → components-gd8gmr6w.js} +1 -1
- package/dist/shared/{components-k9qbcmaa.js → components-gr82tz50.js} +21 -3
- package/dist/shared/{components-nc8wggew.js → components-greka6z2.js} +59 -19
- package/dist/shared/{components-qkt4h7x4.js → components-gzve0nkp.js} +8 -8
- package/dist/shared/{components-4xd21p2p.js → components-hjdv4y8d.js} +3 -3
- package/dist/shared/{components-v81eejq6.js → components-hjk6dwsp.js} +2 -2
- package/dist/shared/{components-151vndgm.js → components-mb80a9wg.js} +3 -3
- package/dist/shared/{components-gfw4zk8b.js → components-mzdbtgvz.js} +12 -12
- package/dist/shared/{components-9s9vb2w0.js → components-nmbcfwx8.js} +8 -8
- package/dist/shared/{components-90sfqz5t.js → components-nxqrw789.js} +1 -1
- package/dist/shared/{components-2q0m4mxf.js → components-pw6gzev8.js} +2 -2
- package/dist/shared/{components-fqdh9ysk.js → components-pwsqp2np.js} +24 -14
- package/dist/shared/{components-yn8bw8tv.js → components-qmkfpcw0.js} +12 -12
- package/dist/shared/{components-z9gc2weg.js → components-qrtcc8aw.js} +3 -3
- package/dist/shared/{components-jd21f3mb.js → components-rgdspnth.js} +5 -5
- package/dist/shared/{components-r6ejdtpr.js → components-rtwfh1gc.js} +4 -4
- package/dist/shared/{components-16wx5av1.js → components-s0megs1g.js} +6 -6
- package/dist/shared/{components-8qkd3659.js → components-s2pnh8h9.js} +1 -1
- package/dist/shared/{components-2zr49v82.js → components-sh8j39z3.js} +7 -7
- package/dist/shared/{components-7v6869ga.js → components-t0c1rw40.js} +1 -1
- package/dist/shared/{components-mamtvenk.js → components-t4j0r23n.js} +2 -2
- package/dist/shared/{components-qc1fae2s.js → components-v1zzr668.js} +6 -6
- package/dist/shared/{components-vv420geb.js → components-vcmky8ns.js} +7 -7
- package/dist/shared/{components-313rmbxy.js → components-wq9hrera.js} +2 -2
- package/dist/shared/{components-mpx3yq5c.js → components-xq8j9c2f.js} +12 -12
- package/dist/shared/{components-3cvwrzc1.js → components-y9se9mx5.js} +3 -3
- package/dist/shared/{components-nehs80xd.js → components-yfx0skxc.js} +1 -1
- package/dist/shared/{components-s25rehbv.js → components-zckgawt6.js} +5 -5
- package/dist/shared/{components-85dz3xx3.js → components-zv63s4fh.js} +3 -3
- package/dist/styles.css +1 -1
- package/lib/focus-ring.tsx +15 -8
- package/lib/goo-indicator.tsx +20 -8
- package/lib/overlay.tsx +22 -1
- package/lib/use-fluid-hover.ts +96 -72
- package/package.json +1 -1
- package/primitives/layout/resizable/index.tsx +35 -7
- /package/dist/shared/{components-mp7en54n.js → components-8pnvkrbw.js} +0 -0
- /package/dist/shared/{components-zwgxvktt.js → components-92mvpt9h.js} +0 -0
- /package/dist/shared/{components-02683eqd.js → components-jw45ck66.js} +0 -0
- /package/dist/shared/{components-hbqyf35a.js → components-knryyjme.js} +0 -0
- /package/dist/shared/{components-yy0a9b02.js → components-m3vxpz2z.js} +0 -0
- /package/dist/shared/{components-ffng9rpa.js → components-nz14rwtd.js} +0 -0
- /package/dist/shared/{components-wddr0r6a.js → components-pa43g2r2.js} +0 -0
- /package/dist/shared/{components-6c52v58g.js → components-q0hs5rqn.js} +0 -0
- /package/dist/shared/{components-h9se5cz5.js → components-vx286kq7.js} +0 -0
- /package/dist/shared/{components-fa61vwag.js → components-y4gsk1jt.js} +0 -0
- /package/dist/shared/{components-31pkxwfz.js → components-ycwhrqe1.js} +0 -0
- /package/dist/shared/{components-wqac4434.js → components-ymq8tbq9.js} +0 -0
- /package/dist/shared/{components-sxstx1x7.js → components-ypxst3cn.js} +0 -0
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
holdExit2,
|
|
15
15
|
useMorphOrigin2,
|
|
16
16
|
useMorph2
|
|
17
|
-
} from "./components-
|
|
17
|
+
} from "./components-8pnvkrbw.js";
|
|
18
18
|
import {
|
|
19
19
|
cn2
|
|
20
20
|
} from "./components-xnp09586.js";
|
|
21
21
|
import {
|
|
22
22
|
MorphSurface2
|
|
23
|
-
} from "./components-
|
|
23
|
+
} from "./components-wq9hrera.js";
|
|
24
24
|
import {
|
|
25
25
|
useShape2
|
|
26
26
|
} from "./components-kxpcj2ry.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./components-wwd093xg.js";
|
|
38
38
|
import {
|
|
39
39
|
button_default
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-ycwhrqe1.js";
|
|
41
41
|
|
|
42
42
|
// components/overlays/lightbox/index.tsx
|
|
43
43
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
useMorphOrigin2,
|
|
14
14
|
useMorph2
|
|
15
|
-
} from "./components-
|
|
15
|
+
} from "./components-8pnvkrbw.js";
|
|
16
16
|
import {
|
|
17
17
|
cn2
|
|
18
18
|
} from "./components-xnp09586.js";
|
|
19
19
|
import {
|
|
20
20
|
positionerProps2,
|
|
21
21
|
usePortalContainer2
|
|
22
|
-
} from "./components-
|
|
22
|
+
} from "./components-ft5dgjg6.js";
|
|
23
23
|
import {
|
|
24
24
|
POPUP_SHAPE2
|
|
25
25
|
} from "./components-mse06t0x.js";
|
|
@@ -28,22 +28,25 @@ import {
|
|
|
28
28
|
} from "./components-kxpcj2ry.js";
|
|
29
29
|
import {
|
|
30
30
|
PopupSurface2
|
|
31
|
-
} from "./components-
|
|
31
|
+
} from "./components-nxqrw789.js";
|
|
32
32
|
import {
|
|
33
33
|
useSize2
|
|
34
34
|
} from "./components-znspksk0.js";
|
|
35
35
|
import {
|
|
36
36
|
SizeScope2
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-nz14rwtd.js";
|
|
38
|
+
import {
|
|
39
|
+
useFluidHover2
|
|
40
|
+
} from "./components-21hcwp85.js";
|
|
38
41
|
import {
|
|
39
42
|
GooIndicator2
|
|
40
|
-
} from "./components-
|
|
43
|
+
} from "./components-bxqmbcz2.js";
|
|
41
44
|
import {
|
|
42
45
|
FluidHoverHighlight2
|
|
43
|
-
} from "./components-
|
|
46
|
+
} from "./components-9b2m90st.js";
|
|
44
47
|
import {
|
|
45
48
|
FocusRing2
|
|
46
|
-
} from "./components-
|
|
49
|
+
} from "./components-5wykqxph.js";
|
|
47
50
|
import {
|
|
48
51
|
mergeRefs2,
|
|
49
52
|
useMergeRefs2
|
|
@@ -51,9 +54,6 @@ import {
|
|
|
51
54
|
import {
|
|
52
55
|
useRowFocus2
|
|
53
56
|
} from "./components-vcte8p75.js";
|
|
54
|
-
import {
|
|
55
|
-
useFluidHover2
|
|
56
|
-
} from "./components-7c4a0egq.js";
|
|
57
57
|
import {
|
|
58
58
|
useKeyboardNavGate2
|
|
59
59
|
} from "./components-tcyz2tdn.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./components-29ebea21.js";
|
|
11
11
|
import {
|
|
12
12
|
ScrollColumn2
|
|
13
|
-
} from "./components-
|
|
13
|
+
} from "./components-zckgawt6.js";
|
|
14
14
|
import {
|
|
15
15
|
useControllableState2
|
|
16
16
|
} from "./components-wwd093xg.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
columnsPopupClass,
|
|
20
20
|
ColumnsPanel,
|
|
21
21
|
PickerInput
|
|
22
|
-
} from "./components-
|
|
22
|
+
} from "./components-gzve0nkp.js";
|
|
23
23
|
|
|
24
24
|
// components/inputs/date-time/month-picker/index.tsx
|
|
25
25
|
import { format, startOfMonth } from "date-fns";
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import {
|
|
4
|
+
useFluidHover2,
|
|
5
|
+
useRegisterFluidHoverItem2
|
|
6
|
+
} from "./components-21hcwp85.js";
|
|
3
7
|
import {
|
|
4
8
|
cn2
|
|
5
9
|
} from "./components-xnp09586.js";
|
|
6
10
|
import {
|
|
7
11
|
GooIndicator2
|
|
8
|
-
} from "./components-
|
|
12
|
+
} from "./components-bxqmbcz2.js";
|
|
9
13
|
import {
|
|
10
14
|
FluidHoverHighlight2
|
|
11
|
-
} from "./components-
|
|
15
|
+
} from "./components-9b2m90st.js";
|
|
12
16
|
import {
|
|
13
17
|
useShape2
|
|
14
18
|
} from "./components-kxpcj2ry.js";
|
|
15
19
|
import {
|
|
16
20
|
FocusRing2
|
|
17
|
-
} from "./components-
|
|
21
|
+
} from "./components-5wykqxph.js";
|
|
18
22
|
import {
|
|
19
23
|
mergeRefs2
|
|
20
24
|
} from "./components-bkwjvvkh.js";
|
|
@@ -28,19 +32,15 @@ import {
|
|
|
28
32
|
import {
|
|
29
33
|
useControllableState2
|
|
30
34
|
} from "./components-wwd093xg.js";
|
|
31
|
-
import {
|
|
32
|
-
useFluidHover2,
|
|
33
|
-
useRegisterFluidHoverItem2
|
|
34
|
-
} from "./components-7c4a0egq.js";
|
|
35
35
|
import {
|
|
36
36
|
SizeScope2
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-nz14rwtd.js";
|
|
38
38
|
|
|
39
39
|
// components/inputs/choice-list/index.tsx
|
|
40
|
-
import { forwardRef, useRef } from "react";
|
|
40
|
+
import { forwardRef, memo, useRef } from "react";
|
|
41
41
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
42
42
|
var ROW_PY = { default: "py-2", compact: "py-1.5" };
|
|
43
|
-
function Row({ option, index, selected, tabbable, register, onPick, rowClassName }) {
|
|
43
|
+
var Row = memo(function Row({ option, index, selected, tabbable, register, onPick, rowClassName }) {
|
|
44
44
|
const ref = useRef(null);
|
|
45
45
|
const shape = useShape2();
|
|
46
46
|
const size = useSize2();
|
|
@@ -80,7 +80,7 @@ function Row({ option, index, selected, tabbable, register, onPick, rowClassName
|
|
|
80
80
|
})
|
|
81
81
|
]
|
|
82
82
|
});
|
|
83
|
-
}
|
|
83
|
+
});
|
|
84
84
|
var ChoiceList2 = forwardRef(({ options, value, defaultValue, onValueChange, label, name, size, className, rowClassName }, ref) => {
|
|
85
85
|
const [current, setCurrent] = useControllableState2(value, defaultValue ?? options[0]?.value ?? "", onValueChange);
|
|
86
86
|
const shape = useShape2();
|
|
@@ -9,14 +9,18 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
spring2
|
|
11
11
|
} from "./components-45r18egt.js";
|
|
12
|
+
import {
|
|
13
|
+
sameRect2
|
|
14
|
+
} from "./components-21hcwp85.js";
|
|
12
15
|
import {
|
|
13
16
|
cn2
|
|
14
17
|
} from "./components-xnp09586.js";
|
|
15
18
|
|
|
16
19
|
// lib/focus-ring.tsx
|
|
17
20
|
import { AnimatePresence, motion } from "motion/react";
|
|
21
|
+
import { memo } from "react";
|
|
18
22
|
import { jsx } from "react/jsx-runtime";
|
|
19
|
-
function
|
|
23
|
+
function FocusRingBase({ rect, instant = false, className }) {
|
|
20
24
|
const shape = useShape2();
|
|
21
25
|
const reduceMotion = useReduceMotion2();
|
|
22
26
|
const jump = instant || reduceMotion;
|
|
@@ -31,5 +35,6 @@ function FocusRing2({ rect, instant = false, className }) {
|
|
|
31
35
|
})
|
|
32
36
|
});
|
|
33
37
|
}
|
|
38
|
+
var FocusRing2 = memo(FocusRingBase, (a, b) => sameRect2(a.rect, b.rect) && a.instant === b.instant && a.className === b.className);
|
|
34
39
|
|
|
35
40
|
export { FocusRing2 };
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./components-xnp09586.js";
|
|
15
15
|
import {
|
|
16
16
|
SizeScope2
|
|
17
|
-
} from "./components-
|
|
17
|
+
} from "./components-nz14rwtd.js";
|
|
18
18
|
|
|
19
19
|
// components/data-display/avatar/index.tsx
|
|
20
20
|
import { Avatar as AvatarPrimitive } from "@base-ui/react/avatar";
|
|
@@ -5,19 +5,20 @@ import {
|
|
|
5
5
|
} from "./components-bkwjvvkh.js";
|
|
6
6
|
import {
|
|
7
7
|
useMorph2
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-8pnvkrbw.js";
|
|
9
9
|
import {
|
|
10
10
|
cn2
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
12
12
|
import {
|
|
13
13
|
MorphSurface2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-wq9hrera.js";
|
|
15
15
|
import {
|
|
16
16
|
useOverlayRoot2,
|
|
17
|
+
useOpenedOnce2,
|
|
17
18
|
positionerProps2,
|
|
18
19
|
PortalContainer2,
|
|
19
20
|
usePortalContainer2
|
|
20
|
-
} from "./components-
|
|
21
|
+
} from "./components-ft5dgjg6.js";
|
|
21
22
|
import {
|
|
22
23
|
useShape2
|
|
23
24
|
} from "./components-kxpcj2ry.js";
|
|
@@ -138,7 +139,7 @@ var TooltipTrigger2 = forwardRef(({ render, asChild, children, onPointerMove, ..
|
|
|
138
139
|
});
|
|
139
140
|
});
|
|
140
141
|
TooltipTrigger2.displayName = "TooltipTrigger";
|
|
141
|
-
var
|
|
142
|
+
var TooltipContentBody = forwardRef(({
|
|
142
143
|
children,
|
|
143
144
|
render,
|
|
144
145
|
asChild,
|
|
@@ -193,6 +194,14 @@ var TooltipContent2 = forwardRef(({
|
|
|
193
194
|
})
|
|
194
195
|
});
|
|
195
196
|
});
|
|
197
|
+
TooltipContentBody.displayName = "TooltipContentBody";
|
|
198
|
+
var TooltipContent2 = forwardRef((props, ref) => {
|
|
199
|
+
const opened = useOpenedOnce2(useTooltipState("Tooltip.Content").open);
|
|
200
|
+
return opened ? /* @__PURE__ */ jsx(TooltipContentBody, {
|
|
201
|
+
ref,
|
|
202
|
+
...props
|
|
203
|
+
}) : null;
|
|
204
|
+
});
|
|
196
205
|
TooltipContent2.displayName = "TooltipContent";
|
|
197
206
|
var Tooltip2 = Object.assign(function Tooltip({
|
|
198
207
|
content,
|
|
@@ -3,21 +3,25 @@
|
|
|
3
3
|
import {
|
|
4
4
|
spring2
|
|
5
5
|
} from "./components-45r18egt.js";
|
|
6
|
+
import {
|
|
7
|
+
useFluidHover2,
|
|
8
|
+
useRegisterFluidHoverItem2
|
|
9
|
+
} from "./components-21hcwp85.js";
|
|
6
10
|
import {
|
|
7
11
|
cn2
|
|
8
12
|
} from "./components-xnp09586.js";
|
|
9
13
|
import {
|
|
10
14
|
GooIndicator2
|
|
11
|
-
} from "./components-
|
|
15
|
+
} from "./components-bxqmbcz2.js";
|
|
12
16
|
import {
|
|
13
17
|
FluidHoverHighlight2
|
|
14
|
-
} from "./components-
|
|
18
|
+
} from "./components-9b2m90st.js";
|
|
15
19
|
import {
|
|
16
20
|
useShape2
|
|
17
21
|
} from "./components-kxpcj2ry.js";
|
|
18
22
|
import {
|
|
19
23
|
FocusRing2
|
|
20
|
-
} from "./components-
|
|
24
|
+
} from "./components-5wykqxph.js";
|
|
21
25
|
import {
|
|
22
26
|
mergeRefs2
|
|
23
27
|
} from "./components-bkwjvvkh.js";
|
|
@@ -35,16 +39,12 @@ import {
|
|
|
35
39
|
import {
|
|
36
40
|
useControllableState2
|
|
37
41
|
} from "./components-wwd093xg.js";
|
|
38
|
-
import {
|
|
39
|
-
useFluidHover2,
|
|
40
|
-
useRegisterFluidHoverItem2
|
|
41
|
-
} from "./components-7c4a0egq.js";
|
|
42
42
|
import {
|
|
43
43
|
WeightLabel2
|
|
44
44
|
} from "./components-y09nr7fe.js";
|
|
45
45
|
import {
|
|
46
46
|
SizeScope2
|
|
47
|
-
} from "./components-
|
|
47
|
+
} from "./components-nz14rwtd.js";
|
|
48
48
|
|
|
49
49
|
// components/inputs/radio/index.tsx
|
|
50
50
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
dividedColumns2,
|
|
19
19
|
ScrollColumn2
|
|
20
|
-
} from "./components-
|
|
20
|
+
} from "./components-zckgawt6.js";
|
|
21
21
|
import {
|
|
22
22
|
SizeScope2
|
|
23
|
-
} from "./components-
|
|
23
|
+
} from "./components-nz14rwtd.js";
|
|
24
24
|
|
|
25
25
|
// components/inputs/date-time/calendar/index.tsx
|
|
26
26
|
import { addDays, format as format2, isSameYear, startOfWeek } from "date-fns";
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import {
|
|
4
|
+
useFluidHover2,
|
|
5
|
+
useRegisterFluidHoverItem2
|
|
6
|
+
} from "./components-21hcwp85.js";
|
|
3
7
|
import {
|
|
4
8
|
cn2
|
|
5
9
|
} from "./components-xnp09586.js";
|
|
6
10
|
import {
|
|
7
11
|
FluidHoverHighlight2
|
|
8
|
-
} from "./components-
|
|
12
|
+
} from "./components-9b2m90st.js";
|
|
9
13
|
import {
|
|
10
14
|
mergeRefs2
|
|
11
15
|
} from "./components-bkwjvvkh.js";
|
|
@@ -16,10 +20,6 @@ import {
|
|
|
16
20
|
import {
|
|
17
21
|
useShape2
|
|
18
22
|
} from "./components-kxpcj2ry.js";
|
|
19
|
-
import {
|
|
20
|
-
useFluidHover2,
|
|
21
|
-
useRegisterFluidHoverItem2
|
|
22
|
-
} from "./components-7c4a0egq.js";
|
|
23
23
|
|
|
24
24
|
// primitives/systems/fluid-hover/index.tsx
|
|
25
25
|
import {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./components-znspksk0.js";
|
|
12
12
|
import {
|
|
13
13
|
SizeScope2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-nz14rwtd.js";
|
|
15
15
|
import {
|
|
16
16
|
useMergeRefs2
|
|
17
17
|
} from "./components-bkwjvvkh.js";
|
|
@@ -28,12 +28,15 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
WeightLabel2
|
|
30
30
|
} from "./components-y09nr7fe.js";
|
|
31
|
+
import {
|
|
32
|
+
useFluidHover2
|
|
33
|
+
} from "./components-21hcwp85.js";
|
|
31
34
|
import {
|
|
32
35
|
FocusRing2
|
|
33
|
-
} from "./components-
|
|
36
|
+
} from "./components-5wykqxph.js";
|
|
34
37
|
import {
|
|
35
38
|
GooIndicator2
|
|
36
|
-
} from "./components-
|
|
39
|
+
} from "./components-bxqmbcz2.js";
|
|
37
40
|
import {
|
|
38
41
|
useRowFocus2
|
|
39
42
|
} from "./components-vcte8p75.js";
|
|
@@ -44,9 +47,6 @@ import {
|
|
|
44
47
|
import {
|
|
45
48
|
useLift2
|
|
46
49
|
} from "./components-nwa2a9tq.js";
|
|
47
|
-
import {
|
|
48
|
-
useFluidHover2
|
|
49
|
-
} from "./components-7c4a0egq.js";
|
|
50
50
|
|
|
51
51
|
// components/navigation/tabs/index.tsx
|
|
52
52
|
import { Tabs as TabsPrimitive3 } from "@base-ui/react/tabs";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./components-xnp09586.js";
|
|
23
23
|
import {
|
|
24
24
|
calendar_default
|
|
25
|
-
} from "./components-
|
|
25
|
+
} from "./components-8m5e493q.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-gzve0nkp.js";
|
|
38
38
|
import {
|
|
39
39
|
TimeColumns
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-d4gkhy26.js";
|
|
41
41
|
|
|
42
42
|
// components/inputs/date-time/date-picker/index.tsx
|
|
43
43
|
import { format, set } from "date-fns";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./components-bkwjvvkh.js";
|
|
6
6
|
import {
|
|
7
7
|
useMorph2
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-8pnvkrbw.js";
|
|
9
9
|
import {
|
|
10
10
|
cn2
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
useOverlay2,
|
|
16
16
|
positionerProps2,
|
|
17
17
|
usePortalContainer2
|
|
18
|
-
} from "./components-
|
|
18
|
+
} from "./components-ft5dgjg6.js";
|
|
19
19
|
import {
|
|
20
20
|
PopupSurface2
|
|
21
|
-
} from "./components-
|
|
21
|
+
} from "./components-nxqrw789.js";
|
|
22
22
|
|
|
23
23
|
// components/overlays/preview-card/index.tsx
|
|
24
24
|
import { PreviewCard as PreviewCardPrimitive } from "@base-ui/react/preview-card";
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
} from "./components-xnp09586.js";
|
|
9
9
|
import {
|
|
10
10
|
button_default
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-ycwhrqe1.js";
|
|
12
12
|
import {
|
|
13
13
|
MorphPart2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-pa43g2r2.js";
|
|
15
15
|
import {
|
|
16
16
|
opensInPlace2,
|
|
17
17
|
useMorphOrigin2,
|
|
18
18
|
useMorph2
|
|
19
|
-
} from "./components-
|
|
19
|
+
} from "./components-8pnvkrbw.js";
|
|
20
20
|
import {
|
|
21
21
|
MorphSurface2
|
|
22
|
-
} from "./components-
|
|
22
|
+
} from "./components-wq9hrera.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-
|
|
8
|
+
} from "./components-8pnvkrbw.js";
|
|
9
9
|
import {
|
|
10
10
|
cn2
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
12
12
|
import {
|
|
13
13
|
usePortalContainer2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-ft5dgjg6.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-nxqrw789.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-br6t88cb.js";
|
|
31
31
|
|
|
32
32
|
// components/overlays/sheet/index.tsx
|
|
33
33
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
useFluidHover2,
|
|
38
38
|
useRegisterFluidHoverItem2
|
|
39
|
-
} from "./components-
|
|
39
|
+
} from "./components-21hcwp85.js";
|
|
40
40
|
import {
|
|
41
41
|
SizeScope2
|
|
42
|
-
} from "./components-
|
|
42
|
+
} from "./components-nz14rwtd.js";
|
|
43
43
|
import {
|
|
44
44
|
Label2
|
|
45
45
|
} from "./components-fpsfr52a.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./components-bkwjvvkh.js";
|
|
9
9
|
import {
|
|
10
10
|
MorphPartScope2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-pa43g2r2.js";
|
|
12
12
|
import {
|
|
13
13
|
useMorph2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-8pnvkrbw.js";
|
|
15
15
|
import {
|
|
16
16
|
cn2
|
|
17
17
|
} from "./components-xnp09586.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
useOverlayRoot2,
|
|
21
21
|
useOverlay2,
|
|
22
22
|
usePortalContainer2
|
|
23
|
-
} from "./components-
|
|
23
|
+
} from "./components-ft5dgjg6.js";
|
|
24
24
|
import {
|
|
25
25
|
PopupSurface2
|
|
26
|
-
} from "./components-
|
|
26
|
+
} from "./components-nxqrw789.js";
|
|
27
27
|
import {
|
|
28
28
|
useSizeVariant2
|
|
29
29
|
} from "./components-znspksk0.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./components-7wjkag2j.js";
|
|
33
33
|
import {
|
|
34
34
|
Button2
|
|
35
|
-
} from "./components-
|
|
35
|
+
} from "./components-ycwhrqe1.js";
|
|
36
36
|
|
|
37
37
|
// components/overlays/dialog/index.tsx
|
|
38
38
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
@@ -6,17 +6,20 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
spring2
|
|
8
8
|
} from "./components-45r18egt.js";
|
|
9
|
+
import {
|
|
10
|
+
sameRect2
|
|
11
|
+
} from "./components-21hcwp85.js";
|
|
9
12
|
import {
|
|
10
13
|
GOO_MATRIX2,
|
|
11
14
|
GOO_BLUR_RATIO2
|
|
12
|
-
} from "./components-
|
|
15
|
+
} from "./components-8pnvkrbw.js";
|
|
13
16
|
import {
|
|
14
17
|
cn2
|
|
15
18
|
} from "./components-xnp09586.js";
|
|
16
19
|
|
|
17
20
|
// lib/goo-indicator.tsx
|
|
18
21
|
import { animate, motion, useMotionValue } from "motion/react";
|
|
19
|
-
import { useId, useLayoutEffect, useRef, useState } from "react";
|
|
22
|
+
import { memo, useId, useLayoutEffect, useRef, useState } from "react";
|
|
20
23
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
21
24
|
var COVERAGE = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0";
|
|
22
25
|
var NECK = 0.5;
|
|
@@ -123,7 +126,7 @@ function GooLayer2({ active, blur, box, fill, children }) {
|
|
|
123
126
|
]
|
|
124
127
|
});
|
|
125
128
|
}
|
|
126
|
-
function
|
|
129
|
+
function GooIndicatorBase({
|
|
127
130
|
rect,
|
|
128
131
|
from,
|
|
129
132
|
className,
|
|
@@ -214,4 +217,5 @@ function GooIndicator2({
|
|
|
214
217
|
]
|
|
215
218
|
});
|
|
216
219
|
}
|
|
220
|
+
var GooIndicator2 = memo(GooIndicatorBase, (a, b) => sameRect2(a.rect, b.rect) && sameRect2(a.from, b.from) && a.className === b.className && a.shadow === b.shadow && a.transition === b.transition && a.opacity === b.opacity);
|
|
217
221
|
export { union2, GooLayer2, GooIndicator2 };
|