@justanarthur/modo-ui 2.2.0 → 2.3.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/dist/blocks/desktop-shell/index.js +27 -27
- package/dist/blocks/sidebar-app/index.js +37 -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.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.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.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.js +12 -12
- package/dist/components/inputs/search/index.js +23 -23
- package/dist/components/inputs/select/index.js +21 -21
- package/dist/components/inputs/slider/index.js +4 -4
- package/dist/components/inputs/switch/index.js +9 -9
- 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 +25 -25
- package/dist/components/navigation/tabs/index.js +13 -13
- package/dist/components/navigation/tree/index.js +9 -9
- package/dist/components/overlays/alert-dialog/index.js +15 -15
- package/dist/components/overlays/command/index.js +21 -21
- package/dist/components/overlays/context-menu/index.js +25 -25
- package/dist/components/overlays/dialog/index.js +14 -14
- package/dist/components/overlays/dropdown/index.js +24 -24
- 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 +16 -16
- package/dist/index.d.ts +4 -2
- package/dist/index.js +76 -76
- 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/morph-layers.js +4 -4
- package/dist/lib/morph-part.js +2 -2
- package/dist/lib/overlay.js +4 -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/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.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 +6 -6
- 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-fqdh9ysk.js → components-01e24999.js} +9 -9
- package/dist/shared/{components-9hysh6d3.js → components-1f5624hb.js} +1 -1
- package/dist/shared/{components-mcnyaaep.js → components-1hga6pkn.js} +3 -3
- package/dist/shared/{components-qe8yp3vf.js → components-1sbnbq6a.js} +3 -3
- package/dist/shared/{components-3cvwrzc1.js → components-27fatggq.js} +3 -3
- package/dist/shared/{components-qd27dvgj.js → components-2bq4ng4d.js} +3 -3
- package/dist/shared/{components-zktkxnzq.js → components-2tw25pk6.js} +4 -4
- package/dist/shared/{components-9e5fpy3v.js → components-2v4mmw1s.js} +7 -7
- 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-151vndgm.js → components-4fswe4kh.js} +3 -3
- package/dist/shared/{components-pgs3p035.js → components-4t2cjav8.js} +1 -1
- package/dist/shared/{components-vv420geb.js → components-5vezp3e5.js} +3 -3
- package/dist/shared/{components-w5p7mfb4.js → components-5xs8pkkj.js} +1 -1
- package/dist/shared/{components-afj2ajea.js → components-6g8a5nrs.js} +4 -4
- package/dist/shared/{components-mpx3yq5c.js → components-6xtntksc.js} +8 -8
- package/dist/shared/{components-2zr49v82.js → components-7g2q2ccp.js} +3 -3
- package/dist/shared/{components-v3c3madd.js → components-7xc2dne4.js} +2 -2
- package/dist/shared/{components-a3edrqpb.js → components-83jn0raj.js} +3 -3
- package/dist/shared/{components-rj4nnqkz.js → components-8e0fjgm9.js} +3 -3
- package/dist/shared/{components-nc8wggew.js → components-8ybvpebx.js} +3 -3
- package/dist/shared/{components-nehs80xd.js → components-9ca0c92a.js} +1 -1
- package/dist/shared/{components-2q0m4mxf.js → components-9rebr89j.js} +2 -2
- package/dist/shared/{components-8qwbwtv9.js → components-a3brpprb.js} +5 -5
- package/dist/shared/{components-ajgwbabq.js → components-abqfs5fh.js} +4 -4
- package/dist/shared/{components-nd3f803g.js → components-agjpst9b.js} +3 -3
- package/dist/shared/{components-t4eb37vd.js → components-b7p1pjcm.js} +2 -2
- package/dist/shared/{components-vkrp4nb9.js → components-czvraaw9.js} +4 -4
- package/dist/shared/{components-qs0cwe8p.js → components-e52xgvd9.js} +7 -7
- package/dist/shared/{components-rts2mggt.js → components-e7zxwja1.js} +1 -1
- package/dist/shared/{components-yn8bw8tv.js → components-eebf7f9c.js} +8 -8
- package/dist/shared/{components-z9gc2weg.js → components-etgpz4zk.js} +3 -3
- package/dist/shared/{components-90y8qwxv.js → components-ex2xtqv7.js} +5 -5
- package/dist/shared/{components-4xd21p2p.js → components-fjg4j430.js} +3 -3
- package/dist/shared/{components-09n5hgmx.js → components-fxw1122w.js} +2 -2
- package/dist/shared/{components-95kp19zn.js → components-g35n8tzm.js} +1 -1
- package/dist/shared/{components-rmhdr4g1.js → components-gd8gmr6w.js} +1 -1
- package/dist/shared/{components-r6ejdtpr.js → components-gnsvnejm.js} +3 -3
- package/dist/shared/{components-k9qbcmaa.js → components-gr82tz50.js} +21 -3
- package/dist/shared/{components-v81eejq6.js → components-k25zw9g8.js} +2 -2
- package/dist/shared/{components-qkt4h7x4.js → components-k2gg1agj.js} +8 -8
- package/dist/shared/{components-qhk2m7fj.js → components-kz6ak6kj.js} +2 -2
- package/dist/shared/{components-19e2wpxc.js → components-m7d7r3r8.js} +5 -5
- package/dist/shared/{components-dr5c27yd.js → components-mvwf8ckh.js} +4 -4
- package/dist/shared/{components-gfw4zk8b.js → components-nh05qz8b.js} +8 -8
- package/dist/shared/{components-jd21f3mb.js → components-nred2e6g.js} +5 -5
- package/dist/shared/{components-90sfqz5t.js → components-nxqrw789.js} +1 -1
- package/dist/shared/{components-y07de1qv.js → components-q7zk70tx.js} +1 -1
- package/dist/shared/{components-1nqp7wqr.js → components-rzy6h7s4.js} +1 -1
- package/dist/shared/{components-8qkd3659.js → components-s2pnh8h9.js} +1 -1
- 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-s25rehbv.js → components-ta4e10mx.js} +1 -1
- package/dist/shared/{components-xvf8jcza.js → components-tcm3k3wj.js} +1 -1
- package/dist/shared/{components-qc1fae2s.js → components-vykcfb5r.js} +5 -5
- package/dist/shared/{components-veaxns17.js → components-w1ysefg1.js} +2 -2
- package/dist/shared/{components-313rmbxy.js → components-wq9hrera.js} +2 -2
- package/dist/shared/{components-9s9vb2w0.js → components-x5v7e0fz.js} +4 -4
- package/dist/shared/{components-gvwxswpr.js → components-z0kz9rxj.js} +1 -1
- package/dist/shared/{components-16wx5av1.js → components-z87sanbc.js} +6 -6
- package/dist/shared/{components-85dz3xx3.js → components-zv63s4fh.js} +3 -3
- package/dist/styles.css +1 -1
- 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-v1m0xjbw.js → components-c515d6xr.js} +0 -0
- /package/dist/shared/{components-pbx77hzb.js → components-h8v9nh5r.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
|
@@ -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
|
MorphSurface2
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-wq9hrera.js";
|
|
15
15
|
import {
|
|
16
16
|
useOverlayRoot2,
|
|
17
17
|
positionerProps2,
|
|
18
18
|
PortalContainer2,
|
|
19
19
|
usePortalContainer2
|
|
20
|
-
} from "./components-
|
|
20
|
+
} from "./components-tcm3k3wj.js";
|
|
21
21
|
import {
|
|
22
22
|
useShape2
|
|
23
23
|
} from "./components-kxpcj2ry.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./components-xnp09586.js";
|
|
6
6
|
import {
|
|
7
7
|
FluidHoverHighlight2
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-g35n8tzm.js";
|
|
9
9
|
import {
|
|
10
10
|
useIcon2
|
|
11
11
|
} from "./components-jnhpgpfk.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
rowLabelClass2,
|
|
24
24
|
RowIcon2,
|
|
25
25
|
PopupLabel2
|
|
26
|
-
} from "./components-
|
|
26
|
+
} from "./components-q0hs5rqn.js";
|
|
27
27
|
import {
|
|
28
28
|
useFluidHover2,
|
|
29
29
|
useRegisterFluidHoverItem2
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
DialogTrigger2,
|
|
36
36
|
DialogContent2,
|
|
37
37
|
DialogState2
|
|
38
|
-
} from "./components-
|
|
38
|
+
} from "./components-ex2xtqv7.js";
|
|
39
39
|
|
|
40
40
|
// components/overlays/command/index.tsx
|
|
41
41
|
import { Autocomplete } from "@base-ui/react/autocomplete";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./components-bkwjvvkh.js";
|
|
25
25
|
import {
|
|
26
26
|
InputAdornment2
|
|
27
|
-
} from "./components-
|
|
27
|
+
} from "./components-q7zk70tx.js";
|
|
28
28
|
|
|
29
29
|
// components/inputs/number-input/index.tsx
|
|
30
30
|
import { NumberField } from "@base-ui/react/number-field";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./components-xnp09586.js";
|
|
9
9
|
import {
|
|
10
10
|
Code2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-y4gsk1jt.js";
|
|
12
12
|
import {
|
|
13
13
|
table_default
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-7xc2dne4.js";
|
|
15
15
|
|
|
16
16
|
// components/data-display/markdown/index.tsx
|
|
17
17
|
import { Lexer } from "marked";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./components-xnp09586.js";
|
|
6
6
|
import {
|
|
7
7
|
GooIndicator2
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-z0kz9rxj.js";
|
|
9
9
|
import {
|
|
10
10
|
FluidHoverHighlight2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-g35n8tzm.js";
|
|
12
12
|
import {
|
|
13
13
|
useIcon2
|
|
14
14
|
} from "./components-jnhpgpfk.js";
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
} from "./components-y09nr7fe.js";
|
|
31
31
|
import {
|
|
32
32
|
SizeScope2
|
|
33
|
-
} from "./components-
|
|
33
|
+
} from "./components-nz14rwtd.js";
|
|
34
34
|
import {
|
|
35
35
|
button_default
|
|
36
|
-
} from "./components-
|
|
36
|
+
} from "./components-ycwhrqe1.js";
|
|
37
37
|
import {
|
|
38
38
|
Input2
|
|
39
|
-
} from "./components-
|
|
39
|
+
} from "./components-q7zk70tx.js";
|
|
40
40
|
|
|
41
41
|
// components/navigation/pagination/index.tsx
|
|
42
42
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -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,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-tcm3k3wj.js";
|
|
19
19
|
import {
|
|
20
20
|
PopupSurface2
|
|
21
|
-
} from "./components-
|
|
21
|
+
} from "./components-nxqrw789.js";
|
|
22
22
|
import {
|
|
23
23
|
slotPart2
|
|
24
24
|
} from "./components-7wjkag2j.js";
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
dividedColumns2,
|
|
19
19
|
ScrollColumn2
|
|
20
|
-
} from "./components-
|
|
20
|
+
} from "./components-ta4e10mx.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";
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
} from "./components-xnp09586.js";
|
|
6
6
|
import {
|
|
7
7
|
GooIndicator2
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-z0kz9rxj.js";
|
|
9
9
|
import {
|
|
10
10
|
FluidHoverHighlight2
|
|
11
|
-
} from "./components-
|
|
11
|
+
} from "./components-g35n8tzm.js";
|
|
12
12
|
import {
|
|
13
13
|
useShape2
|
|
14
14
|
} from "./components-kxpcj2ry.js";
|
|
15
15
|
import {
|
|
16
16
|
FocusRing2
|
|
17
|
-
} from "./components-
|
|
17
|
+
} from "./components-c515d6xr.js";
|
|
18
18
|
import {
|
|
19
19
|
mergeRefs2
|
|
20
20
|
} from "./components-bkwjvvkh.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
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
40
|
import { forwardRef, useRef } from "react";
|
|
@@ -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-tcm3k3wj.js";
|
|
23
23
|
import {
|
|
24
24
|
POPUP_SHAPE2
|
|
25
25
|
} from "./components-mse06t0x.js";
|
|
@@ -28,22 +28,22 @@ 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
38
|
import {
|
|
39
39
|
GooIndicator2
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-z0kz9rxj.js";
|
|
41
41
|
import {
|
|
42
42
|
FluidHoverHighlight2
|
|
43
|
-
} from "./components-
|
|
43
|
+
} from "./components-g35n8tzm.js";
|
|
44
44
|
import {
|
|
45
45
|
FocusRing2
|
|
46
|
-
} from "./components-
|
|
46
|
+
} from "./components-c515d6xr.js";
|
|
47
47
|
import {
|
|
48
48
|
mergeRefs2,
|
|
49
49
|
useMergeRefs2
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
} from "./components-45r18egt.js";
|
|
28
28
|
import {
|
|
29
29
|
useMorph2
|
|
30
|
-
} from "./components-
|
|
30
|
+
} from "./components-8pnvkrbw.js";
|
|
31
31
|
import {
|
|
32
32
|
OverlayContext2,
|
|
33
33
|
useOverlayRoot2,
|
|
34
34
|
useOverlay2,
|
|
35
35
|
positionerProps2,
|
|
36
36
|
usePortalContainer2
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-tcm3k3wj.js";
|
|
38
38
|
import {
|
|
39
39
|
SizeScope2
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-nz14rwtd.js";
|
|
41
41
|
import {
|
|
42
42
|
useIcon2
|
|
43
43
|
} from "./components-jnhpgpfk.js";
|
|
44
44
|
import {
|
|
45
45
|
GooIndicator2
|
|
46
|
-
} from "./components-
|
|
46
|
+
} from "./components-z0kz9rxj.js";
|
|
47
47
|
import {
|
|
48
48
|
FluidHoverHighlight2
|
|
49
|
-
} from "./components-
|
|
49
|
+
} from "./components-g35n8tzm.js";
|
|
50
50
|
import {
|
|
51
51
|
useMergeRefs2
|
|
52
52
|
} from "./components-bkwjvvkh.js";
|
|
@@ -61,10 +61,10 @@ import {
|
|
|
61
61
|
rowLabelBoxClass2,
|
|
62
62
|
RowIcon2,
|
|
63
63
|
CheckMark2
|
|
64
|
-
} from "./components-
|
|
64
|
+
} from "./components-q0hs5rqn.js";
|
|
65
65
|
import {
|
|
66
66
|
PopupSurface2
|
|
67
|
-
} from "./components-
|
|
67
|
+
} from "./components-nxqrw789.js";
|
|
68
68
|
import {
|
|
69
69
|
useFluidHover2,
|
|
70
70
|
useRegisterFluidHoverItem2
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
useSelectionRuns2,
|
|
74
74
|
useMergeSplitBlocks2,
|
|
75
75
|
SelectionBackgrounds2
|
|
76
|
-
} from "./components-
|
|
76
|
+
} from "./components-w1ysefg1.js";
|
|
77
77
|
import {
|
|
78
78
|
ScrollArea2
|
|
79
79
|
} from "./components-esy5nsvc.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./components-wwd093xg.js";
|
|
26
26
|
import {
|
|
27
27
|
calendar_default
|
|
28
|
-
} from "./components-
|
|
28
|
+
} from "./components-b7p1pjcm.js";
|
|
29
29
|
import {
|
|
30
30
|
readDateValue,
|
|
31
31
|
writeDateValue,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
invalidOf,
|
|
38
38
|
PickerShell,
|
|
39
39
|
PickerInput
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-k2gg1agj.js";
|
|
41
41
|
import {
|
|
42
42
|
TimeColumns
|
|
43
|
-
} from "./components-
|
|
43
|
+
} from "./components-e7zxwja1.js";
|
|
44
44
|
|
|
45
45
|
// components/inputs/date-time/date-range-picker/index.tsx
|
|
46
46
|
import { format, set } from "date-fns";
|
|
@@ -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-tcm3k3wj.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,10 +6,10 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
OverlayContext2,
|
|
8
8
|
useOverlayRoot2
|
|
9
|
-
} from "./components-
|
|
9
|
+
} from "./components-tcm3k3wj.js";
|
|
10
10
|
import {
|
|
11
11
|
SizeScope2
|
|
12
|
-
} from "./components-
|
|
12
|
+
} from "./components-nz14rwtd.js";
|
|
13
13
|
import {
|
|
14
14
|
MenuItem2,
|
|
15
15
|
DropdownLabel2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
DropdownSubTrigger2,
|
|
19
19
|
DropdownSubContent2,
|
|
20
20
|
DropdownSeparator2
|
|
21
|
-
} from "./components-
|
|
21
|
+
} from "./components-01e24999.js";
|
|
22
22
|
|
|
23
23
|
// components/overlays/context-menu/index.tsx
|
|
24
24
|
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./components-29ebea21.js";
|
|
11
11
|
import {
|
|
12
12
|
ScrollColumn2
|
|
13
|
-
} from "./components-
|
|
13
|
+
} from "./components-ta4e10mx.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-k2gg1agj.js";
|
|
23
23
|
|
|
24
24
|
// components/inputs/date-time/month-picker/index.tsx
|
|
25
25
|
import { format, startOfMonth } from "date-fns";
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
} from "./components-wwd093xg.js";
|
|
32
32
|
import {
|
|
33
33
|
SizeScope2
|
|
34
|
-
} from "./components-
|
|
34
|
+
} from "./components-nz14rwtd.js";
|
|
35
35
|
import {
|
|
36
36
|
FluidHoverHighlight2
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-g35n8tzm.js";
|
|
38
38
|
import {
|
|
39
39
|
button_default
|
|
40
|
-
} from "./components-
|
|
40
|
+
} from "./components-ycwhrqe1.js";
|
|
41
41
|
import {
|
|
42
42
|
WeightLabel2
|
|
43
43
|
} from "./components-y09nr7fe.js";
|
|
@@ -88,13 +88,20 @@ function ResizableHandle2({ label = "Resize", className }) {
|
|
|
88
88
|
const onPointerDown = (e) => {
|
|
89
89
|
if (e.button !== 0)
|
|
90
90
|
return;
|
|
91
|
-
const panels = [...e.currentTarget.parentElement?.children ?? []].filter((el) => el.hasAttribute("data-resizable-panel"));
|
|
91
|
+
const panels = [...e.currentTarget.parentElement?.children ?? []].filter((el) => el instanceof HTMLElement && el.hasAttribute("data-resizable-panel"));
|
|
92
92
|
const px = panels.reduce((sum, el) => {
|
|
93
93
|
const rect = el.getBoundingClientRect();
|
|
94
94
|
return sum + (horizontal ? rect.width : rect.height);
|
|
95
95
|
}, 0);
|
|
96
96
|
e.currentTarget.setPointerCapture(e.pointerId);
|
|
97
|
-
drag.current = {
|
|
97
|
+
drag.current = {
|
|
98
|
+
start: horizontal ? e.clientX : e.clientY,
|
|
99
|
+
sizes: group.sizes,
|
|
100
|
+
next: group.sizes,
|
|
101
|
+
panels,
|
|
102
|
+
flex: panels.map((el) => el.style.flex),
|
|
103
|
+
pxPerPercent: px / 100
|
|
104
|
+
};
|
|
98
105
|
setDragging(true);
|
|
99
106
|
e.preventDefault();
|
|
100
107
|
};
|
|
@@ -103,11 +110,22 @@ function ResizableHandle2({ label = "Resize", className }) {
|
|
|
103
110
|
if (!d?.pxPerPercent)
|
|
104
111
|
return;
|
|
105
112
|
const delta = ((horizontal ? e.clientX : e.clientY) - d.start) / d.pxPerPercent;
|
|
106
|
-
|
|
113
|
+
d.next = resize(d.sizes, index, delta, group.limits);
|
|
114
|
+
d.panels.forEach((el, i) => {
|
|
115
|
+
el.style.flex = `${d.next[i] ?? 0} 1 0px`;
|
|
116
|
+
});
|
|
117
|
+
e.currentTarget.setAttribute("aria-valuenow", String(Math.round(d.next[index] ?? 0)));
|
|
107
118
|
};
|
|
108
119
|
const onPointerUp = () => {
|
|
120
|
+
const d = drag.current;
|
|
109
121
|
drag.current = null;
|
|
110
122
|
setDragging(false);
|
|
123
|
+
if (!d)
|
|
124
|
+
return;
|
|
125
|
+
d.panels.forEach((el, i) => {
|
|
126
|
+
el.style.flex = d.flex[i] ?? "";
|
|
127
|
+
});
|
|
128
|
+
group.setSizes(d.next);
|
|
111
129
|
};
|
|
112
130
|
const onKeyDown = (e) => {
|
|
113
131
|
const keys = horizontal ? { ArrowLeft: -group.step, ArrowRight: group.step } : { ArrowUp: -group.step, ArrowDown: group.step };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./components-7wjkag2j.js";
|
|
6
6
|
import {
|
|
7
7
|
button_default
|
|
8
|
-
} from "./components-
|
|
8
|
+
} from "./components-ycwhrqe1.js";
|
|
9
9
|
import {
|
|
10
10
|
DialogTrigger2,
|
|
11
11
|
DialogClose2,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
DialogTitle2,
|
|
16
16
|
DialogDescription2,
|
|
17
17
|
DialogState2
|
|
18
|
-
} from "./components-
|
|
18
|
+
} from "./components-ex2xtqv7.js";
|
|
19
19
|
|
|
20
20
|
// components/overlays/alert-dialog/index.tsx
|
|
21
21
|
import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
|
|
@@ -22,36 +22,36 @@ import {
|
|
|
22
22
|
} from "./components-bkwjvvkh.js";
|
|
23
23
|
import {
|
|
24
24
|
useMorph2
|
|
25
|
-
} from "./components-
|
|
25
|
+
} from "./components-8pnvkrbw.js";
|
|
26
26
|
import {
|
|
27
27
|
OverlayContext2,
|
|
28
28
|
useOverlayRoot2,
|
|
29
29
|
useOverlay2,
|
|
30
30
|
positionerProps2
|
|
31
|
-
} from "./components-
|
|
31
|
+
} from "./components-tcm3k3wj.js";
|
|
32
32
|
import {
|
|
33
33
|
PopupSurface2
|
|
34
|
-
} from "./components-
|
|
34
|
+
} from "./components-nxqrw789.js";
|
|
35
35
|
import {
|
|
36
36
|
dividedColumns2
|
|
37
|
-
} from "./components-
|
|
37
|
+
} from "./components-ta4e10mx.js";
|
|
38
38
|
import {
|
|
39
39
|
useIsMobile2
|
|
40
40
|
} from "./components-8wp8d8q1.js";
|
|
41
41
|
import {
|
|
42
42
|
SizeScope2
|
|
43
|
-
} from "./components-
|
|
43
|
+
} from "./components-nz14rwtd.js";
|
|
44
44
|
import {
|
|
45
45
|
button_default
|
|
46
|
-
} from "./components-
|
|
46
|
+
} from "./components-ycwhrqe1.js";
|
|
47
47
|
import {
|
|
48
48
|
sheet_default
|
|
49
|
-
} from "./components-
|
|
49
|
+
} from "./components-mvwf8ckh.js";
|
|
50
50
|
import {
|
|
51
51
|
InputAdornment2,
|
|
52
52
|
InputAction2,
|
|
53
53
|
input_default
|
|
54
|
-
} from "./components-
|
|
54
|
+
} from "./components-q7zk70tx.js";
|
|
55
55
|
|
|
56
56
|
// components/inputs/date-time/picker-shell.tsx
|
|
57
57
|
import { Popover } from "@base-ui/react/popover";
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
columnsPopupClass,
|
|
16
16
|
ColumnsPanel,
|
|
17
17
|
PickerInput
|
|
18
|
-
} from "./components-
|
|
18
|
+
} from "./components-k2gg1agj.js";
|
|
19
19
|
import {
|
|
20
20
|
pad,
|
|
21
21
|
TimeColumns
|
|
22
|
-
} from "./components-
|
|
22
|
+
} from "./components-e7zxwja1.js";
|
|
23
23
|
|
|
24
24
|
// components/inputs/date-time/time-picker/index.tsx
|
|
25
25
|
import { set } from "date-fns";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./components-xnp09586.js";
|
|
12
12
|
import {
|
|
13
13
|
button_default
|
|
14
|
-
} from "./components-
|
|
14
|
+
} from "./components-ycwhrqe1.js";
|
|
15
15
|
import {
|
|
16
16
|
useControllableState2
|
|
17
17
|
} from "./components-wwd093xg.js";
|
|
@@ -29,19 +29,19 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
useSidebarShortcut,
|
|
31
31
|
sidebar_default
|
|
32
|
-
} from "./components-
|
|
32
|
+
} from "./components-2v4mmw1s.js";
|
|
33
33
|
import {
|
|
34
34
|
inertProps2
|
|
35
35
|
} from "./components-2myjk2zf.js";
|
|
36
36
|
import {
|
|
37
37
|
SizeProvider2
|
|
38
|
-
} from "./components-
|
|
38
|
+
} from "./components-nz14rwtd.js";
|
|
39
39
|
import {
|
|
40
40
|
tooltip_default
|
|
41
|
-
} from "./components-
|
|
41
|
+
} from "./components-8e0fjgm9.js";
|
|
42
42
|
import {
|
|
43
43
|
resizable_default
|
|
44
|
-
} from "./components-
|
|
44
|
+
} from "./components-gr82tz50.js";
|
|
45
45
|
|
|
46
46
|
// blocks/desktop-shell/index.tsx
|
|
47
47
|
import { useCallback, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -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-tcm3k3wj.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-ex2xtqv7.js";
|
|
31
31
|
|
|
32
32
|
// components/overlays/sheet/index.tsx
|
|
33
33
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|