@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,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
fieldVariants,
|
|
3
|
+
fieldIconClasses
|
|
4
|
+
} from "./components-mhd39z7x.js";
|
|
4
5
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./components-
|
|
6
|
+
useIcon
|
|
7
|
+
} from "./components-zrkzcayz.js";
|
|
7
8
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./components-
|
|
9
|
+
MorphSurface
|
|
10
|
+
} from "./components-0q0sqfh4.js";
|
|
10
11
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
opensInPlace,
|
|
13
|
+
inPlaceOffset,
|
|
14
|
+
useMorphOrigin,
|
|
15
|
+
useMorph
|
|
16
|
+
} from "./components-hqeq3w9q.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./components-
|
|
18
|
+
cn2
|
|
19
|
+
} from "./components-ezxhrmer.js";
|
|
17
20
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./components-
|
|
21
|
+
useShape
|
|
22
|
+
} from "./components-cv16mryv.js";
|
|
20
23
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./components-
|
|
24
|
+
useSize2
|
|
25
|
+
} from "./components-0sn7ypjw.js";
|
|
23
26
|
import {
|
|
24
27
|
SURFACE_BG,
|
|
25
28
|
SURFACE_SHADOW,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./components-
|
|
29
|
+
useSurface2,
|
|
30
|
+
SurfaceProvider2
|
|
31
|
+
} from "./components-zx6b6yby.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./components-
|
|
33
|
+
useControllableState
|
|
34
|
+
} from "./components-n7mjr357.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./components-
|
|
36
|
+
useIsMobile
|
|
37
|
+
} from "./components-c6s6b43g.js";
|
|
35
38
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./components-
|
|
39
|
+
SizeProvider2
|
|
40
|
+
} from "./components-jjw69c4c.js";
|
|
38
41
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
useMorph,
|
|
42
|
-
useMorphOrigin
|
|
43
|
-
} from "./components-7nww01w4.js";
|
|
42
|
+
button_default
|
|
43
|
+
} from "./components-b2wyq2cq.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./components-
|
|
45
|
+
sheet_default
|
|
46
|
+
} from "./components-rr7a6ja9.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./components-
|
|
48
|
+
input_default
|
|
49
|
+
} from "./components-gvr9w41t.js";
|
|
50
50
|
|
|
51
51
|
// components/inputs/date-time/picker-shell.tsx
|
|
52
52
|
import { Popover } from "@base-ui/react/popover";
|
|
@@ -64,7 +64,7 @@ function PickerShell({ open: openProp, defaultOpen = false, onOpenChange, size,
|
|
|
64
64
|
setOpen,
|
|
65
65
|
...props
|
|
66
66
|
});
|
|
67
|
-
return size ? /* @__PURE__ */ jsx(
|
|
67
|
+
return size ? /* @__PURE__ */ jsx(SizeProvider2, {
|
|
68
68
|
size,
|
|
69
69
|
children: shell
|
|
70
70
|
}) : shell;
|
|
@@ -72,7 +72,7 @@ function PickerShell({ open: openProp, defaultOpen = false, onOpenChange, size,
|
|
|
72
72
|
var PickerField = forwardRef(({ icon, display, placeholder, invalid, disabled, id, className, ...props }, ref) => {
|
|
73
73
|
const Icon = useIcon(icon);
|
|
74
74
|
const shape = useShape();
|
|
75
|
-
const sizeClasses =
|
|
75
|
+
const sizeClasses = useSize2();
|
|
76
76
|
const compact = sizeClasses.variant === "compact";
|
|
77
77
|
return /* @__PURE__ */ jsxs("button", {
|
|
78
78
|
ref,
|
|
@@ -83,7 +83,7 @@ var PickerField = forwardRef(({ icon, display, placeholder, invalid, disabled, i
|
|
|
83
83
|
"data-invalid": invalid || undefined,
|
|
84
84
|
"data-disabled": disabled || undefined,
|
|
85
85
|
...props,
|
|
86
|
-
className:
|
|
86
|
+
className: cn2(fieldVariants({ variant: "bordered" }), "flex w-full min-w-0 items-center text-left cursor-pointer outline-none focus-visible:ring-focus-ring", sizeClasses.gap, sizeClasses.control, compact ? "px-2" : "px-2.5", shape.input, className),
|
|
87
87
|
children: [
|
|
88
88
|
/* @__PURE__ */ jsx(Icon, {
|
|
89
89
|
size: sizeClasses.icon,
|
|
@@ -91,7 +91,7 @@ var PickerField = forwardRef(({ icon, display, placeholder, invalid, disabled, i
|
|
|
91
91
|
className: fieldIconClasses
|
|
92
92
|
}),
|
|
93
93
|
/* @__PURE__ */ jsx("span", {
|
|
94
|
-
className:
|
|
94
|
+
className: cn2("flex-1 truncate", sizeClasses.text, display ? "text-foreground" : "text-muted-foreground"),
|
|
95
95
|
children: display || placeholder
|
|
96
96
|
})
|
|
97
97
|
]
|
|
@@ -104,7 +104,7 @@ function PanelHeader({
|
|
|
104
104
|
close
|
|
105
105
|
}) {
|
|
106
106
|
const X = useIcon("x");
|
|
107
|
-
const sizeClasses =
|
|
107
|
+
const sizeClasses = useSize2();
|
|
108
108
|
return /* @__PURE__ */ jsxs("div", {
|
|
109
109
|
className: "flex items-center gap-1 border-b border-border pb-1",
|
|
110
110
|
children: [
|
|
@@ -143,7 +143,7 @@ function PickerPopover({
|
|
|
143
143
|
const { origin, capture } = useMorphOrigin();
|
|
144
144
|
const morph = useMorph(open, origin, { from, effect, hideSource, tier });
|
|
145
145
|
const shape = useShape();
|
|
146
|
-
const level = Math.min(
|
|
146
|
+
const level = Math.min(useSurface2() + 2, 8);
|
|
147
147
|
const handleOpenChange = useCallback((next, details) => {
|
|
148
148
|
if (next)
|
|
149
149
|
capture(details);
|
|
@@ -170,14 +170,14 @@ function PickerPopover({
|
|
|
170
170
|
ref: morph.popupRef,
|
|
171
171
|
initialFocus,
|
|
172
172
|
className: "relative outline-none",
|
|
173
|
-
children: /* @__PURE__ */ jsx(
|
|
173
|
+
children: /* @__PURE__ */ jsx(SurfaceProvider2, {
|
|
174
174
|
value: level,
|
|
175
175
|
children: /* @__PURE__ */ jsx(MorphSurface, {
|
|
176
176
|
morph,
|
|
177
177
|
bg: SURFACE_BG[level],
|
|
178
178
|
shadow: SURFACE_SHADOW[3],
|
|
179
179
|
radius: shape.container,
|
|
180
|
-
className:
|
|
180
|
+
className: cn2("flex max-w-[calc(100vw-1rem)] flex-col gap-1 p-1", popupClassName),
|
|
181
181
|
children: /* @__PURE__ */ jsxs("div", {
|
|
182
182
|
dir,
|
|
183
183
|
className: "flex min-h-0 flex-col gap-1",
|
|
@@ -242,7 +242,7 @@ var PickerInput = forwardRef(({ formatted, onText, onEnter, onFocus, onBlur, onK
|
|
|
242
242
|
return /* @__PURE__ */ jsx(input_default, {
|
|
243
243
|
ref,
|
|
244
244
|
...props,
|
|
245
|
-
className:
|
|
245
|
+
className: cn2("hover:ring-transparent focus-within:ring-transparent data-[active]:ring-transparent", className),
|
|
246
246
|
value: draft ?? formatted,
|
|
247
247
|
invalid,
|
|
248
248
|
onChange: (text) => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useShape
|
|
3
|
-
} from "./components-7zp99w5d.js";
|
|
4
1
|
import {
|
|
5
2
|
useReduceMotion
|
|
6
|
-
} from "./components-
|
|
3
|
+
} from "./components-men63rwj.js";
|
|
4
|
+
import {
|
|
5
|
+
useShape
|
|
6
|
+
} from "./components-cv16mryv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./components-
|
|
8
|
+
useSizeVariant2
|
|
9
|
+
} from "./components-0sn7ypjw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./components-
|
|
11
|
+
cn2
|
|
12
|
+
} from "./components-ezxhrmer.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./components-
|
|
14
|
+
spring2
|
|
15
|
+
} from "./components-1v7rxytx.js";
|
|
16
16
|
|
|
17
17
|
// components/badge/index.tsx
|
|
18
18
|
import { cva } from "class-variance-authority";
|
|
19
19
|
import { AnimatePresence, animate, motion } from "motion/react";
|
|
20
20
|
import { forwardRef, useLayoutEffect, useRef } from "react";
|
|
21
21
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
|
-
var
|
|
22
|
+
var badgeColors2 = {
|
|
23
23
|
gray: "var(--badge-gray)",
|
|
24
24
|
red: "var(--badge-red)",
|
|
25
25
|
orange: "var(--badge-orange)",
|
|
@@ -38,7 +38,7 @@ var badgeColors = {
|
|
|
38
38
|
pink: "var(--badge-pink)",
|
|
39
39
|
rose: "var(--badge-rose)"
|
|
40
40
|
};
|
|
41
|
-
var
|
|
41
|
+
var badgeVariants2 = cva("inline-flex items-center weight-medium whitespace-nowrap", {
|
|
42
42
|
variants: {
|
|
43
43
|
variant: {
|
|
44
44
|
solid: "",
|
|
@@ -59,7 +59,7 @@ var legacySizeAliases = {
|
|
|
59
59
|
md: "default",
|
|
60
60
|
lg: "default"
|
|
61
61
|
};
|
|
62
|
-
var { exit: _exit, ...enter } =
|
|
62
|
+
var { exit: _exit, ...enter } = spring2.moderate;
|
|
63
63
|
function textOf(node) {
|
|
64
64
|
const parts = Array.isArray(node) ? node : [node];
|
|
65
65
|
if (parts.every((part) => typeof part === "string" || typeof part === "number"))
|
|
@@ -109,11 +109,11 @@ function useWidthMorph(change) {
|
|
|
109
109
|
}, [change, reduced]);
|
|
110
110
|
return content;
|
|
111
111
|
}
|
|
112
|
-
var
|
|
112
|
+
var Badge2 = forwardRef(({ className, variant = "solid", size: sizeProp, color = "gray", children, style, ...props }, ref) => {
|
|
113
113
|
const shape = useShape();
|
|
114
|
-
const contextSize =
|
|
114
|
+
const contextSize = useSizeVariant2();
|
|
115
115
|
const size = sizeProp ? legacySizeAliases[sizeProp] ?? sizeProp : contextSize === "compact" ? "compact" : "default";
|
|
116
|
-
const colorValue =
|
|
116
|
+
const colorValue = badgeColors2[color];
|
|
117
117
|
const isSolid = variant === "solid";
|
|
118
118
|
const dotSize = size === "compact" ? 6 : 7;
|
|
119
119
|
const colorStyle = isSolid ? color === "gray" ? { backgroundColor: "var(--accent)", color: "var(--foreground)" } : {
|
|
@@ -125,7 +125,7 @@ var Badge = forwardRef(({ className, variant = "solid", size: sizeProp, color =
|
|
|
125
125
|
const content = useWidthMorph(`${variant} ${size} ${label}`);
|
|
126
126
|
return /* @__PURE__ */ jsx("span", {
|
|
127
127
|
ref,
|
|
128
|
-
className:
|
|
128
|
+
className: cn2(badgeVariants2({ variant, size }), shape.item, "transition-[background-color] duration-moderate", className),
|
|
129
129
|
style: { ...colorStyle, ...style },
|
|
130
130
|
...props,
|
|
131
131
|
children: /* @__PURE__ */ jsxs("span", {
|
|
@@ -144,7 +144,7 @@ var Badge = forwardRef(({ className, variant = "solid", size: sizeProp, color =
|
|
|
144
144
|
},
|
|
145
145
|
initial: { opacity: 0, scale: 0 },
|
|
146
146
|
animate: { opacity: 1, scale: 1 },
|
|
147
|
-
exit: { opacity: 0, scale: 0, transition:
|
|
147
|
+
exit: { opacity: 0, scale: 0, transition: spring2.moderate.exit },
|
|
148
148
|
transition: enter
|
|
149
149
|
}, "dot")
|
|
150
150
|
}),
|
|
@@ -156,7 +156,7 @@ var Badge = forwardRef(({ className, variant = "solid", size: sizeProp, color =
|
|
|
156
156
|
className: "[text-box:trim-both_cap_alphabetic]",
|
|
157
157
|
initial: { opacity: 0, filter: "blur(4px)" },
|
|
158
158
|
animate: { opacity: 1, filter: "blur(0px)", transitionEnd: { filter: "none" } },
|
|
159
|
-
exit: { opacity: 0, filter: "blur(4px)", transition:
|
|
159
|
+
exit: { opacity: 0, filter: "blur(4px)", transition: spring2.moderate.exit },
|
|
160
160
|
transition: enter,
|
|
161
161
|
children
|
|
162
162
|
}, label ?? "label")
|
|
@@ -165,7 +165,7 @@ var Badge = forwardRef(({ className, variant = "solid", size: sizeProp, color =
|
|
|
165
165
|
})
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
|
-
|
|
169
|
-
var badge_default =
|
|
168
|
+
Badge2.displayName = "Badge";
|
|
169
|
+
var badge_default = Badge2;
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { badgeColors2, badgeVariants2, Badge2, badge_default };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useReduceMotion
|
|
3
|
+
} from "./components-men63rwj.js";
|
|
1
4
|
import {
|
|
2
5
|
GooFilter
|
|
3
|
-
} from "./components-
|
|
6
|
+
} from "./components-0q0sqfh4.js";
|
|
4
7
|
import {
|
|
5
8
|
GOO_BLUR_RATIO
|
|
6
|
-
} from "./components-
|
|
7
|
-
import {
|
|
8
|
-
useReduceMotion
|
|
9
|
-
} from "./components-nnnd2xef.js";
|
|
9
|
+
} from "./components-hqeq3w9q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./components-
|
|
11
|
+
cn2
|
|
12
|
+
} from "./components-ezxhrmer.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./components-
|
|
14
|
+
useSize2
|
|
15
|
+
} from "./components-0sn7ypjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./components-
|
|
17
|
+
spring2
|
|
18
|
+
} from "./components-1v7rxytx.js";
|
|
19
19
|
|
|
20
20
|
// components/thinking-indicator/index.tsx
|
|
21
21
|
import { AnimatePresence, motion } from "motion/react";
|
|
@@ -33,10 +33,10 @@ var MERGED = Math.sqrt(3);
|
|
|
33
33
|
function GooDots({ step, still }) {
|
|
34
34
|
const gooId = `thinking-goo-${useId().replace(/:/g, "")}`;
|
|
35
35
|
const { box, dot, radius, gap } = DOTS[step];
|
|
36
|
-
const loop = { duration:
|
|
36
|
+
const loop = { duration: spring2.slow.duration * 8, ease: "easeInOut", repeat: Infinity };
|
|
37
37
|
return /* @__PURE__ */ jsxs("span", {
|
|
38
38
|
"aria-hidden": true,
|
|
39
|
-
className:
|
|
39
|
+
className: cn2("relative shrink-0", box),
|
|
40
40
|
children: [
|
|
41
41
|
/* @__PURE__ */ jsx(GooFilter, {
|
|
42
42
|
id: gooId,
|
|
@@ -46,7 +46,7 @@ function GooDots({ step, still }) {
|
|
|
46
46
|
className: "absolute inset-0 flex items-center justify-center",
|
|
47
47
|
style: { filter: `url(#${gooId})` },
|
|
48
48
|
children: [-1, 0, 1].map((side) => /* @__PURE__ */ jsx(motion.span, {
|
|
49
|
-
className:
|
|
49
|
+
className: cn2("absolute rounded-full bg-muted-foreground", dot),
|
|
50
50
|
animate: still ? { x: side * gap } : side ? { x: [side * gap, 0, side * gap] } : { scale: [1, MERGED, 1] },
|
|
51
51
|
transition: still ? { duration: 0 } : loop
|
|
52
52
|
}, side))
|
|
@@ -54,8 +54,8 @@ function GooDots({ step, still }) {
|
|
|
54
54
|
]
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
var
|
|
58
|
-
const step =
|
|
57
|
+
var ThinkingIndicator2 = forwardRef(({ className, variant = "shimmer", showIcon = true, size, ...props }, ref) => {
|
|
58
|
+
const step = useSize2(size).variant;
|
|
59
59
|
const compactStep = step === "compact";
|
|
60
60
|
const [index, setIndex] = useState(0);
|
|
61
61
|
const reduceMotion = useReduceMotion();
|
|
@@ -71,7 +71,7 @@ var ThinkingIndicator = forwardRef(({ className, variant = "shimmer", showIcon =
|
|
|
71
71
|
return /* @__PURE__ */ jsxs("div", {
|
|
72
72
|
ref,
|
|
73
73
|
role: "status",
|
|
74
|
-
className:
|
|
74
|
+
className: cn2("flex items-center gap-2 px-3 py-2", className),
|
|
75
75
|
...props,
|
|
76
76
|
children: [
|
|
77
77
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -113,30 +113,30 @@ var ThinkingIndicator = forwardRef(({ className, variant = "shimmer", showIcon =
|
|
|
113
113
|
}),
|
|
114
114
|
/* @__PURE__ */ jsxs("span", {
|
|
115
115
|
"aria-hidden": "true",
|
|
116
|
-
className:
|
|
116
|
+
className: cn2("inline-grid overflow-hidden", compactStep ? "text-body-compact" : "text-body", "weight-medium"),
|
|
117
117
|
children: [
|
|
118
118
|
/* @__PURE__ */ jsx("span", {
|
|
119
|
-
className:
|
|
119
|
+
className: cn2("col-start-1 row-start-1 invisible", label),
|
|
120
120
|
children: words.reduce((a, b) => a.length >= b.length ? a : b)
|
|
121
121
|
}),
|
|
122
122
|
reduceMotion ? /* @__PURE__ */ jsx("span", {
|
|
123
|
-
className:
|
|
123
|
+
className: cn2("col-start-1 row-start-1", label),
|
|
124
124
|
children: words[0]
|
|
125
125
|
}) : /* @__PURE__ */ jsx(AnimatePresence, {
|
|
126
126
|
mode: "popLayout",
|
|
127
127
|
initial: false,
|
|
128
128
|
children: /* @__PURE__ */ jsx(motion.span, {
|
|
129
|
-
className:
|
|
129
|
+
className: cn2("col-start-1 row-start-1", label),
|
|
130
130
|
initial: { y: "80%", opacity: 0 },
|
|
131
131
|
animate: {
|
|
132
132
|
y: 0,
|
|
133
133
|
opacity: 1,
|
|
134
|
-
transition: { duration:
|
|
134
|
+
transition: { duration: spring2.slow.duration, ease: [0.4, 0, 0.2, 1] }
|
|
135
135
|
},
|
|
136
136
|
exit: {
|
|
137
137
|
y: "-80%",
|
|
138
138
|
opacity: 0,
|
|
139
|
-
transition: { duration:
|
|
139
|
+
transition: { duration: spring2.slow.exit.duration, ease: [0.4, 0, 0.2, 1] }
|
|
140
140
|
},
|
|
141
141
|
children: words[index]
|
|
142
142
|
}, words[index])
|
|
@@ -146,7 +146,7 @@ var ThinkingIndicator = forwardRef(({ className, variant = "shimmer", showIcon =
|
|
|
146
146
|
]
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
|
-
|
|
150
|
-
var thinking_indicator_default =
|
|
149
|
+
ThinkingIndicator2.displayName = "ThinkingIndicator";
|
|
150
|
+
var thinking_indicator_default = ThinkingIndicator2;
|
|
151
151
|
|
|
152
|
-
export {
|
|
152
|
+
export { ThinkingIndicator2, thinking_indicator_default };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
DialogTrigger
|
|
5
|
-
} from "./components-61ckf42z.js";
|
|
2
|
+
cn2
|
|
3
|
+
} from "./components-ezxhrmer.js";
|
|
6
4
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./components-
|
|
5
|
+
FluidHoverHighlight2
|
|
6
|
+
} from "./components-kvr7f9hy.js";
|
|
9
7
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
popupViewportClass
|
|
13
|
-
} from "./components-jw16snbn.js";
|
|
8
|
+
useIcon
|
|
9
|
+
} from "./components-zrkzcayz.js";
|
|
14
10
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./components-
|
|
11
|
+
shapeMap
|
|
12
|
+
} from "./components-cv16mryv.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./components-
|
|
14
|
+
useSize2
|
|
15
|
+
} from "./components-0sn7ypjw.js";
|
|
20
16
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./components-
|
|
17
|
+
useFluidHover2,
|
|
18
|
+
useRegisterFluidHoverItem2
|
|
19
|
+
} from "./components-59efxjd9.js";
|
|
24
20
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./components-
|
|
21
|
+
ScrollArea2
|
|
22
|
+
} from "./components-hawvy2qz.js";
|
|
27
23
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
DialogTrigger2,
|
|
25
|
+
DialogContent2,
|
|
26
|
+
DialogState2
|
|
27
|
+
} from "./components-zfnmn5d4.js";
|
|
30
28
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
popupScrollAreaClass,
|
|
30
|
+
popupViewportClass,
|
|
31
|
+
isDisabledRow
|
|
32
|
+
} from "./components-vynjtrk6.js";
|
|
33
33
|
|
|
34
34
|
// components/overlays/command/index.tsx
|
|
35
35
|
import { Autocomplete } from "@base-ui/react/autocomplete";
|
|
@@ -54,7 +54,7 @@ var CommandContext = createContext({
|
|
|
54
54
|
var CommandHighlight = createContext(null);
|
|
55
55
|
var CommandRows = createContext(undefined);
|
|
56
56
|
var isGrouped = (items) => items[0] !== undefined && ("items" in items[0]);
|
|
57
|
-
function
|
|
57
|
+
function CommandListRoot2({ items, ...props }) {
|
|
58
58
|
const [highlight, setHighlight] = useState(null);
|
|
59
59
|
const { contains } = Autocomplete.useFilter();
|
|
60
60
|
return /* @__PURE__ */ jsx(CommandHighlight.Provider, {
|
|
@@ -68,9 +68,9 @@ function CommandListRoot({ items, ...props }) {
|
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function CommandShortcut2({ className, ...props }) {
|
|
72
72
|
return /* @__PURE__ */ jsx("kbd", {
|
|
73
|
-
className:
|
|
73
|
+
className: cn2("ml-auto shrink-0 font-sans text-caption text-muted-foreground", className),
|
|
74
74
|
...props
|
|
75
75
|
});
|
|
76
76
|
}
|
|
@@ -82,15 +82,15 @@ function CommandRow({
|
|
|
82
82
|
const registerItem = useContext(CommandRows);
|
|
83
83
|
const active = useContext(CommandHighlight) === index;
|
|
84
84
|
const ref = useRef(null);
|
|
85
|
-
const size =
|
|
86
|
-
|
|
85
|
+
const size = useSize2();
|
|
86
|
+
useRegisterFluidHoverItem2(registerItem, index, ref);
|
|
87
87
|
const Icon = item.icon;
|
|
88
88
|
return /* @__PURE__ */ jsxs(Autocomplete.Item, {
|
|
89
89
|
ref,
|
|
90
90
|
value: item,
|
|
91
91
|
disabled: item.disabled,
|
|
92
92
|
onClick: () => onPick(item),
|
|
93
|
-
className:
|
|
93
|
+
className: cn2("relative z-10 flex shrink-0 cursor-pointer select-none items-center outline-none transition-[color] duration-fast", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", size.control, size.gap, size.itemPx, size.text, listShape.item, active ? "text-foreground" : "text-muted-foreground"),
|
|
94
94
|
children: [
|
|
95
95
|
Icon && /* @__PURE__ */ jsx(Icon, {
|
|
96
96
|
size: size.icon,
|
|
@@ -101,30 +101,30 @@ function CommandRow({
|
|
|
101
101
|
className: "min-w-0 flex-1 truncate [text-box:trim-both_cap_alphabetic] py-1 -my-1",
|
|
102
102
|
children: item.label
|
|
103
103
|
}),
|
|
104
|
-
item.shortcut && /* @__PURE__ */ jsx(
|
|
104
|
+
item.shortcut && /* @__PURE__ */ jsx(CommandShortcut2, {
|
|
105
105
|
children: item.shortcut
|
|
106
106
|
})
|
|
107
107
|
]
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function CommandList2({ onPick, emptyMessage, className }) {
|
|
111
111
|
const filtered = Autocomplete.useFilteredItems();
|
|
112
112
|
const highlight = useContext(CommandHighlight);
|
|
113
|
-
const compact =
|
|
113
|
+
const compact = useSize2().variant === "compact";
|
|
114
114
|
const containerRef = useRef(null);
|
|
115
|
-
const { itemRects, isMeasured, registerItem } =
|
|
115
|
+
const { itemRects, isMeasured, registerItem } = useFluidHover2(containerRef, { isItemDisabled: isDisabledRow });
|
|
116
116
|
const rect = isMeasured && highlight !== null ? itemRects[highlight] ?? null : null;
|
|
117
|
-
const rows = (items,
|
|
117
|
+
const rows = (items, start) => items.map((item, i) => /* @__PURE__ */ jsx(CommandRow, {
|
|
118
118
|
item,
|
|
119
|
-
index:
|
|
119
|
+
index: start + i,
|
|
120
120
|
onPick
|
|
121
121
|
}, item.label));
|
|
122
122
|
let start = 0;
|
|
123
123
|
return /* @__PURE__ */ jsx(CommandRows.Provider, {
|
|
124
124
|
value: registerItem,
|
|
125
|
-
children: /* @__PURE__ */ jsxs(
|
|
126
|
-
className:
|
|
127
|
-
viewportClassName:
|
|
125
|
+
children: /* @__PURE__ */ jsxs(ScrollArea2, {
|
|
126
|
+
className: cn2(popupScrollAreaClass, className),
|
|
127
|
+
viewportClassName: cn2(popupViewportClass, "scroll-fade"),
|
|
128
128
|
children: [
|
|
129
129
|
/* @__PURE__ */ jsx(Autocomplete.Empty, {
|
|
130
130
|
className: "px-4 py-6 text-center text-body text-muted-foreground empty:hidden",
|
|
@@ -134,7 +134,7 @@ function CommandList({ onPick, emptyMessage, className }) {
|
|
|
134
134
|
ref: containerRef,
|
|
135
135
|
className: "relative flex flex-col p-1 outline-none data-[empty]:p-0",
|
|
136
136
|
children: [
|
|
137
|
-
/* @__PURE__ */ jsx(
|
|
137
|
+
/* @__PURE__ */ jsx(FluidHoverHighlight2, {
|
|
138
138
|
rect,
|
|
139
139
|
session: 0,
|
|
140
140
|
className: listShape.bg
|
|
@@ -146,7 +146,7 @@ function CommandList({ onPick, emptyMessage, className }) {
|
|
|
146
146
|
className: "flex flex-col",
|
|
147
147
|
children: [
|
|
148
148
|
/* @__PURE__ */ jsx(Autocomplete.GroupLabel, {
|
|
149
|
-
className:
|
|
149
|
+
className: cn2("shrink-0 px-2 pt-2 pb-1 text-muted-foreground", compact ? "text-caption-compact" : "text-caption"),
|
|
150
150
|
children: group.label
|
|
151
151
|
}),
|
|
152
152
|
rows(group.items, first)
|
|
@@ -159,7 +159,7 @@ function CommandList({ onPick, emptyMessage, className }) {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function CommandPalette2({
|
|
163
163
|
items,
|
|
164
164
|
placeholder = "Type a command or search…",
|
|
165
165
|
emptyMessage = "No results found.",
|
|
@@ -167,9 +167,9 @@ function CommandPalette({
|
|
|
167
167
|
}) {
|
|
168
168
|
const { close } = useContext(CommandContext);
|
|
169
169
|
const SearchIcon = useIcon("search");
|
|
170
|
-
const size =
|
|
170
|
+
const size = useSize2();
|
|
171
171
|
const [query, setQuery] = useState("");
|
|
172
|
-
return /* @__PURE__ */ jsx(
|
|
172
|
+
return /* @__PURE__ */ jsx(CommandListRoot2, {
|
|
173
173
|
items,
|
|
174
174
|
inline: true,
|
|
175
175
|
open: true,
|
|
@@ -182,7 +182,7 @@ function CommandPalette({
|
|
|
182
182
|
setQuery(next);
|
|
183
183
|
},
|
|
184
184
|
children: /* @__PURE__ */ jsxs("div", {
|
|
185
|
-
className:
|
|
185
|
+
className: cn2("flex flex-col", className),
|
|
186
186
|
children: [
|
|
187
187
|
/* @__PURE__ */ jsxs("div", {
|
|
188
188
|
className: "flex h-12 shrink-0 items-center gap-2 border-b border-border px-4",
|
|
@@ -194,11 +194,11 @@ function CommandPalette({
|
|
|
194
194
|
}),
|
|
195
195
|
/* @__PURE__ */ jsx(Autocomplete.Input, {
|
|
196
196
|
placeholder,
|
|
197
|
-
className:
|
|
197
|
+
className: cn2("h-full min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted-foreground", size.text)
|
|
198
198
|
})
|
|
199
199
|
]
|
|
200
200
|
}),
|
|
201
|
-
/* @__PURE__ */ jsx(
|
|
201
|
+
/* @__PURE__ */ jsx(CommandList2, {
|
|
202
202
|
emptyMessage,
|
|
203
203
|
className: "max-h-80",
|
|
204
204
|
onPick: (item) => {
|
|
@@ -210,18 +210,18 @@ function CommandPalette({
|
|
|
210
210
|
})
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var CommandTrigger2 = forwardRef((props, ref) => {
|
|
214
214
|
const { trigger } = useContext(CommandContext);
|
|
215
215
|
useImperativeHandle(ref, () => trigger.current);
|
|
216
|
-
return /* @__PURE__ */ jsx(
|
|
216
|
+
return /* @__PURE__ */ jsx(DialogTrigger2, {
|
|
217
217
|
ref: trigger,
|
|
218
218
|
...props
|
|
219
219
|
});
|
|
220
220
|
});
|
|
221
|
-
|
|
222
|
-
var
|
|
221
|
+
CommandTrigger2.displayName = "CommandTrigger";
|
|
222
|
+
var CommandContent2 = forwardRef(({ items, placeholder, emptyMessage, className, label = "Command menu", ...morph }, ref) => {
|
|
223
223
|
const { session } = useContext(CommandContext);
|
|
224
|
-
return /* @__PURE__ */ jsx(
|
|
224
|
+
return /* @__PURE__ */ jsx(DialogContent2, {
|
|
225
225
|
ref,
|
|
226
226
|
position: "top",
|
|
227
227
|
size: "lg",
|
|
@@ -229,7 +229,7 @@ var CommandContent = forwardRef(({ items, placeholder, emptyMessage, className,
|
|
|
229
229
|
"aria-label": label,
|
|
230
230
|
className: "p-0",
|
|
231
231
|
...morph,
|
|
232
|
-
children: /* @__PURE__ */ jsx(
|
|
232
|
+
children: /* @__PURE__ */ jsx(CommandPalette2, {
|
|
233
233
|
items,
|
|
234
234
|
placeholder,
|
|
235
235
|
emptyMessage,
|
|
@@ -237,7 +237,7 @@ var CommandContent = forwardRef(({ items, placeholder, emptyMessage, className,
|
|
|
237
237
|
}, session)
|
|
238
238
|
});
|
|
239
239
|
});
|
|
240
|
-
|
|
240
|
+
CommandContent2.displayName = "CommandContent";
|
|
241
241
|
function CommandScope({ open, onOpenChange, hotkey, children }) {
|
|
242
242
|
const trigger = useRef(null);
|
|
243
243
|
const change = useRef(onOpenChange);
|
|
@@ -271,8 +271,8 @@ function CommandScope({ open, onOpenChange, hotkey, children }) {
|
|
|
271
271
|
})
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
return /* @__PURE__ */ jsx(
|
|
274
|
+
function Command2({ open, defaultOpen, onOpenChange, hotkey = "k", children }) {
|
|
275
|
+
return /* @__PURE__ */ jsx(DialogState2, {
|
|
276
276
|
open,
|
|
277
277
|
defaultOpen,
|
|
278
278
|
onOpenChange,
|
|
@@ -283,10 +283,10 @@ function Command({ open, defaultOpen, onOpenChange, hotkey = "k", children }) {
|
|
|
283
283
|
})
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
var command_default =
|
|
286
|
+
Command2.Trigger = CommandTrigger2;
|
|
287
|
+
Command2.Content = CommandContent2;
|
|
288
|
+
Command2.Palette = CommandPalette2;
|
|
289
|
+
Command2.Shortcut = CommandShortcut2;
|
|
290
|
+
var command_default = Command2;
|
|
291
291
|
|
|
292
|
-
export {
|
|
292
|
+
export { CommandListRoot2, CommandShortcut2, CommandList2, CommandPalette2, CommandTrigger2, CommandContent2, Command2, command_default };
|