@justanarthur/modo-ui 0.1.0 → 0.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/dist/blocks/sidebar-app/index.d.ts +1 -1
- package/dist/blocks/sidebar-app/index.js +28 -31
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +12 -14
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +10 -12
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +38 -40
- package/dist/components/inputs/checkbox-group/index.d.ts +1 -1
- package/dist/components/inputs/checkbox-group/index.js +17 -19
- package/dist/components/inputs/color-picker/index.d.ts +1 -1
- package/dist/components/inputs/color-picker/index.js +31 -33
- package/dist/components/inputs/combobox/index.d.ts +1 -1
- package/dist/components/inputs/combobox/index.js +31 -34
- package/dist/components/inputs/date-time/calendar/index.d.ts +1 -1
- package/dist/components/inputs/date-time/calendar/index.js +14 -16
- package/dist/components/inputs/date-time/date-picker/index.d.ts +1 -1
- package/dist/components/inputs/date-time/date-picker/index.js +28 -30
- package/dist/components/inputs/date-time/date-range-picker/index.d.ts +1 -1
- package/dist/components/inputs/date-time/date-range-picker/index.js +27 -29
- package/dist/components/inputs/date-time/duration-picker/index.d.ts +1 -1
- package/dist/components/inputs/date-time/duration-picker/index.js +27 -29
- package/dist/components/inputs/date-time/month-picker/index.d.ts +1 -1
- package/dist/components/inputs/date-time/month-picker/index.js +26 -28
- package/dist/components/inputs/date-time/time-picker/index.d.ts +1 -1
- package/dist/components/inputs/date-time/time-picker/index.js +27 -29
- package/dist/components/inputs/input/index.d.ts +1 -1
- package/dist/components/inputs/input/index.js +15 -16
- package/dist/components/inputs/input-copy/index.d.ts +1 -1
- package/dist/components/inputs/input-copy/index.js +12 -14
- package/dist/components/inputs/input-message/index.d.ts +1 -1
- package/dist/components/inputs/input-message/index.js +21 -23
- package/dist/components/inputs/radio-group/index.d.ts +1 -1
- package/dist/components/inputs/radio-group/index.js +16 -18
- package/dist/components/inputs/search/index.d.ts +1 -1
- package/dist/components/inputs/search/index.js +21 -24
- package/dist/components/inputs/select/index.d.ts +1 -1
- package/dist/components/inputs/select/index.js +30 -33
- package/dist/components/inputs/slider/index.d.ts +1 -1
- package/dist/components/inputs/slider/index.js +10 -12
- package/dist/components/inputs/switch/index.d.ts +1 -1
- package/dist/components/inputs/switch/index.js +10 -12
- package/dist/components/navigation/accordion/index.d.ts +1 -1
- package/dist/components/navigation/accordion/index.js +24 -26
- package/dist/components/navigation/sidebar/index.d.ts +3 -3
- package/dist/components/navigation/sidebar/index.js +95 -97
- package/dist/components/navigation/tabs/index.d.ts +1 -1
- package/dist/components/navigation/tabs/index.js +19 -21
- package/dist/components/navigation/tabs-subtle/index.d.ts +1 -1
- package/dist/components/navigation/tabs-subtle/index.js +17 -19
- package/dist/components/overlays/alert-dialog/index.d.ts +2 -2
- package/dist/components/overlays/alert-dialog/index.js +18 -20
- package/dist/components/overlays/command/index.d.ts +1 -1
- package/dist/components/overlays/command/index.js +32 -35
- package/dist/components/overlays/context-menu/index.d.ts +1 -1
- package/dist/components/overlays/context-menu/index.js +25 -28
- package/dist/components/overlays/dialog/index.d.ts +1 -1
- package/dist/components/overlays/dialog/index.js +33 -35
- package/dist/components/overlays/dropdown/index.d.ts +1 -1
- package/dist/components/overlays/dropdown/index.js +40 -43
- package/dist/components/overlays/popover/index.d.ts +1 -1
- package/dist/components/overlays/popover/index.js +22 -24
- package/dist/components/overlays/preview-card/index.d.ts +1 -1
- package/dist/components/overlays/preview-card/index.js +15 -17
- package/dist/components/overlays/sheet/index.d.ts +1 -1
- package/dist/components/overlays/sheet/index.js +20 -22
- package/dist/components/overlays/toast/index.d.ts +1 -1
- package/dist/components/overlays/toast/index.js +17 -19
- package/dist/components/overlays/tooltip/index.d.ts +1 -1
- package/dist/components/overlays/tooltip/index.js +13 -15
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.js +22 -24
- package/dist/components/thinking-indicator/index.d.ts +1 -1
- package/dist/components/thinking-indicator/index.js +9 -11
- package/dist/index.d.ts +51 -51
- package/dist/index.js +506 -508
- package/dist/preset.d.ts +1 -1
- package/dist/preset.js +5 -5
- package/dist/primitives/code/index.d.ts +1 -1
- package/dist/primitives/code/index.js +8 -9
- package/dist/primitives/craft/index.d.ts +1 -1
- package/dist/primitives/craft/index.js +6 -8
- package/dist/primitives/fluid-hover/index.d.ts +1 -1
- package/dist/primitives/fluid-hover/index.js +18 -20
- package/dist/primitives/morph/index.d.ts +1 -1
- package/dist/primitives/morph/index.js +15 -17
- package/dist/primitives/motion/index.d.ts +1 -1
- package/dist/primitives/motion/index.js +15 -16
- package/dist/primitives/scroll-area/index.d.ts +1 -1
- package/dist/primitives/scroll-area/index.js +8 -9
- package/dist/primitives/sizes/index.d.ts +1 -1
- package/dist/primitives/sizes/index.js +17 -18
- package/dist/primitives/surface/index.d.ts +1 -1
- package/dist/primitives/surface/index.js +11 -12
- package/dist/shared/components-0ke6xada.js +123 -0
- package/dist/shared/{components-jxgznftn.js → components-0q0sqfh4.js} +16 -16
- package/dist/shared/{components-x3rz4cyn.js → components-0sn7ypjw.js} +14 -14
- package/dist/shared/{components-p2vmyfe1.js → components-1j9791sn.js} +42 -42
- package/dist/shared/{components-6phwsry6.js → components-1rfwbyyc.js} +25 -25
- package/dist/shared/{components-vc1k7yv2.js → components-1v7rxytx.js} +3 -3
- package/dist/shared/{components-tm88ghva.js → components-1xekx2hx.js} +58 -58
- package/dist/shared/{components-6t6nr33r.js → components-39jq9va1.js} +26 -26
- package/dist/shared/{components-j65qt1mq.js → components-3gae8nta.js} +101 -101
- package/dist/shared/{components-r2gke5p6.js → components-3k8xpnpq.js} +125 -125
- package/dist/shared/{components-6y1th6k4.js → components-3mkepka5.js} +31 -31
- package/dist/shared/{components-vktws5r6.js → components-3wk0w46f.js} +72 -72
- package/dist/shared/{components-zx2hr57f.js → components-4cnjmgex.js} +15 -15
- package/dist/shared/{components-e46kf6cp.js → components-59efxjd9.js} +8 -8
- package/dist/shared/{components-rc63qsy6.js → components-5xc2j8jz.js} +10 -10
- package/dist/shared/{components-7gv95yfy.js → components-62ybc7t2.js} +83 -83
- package/dist/shared/{components-brnzrp2t.js → components-66mv71kx.js} +41 -41
- package/dist/shared/{components-taxmgbnh.js → components-7ans7ce5.js} +17 -17
- package/dist/shared/{components-hzfp4tjb.js → components-7btqt08d.js} +42 -42
- package/dist/shared/{components-9p8s8n5q.js → components-7r3etddy.js} +22 -22
- package/dist/shared/{components-5zry9te1.js → components-7x9kawxv.js} +26 -26
- package/dist/shared/{components-4hh0gm0v.js → components-8fpr3s4p.js} +61 -61
- package/dist/shared/{components-x2xyckd5.js → components-9jvzzvt1.js} +20 -20
- package/dist/shared/{components-bf2d9k02.js → components-apdwtweq.js} +94 -94
- package/dist/shared/{components-hjkrv00c.js → components-asr5pg50.js} +18 -18
- package/dist/shared/{components-5pkcfprd.js → components-b2wyq2cq.js} +22 -22
- package/dist/shared/{components-nn6xezy2.js → components-ca2c898n.js} +226 -226
- package/dist/shared/{components-xszag63d.js → components-cbxjn9p8.js} +12 -12
- package/dist/shared/{components-kf2ehztc.js → components-chacnk61.js} +16 -16
- package/dist/shared/{components-7zp99w5d.js → components-cv16mryv.js} +2 -2
- package/dist/shared/{components-4xxtggzp.js → components-ez65vtbq.js} +18 -18
- package/dist/shared/{components-0f0as45n.js → components-ezxhrmer.js} +2 -2
- package/dist/shared/{components-s3yfvfkr.js → components-gc5vtq2f.js} +42 -42
- package/dist/shared/components-gf5s6ap9.js +42 -0
- package/dist/shared/{components-7cqq1sqy.js → components-gvr9w41t.js} +40 -40
- package/dist/shared/{components-ess3ch6w.js → components-h2dpcwgc.js} +23 -23
- package/dist/shared/{components-ed7cmssr.js → components-hawvy2qz.js} +18 -18
- package/dist/shared/{components-7nww01w4.js → components-hqeq3w9q.js} +34 -34
- package/dist/shared/{components-vb033rns.js → components-jjw69c4c.js} +6 -6
- package/dist/shared/{components-tad5h7ta.js → components-jwst3vtj.js} +48 -48
- package/dist/shared/{components-r22vtgqc.js → components-kvr7f9hy.js} +11 -11
- package/dist/shared/{components-gndm6am4.js → components-ng72k97e.js} +17 -17
- package/dist/shared/{components-40j34hdb.js → components-nh8tma1n.js} +116 -116
- package/dist/shared/{components-s5pkbjx1.js → components-njzgqdwy.js} +56 -56
- package/dist/shared/{components-54nf2x99.js → components-ny774h8p.js} +42 -42
- package/dist/shared/{components-r4jt6hgd.js → components-q4daerx0.js} +6 -6
- package/dist/shared/{components-peg09pzs.js → components-q5xj5c16.js} +11 -11
- package/dist/shared/{components-r43mqnd6.js → components-rr7a6ja9.js} +46 -46
- package/dist/shared/{components-bkvb6nem.js → components-s2bz1xpk.js} +11 -11
- package/dist/shared/{components-zvb11ker.js → components-tqvarbfv.js} +47 -47
- package/dist/shared/{components-aaq3yk4f.js → components-v6xp325t.js} +43 -43
- package/dist/shared/{components-v7es8aan.js → components-v7wtz8hk.js} +15 -15
- package/dist/shared/components-vc7vq5nz.js +32 -0
- package/dist/shared/{components-6hzwfmfd.js → components-vfbhxf5r.js} +8 -8
- package/dist/shared/{components-8hk9ve3r.js → components-wvp1m52g.js} +57 -57
- package/dist/shared/{components-gjfrycb5.js → components-yh3kwdhr.js} +63 -66
- package/dist/shared/{components-y3cqdrgy.js → components-ytb2tefr.js} +43 -43
- package/dist/shared/{components-61ckf42z.js → components-zfnmn5d4.js} +64 -64
- package/dist/shared/{components-m5br529r.js → components-zrkzcayz.js} +2 -2
- package/dist/shared/{components-csxz9f52.js → components-zx6b6yby.js} +4 -4
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/dist/shared/components-74c20v2f.js +0 -32
- package/dist/shared/components-8hzbsfbd.js +0 -123
- package/dist/shared/components-dphg9gjr.js +0 -42
- package/dist/shared/components-kpbcms10.js +0 -9
- /package/dist/shared/{components-5vxtcp88.js → components-3ky44908.js} +0 -0
- /package/dist/shared/{components-4xxddc44.js → components-c6s6b43g.js} +0 -0
- /package/dist/shared/{components-nnnd2xef.js → components-men63rwj.js} +0 -0
- /package/dist/shared/{components-de8xsm9y.js → components-mhd39z7x.js} +0 -0
- /package/dist/shared/{components-dg0w8g5p.js → components-n7mjr357.js} +0 -0
- /package/dist/shared/{components-jw16snbn.js → components-vynjtrk6.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Tooltip
|
|
3
|
-
} from "./components-gndm6am4.js";
|
|
4
1
|
import {
|
|
5
2
|
useIcon
|
|
6
|
-
} from "./components-
|
|
3
|
+
} from "./components-zrkzcayz.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./components-
|
|
5
|
+
useReduceMotion
|
|
6
|
+
} from "./components-men63rwj.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./components-
|
|
8
|
+
GooFilter
|
|
9
|
+
} from "./components-0q0sqfh4.js";
|
|
13
10
|
import {
|
|
14
11
|
GOO_BLUR_RATIO
|
|
15
|
-
} from "./components-
|
|
12
|
+
} from "./components-hqeq3w9q.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./components-
|
|
14
|
+
cn2
|
|
15
|
+
} from "./components-ezxhrmer.js";
|
|
16
|
+
import {
|
|
17
|
+
useShape
|
|
18
|
+
} from "./components-cv16mryv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./components-
|
|
20
|
+
useSize2
|
|
21
|
+
} from "./components-0sn7ypjw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./components-
|
|
23
|
+
Tooltip2
|
|
24
|
+
} from "./components-ng72k97e.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./components-
|
|
26
|
+
spring2
|
|
27
|
+
} from "./components-1v7rxytx.js";
|
|
28
28
|
|
|
29
29
|
// components/inputs/input-copy/index.tsx
|
|
30
30
|
import { AnimatePresence, animate, motion, useMotionValue } from "motion/react";
|
|
@@ -53,7 +53,7 @@ var CHECK_STROKE = {
|
|
|
53
53
|
icon: "[&_svg]:stroke-[1.5] [&_svg]:transition-[stroke-width] [&_svg]:duration-fast group-hover:[&_svg]:stroke-[2]",
|
|
54
54
|
button: "[&_svg]:stroke-[2]"
|
|
55
55
|
};
|
|
56
|
-
var { exit: _exit, ...enter } =
|
|
56
|
+
var { exit: _exit, ...enter } = spring2.slow;
|
|
57
57
|
function placeSheet(el, a, b, p) {
|
|
58
58
|
if (!el)
|
|
59
59
|
return;
|
|
@@ -91,7 +91,7 @@ function CopyDisc({ status }) {
|
|
|
91
91
|
progress.jump(target);
|
|
92
92
|
return render(target);
|
|
93
93
|
}
|
|
94
|
-
const controls = animate(progress, target, { ...on ? enter :
|
|
94
|
+
const controls = animate(progress, target, { ...on ? enter : spring2.slow.exit, onUpdate: render });
|
|
95
95
|
return () => controls.stop();
|
|
96
96
|
}, [on, reduced]);
|
|
97
97
|
return /* @__PURE__ */ jsxs("span", {
|
|
@@ -110,11 +110,11 @@ function CopyDisc({ status }) {
|
|
|
110
110
|
children: [
|
|
111
111
|
/* @__PURE__ */ jsx("span", {
|
|
112
112
|
ref: back,
|
|
113
|
-
className:
|
|
113
|
+
className: cn2("absolute", TONE_BG[tone.current])
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ jsx("span", {
|
|
116
116
|
ref: front,
|
|
117
|
-
className:
|
|
117
|
+
className: cn2("absolute", TONE_BG[tone.current])
|
|
118
118
|
})
|
|
119
119
|
]
|
|
120
120
|
})
|
|
@@ -140,8 +140,8 @@ function CopyGlyph({
|
|
|
140
140
|
children: status === "idle" ? /* @__PURE__ */ jsx(motion.span, {
|
|
141
141
|
initial: { opacity: 0, scale: 0.8 },
|
|
142
142
|
animate: { opacity: 1, scale: 1 },
|
|
143
|
-
exit: { opacity: 0, scale: 0.8, transition:
|
|
144
|
-
transition:
|
|
143
|
+
exit: { opacity: 0, scale: 0.8, transition: spring2.fast.exit },
|
|
144
|
+
transition: spring2.fast,
|
|
145
145
|
className: "absolute inset-0 flex items-center justify-center",
|
|
146
146
|
children: /* @__PURE__ */ jsx(CopyIcon, {
|
|
147
147
|
size: 14,
|
|
@@ -151,9 +151,9 @@ function CopyGlyph({
|
|
|
151
151
|
}, "copy") : /* @__PURE__ */ jsx(motion.span, {
|
|
152
152
|
initial: { opacity: 0, scale: 0.6 },
|
|
153
153
|
animate: { opacity: 1, scale: 1 },
|
|
154
|
-
exit: { opacity: 0, scale: 0.8, transition:
|
|
155
|
-
transition:
|
|
156
|
-
className:
|
|
154
|
+
exit: { opacity: 0, scale: 0.8, transition: spring2.fast.exit },
|
|
155
|
+
transition: spring2.fast,
|
|
156
|
+
className: cn2("absolute inset-0 flex items-center justify-center", TONE_TEXT[status], CHECK_STROKE[variant]),
|
|
157
157
|
children: /* @__PURE__ */ jsx("svg", {
|
|
158
158
|
width: 14,
|
|
159
159
|
height: 14,
|
|
@@ -167,7 +167,7 @@ function CopyGlyph({
|
|
|
167
167
|
initial: { pathLength: 0 },
|
|
168
168
|
animate: {
|
|
169
169
|
pathLength: 1,
|
|
170
|
-
transition: { duration:
|
|
170
|
+
transition: { duration: spring2.fast.duration, ease: "easeOut" }
|
|
171
171
|
}
|
|
172
172
|
})
|
|
173
173
|
})
|
|
@@ -176,7 +176,7 @@ function CopyGlyph({
|
|
|
176
176
|
]
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
var
|
|
179
|
+
var InputCopy2 = forwardRef(({ value, label, onCopy, disabled, variant = "icon", align = "right", size, className, ...props }, ref) => {
|
|
180
180
|
const CopyIcon = useIcon("copy");
|
|
181
181
|
const [status, setStatus] = useState("idle");
|
|
182
182
|
const [copyCount, setCopyCount] = useState(0);
|
|
@@ -185,7 +185,7 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
185
185
|
const tooltipVisibleRef = useRef(false);
|
|
186
186
|
const tooltipWasVisibleRef = useRef(false);
|
|
187
187
|
const shape = useShape();
|
|
188
|
-
const sizeClasses =
|
|
188
|
+
const sizeClasses = useSize2(size);
|
|
189
189
|
const rowPy = sizeClasses.variant === "compact" ? "py-1" : "py-2";
|
|
190
190
|
const generatedId = useId();
|
|
191
191
|
const labelId = label ? `${generatedId}-label` : undefined;
|
|
@@ -247,7 +247,7 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
247
247
|
setTooltipState((prev) => prev === "copied" ? "suppressed" : prev);
|
|
248
248
|
}, []);
|
|
249
249
|
const actionElement = variant === "button" ? /* @__PURE__ */ jsxs("span", {
|
|
250
|
-
className:
|
|
250
|
+
className: cn2("shrink-0 flex items-center gap-1.5 px-1.5 transition-colors duration-fast", rowPy, sizeClasses.text, "text-muted-foreground group-hover:text-foreground", "weight-normal"),
|
|
251
251
|
children: [
|
|
252
252
|
/* @__PURE__ */ jsx(CopyGlyph, {
|
|
253
253
|
status,
|
|
@@ -267,11 +267,11 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
267
267
|
mode: "wait",
|
|
268
268
|
initial: false,
|
|
269
269
|
children: /* @__PURE__ */ jsx(motion.span, {
|
|
270
|
-
className:
|
|
270
|
+
className: cn2("col-start-1 row-start-1", status === "error" && "text-destructive"),
|
|
271
271
|
initial: { opacity: 0, scale: 0.6 },
|
|
272
272
|
animate: { opacity: 1, scale: 1 },
|
|
273
|
-
exit: { opacity: 0, scale: 0.8, transition:
|
|
274
|
-
transition:
|
|
273
|
+
exit: { opacity: 0, scale: 0.8, transition: spring2.fast.exit },
|
|
274
|
+
transition: spring2.fast,
|
|
275
275
|
children: status === "copied" ? "Copied" : status === "error" ? "Failed" : "Copy"
|
|
276
276
|
}, status)
|
|
277
277
|
})
|
|
@@ -279,7 +279,7 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
279
279
|
})
|
|
280
280
|
]
|
|
281
281
|
}) : /* @__PURE__ */ jsx("span", {
|
|
282
|
-
className:
|
|
282
|
+
className: cn2("shrink-0 flex px-1.5 transition-colors duration-fast", rowPy, "text-muted-foreground group-hover:text-foreground"),
|
|
283
283
|
children: /* @__PURE__ */ jsx(CopyGlyph, {
|
|
284
284
|
status,
|
|
285
285
|
copyCount,
|
|
@@ -288,7 +288,7 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
288
288
|
})
|
|
289
289
|
});
|
|
290
290
|
const valueElement = /* @__PURE__ */ jsx("span", {
|
|
291
|
-
className:
|
|
291
|
+
className: cn2("flex-1 min-w-0 text-left text-foreground font-mono select-none truncate", sizeClasses.text, rowPy, align === "left" ? "pl-1" : "pl-0", "weight-normal"),
|
|
292
292
|
children: /* @__PURE__ */ jsx("mark", {
|
|
293
293
|
className: "bg-transparent text-foreground transition-colors duration-fast group-hover:bg-brand/20 group-hover:text-foreground",
|
|
294
294
|
children: value
|
|
@@ -313,22 +313,22 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
313
313
|
disabled,
|
|
314
314
|
"aria-label": status === "copied" ? "Copied" : status === "error" ? "Copy failed" : label ? "Copy" : "Copy to clipboard",
|
|
315
315
|
"aria-labelledby": label ? `${buttonId} ${labelId}` : undefined,
|
|
316
|
-
className:
|
|
316
|
+
className: cn2("group flex items-center w-full cursor-pointer outline-none transition-all duration-fast", "focus-visible:ring-1 focus-visible:ring-focus-ring", shape.input),
|
|
317
317
|
children: buttonContent
|
|
318
318
|
});
|
|
319
319
|
return /* @__PURE__ */ jsxs("div", {
|
|
320
320
|
ref,
|
|
321
|
-
className:
|
|
321
|
+
className: cn2("flex flex-col gap-0.5", disabled && "opacity-50 pointer-events-none", className),
|
|
322
322
|
onMouseEnter: handleMouseEnter,
|
|
323
323
|
onMouseLeave: handleMouseLeave,
|
|
324
324
|
...props,
|
|
325
325
|
children: [
|
|
326
326
|
label && /* @__PURE__ */ jsx("span", {
|
|
327
327
|
id: labelId,
|
|
328
|
-
className:
|
|
328
|
+
className: cn2("text-muted-foreground", sizeClasses.text, align === "left" ? "pl-1" : "pl-0", "weight-normal"),
|
|
329
329
|
children: label
|
|
330
330
|
}),
|
|
331
|
-
variant === "icon" ? /* @__PURE__ */ jsx(
|
|
331
|
+
variant === "icon" ? /* @__PURE__ */ jsx(Tooltip2, {
|
|
332
332
|
content: tooltipState === "idle" ? "Copy to clipboard" : status === "error" ? "Copy failed" : "Copied",
|
|
333
333
|
delayDuration: 500,
|
|
334
334
|
sideOffset: 2,
|
|
@@ -339,7 +339,7 @@ var InputCopy = forwardRef(({ value, label, onCopy, disabled, variant = "icon",
|
|
|
339
339
|
]
|
|
340
340
|
});
|
|
341
341
|
});
|
|
342
|
-
|
|
343
|
-
var input_copy_default =
|
|
342
|
+
InputCopy2.displayName = "InputCopy";
|
|
343
|
+
var input_copy_default = InputCopy2;
|
|
344
344
|
|
|
345
|
-
export {
|
|
345
|
+
export { InputCopy2, input_copy_default };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ScrollColumn,
|
|
3
2
|
defaultLocale,
|
|
3
|
+
fieldLabel,
|
|
4
4
|
dividedColumns,
|
|
5
|
-
|
|
6
|
-
} from "./components-
|
|
5
|
+
ScrollColumn
|
|
6
|
+
} from "./components-9jvzzvt1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./components-
|
|
8
|
+
cn2
|
|
9
|
+
} from "./components-ezxhrmer.js";
|
|
10
10
|
import {
|
|
11
11
|
useShape
|
|
12
|
-
} from "./components-
|
|
12
|
+
} from "./components-cv16mryv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./components-
|
|
14
|
+
useSize2
|
|
15
|
+
} from "./components-0sn7ypjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./components-
|
|
17
|
+
SizeProvider2
|
|
18
|
+
} from "./components-jjw69c4c.js";
|
|
19
19
|
|
|
20
20
|
// components/inputs/date-time/calendar/index.tsx
|
|
21
21
|
import {
|
|
@@ -42,10 +42,10 @@ function useMonthWindow(start, end, anchor) {
|
|
|
42
42
|
const total = differenceInCalendarMonths(end, start) + 1;
|
|
43
43
|
const count = Math.min(WINDOW, total);
|
|
44
44
|
const startTime = start.getTime();
|
|
45
|
-
const clamp = useCallback((
|
|
45
|
+
const clamp = useCallback((first) => {
|
|
46
46
|
const from = new Date(startTime);
|
|
47
47
|
const last = addMonths(from, total - count);
|
|
48
|
-
return
|
|
48
|
+
return first < from ? from : first > last ? last : startOfMonth(first);
|
|
49
49
|
}, [startTime, total, count]);
|
|
50
50
|
const [first, setFirst] = useState(() => clamp(addMonths(startOfMonth(anchor), -Math.floor(WINDOW / 2))));
|
|
51
51
|
const [visible, setVisible] = useState([]);
|
|
@@ -166,7 +166,7 @@ function Day({ day: _, modifiers, className, ...props }) {
|
|
|
166
166
|
const end = modifiers.range_end && !modifiers.range_start;
|
|
167
167
|
return /* @__PURE__ */ jsx("td", {
|
|
168
168
|
...props,
|
|
169
|
-
className:
|
|
169
|
+
className: cn2("relative p-0", !modifiers.hidden && modifiers.range_middle && "bg-active", !modifiers.hidden && modifiers.preview && !modifiers.selected && "bg-hover", (start || end) && "before:absolute before:inset-y-0 before:bg-active", start && "before:start-1/2 before:end-0", end && "before:start-0 before:end-1/2", className)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
function DayButton({ day: _, modifiers, className, ...props }) {
|
|
@@ -176,15 +176,15 @@ function DayButton({ day: _, modifiers, className, ...props }) {
|
|
|
176
176
|
ref.current?.focus();
|
|
177
177
|
}, [modifiers.focused]);
|
|
178
178
|
const shape = useShape();
|
|
179
|
-
const sizeClasses =
|
|
179
|
+
const sizeClasses = useSize2();
|
|
180
180
|
const pill = modifiers.selected && !modifiers.range_middle;
|
|
181
181
|
return /* @__PURE__ */ jsx("button", {
|
|
182
182
|
ref,
|
|
183
183
|
...props,
|
|
184
|
-
className:
|
|
184
|
+
className: cn2("relative flex items-center justify-center tabular-nums outline-none cursor-pointer", "transition-[color,background-color] duration-fast focus-visible:ring-1 focus-visible:ring-focus-ring", "disabled:opacity-50 disabled:cursor-default", sizeClasses.variant === "compact" ? "size-7" : "size-9", sizeClasses.text, shape.item, modifiers.weekend && "text-muted-foreground", modifiers.today && "after:absolute after:bottom-1 after:left-1/2 after:size-1 after:-translate-x-1/2 after:rounded-full after:bg-current", pill ? "bg-foreground text-background weight-semibold hover:bg-foreground/90" : "enabled:hover:bg-hover", className)
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Calendar2({
|
|
188
188
|
locale = defaultLocale,
|
|
189
189
|
size,
|
|
190
190
|
columnsSide = "end",
|
|
@@ -193,7 +193,7 @@ function Calendar({
|
|
|
193
193
|
className,
|
|
194
194
|
...props
|
|
195
195
|
}) {
|
|
196
|
-
const sizeClasses =
|
|
196
|
+
const sizeClasses = useSize2(size);
|
|
197
197
|
const picked = pickedDate(props);
|
|
198
198
|
const today = useMemo(() => new Date, []);
|
|
199
199
|
const start = startOfMonth2(props.startMonth ?? startOfYear(addYears(today, -100)));
|
|
@@ -283,15 +283,15 @@ function Calendar({
|
|
|
283
283
|
const extras = extraColumns?.(orientation);
|
|
284
284
|
const before = [extraColumnsSide === "start" && extras, columnsSide === "start" && [yearColumn, monthColumn]];
|
|
285
285
|
const after = [columnsSide === "end" && [monthColumn, yearColumn], extraColumnsSide === "end" && extras];
|
|
286
|
-
const side = (place) => wide ?
|
|
286
|
+
const side = (place) => wide ? cn2(dividedColumns, "h-full shrink-0 border-border", place === "start" ? "border-e" : "border-s") : "order-first flex w-full flex-col [&>*]:border-b [&>*]:border-border";
|
|
287
287
|
const grid = /* @__PURE__ */ jsxs("div", {
|
|
288
|
-
className:
|
|
288
|
+
className: cn2("flex min-h-0 shrink-0 flex-col", wide ? "h-full" : "flex-1 self-center"),
|
|
289
289
|
children: [
|
|
290
290
|
/* @__PURE__ */ jsx("div", {
|
|
291
291
|
"aria-hidden": true,
|
|
292
292
|
className: "flex border-b border-border px-1 pb-1",
|
|
293
293
|
children: weekdays.map((day) => /* @__PURE__ */ jsx("span", {
|
|
294
|
-
className:
|
|
294
|
+
className: cn2("flex items-center justify-center text-caption", sizeClasses.variant === "compact" ? "w-7" : "w-9", "text-muted-foreground"),
|
|
295
295
|
children: format2(day, "EEEEEE", { locale })
|
|
296
296
|
}, day.getDay()))
|
|
297
297
|
}),
|
|
@@ -327,7 +327,7 @@ function Calendar({
|
|
|
327
327
|
classNames: {
|
|
328
328
|
months: "flex flex-col",
|
|
329
329
|
month: "pb-2",
|
|
330
|
-
month_caption:
|
|
330
|
+
month_caption: cn2("px-2 pt-2 pb-1 text-subtitle weight-semibold", sizeClasses.variant === "compact" && "text-subtitle-compact"),
|
|
331
331
|
month_grid: "border-collapse",
|
|
332
332
|
...props.classNames
|
|
333
333
|
}
|
|
@@ -338,7 +338,7 @@ function Calendar({
|
|
|
338
338
|
const content = /* @__PURE__ */ jsxs("div", {
|
|
339
339
|
ref: rootRef,
|
|
340
340
|
dir: props.dir,
|
|
341
|
-
className:
|
|
341
|
+
className: cn2("flex w-max max-w-full overflow-hidden", wide ? "h-80 flex-row" : "h-[min(30rem,65dvh)] flex-col", className),
|
|
342
342
|
children: [
|
|
343
343
|
before.some(Boolean) ? /* @__PURE__ */ jsx("div", {
|
|
344
344
|
className: side("start"),
|
|
@@ -351,11 +351,11 @@ function Calendar({
|
|
|
351
351
|
}) : null
|
|
352
352
|
]
|
|
353
353
|
});
|
|
354
|
-
return size ? /* @__PURE__ */ jsx(
|
|
354
|
+
return size ? /* @__PURE__ */ jsx(SizeProvider2, {
|
|
355
355
|
size,
|
|
356
356
|
children: content
|
|
357
357
|
}) : content;
|
|
358
358
|
}
|
|
359
|
-
var calendar_default =
|
|
359
|
+
var calendar_default = Calendar2;
|
|
360
360
|
|
|
361
|
-
export {
|
|
361
|
+
export { Calendar2, calendar_default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// lib/springs.ts
|
|
2
|
-
var
|
|
2
|
+
var spring2 = {
|
|
3
3
|
fast: {
|
|
4
4
|
type: "spring",
|
|
5
5
|
duration: 0.08,
|
|
@@ -25,6 +25,6 @@ var spring = {
|
|
|
25
25
|
exit: { type: "spring", visualDuration: 0.2, bounce: 0 }
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
var
|
|
28
|
+
var exitFallbackMs2 = (tier) => Math.round(("duration" in tier.exit ? tier.exit.duration : tier.exit.visualDuration) * 1000) + 100;
|
|
29
29
|
|
|
30
|
-
export {
|
|
30
|
+
export { spring2, exitFallbackMs2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
MenuItem
|
|
6
|
-
} from "./components-40j34hdb.js";
|
|
7
|
-
import {
|
|
8
|
-
SizeProvider
|
|
9
|
-
} from "./components-vb033rns.js";
|
|
2
|
+
useMorphOrigin,
|
|
3
|
+
useMorph
|
|
4
|
+
} from "./components-hqeq3w9q.js";
|
|
10
5
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
popupViewportClass
|
|
14
|
-
} from "./components-jw16snbn.js";
|
|
6
|
+
cn2
|
|
7
|
+
} from "./components-ezxhrmer.js";
|
|
15
8
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./components-
|
|
18
|
-
import {
|
|
19
|
-
SURFACE_BG,
|
|
20
|
-
SURFACE_SHADOW,
|
|
21
|
-
SurfaceProvider,
|
|
22
|
-
useSurface
|
|
23
|
-
} from "./components-csxz9f52.js";
|
|
9
|
+
FluidHoverHighlight2
|
|
10
|
+
} from "./components-kvr7f9hy.js";
|
|
24
11
|
import {
|
|
25
12
|
MorphSurface
|
|
26
|
-
} from "./components-
|
|
13
|
+
} from "./components-0q0sqfh4.js";
|
|
27
14
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./components-
|
|
15
|
+
shapeMap
|
|
16
|
+
} from "./components-cv16mryv.js";
|
|
30
17
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./components-
|
|
18
|
+
useSize2
|
|
19
|
+
} from "./components-0sn7ypjw.js";
|
|
33
20
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
SURFACE_BG,
|
|
22
|
+
SURFACE_SHADOW,
|
|
23
|
+
useSurface2,
|
|
24
|
+
SurfaceProvider2
|
|
25
|
+
} from "./components-zx6b6yby.js";
|
|
36
26
|
import {
|
|
37
27
|
useControllableState
|
|
38
|
-
} from "./components-
|
|
28
|
+
} from "./components-n7mjr357.js";
|
|
29
|
+
import {
|
|
30
|
+
useFluidHover2
|
|
31
|
+
} from "./components-59efxjd9.js";
|
|
39
32
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./components-7nww01w4.js";
|
|
33
|
+
ScrollArea2
|
|
34
|
+
} from "./components-hawvy2qz.js";
|
|
43
35
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./components-
|
|
36
|
+
SizeProvider2
|
|
37
|
+
} from "./components-jjw69c4c.js";
|
|
46
38
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
DropdownContext,
|
|
40
|
+
MenuItem2,
|
|
41
|
+
DropdownLabel2,
|
|
42
|
+
DropdownSeparator2
|
|
43
|
+
} from "./components-nh8tma1n.js";
|
|
44
|
+
import {
|
|
45
|
+
popupScrollAreaClass,
|
|
46
|
+
popupViewportClass,
|
|
47
|
+
isDisabledRow
|
|
48
|
+
} from "./components-vynjtrk6.js";
|
|
49
49
|
|
|
50
50
|
// components/overlays/context-menu/index.tsx
|
|
51
51
|
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
@@ -64,11 +64,11 @@ var ContextMenuContext = createContext({ open: false, origin: { current: {} } })
|
|
|
64
64
|
var ShortcutContext = createContext(undefined);
|
|
65
65
|
function RowShortcut() {
|
|
66
66
|
const shortcut = useContext(ShortcutContext);
|
|
67
|
-
const compact =
|
|
67
|
+
const compact = useSize2().variant === "compact";
|
|
68
68
|
if (!shortcut)
|
|
69
69
|
return null;
|
|
70
70
|
return /* @__PURE__ */ jsx("kbd", {
|
|
71
|
-
className:
|
|
71
|
+
className: cn2("shrink-0 pl-4 font-sans text-muted-foreground", compact ? "text-caption-compact" : "text-caption"),
|
|
72
72
|
children: shortcut
|
|
73
73
|
});
|
|
74
74
|
}
|
|
@@ -106,21 +106,21 @@ function renderMenuItem({
|
|
|
106
106
|
]
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var ContextMenuItem2 = forwardRef(({ shortcut, ...props }, ref) => /* @__PURE__ */ jsx(ShortcutContext.Provider, {
|
|
110
110
|
value: shortcut,
|
|
111
|
-
children: /* @__PURE__ */ jsx(
|
|
111
|
+
children: /* @__PURE__ */ jsx(MenuItem2, {
|
|
112
112
|
ref,
|
|
113
113
|
...props
|
|
114
114
|
})
|
|
115
115
|
}));
|
|
116
|
-
|
|
117
|
-
var
|
|
116
|
+
ContextMenuItem2.displayName = "ContextMenuItem";
|
|
117
|
+
var ContextMenuContent2 = forwardRef(({ from = "pointer", effect, hideSource, tier = "moderate", container, className, children }, ref) => {
|
|
118
118
|
const { open, origin } = useContext(ContextMenuContext);
|
|
119
119
|
const morph = useMorph(open, origin, { from, effect, hideSource, tier });
|
|
120
120
|
useImperativeHandle(ref, () => morph.popup, [morph.popup]);
|
|
121
|
-
const level = Math.min(
|
|
121
|
+
const level = Math.min(useSurface2() + 2, 8);
|
|
122
122
|
const containerRef = useRef(null);
|
|
123
|
-
const hover =
|
|
123
|
+
const hover = useFluidHover2(containerRef, { isItemDisabled: isDisabledRow });
|
|
124
124
|
const { activeIndex, setActiveIndex, handlers, registerItem, remeasure } = hover;
|
|
125
125
|
useEffect(() => {
|
|
126
126
|
if (open)
|
|
@@ -149,22 +149,22 @@ var ContextMenuContent = forwardRef(({ from = "pointer", effect, hideSource, tie
|
|
|
149
149
|
setActiveIndex(null);
|
|
150
150
|
},
|
|
151
151
|
className: "relative select-none outline-none",
|
|
152
|
-
children: /* @__PURE__ */ jsx(
|
|
152
|
+
children: /* @__PURE__ */ jsx(SurfaceProvider2, {
|
|
153
153
|
value: level,
|
|
154
154
|
children: /* @__PURE__ */ jsx(MorphSurface, {
|
|
155
155
|
morph,
|
|
156
156
|
bg: SURFACE_BG[level],
|
|
157
157
|
shadow: SURFACE_SHADOW[3],
|
|
158
158
|
radius: shape.container,
|
|
159
|
-
className:
|
|
160
|
-
children: /* @__PURE__ */ jsx(
|
|
159
|
+
className: cn2("flex w-56 max-h-[min(480px,var(--available-height))] flex-col overflow-hidden", shape.container, className),
|
|
160
|
+
children: /* @__PURE__ */ jsx(ScrollArea2, {
|
|
161
161
|
className: popupScrollAreaClass,
|
|
162
|
-
viewportClassName:
|
|
162
|
+
viewportClassName: cn2(popupViewportClass, "scroll-fade"),
|
|
163
163
|
children: /* @__PURE__ */ jsxs("div", {
|
|
164
164
|
ref: containerRef,
|
|
165
165
|
className: "relative flex flex-col p-1",
|
|
166
166
|
children: [
|
|
167
|
-
/* @__PURE__ */ jsx(
|
|
167
|
+
/* @__PURE__ */ jsx(FluidHoverHighlight2, {
|
|
168
168
|
hover,
|
|
169
169
|
hidden: !open,
|
|
170
170
|
className: shape.bg
|
|
@@ -182,8 +182,8 @@ var ContextMenuContent = forwardRef(({ from = "pointer", effect, hideSource, tie
|
|
|
182
182
|
})
|
|
183
183
|
});
|
|
184
184
|
});
|
|
185
|
-
|
|
186
|
-
function
|
|
185
|
+
ContextMenuContent2.displayName = "ContextMenuContent";
|
|
186
|
+
function ContextMenu2({ open, defaultOpen = false, onOpenChange, disabled = false, size, children }) {
|
|
187
187
|
const [current, setCurrent] = useControllableState(open, defaultOpen, onOpenChange);
|
|
188
188
|
const { origin, capture } = useMorphOrigin();
|
|
189
189
|
const ctx = useMemo(() => ({ open: current, origin }), [current, origin]);
|
|
@@ -200,16 +200,16 @@ function ContextMenu({ open, defaultOpen = false, onOpenChange, disabled = false
|
|
|
200
200
|
children
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
|
-
return size ? /* @__PURE__ */ jsx(
|
|
203
|
+
return size ? /* @__PURE__ */ jsx(SizeProvider2, {
|
|
204
204
|
size,
|
|
205
205
|
children: root
|
|
206
206
|
}) : root;
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
var context_menu_default =
|
|
208
|
+
ContextMenu2.Trigger = ContextMenuPrimitive.Trigger;
|
|
209
|
+
ContextMenu2.Content = ContextMenuContent2;
|
|
210
|
+
ContextMenu2.Item = ContextMenuItem2;
|
|
211
|
+
ContextMenu2.Label = DropdownLabel2;
|
|
212
|
+
ContextMenu2.Separator = DropdownSeparator2;
|
|
213
|
+
var context_menu_default = ContextMenu2;
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { ContextMenuItem2, ContextMenuContent2, ContextMenu2, context_menu_default };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./components-
|
|
4
|
-
import {
|
|
5
|
-
SURFACE_BG,
|
|
6
|
-
SURFACE_SHADOW,
|
|
7
|
-
SurfaceProvider,
|
|
8
|
-
useSurface
|
|
9
|
-
} from "./components-csxz9f52.js";
|
|
2
|
+
useShape
|
|
3
|
+
} from "./components-cv16mryv.js";
|
|
10
4
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./components-jxgznftn.js";
|
|
5
|
+
cn2
|
|
6
|
+
} from "./components-ezxhrmer.js";
|
|
14
7
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./components-
|
|
8
|
+
button_default
|
|
9
|
+
} from "./components-b2wyq2cq.js";
|
|
17
10
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
MorphPart2,
|
|
12
|
+
MorphSurface
|
|
13
|
+
} from "./components-0q0sqfh4.js";
|
|
20
14
|
import {
|
|
21
15
|
opensInPlace,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./components-
|
|
16
|
+
useMorphOrigin,
|
|
17
|
+
useMorph
|
|
18
|
+
} from "./components-hqeq3w9q.js";
|
|
25
19
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
SURFACE_BG,
|
|
21
|
+
SURFACE_SHADOW,
|
|
22
|
+
useSurface2,
|
|
23
|
+
SurfaceProvider2
|
|
24
|
+
} from "./components-zx6b6yby.js";
|
|
25
|
+
import {
|
|
26
|
+
useControllableState
|
|
27
|
+
} from "./components-n7mjr357.js";
|
|
28
28
|
|
|
29
29
|
// primitives/morph/index.tsx
|
|
30
30
|
import { useState } from "react";
|
|
31
31
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
32
|
-
function
|
|
32
|
+
function Morph2({
|
|
33
33
|
from = "trigger",
|
|
34
34
|
effect = "goo",
|
|
35
35
|
tier = "slow",
|
|
@@ -48,10 +48,10 @@ function Morph({
|
|
|
48
48
|
const { origin, capture } = useMorphOrigin();
|
|
49
49
|
const morph = useMorph(shown, origin, { from, effect, tier, hideSource }, () => setMounted(false));
|
|
50
50
|
const shape = useShape();
|
|
51
|
-
const level = Math.min(
|
|
51
|
+
const level = Math.min(useSurface2() + 2, 8);
|
|
52
52
|
const inPlace = opensInPlace({ effect, hideSource });
|
|
53
53
|
return /* @__PURE__ */ jsxs("div", {
|
|
54
|
-
className:
|
|
54
|
+
className: cn2("relative inline-flex flex-col items-center", className),
|
|
55
55
|
children: [
|
|
56
56
|
/* @__PURE__ */ jsx(button_default, {
|
|
57
57
|
variant: "secondary",
|
|
@@ -67,7 +67,7 @@ function Morph({
|
|
|
67
67
|
ref: morph.popupRef,
|
|
68
68
|
className: inPlace ? "absolute top-0 left-0 z-10" : "absolute top-full left-1/2 z-10 mt-3 -translate-x-1/2",
|
|
69
69
|
onClick: inPlace ? () => setShown(false) : undefined,
|
|
70
|
-
children: /* @__PURE__ */ jsx(
|
|
70
|
+
children: /* @__PURE__ */ jsx(SurfaceProvider2, {
|
|
71
71
|
value: level,
|
|
72
72
|
children: /* @__PURE__ */ jsx(MorphSurface, {
|
|
73
73
|
morph,
|
|
@@ -82,5 +82,5 @@ function Morph({
|
|
|
82
82
|
]
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
export {
|
|
85
|
+
Morph2.Part = MorphPart2;
|
|
86
|
+
export { Morph2 };
|