@zentauri-ui/zentauri-components 1.7.1 → 1.7.3
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/README.md +9 -5
- package/cli/registry.json +2 -0
- package/dist/chunk-BC6M42HQ.mjs +251 -0
- package/dist/chunk-BC6M42HQ.mjs.map +1 -0
- package/dist/chunk-KEKMMNL5.mjs +600 -0
- package/dist/chunk-KEKMMNL5.mjs.map +1 -0
- package/dist/chunk-NZDHSIIC.js +616 -0
- package/dist/chunk-NZDHSIIC.js.map +1 -0
- package/dist/chunk-QSPXPU72.js +259 -0
- package/dist/chunk-QSPXPU72.js.map +1 -0
- package/dist/design-system/command.d.ts +41 -0
- package/dist/design-system/command.d.ts.map +1 -0
- package/dist/design-system/index.d.ts +2 -0
- package/dist/design-system/index.d.ts.map +1 -1
- package/dist/design-system/popover.d.ts +40 -0
- package/dist/design-system/popover.d.ts.map +1 -0
- package/dist/ui/command/animated/animations.d.ts +3 -0
- package/dist/ui/command/animated/animations.d.ts.map +1 -0
- package/dist/ui/command/animated/command-content-animated.d.ts +6 -0
- package/dist/ui/command/animated/command-content-animated.d.ts.map +1 -0
- package/dist/ui/command/animated/index.d.ts +4 -0
- package/dist/ui/command/animated/index.d.ts.map +1 -0
- package/dist/ui/command/animated/types.d.ts +9 -0
- package/dist/ui/command/animated/types.d.ts.map +1 -0
- package/dist/ui/command/animated.js +92 -0
- package/dist/ui/command/animated.js.map +1 -0
- package/dist/ui/command/animated.mjs +89 -0
- package/dist/ui/command/animated.mjs.map +1 -0
- package/dist/ui/command/command-base.d.ts +53 -0
- package/dist/ui/command/command-base.d.ts.map +1 -0
- package/dist/ui/command/command.d.ts +6 -0
- package/dist/ui/command/command.d.ts.map +1 -0
- package/dist/ui/command/index.d.ts +5 -0
- package/dist/ui/command/index.d.ts.map +1 -0
- package/dist/ui/command/types.d.ts +111 -0
- package/dist/ui/command/types.d.ts.map +1 -0
- package/dist/ui/command/variants.d.ts +15 -0
- package/dist/ui/command/variants.d.ts.map +1 -0
- package/dist/ui/command.js +69 -0
- package/dist/ui/command.js.map +1 -0
- package/dist/ui/command.mjs +16 -0
- package/dist/ui/command.mjs.map +1 -0
- package/dist/ui/popover/animated/animations.d.ts +3 -0
- package/dist/ui/popover/animated/animations.d.ts.map +1 -0
- package/dist/ui/popover/animated/index.d.ts +4 -0
- package/dist/ui/popover/animated/index.d.ts.map +1 -0
- package/dist/ui/popover/animated/popover-content-animated.d.ts +3 -0
- package/dist/ui/popover/animated/popover-content-animated.d.ts.map +1 -0
- package/dist/ui/popover/animated/types.d.ts +9 -0
- package/dist/ui/popover/animated/types.d.ts.map +1 -0
- package/dist/ui/popover/animated.js +67 -0
- package/dist/ui/popover/animated.js.map +1 -0
- package/dist/ui/popover/animated.mjs +64 -0
- package/dist/ui/popover/animated.mjs.map +1 -0
- package/dist/ui/popover/index.d.ts +4 -0
- package/dist/ui/popover/index.d.ts.map +1 -0
- package/dist/ui/popover/popover-base.d.ts +8 -0
- package/dist/ui/popover/popover-base.d.ts.map +1 -0
- package/dist/ui/popover/popover.d.ts +2 -0
- package/dist/ui/popover/popover.d.ts.map +1 -0
- package/dist/ui/popover/types.d.ts +34 -0
- package/dist/ui/popover/types.d.ts.map +1 -0
- package/dist/ui/popover/variants.d.ts +6 -0
- package/dist/ui/popover/variants.d.ts.map +1 -0
- package/dist/ui/popover.js +34 -0
- package/dist/ui/popover.js.map +1 -0
- package/dist/ui/popover.mjs +5 -0
- package/dist/ui/popover.mjs.map +1 -0
- package/package.json +1 -1
- package/src/design-system/command.ts +80 -0
- package/src/design-system/index.ts +2 -0
- package/src/design-system/popover.ts +66 -0
- package/src/ui/command/animated/animations.ts +29 -0
- package/src/ui/command/animated/command-content-animated.tsx +58 -0
- package/src/ui/command/animated/index.ts +10 -0
- package/src/ui/command/animated/types.ts +23 -0
- package/src/ui/command/command-base.tsx +660 -0
- package/src/ui/command/command.test.tsx +130 -0
- package/src/ui/command/command.tsx +8 -0
- package/src/ui/command/index.ts +34 -0
- package/src/ui/command/types.ts +129 -0
- package/src/ui/command/variants.ts +41 -0
- package/src/ui/popover/animated/animations.ts +15 -0
- package/src/ui/popover/animated/index.ts +10 -0
- package/src/ui/popover/animated/popover-content-animated.tsx +54 -0
- package/src/ui/popover/animated/types.ts +18 -0
- package/src/ui/popover/index.ts +18 -0
- package/src/ui/popover/popover-base.tsx +261 -0
- package/src/ui/popover/popover.test.tsx +84 -0
- package/src/ui/popover/popover.tsx +8 -0
- package/src/ui/popover/types.ts +38 -0
- package/src/ui/popover/variants.ts +21 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLMotionProps } from "framer-motion";
|
|
2
|
+
import type { CommandContentProps } from "../types";
|
|
3
|
+
export type CommandAnimation = "none" | "fade" | "scale" | "slide-down" | "slide-up";
|
|
4
|
+
export type CommandContentAnimatedProps = CommandContentProps & {
|
|
5
|
+
animation?: CommandAnimation;
|
|
6
|
+
};
|
|
7
|
+
export type CommandPresetMotionProps = Pick<HTMLMotionProps<"div">, "initial" | "animate" | "exit" | "transition">;
|
|
8
|
+
export type CommandAnimationPresets = Record<CommandAnimation, CommandPresetMotionProps>;
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/command/animated/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,GACZ,UAAU,CAAC;AAEf,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,eAAe,CAAC,KAAK,CAAC,EACtB,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,YAAY,CAC9C,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C,gBAAgB,EAChB,wBAAwB,CACzB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkNZDHSIIC_js = require('../../chunk-NZDHSIIC.js');
|
|
5
|
+
require('../../chunk-GBWGVNDA.js');
|
|
6
|
+
require('../../chunk-UIYFEP3I.js');
|
|
7
|
+
require('../../chunk-ZS5756ZC.js');
|
|
8
|
+
var framerMotion = require('framer-motion');
|
|
9
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
+
|
|
11
|
+
// src/ui/command/animated/animations.ts
|
|
12
|
+
var commandOverlayAnimationPresets = {
|
|
13
|
+
none: {},
|
|
14
|
+
fade: {
|
|
15
|
+
initial: { opacity: 0 },
|
|
16
|
+
animate: { opacity: 1 },
|
|
17
|
+
exit: { opacity: 0 },
|
|
18
|
+
transition: { duration: 0.18 }
|
|
19
|
+
},
|
|
20
|
+
scale: {
|
|
21
|
+
initial: { opacity: 0, scale: 0.97 },
|
|
22
|
+
animate: { opacity: 1, scale: 1 },
|
|
23
|
+
exit: { opacity: 0, scale: 0.97 },
|
|
24
|
+
transition: { type: "spring", stiffness: 440, damping: 34 }
|
|
25
|
+
},
|
|
26
|
+
"slide-down": {
|
|
27
|
+
initial: { opacity: 0, y: -20 },
|
|
28
|
+
animate: { opacity: 1, y: 0 },
|
|
29
|
+
exit: { opacity: 0, y: -12 },
|
|
30
|
+
transition: { type: "spring", stiffness: 420, damping: 32 }
|
|
31
|
+
},
|
|
32
|
+
"slide-up": {
|
|
33
|
+
initial: { opacity: 0, y: 20 },
|
|
34
|
+
animate: { opacity: 1, y: 0 },
|
|
35
|
+
exit: { opacity: 0, y: 12 },
|
|
36
|
+
transition: { type: "spring", stiffness: 420, damping: 32 }
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
function CommandContentAnimated({
|
|
40
|
+
className,
|
|
41
|
+
size,
|
|
42
|
+
appearance,
|
|
43
|
+
animation = "slide-down",
|
|
44
|
+
children,
|
|
45
|
+
ref,
|
|
46
|
+
id,
|
|
47
|
+
style
|
|
48
|
+
}) {
|
|
49
|
+
const reduceMotion = framerMotion.useReducedMotion();
|
|
50
|
+
const overlayMotion = commandOverlayAnimationPresets.fade;
|
|
51
|
+
const panelMotion = commandOverlayAnimationPresets[reduceMotion ? "fade" : animation];
|
|
52
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
+
chunkNZDHSIIC_js.CommandContentLayer,
|
|
54
|
+
{
|
|
55
|
+
appearance,
|
|
56
|
+
className,
|
|
57
|
+
componentName: "CommandContent",
|
|
58
|
+
id,
|
|
59
|
+
ref,
|
|
60
|
+
renderOverlay: (overlayProps) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
61
|
+
framerMotion.motion.div,
|
|
62
|
+
{
|
|
63
|
+
...overlayProps,
|
|
64
|
+
initial: overlayMotion.initial,
|
|
65
|
+
animate: overlayMotion.animate,
|
|
66
|
+
exit: overlayMotion.exit,
|
|
67
|
+
transition: overlayMotion.transition
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
renderPanel: (panelProps) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
71
|
+
framerMotion.motion.div,
|
|
72
|
+
{
|
|
73
|
+
...panelProps,
|
|
74
|
+
initial: animation === "none" ? false : panelMotion.initial,
|
|
75
|
+
animate: animation === "none" ? void 0 : panelMotion.animate,
|
|
76
|
+
exit: animation === "none" ? void 0 : panelMotion.exit,
|
|
77
|
+
transition: panelMotion.transition
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
renderPresence: (content) => /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: content }),
|
|
81
|
+
size,
|
|
82
|
+
style,
|
|
83
|
+
children
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
CommandContentAnimated.displayName = "CommandContent";
|
|
88
|
+
|
|
89
|
+
exports.CommandContentAnimated = CommandContentAnimated;
|
|
90
|
+
exports.commandOverlayAnimationPresets = commandOverlayAnimationPresets;
|
|
91
|
+
//# sourceMappingURL=animated.js.map
|
|
92
|
+
//# sourceMappingURL=animated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/command/animated/animations.ts","../../../src/ui/command/animated/command-content-animated.tsx"],"names":["useReducedMotion","jsx","CommandContentLayer","motion","AnimatePresence"],"mappings":";;;;;;;;;;AAEO,IAAM,8BAAA,GAA0D;AAAA,EACrE,MAAM,EAAC;AAAA,EACP,IAAA,EAAM;AAAA,IACJ,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACtB,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACtB,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACnB,UAAA,EAAY,EAAE,QAAA,EAAU,IAAA;AAAK,GAC/B;AAAA,EACA,KAAA,EAAO;AAAA,IACL,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,OAAO,IAAA,EAAK;AAAA,IACnC,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,OAAO,CAAA,EAAE;AAAA,IAChC,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,OAAO,IAAA,EAAK;AAAA,IAChC,YAAY,EAAE,IAAA,EAAM,UAAU,SAAA,EAAW,GAAA,EAAK,SAAS,EAAA;AAAG,GAC5D;AAAA,EACA,YAAA,EAAc;AAAA,IACZ,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,GAAG,GAAA,EAAI;AAAA,IAC9B,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,GAAG,CAAA,EAAE;AAAA,IAC5B,IAAA,EAA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A,CAAc;AAAA;AAAA,OAC5B;AAAA,MAEF,WAAA,EAAa,CAAC,UAAA,qBACZF,cAAA;AAAA,QAACE,mBAAA,CAAO,GAAA;AAAA,QAAP;AAAA,UACE,GAAG,UAAA;AAAA,UACJ,OAAA,EAAS,SAAA,KAAc,MAAA,GAAS,KAAA,GAAQ,WAAA,CAAY,OAAA;AAAA,UACpD,OAAA,EAAS,SAAA,KAAc,MAAA,GAAS,MAAA,GAAY,WAAA,CAAY,OAAA;AAAA,UACxD,IAAA,EAAM,SAAA,KAAc,MAAA,GAAS,MAAA,GAAY,WAAA,CAAY,IAAA;AAAA,UACrD,YAAY,WAAA,CAAY;AAAA;AAAA,OAC1B;AAAA,MAEF,cAAA,EAAgB,CAAC,OAAA,qBAAYF,cAAA,CAACG,gCAAiB,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,MACvD,IAAA;AAAA,MACA,KAAA;AAAA,MAEC;AAAA;AAAA,GACH;AAEJ;AAEA,sBAAA,CAAuB,WAAA,GAAc,gBAAA","file":"animated.js","sourcesContent":["import type { CommandAnimationPresets } from \"./types\";\n\nexport const commandOverlayAnimationPresets: CommandAnimationPresets = {\n none: {},\n fade: {\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n transition: { duration: 0.18 },\n },\n scale: {\n initial: { opacity: 0, scale: 0.97 },\n animate: { opacity: 1, scale: 1 },\n exit: { opacity: 0, scale: 0.97 },\n transition: { type: \"spring\", stiffness: 440, damping: 34 },\n },\n \"slide-down\": {\n initial: { opacity: 0, y: -20 },\n animate: { opacity: 1, y: 0 },\n exit: { opacity: 0, y: -12 },\n transition: { type: \"spring\", stiffness: 420, damping: 32 },\n },\n \"slide-up\": {\n initial: { opacity: 0, y: 20 },\n animate: { opacity: 1, y: 0 },\n exit: { opacity: 0, y: 12 },\n transition: { type: \"spring\", stiffness: 420, damping: 32 },\n },\n};\n","\"use client\";\n\nimport { AnimatePresence, motion, useReducedMotion } from \"framer-motion\";\n\nimport { commandOverlayAnimationPresets } from \"./animations\";\nimport type { CommandContentAnimatedProps } from \"./types\";\nimport { CommandContentLayer } from \"../command-base\";\n\nexport function CommandContentAnimated({\n className,\n size,\n appearance,\n animation = \"slide-down\",\n children,\n ref,\n id,\n style,\n}: CommandContentAnimatedProps) {\n const reduceMotion = useReducedMotion();\n const overlayMotion = commandOverlayAnimationPresets.fade;\n const panelMotion =\n commandOverlayAnimationPresets[reduceMotion ? \"fade\" : animation];\n\n return (\n <CommandContentLayer\n appearance={appearance}\n className={className}\n componentName=\"CommandContent\"\n id={id}\n ref={ref}\n renderOverlay={(overlayProps) => (\n <motion.div\n {...overlayProps}\n initial={overlayMotion.initial}\n animate={overlayMotion.animate}\n exit={overlayMotion.exit}\n transition={overlayMotion.transition}\n />\n )}\n renderPanel={(panelProps) => (\n <motion.div\n {...panelProps}\n initial={animation === \"none\" ? false : panelMotion.initial}\n animate={animation === \"none\" ? undefined : panelMotion.animate}\n exit={animation === \"none\" ? undefined : panelMotion.exit}\n transition={panelMotion.transition}\n />\n )}\n renderPresence={(content) => <AnimatePresence>{content}</AnimatePresence>}\n size={size}\n style={style}\n >\n {children}\n </CommandContentLayer>\n );\n}\n\nCommandContentAnimated.displayName = \"CommandContent\";\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { CommandContentLayer } from '../../chunk-KEKMMNL5.mjs';
|
|
3
|
+
import '../../chunk-K6YI4FJO.mjs';
|
|
4
|
+
import '../../chunk-PMAF6FBF.mjs';
|
|
5
|
+
import '../../chunk-4D54YOL6.mjs';
|
|
6
|
+
import { useReducedMotion, AnimatePresence, motion } from 'framer-motion';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// src/ui/command/animated/animations.ts
|
|
10
|
+
var commandOverlayAnimationPresets = {
|
|
11
|
+
none: {},
|
|
12
|
+
fade: {
|
|
13
|
+
initial: { opacity: 0 },
|
|
14
|
+
animate: { opacity: 1 },
|
|
15
|
+
exit: { opacity: 0 },
|
|
16
|
+
transition: { duration: 0.18 }
|
|
17
|
+
},
|
|
18
|
+
scale: {
|
|
19
|
+
initial: { opacity: 0, scale: 0.97 },
|
|
20
|
+
animate: { opacity: 1, scale: 1 },
|
|
21
|
+
exit: { opacity: 0, scale: 0.97 },
|
|
22
|
+
transition: { type: "spring", stiffness: 440, damping: 34 }
|
|
23
|
+
},
|
|
24
|
+
"slide-down": {
|
|
25
|
+
initial: { opacity: 0, y: -20 },
|
|
26
|
+
animate: { opacity: 1, y: 0 },
|
|
27
|
+
exit: { opacity: 0, y: -12 },
|
|
28
|
+
transition: { type: "spring", stiffness: 420, damping: 32 }
|
|
29
|
+
},
|
|
30
|
+
"slide-up": {
|
|
31
|
+
initial: { opacity: 0, y: 20 },
|
|
32
|
+
animate: { opacity: 1, y: 0 },
|
|
33
|
+
exit: { opacity: 0, y: 12 },
|
|
34
|
+
transition: { type: "spring", stiffness: 420, damping: 32 }
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
function CommandContentAnimated({
|
|
38
|
+
className,
|
|
39
|
+
size,
|
|
40
|
+
appearance,
|
|
41
|
+
animation = "slide-down",
|
|
42
|
+
children,
|
|
43
|
+
ref,
|
|
44
|
+
id,
|
|
45
|
+
style
|
|
46
|
+
}) {
|
|
47
|
+
const reduceMotion = useReducedMotion();
|
|
48
|
+
const overlayMotion = commandOverlayAnimationPresets.fade;
|
|
49
|
+
const panelMotion = commandOverlayAnimationPresets[reduceMotion ? "fade" : animation];
|
|
50
|
+
return /* @__PURE__ */ jsx(
|
|
51
|
+
CommandContentLayer,
|
|
52
|
+
{
|
|
53
|
+
appearance,
|
|
54
|
+
className,
|
|
55
|
+
componentName: "CommandContent",
|
|
56
|
+
id,
|
|
57
|
+
ref,
|
|
58
|
+
renderOverlay: (overlayProps) => /* @__PURE__ */ jsx(
|
|
59
|
+
motion.div,
|
|
60
|
+
{
|
|
61
|
+
...overlayProps,
|
|
62
|
+
initial: overlayMotion.initial,
|
|
63
|
+
animate: overlayMotion.animate,
|
|
64
|
+
exit: overlayMotion.exit,
|
|
65
|
+
transition: overlayMotion.transition
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
renderPanel: (panelProps) => /* @__PURE__ */ jsx(
|
|
69
|
+
motion.div,
|
|
70
|
+
{
|
|
71
|
+
...panelProps,
|
|
72
|
+
initial: animation === "none" ? false : panelMotion.initial,
|
|
73
|
+
animate: animation === "none" ? void 0 : panelMotion.animate,
|
|
74
|
+
exit: animation === "none" ? void 0 : panelMotion.exit,
|
|
75
|
+
transition: panelMotion.transition
|
|
76
|
+
}
|
|
77
|
+
),
|
|
78
|
+
renderPresence: (content) => /* @__PURE__ */ jsx(AnimatePresence, { children: content }),
|
|
79
|
+
size,
|
|
80
|
+
style,
|
|
81
|
+
children
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
CommandContentAnimated.displayName = "CommandContent";
|
|
86
|
+
|
|
87
|
+
export { CommandContentAnimated, commandOverlayAnimationPresets };
|
|
88
|
+
//# sourceMappingURL=animated.mjs.map
|
|
89
|
+
//# sourceMappingURL=animated.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/command/animated/animations.ts","../../../src/ui/command/animated/command-content-animated.tsx"],"names":[],"mappings":";;;;;;;;AAEO,IAAM,8BAAA,GAA0D;AAAA,EACrE,MAAM,EAAC;AAAA,EACP,IAAA,EAAM;AAAA,IACJ,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACtB,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACtB,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,IACnB,UAAA,EAAY,EAAE,QAAA,EAAU,IAAA;AAAK,GAC/B;AAAA,EACA,KAAA,EAAO;AAAA,IACL,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,OA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CAA+B,YAAA,GAAe,MAAA,GAAS,SAAS,CAAA;AAElE,EAAA,uBACE,GAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,UAAA;AAAA,MACA,SAAA;AAAA,MACA,aAAA,EAAc,gBAAA;AAAA,MACd,EAAA;AAAA,MACA,GAAA;AAAA,MACA,aAAA,EAAe,CAAC,YAAA,qBACd,GAAA;AAAA,QAAC,MAAA,CAAO,GAAA;AAAA,QAAP;AAAA,UACE,GAAG,YAAA;AAAA,UACJ,SAAS,aAAA,CAAc,OAAA;AAAA,UACvB,SAAS,aAAA,CAAc,OAAA;AAAA,UACvB,MAAM,aAAA,CAAc,IAAA;AAAA,UACpB,YAAY,aAAA,CAAc;AAAA;AAAA,OAC5B;AAAA,MAEF,WAAA,EAAa,CAAC,UAAA,qBACZ,GAAA;AAAA,QAAC,MAAA,CAAO,GAAA;AAAA,QAAP;AAAA,UACE,GAAG,UAAA;AAAA,UACJ,OAAA,EAAS,SAAA,KAAc,MAAA,GAAS,KAAA,GAAQ,WAAA,CAAY,OAAA;AAAA,UACpD,OAAA,EAAS,SAAA,KAAc,MAAA,GAAS,MAAA,GAAY,WAAA,CAAY,OAAA;AAAA,UACxD,IAAA,EAAM,SAAA,KAAc,MAAA,GAAS,MAAA,GAAY,WAAA,CAAY,IAAA;AAAA,UACrD,YAAY,WAAA,CAAY;AAAA;AAAA,OAC1B;AAAA,MAEF,cAAA,EAAgB,CAAC,OAAA,qBAAY,GAAA,CAAC,mBAAiB,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,MACvD,IAAA;AAAA,MACA,KAAA;AAAA,MAEC;AAAA;AAAA,GACH;AAEJ;AAEA,sBAAA,CAAuB,WAAA,GAAc,gBAAA","file":"animated.mjs","sourcesContent":["import type { CommandAnimationPresets } from \"./types\";\n\nexport const commandOverlayAnimationPresets: CommandAnimationPresets = {\n none: {},\n fade: {\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n transition: { duration: 0.18 },\n },\n scale: {\n initial: { opacity: 0, scale: 0.97 },\n animate: { opacity: 1, scale: 1 },\n exit: { opacity: 0, scale: 0.97 },\n transition: { type: \"spring\", stiffness: 440, damping: 34 },\n },\n \"slide-down\": {\n initial: { opacity: 0, y: -20 },\n animate: { opacity: 1, y: 0 },\n exit: { opacity: 0, y: -12 },\n transition: { type: \"spring\", stiffness: 420, damping: 32 },\n },\n \"slide-up\": {\n initial: { opacity: 0, y: 20 },\n animate: { opacity: 1, y: 0 },\n exit: { opacity: 0, y: 12 },\n transition: { type: \"spring\", stiffness: 420, damping: 32 },\n },\n};\n","\"use client\";\n\nimport { AnimatePresence, motion, useReducedMotion } from \"framer-motion\";\n\nimport { commandOverlayAnimationPresets } from \"./animations\";\nimport type { CommandContentAnimatedProps } from \"./types\";\nimport { CommandContentLayer } from \"../command-base\";\n\nexport function CommandContentAnimated({\n className,\n size,\n appearance,\n animation = \"slide-down\",\n children,\n ref,\n id,\n style,\n}: CommandContentAnimatedProps) {\n const reduceMotion = useReducedMotion();\n const overlayMotion = commandOverlayAnimationPresets.fade;\n const panelMotion =\n commandOverlayAnimationPresets[reduceMotion ? \"fade\" : animation];\n\n return (\n <CommandContentLayer\n appearance={appearance}\n className={className}\n componentName=\"CommandContent\"\n id={id}\n ref={ref}\n renderOverlay={(overlayProps) => (\n <motion.div\n {...overlayProps}\n initial={overlayMotion.initial}\n animate={overlayMotion.animate}\n exit={overlayMotion.exit}\n transition={overlayMotion.transition}\n />\n )}\n renderPanel={(panelProps) => (\n <motion.div\n {...panelProps}\n initial={animation === \"none\" ? false : panelMotion.initial}\n animate={animation === \"none\" ? undefined : panelMotion.animate}\n exit={animation === \"none\" ? undefined : panelMotion.exit}\n transition={panelMotion.transition}\n />\n )}\n renderPresence={(content) => <AnimatePresence>{content}</AnimatePresence>}\n size={size}\n style={style}\n >\n {children}\n </CommandContentLayer>\n );\n}\n\nCommandContentAnimated.displayName = \"CommandContent\";\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { CommandContentProps, CommandCtx, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandProps, CommandSectionProps, CommandTriggerProps, CommandContentLayerProps } from "./types";
|
|
3
|
+
export declare function useCommandContext(component: string): CommandCtx;
|
|
4
|
+
export declare function CommandPortal({ children }: {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): import("react").ReactPortal | null;
|
|
7
|
+
export declare function CommandPortalFrame({ children }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function CommandContentLayer({ className, size, appearance, children, ref, id, style, componentName, renderPresence, renderOverlay, renderPanel, }: CommandContentLayerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Command({ open, defaultOpen, onOpenChange, hotkey, label, children, }: CommandProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare namespace Command {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function CommandTrigger({ className, children, onClick, ref: refProp, }: CommandTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare namespace CommandTrigger {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function CommandContent({ className, size, appearance, children, ref, id, style, }: CommandContentProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare namespace CommandContent {
|
|
21
|
+
var displayName: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function CommandInput({ className, placeholder, ref, }: CommandInputProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace CommandInput {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function CommandList({ className, children }: CommandListProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare namespace CommandList {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function CommandGroup({ className, heading, children, }: CommandGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare namespace CommandGroup {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function CommandItem({ className, value, keywords, disabled, onSelect, children, }: CommandItemProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare namespace CommandItem {
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
export declare function CommandSeparator({ className }: {
|
|
40
|
+
className?: string;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare namespace CommandSeparator {
|
|
43
|
+
var displayName: string;
|
|
44
|
+
}
|
|
45
|
+
export declare function CommandEmpty({ className, children }: CommandSectionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
46
|
+
export declare namespace CommandEmpty {
|
|
47
|
+
var displayName: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function CommandFooter({ className, children }: CommandSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export declare namespace CommandFooter {
|
|
51
|
+
var displayName: string;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=command-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-base.d.ts","sourceRoot":"","sources":["../../../src/ui/command/command-base.tsx"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EACV,mBAAmB,EACnB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EAInB,wBAAwB,EAGzB,MAAM,SAAS,CAAC;AAiBjB,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAM/D;AAiDD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,sCAQ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;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQrE;yBARe,gBAAgB;;;AAYhC,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,mBAAmB,kDAaxE;yBAbe,YAAY;;;AAiB5B,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CASzE;yBATe,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/ui/command/command.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO;YAAW,YAAY;;CAE1C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Command } from "./command";
|
|
2
|
+
export { CommandTrigger, CommandContent, CommandInput, CommandList, CommandGroup, CommandItem, CommandSeparator, CommandEmpty, CommandFooter, useCommandContext, } from "./command-base";
|
|
3
|
+
export type { CommandProps, CommandTriggerProps, CommandContentProps, CommandContentVariantProps, CommandInputProps, CommandListProps, CommandGroupProps, CommandItemProps, CommandSectionProps, CommandCtx, ItemMeta, RegisteredItem } from "./types";
|
|
4
|
+
export { commandContentVariants, commandOverlayVariants, commandItemVariants, } from "./variants";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/command/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,cAAc,EACf,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
|
+
import type { CSSProperties, ReactNode, Ref, RefObject } from "react";
|
|
3
|
+
import type { commandContentVariants } from "./variants";
|
|
4
|
+
export type CommandContentVariantProps = VariantProps<typeof commandContentVariants>;
|
|
5
|
+
export type CommandProps = {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
onOpenChange?: (open: boolean) => void;
|
|
9
|
+
/**
|
|
10
|
+
* When set, binds a global shortcut that toggles the palette: this key plus
|
|
11
|
+
* meta (⌘) or ctrl. Defaults to "k" when `hotkey` is `true`.
|
|
12
|
+
*/
|
|
13
|
+
hotkey?: string | boolean;
|
|
14
|
+
/** Accessible label for the dialog. */
|
|
15
|
+
label?: string;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export type CommandTriggerProps = {
|
|
19
|
+
className?: string;
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
ref?: Ref<HTMLButtonElement>;
|
|
22
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
23
|
+
};
|
|
24
|
+
export type CommandContentProps = CommandContentVariantProps & {
|
|
25
|
+
className?: string;
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
ref?: Ref<HTMLDivElement>;
|
|
28
|
+
id?: string;
|
|
29
|
+
style?: CSSProperties;
|
|
30
|
+
};
|
|
31
|
+
export type CommandInputProps = {
|
|
32
|
+
className?: string;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
ref?: Ref<HTMLInputElement>;
|
|
35
|
+
};
|
|
36
|
+
export type CommandListProps = {
|
|
37
|
+
className?: string;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
};
|
|
40
|
+
export type CommandGroupProps = {
|
|
41
|
+
className?: string;
|
|
42
|
+
heading?: ReactNode;
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
};
|
|
45
|
+
export type CommandItemProps = {
|
|
46
|
+
className?: string;
|
|
47
|
+
/** Stable identifier used for filtering, keyboard nav, and onSelect. */
|
|
48
|
+
value: string;
|
|
49
|
+
/** Extra terms used by the filter in addition to the rendered text. */
|
|
50
|
+
keywords?: string[];
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
onSelect?: (value: string) => void;
|
|
53
|
+
children?: ReactNode;
|
|
54
|
+
};
|
|
55
|
+
export type CommandSectionProps = {
|
|
56
|
+
className?: string;
|
|
57
|
+
children?: ReactNode;
|
|
58
|
+
};
|
|
59
|
+
export type ItemMeta = {
|
|
60
|
+
keywords?: string[];
|
|
61
|
+
disabled?: boolean;
|
|
62
|
+
onSelect?: (value: string) => void;
|
|
63
|
+
searchText?: string;
|
|
64
|
+
};
|
|
65
|
+
export type RegisteredItem = {
|
|
66
|
+
value: string;
|
|
67
|
+
metaRef: RefObject<ItemMeta>;
|
|
68
|
+
};
|
|
69
|
+
export type CommandCtx = {
|
|
70
|
+
open: boolean;
|
|
71
|
+
setOpen: (next: boolean) => void;
|
|
72
|
+
labelId: string;
|
|
73
|
+
listId: string;
|
|
74
|
+
query: string;
|
|
75
|
+
setQuery: (next: string) => void;
|
|
76
|
+
activeValue: string | null;
|
|
77
|
+
setActiveValue: (next: string | null) => void;
|
|
78
|
+
visibleValues: string[];
|
|
79
|
+
isVisible: (value: string) => boolean;
|
|
80
|
+
registerItem: (item: RegisteredItem) => () => void;
|
|
81
|
+
invalidateRegistry: () => void;
|
|
82
|
+
selectValue: (value: string) => boolean;
|
|
83
|
+
contentRef: RefObject<HTMLDivElement | null>;
|
|
84
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
85
|
+
inputRef: RefObject<HTMLInputElement | null>;
|
|
86
|
+
};
|
|
87
|
+
export type CommandContentOverlayRenderProps = {
|
|
88
|
+
role: "presentation";
|
|
89
|
+
"data-slot": "command-overlay";
|
|
90
|
+
className: string;
|
|
91
|
+
onClick: () => void;
|
|
92
|
+
};
|
|
93
|
+
export type CommandContentPanelRenderProps = {
|
|
94
|
+
ref: (node: HTMLDivElement | null) => void;
|
|
95
|
+
role: "dialog";
|
|
96
|
+
"aria-modal": true;
|
|
97
|
+
"aria-labelledby": string;
|
|
98
|
+
"data-slot": "command-content";
|
|
99
|
+
tabIndex: -1;
|
|
100
|
+
className: string;
|
|
101
|
+
id?: string;
|
|
102
|
+
style?: CommandContentProps["style"];
|
|
103
|
+
children: ReactNode;
|
|
104
|
+
};
|
|
105
|
+
export type CommandContentLayerProps = CommandContentProps & {
|
|
106
|
+
componentName: string;
|
|
107
|
+
renderPresence?: (children: ReactNode) => ReactNode;
|
|
108
|
+
renderOverlay?: (props: CommandContentOverlayRenderProps) => ReactNode;
|
|
109
|
+
renderPanel?: (props: CommandContentPanelRenderProps) => ReactNode;
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ui/command/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,MAAM,0BAA0B,GAAG,YAAY,CACnD,OAAO,sBAAsB,CAC9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,C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CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,SAAS,CAAC;CACpE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const commandOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2
|
+
export declare const commandTriggerVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
3
|
+
export declare const commandContentVariants: (props?: ({
|
|
4
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
5
|
+
appearance?: "default" | "glass" | "sky" | "emerald" | "violet" | "amber" | "rose" | "gray" | "indigo" | "orange" | "pink" | "purple" | "teal" | "yellow" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export declare const commandInputRowVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
8
|
+
export declare const commandInputVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
|
+
export declare const commandListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
|
+
export declare const commandGroupHeadingVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
|
+
export declare const commandItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
12
|
+
export declare const commandSeparatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
13
|
+
export declare const commandEmptyVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
14
|
+
export declare const commandFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
15
|
+
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../src/ui/command/variants.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,sBAAsB,oFAA6B,CAAC;AAEjE,eAAO,MAAM,sBAAsB,oFAA6B,CAAC;AAEjE,eAAO,MAAM,sBAAsB;;;8EASjC,CAAC;AAEH,eAAO,MAAM,uBAAuB,oFAA8B,CAAC;AACnE,eAAO,MAAM,oBAAoB,oFAA2B,CAAC;AAC7D,eAAO,MAAM,mBAAmB,oFAA0B,CAAC;AAC3D,eAAO,MAAM,2BAA2B,oFAAkC,CAAC;AAC3E,eAAO,MAAM,mBAAmB,oFAA0B,CAAC;AAC3D,eAAO,MAAM,wBAAwB,oFAA+B,CAAC;AACrE,eAAO,MAAM,oBAAoB,oFAA2B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,oFAA4B,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkNZDHSIIC_js = require('../chunk-NZDHSIIC.js');
|
|
5
|
+
require('../chunk-GBWGVNDA.js');
|
|
6
|
+
require('../chunk-UIYFEP3I.js');
|
|
7
|
+
require('../chunk-ZS5756ZC.js');
|
|
8
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
+
|
|
10
|
+
var Command2 = (props) => {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkNZDHSIIC_js.Command, { ...props });
|
|
12
|
+
};
|
|
13
|
+
Command2.displayName = "Command";
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, "CommandContent", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkNZDHSIIC_js.CommandContent; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "CommandEmpty", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkNZDHSIIC_js.CommandEmpty; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "CommandFooter", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkNZDHSIIC_js.CommandFooter; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "CommandGroup", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkNZDHSIIC_js.CommandGroup; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "CommandInput", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkNZDHSIIC_js.CommandInput; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "CommandItem", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkNZDHSIIC_js.CommandItem; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "CommandList", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkNZDHSIIC_js.CommandList; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "CommandSeparator", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkNZDHSIIC_js.CommandSeparator; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "CommandTrigger", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkNZDHSIIC_js.CommandTrigger; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "commandContentVariants", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkNZDHSIIC_js.commandContentVariants; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "commandItemVariants", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkNZDHSIIC_js.commandItemVariants; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "commandOverlayVariants", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return chunkNZDHSIIC_js.commandOverlayVariants; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "useCommandContext", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return chunkNZDHSIIC_js.useCommandContext; }
|
|
66
|
+
});
|
|
67
|
+
exports.Command = Command2;
|
|
68
|
+
//# sourceMappingURL=command.js.map
|
|
69
|
+
//# sourceMappingURL=command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/ui/command/command.tsx"],"names":["Command","jsx"],"mappings":";;;;;;;;AAGO,IAAMA,QAAAA,GAAU,CAAC,KAAA,KAAwB;AAC9C,EAAA,uBAAOC,cAAA,CAACD,wBAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC;AAEAA,QAAAA,CAAQ,WAAA,GAAc,SAAA","file":"command.js","sourcesContent":["import { Command as CommandBase } from \"./command-base\";\nimport type { CommandProps } from \"./types\";\n\nexport const Command = (props: CommandProps) => {\n return <CommandBase {...props} />;\n};\n\nCommand.displayName = \"Command\";\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Command } from '../chunk-KEKMMNL5.mjs';
|
|
3
|
+
export { CommandContent, CommandEmpty, CommandFooter, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandTrigger, commandContentVariants, commandItemVariants, commandOverlayVariants, useCommandContext } from '../chunk-KEKMMNL5.mjs';
|
|
4
|
+
import '../chunk-K6YI4FJO.mjs';
|
|
5
|
+
import '../chunk-PMAF6FBF.mjs';
|
|
6
|
+
import '../chunk-4D54YOL6.mjs';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
var Command2 = (props) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(Command, { ...props });
|
|
11
|
+
};
|
|
12
|
+
Command2.displayName = "Command";
|
|
13
|
+
|
|
14
|
+
export { Command2 as Command };
|
|
15
|
+
//# sourceMappingURL=command.mjs.map
|
|
16
|
+
//# sourceMappingURL=command.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/ui/command/command.tsx"],"names":["Command"],"mappings":";;;;;;;AAGO,IAAMA,QAAAA,GAAU,CAAC,KAAA,KAAwB;AAC9C,EAAA,uBAAO,GAAA,CAAC,OAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC;AAEAA,QAAAA,CAAQ,WAAA,GAAc,SAAA","file":"command.mjs","sourcesContent":["import { Command as CommandBase } from \"./command-base\";\nimport type { CommandProps } from \"./types\";\n\nexport const Command = (props: CommandProps) => {\n return <CommandBase {...props} />;\n};\n\nCommand.displayName = \"Command\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../src/ui/popover/animated/animations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,uBAAuB,EAAE,uBAYrC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { PopoverContentAnimated } from "./popover-content-animated";
|
|
2
|
+
export { popoverAnimationPresets } from "./animations";
|
|
3
|
+
export type { PopoverAnimation, PopoverAnimationPresets, PopoverContentAnimatedProps, PopoverPresetMotionProps, } from "./types";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/popover/animated/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EACV,gBAAgB,EAChB,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,GACzB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { PopoverContentAnimatedProps } from "./types";
|
|
2
|
+
export declare const PopoverContentAnimated: ({ children, className, variant, size, width, side, align, role, animation, onDrag: _onDrag, onDragStart: _onDragStart, onDragEnd: _onDragEnd, onAnimationStart: _onAnimationStart, ...props }: PopoverContentAnimatedProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
//# sourceMappingURL=popover-content-animated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-content-animated.d.ts","sourceRoot":"","sources":["../../../../src/ui/popover/animated/popover-content-animated.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAI3D,eAAO,MAAM,sBAAsB,GAAI,+LAepC,2BAA2B,mDA2B7B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { HTMLMotionProps } from "framer-motion";
|
|
2
|
+
import type { PopoverContentProps } from "../types";
|
|
3
|
+
export type PopoverAnimation = "none" | "fade" | "scale";
|
|
4
|
+
export type PopoverPresetMotionProps = Pick<HTMLMotionProps<"div">, "initial" | "animate" | "style" | "transition">;
|
|
5
|
+
export type PopoverAnimationPresets = Record<PopoverAnimation, PopoverPresetMotionProps>;
|
|
6
|
+
export type PopoverContentAnimatedProps = PopoverContentProps & {
|
|
7
|
+
animation?: PopoverAnimation;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/popover/animated/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,eAAe,CAAC,KAAK,CAAC,EACtB,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,CAC/C,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C,gBAAgB,EAChB,wBAAwB,CACzB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC"}
|