@chaibuilder/sdk 1.3.0-beta.8 → 1.3.0-beta.9

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.
Files changed (63) hide show
  1. package/dist/CodeEditor-CTpbkvn0.cjs +1 -0
  2. package/dist/CodeEditor-ChxA5nBg.js +77 -0
  3. package/dist/STRINGS-eiGM83kj.js +7 -0
  4. package/dist/STRINGS-ew98weUe.cjs +1 -0
  5. package/dist/Topbar-QwR6PKnl.cjs +1 -0
  6. package/dist/Topbar-z1o2yz-v.js +113 -0
  7. package/dist/UnsplashImages-BZ4Uvn_u.cjs +1 -0
  8. package/dist/UnsplashImages-BiXwCeGg.js +189 -0
  9. package/dist/UploadImages-BeAGmTnm.js +101 -0
  10. package/dist/UploadImages-e9ItP1o-.cjs +1 -0
  11. package/dist/context-menu-BbqLeYFX.js +979 -0
  12. package/dist/context-menu-DfAXjmc8.cjs +1 -0
  13. package/dist/controls-C4n5ycp4.cjs +1 -0
  14. package/dist/controls-Com-zYCq.js +234 -0
  15. package/dist/core.cjs +1 -82
  16. package/dist/core.d.ts +8 -4
  17. package/dist/core.js +74 -74
  18. package/dist/iconBase-Cn2BsTrq.cjs +1 -0
  19. package/dist/iconBase-DHfFLkem.js +124 -0
  20. package/dist/index-Cu1kFTGh.cjs +63 -0
  21. package/dist/index-D1NbGHAC.js +9318 -0
  22. package/dist/jsx-runtime-BYECrxsp.cjs +30 -0
  23. package/dist/jsx-runtime-DGlMoOmv.js +630 -0
  24. package/dist/plugin-BOEoR5jk.js +44 -0
  25. package/dist/plugin-COMQcYlW.cjs +1 -0
  26. package/dist/plugin-Dw854zFv.js +107 -0
  27. package/dist/plugin-I9XxF65G.cjs +1 -0
  28. package/dist/render.cjs +2 -208
  29. package/dist/render.js +125 -171
  30. package/dist/runtime.cjs +1 -26
  31. package/dist/runtime.js +16 -16
  32. package/dist/style.css +2 -1529
  33. package/dist/tailwind.cjs +1 -78
  34. package/dist/tailwind.js +19 -21
  35. package/dist/ui.cjs +1 -392
  36. package/dist/ui.js +257 -268
  37. package/dist/web-blocks.cjs +3 -1241
  38. package/dist/web-blocks.js +555 -764
  39. package/package.json +1 -1
  40. package/dist/CodeEditor-1LboGb1I.cjs +0 -91
  41. package/dist/CodeEditor-BKgZeXwz.js +0 -91
  42. package/dist/STRINGS-3Sn_NeX1.cjs +0 -9
  43. package/dist/STRINGS-DdpfVlsV.js +0 -10
  44. package/dist/Topbar-B8IS6y4H.js +0 -135
  45. package/dist/Topbar-DXC7DFU1.cjs +0 -135
  46. package/dist/UnsplashImages-CjJ5szAy.cjs +0 -215
  47. package/dist/UnsplashImages-Ck9qpKR0.js +0 -215
  48. package/dist/UploadImages-DW1mj4MB.cjs +0 -117
  49. package/dist/UploadImages-DgAMZ8GR.js +0 -117
  50. package/dist/context-menu-BLbuduri.cjs +0 -1073
  51. package/dist/context-menu-BgtRnByf.js +0 -1042
  52. package/dist/controls-8EZmm0Ns.js +0 -234
  53. package/dist/controls-DaW52RjX.cjs +0 -233
  54. package/dist/iconBase-BSrIcOaG.cjs +0 -146
  55. package/dist/iconBase-CWgVxu0A.js +0 -147
  56. package/dist/index-Bjw2sUN2.cjs +0 -12139
  57. package/dist/index-D8_rAW8B.js +0 -12124
  58. package/dist/jsx-runtime-B6vEU3CM.cjs +0 -925
  59. package/dist/jsx-runtime-ClFauRgV.js +0 -926
  60. package/dist/plugin-BYwesM58.cjs +0 -54
  61. package/dist/plugin-BiDLHDo3.cjs +0 -114
  62. package/dist/plugin-BukD7GJR.js +0 -115
  63. package/dist/plugin-tVAEvXiS.js +0 -55
@@ -1,1073 +0,0 @@
1
- "use strict";
2
- const jsxRuntime = require("./jsx-runtime-B6vEU3CM.cjs");
3
- const SwitchPrimitives = require("@radix-ui/react-switch");
4
- const React = require("react");
5
- const AccordionPrimitive = require("@radix-ui/react-accordion");
6
- const reactIcons = require("@radix-ui/react-icons");
7
- const classVarianceAuthority = require("class-variance-authority");
8
- const AlertDialogPrimitive = require("@radix-ui/react-alert-dialog");
9
- const reactSlot = require("@radix-ui/react-slot");
10
- const LabelPrimitive = require("@radix-ui/react-label");
11
- const ScrollAreaPrimitive = require("@radix-ui/react-scroll-area");
12
- const TabsPrimitive = require("@radix-ui/react-tabs");
13
- const TooltipPrimitive = require("@radix-ui/react-tooltip");
14
- const PopoverPrimitive = require("@radix-ui/react-popover");
15
- const HoverCardPrimitive = require("@radix-ui/react-hover-card");
16
- const SelectPrimitive = require("@radix-ui/react-select");
17
- const DropdownMenuPrimitive = require("@radix-ui/react-dropdown-menu");
18
- const SeparatorPrimitive = require("@radix-ui/react-separator");
19
- const ToastPrimitives = require("@radix-ui/react-toast");
20
- const cmdk = require("cmdk");
21
- const SheetPrimitive = require("@radix-ui/react-dialog");
22
- const ContextMenuPrimitive = require("@radix-ui/react-context-menu");
23
- const clsx = require("clsx");
24
- const tailwindMerge = require("tailwind-merge");
25
- function _interopNamespaceDefault(e) {
26
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
27
- if (e) {
28
- for (const k in e) {
29
- if (k !== "default") {
30
- const d = Object.getOwnPropertyDescriptor(e, k);
31
- Object.defineProperty(n, k, d.get ? d : {
32
- enumerable: true,
33
- get: () => e[k]
34
- });
35
- }
36
- }
37
- }
38
- n.default = e;
39
- return Object.freeze(n);
40
- }
41
- const SwitchPrimitives__namespace = /* @__PURE__ */ _interopNamespaceDefault(SwitchPrimitives);
42
- const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
43
- const AccordionPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AccordionPrimitive);
44
- const AlertDialogPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AlertDialogPrimitive);
45
- const LabelPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(LabelPrimitive);
46
- const ScrollAreaPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(ScrollAreaPrimitive);
47
- const TabsPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(TabsPrimitive);
48
- const TooltipPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(TooltipPrimitive);
49
- const PopoverPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(PopoverPrimitive);
50
- const HoverCardPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(HoverCardPrimitive);
51
- const SelectPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(SelectPrimitive);
52
- const DropdownMenuPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(DropdownMenuPrimitive);
53
- const SeparatorPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(SeparatorPrimitive);
54
- const ToastPrimitives__namespace = /* @__PURE__ */ _interopNamespaceDefault(ToastPrimitives);
55
- const SheetPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(SheetPrimitive);
56
- const ContextMenuPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(ContextMenuPrimitive);
57
- const cn = (...inputs) => tailwindMerge.twMerge(clsx.clsx(inputs));
58
- const Switch = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
59
- SwitchPrimitives__namespace.Root,
60
- {
61
- className: cn(
62
- "peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
63
- className
64
- ),
65
- ...props,
66
- ref,
67
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
68
- SwitchPrimitives__namespace.Thumb,
69
- {
70
- className: cn(
71
- "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
72
- )
73
- }
74
- )
75
- }
76
- ));
77
- Switch.displayName = SwitchPrimitives__namespace.Root.displayName;
78
- const buttonVariants = classVarianceAuthority.cva(
79
- "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
80
- {
81
- variants: {
82
- variant: {
83
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
84
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
85
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
86
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
87
- ghost: "hover:bg-accent hover:text-accent-foreground",
88
- link: "text-primary underline-offset-4 hover:underline"
89
- },
90
- size: {
91
- default: "h-9 px-4 py-2",
92
- sm: "h-8 rounded-md px-3 text-xs",
93
- lg: "h-10 rounded-md px-8",
94
- icon: "h-9 w-9"
95
- }
96
- },
97
- defaultVariants: {
98
- variant: "default",
99
- size: "default"
100
- }
101
- }
102
- );
103
- const Button = React__namespace.forwardRef(
104
- ({ className, variant, size, asChild = false, ...props }, ref) => {
105
- const Comp = asChild ? reactSlot.Slot : "button";
106
- return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
107
- }
108
- );
109
- Button.displayName = "Button";
110
- const Accordion = AccordionPrimitive__namespace.Root;
111
- const AccordionItem = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AccordionPrimitive__namespace.Item, { ref, className: cn("border-b", className), ...props }));
112
- AccordionItem.displayName = "AccordionItem";
113
- const AccordionTrigger = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
114
- AccordionPrimitive__namespace.Trigger,
115
- {
116
- ref,
117
- className: cn(
118
- "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
119
- className
120
- ),
121
- ...props,
122
- children: [
123
- children,
124
- props.hideArrow ? null : /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.ChevronDownIcon, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
125
- ]
126
- }
127
- ) }));
128
- AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
129
- const AccordionContent = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
130
- AccordionPrimitive__namespace.Content,
131
- {
132
- ref,
133
- className: cn(
134
- "text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
135
- className
136
- ),
137
- ...props,
138
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "pb-4 pt-0", children })
139
- }
140
- ));
141
- AccordionContent.displayName = AccordionPrimitive__namespace.Content.displayName;
142
- const badgeVariants = classVarianceAuthority.cva(
143
- "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
144
- {
145
- variants: {
146
- variant: {
147
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
148
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
149
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
150
- outline: "text-foreground"
151
- }
152
- },
153
- defaultVariants: {
154
- variant: "default"
155
- }
156
- }
157
- );
158
- const Badge = ({ className, variant, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
159
- const AlertDialog = AlertDialogPrimitive__namespace.Root;
160
- const AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
161
- const AlertDialogPortal = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AlertDialogPrimitive__namespace.Portal, { className: cn(className), ...props });
162
- AlertDialogPortal.displayName = AlertDialogPrimitive__namespace.Portal.displayName;
163
- const AlertDialogOverlay = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
164
- AlertDialogPrimitive__namespace.Overlay,
165
- {
166
- className: cn(
167
- "fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
168
- className
169
- ),
170
- ...props,
171
- ref
172
- }
173
- ));
174
- AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
175
- const AlertDialogContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(AlertDialogPortal, { children: [
176
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AlertDialogOverlay, {}),
177
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
178
- AlertDialogPrimitive__namespace.Content,
179
- {
180
- ref,
181
- className: cn(
182
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",
183
- className
184
- ),
185
- ...props
186
- }
187
- )
188
- ] }));
189
- AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.displayName;
190
- const AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
191
- AlertDialogHeader.displayName = "AlertDialogHeader";
192
- const AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
193
- AlertDialogFooter.displayName = "AlertDialogFooter";
194
- const AlertDialogTitle = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AlertDialogPrimitive__namespace.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
195
- AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
196
- const AlertDialogDescription = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AlertDialogPrimitive__namespace.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
197
- AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
198
- const AlertDialogAction = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(AlertDialogPrimitive__namespace.Action, { ref, className: cn(buttonVariants(), className), ...props }));
199
- AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
200
- const AlertDialogCancel = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
201
- AlertDialogPrimitive__namespace.Cancel,
202
- {
203
- ref,
204
- className: cn(buttonVariants({ variant: "outline" }), "mt-2 sm:mt-0", className),
205
- ...props
206
- }
207
- ));
208
- AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
209
- const Dialog = SheetPrimitive__namespace.Root;
210
- const DialogTrigger = SheetPrimitive__namespace.Trigger;
211
- const DialogPortal = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SheetPrimitive__namespace.Portal, { className: cn(className), ...props });
212
- DialogPortal.displayName = SheetPrimitive__namespace.Portal.displayName;
213
- const DialogOverlay = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
214
- SheetPrimitive__namespace.Overlay,
215
- {
216
- ref,
217
- className: cn(
218
- "fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
219
- className
220
- ),
221
- ...props
222
- }
223
- ));
224
- DialogOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
225
- const DialogContent = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(DialogPortal, { children: [
226
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DialogOverlay, {}),
227
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
228
- SheetPrimitive__namespace.Content,
229
- {
230
- ref,
231
- className: cn(
232
- "fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",
233
- className
234
- ),
235
- ...props,
236
- children: [
237
- children,
238
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(SheetPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
239
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.Cross2Icon, { className: "h-4 w-4" }),
240
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
241
- ] })
242
- ]
243
- }
244
- )
245
- ] }));
246
- DialogContent.displayName = SheetPrimitive__namespace.Content.displayName;
247
- const DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
248
- DialogHeader.displayName = "DialogHeader";
249
- const DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
250
- DialogFooter.displayName = "DialogFooter";
251
- const DialogTitle = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
252
- SheetPrimitive__namespace.Title,
253
- {
254
- ref,
255
- className: cn("text-lg font-semibold leading-none tracking-tight", className),
256
- ...props
257
- }
258
- ));
259
- DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
260
- const DialogDescription = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SheetPrimitive__namespace.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
261
- DialogDescription.displayName = SheetPrimitive__namespace.Description.displayName;
262
- const Card = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { ref, className: cn("rounded-xl border bg-card text-card-foreground shadow", className), ...props }));
263
- Card.displayName = "Card";
264
- const CardHeader = React__namespace.forwardRef(
265
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
266
- );
267
- CardHeader.displayName = "CardHeader";
268
- const CardTitle = React__namespace.forwardRef(
269
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("h3", { ref, className: cn("font-semibold leading-none tracking-tight", className), ...props })
270
- );
271
- CardTitle.displayName = "CardTitle";
272
- const CardDescription = React__namespace.forwardRef(
273
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
274
- );
275
- CardDescription.displayName = "CardDescription";
276
- const CardContent = React__namespace.forwardRef(
277
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props })
278
- );
279
- CardContent.displayName = "CardContent";
280
- const CardFooter = React__namespace.forwardRef(
281
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { ref, className: cn(" flex items-center p-6 pt-0", className), ...props })
282
- );
283
- CardFooter.displayName = "CardFooter";
284
- const Input = React__namespace.forwardRef(({ className, type, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
285
- "input",
286
- {
287
- type,
288
- className: cn(
289
- "flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
290
- className
291
- ),
292
- ref,
293
- ...props,
294
- autoCapitalize: "off",
295
- autoCorrect: "off",
296
- spellCheck: "false"
297
- }
298
- ));
299
- Input.displayName = "Input";
300
- const labelVariants = classVarianceAuthority.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
301
- const Label = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(LabelPrimitive__namespace.Root, { ref, className: cn(labelVariants(), className), ...props }));
302
- Label.displayName = LabelPrimitive__namespace.Root.displayName;
303
- const Textarea = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
304
- "textarea",
305
- {
306
- className: cn(
307
- "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
308
- className
309
- ),
310
- ref,
311
- ...props,
312
- autoCapitalize: "off",
313
- autoCorrect: "off",
314
- spellCheck: "false"
315
- }
316
- ));
317
- Textarea.displayName = "Textarea";
318
- const ScrollArea = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(ScrollAreaPrimitive__namespace.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
319
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ScrollAreaPrimitive__namespace.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
320
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ScrollBar, {}),
321
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ScrollAreaPrimitive__namespace.Corner, {})
322
- ] }));
323
- ScrollArea.displayName = ScrollAreaPrimitive__namespace.Root.displayName;
324
- const ScrollBar = React__namespace.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
325
- ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
326
- {
327
- ref,
328
- orientation,
329
- className: cn(
330
- "flex touch-none select-none transition-colors",
331
- orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
332
- orientation === "horizontal" && "h-2.5 border-t border-t-transparent p-[1px]",
333
- className
334
- ),
335
- ...props,
336
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ScrollAreaPrimitive__namespace.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
337
- }
338
- ));
339
- ScrollBar.displayName = ScrollAreaPrimitive__namespace.ScrollAreaScrollbar.displayName;
340
- const Tabs = TabsPrimitive__namespace.Root;
341
- const TabsList = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
342
- TabsPrimitive__namespace.List,
343
- {
344
- ref,
345
- className: cn(
346
- "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
347
- className
348
- ),
349
- ...props
350
- }
351
- ));
352
- TabsList.displayName = TabsPrimitive__namespace.List.displayName;
353
- const TabsTrigger = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
354
- TabsPrimitive__namespace.Trigger,
355
- {
356
- ref,
357
- className: cn(
358
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
359
- className
360
- ),
361
- ...props
362
- }
363
- ));
364
- TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
365
- const TabsContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
366
- TabsPrimitive__namespace.Content,
367
- {
368
- ref,
369
- className: cn(
370
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
371
- className
372
- ),
373
- ...props
374
- }
375
- ));
376
- TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
377
- const TooltipPortal = TooltipPrimitive__namespace.Portal;
378
- const TooltipProvider = TooltipPrimitive__namespace.Provider;
379
- const Tooltip = TooltipPrimitive__namespace.Root;
380
- const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
381
- const TooltipContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
382
- TooltipPrimitive__namespace.Content,
383
- {
384
- ref,
385
- sideOffset,
386
- className: cn(
387
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
388
- className
389
- ),
390
- ...props
391
- }
392
- ));
393
- TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
394
- const Popover = PopoverPrimitive__namespace.Root;
395
- const PopoverTrigger = PopoverPrimitive__namespace.Trigger;
396
- const PopoverContent = React__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
397
- PopoverPrimitive__namespace.Content,
398
- {
399
- ref,
400
- align,
401
- sideOffset,
402
- className: cn(
403
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
404
- className
405
- ),
406
- ...props
407
- }
408
- ) }));
409
- PopoverContent.displayName = PopoverPrimitive__namespace.Content.displayName;
410
- const HoverCard = HoverCardPrimitive__namespace.Root;
411
- const HoverCardTrigger = HoverCardPrimitive__namespace.Trigger;
412
- const HoverCardContent = React__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
413
- HoverCardPrimitive__namespace.Content,
414
- {
415
- ref,
416
- align,
417
- sideOffset,
418
- className: cn(
419
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
420
- className
421
- ),
422
- ...props
423
- }
424
- ));
425
- HoverCardContent.displayName = HoverCardPrimitive__namespace.Content.displayName;
426
- const Select = SelectPrimitive__namespace.Root;
427
- const SelectGroup = SelectPrimitive__namespace.Group;
428
- const SelectValue = SelectPrimitive__namespace.Value;
429
- const SelectTrigger = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
430
- SelectPrimitive__namespace.Trigger,
431
- {
432
- ref,
433
- className: cn(
434
- "flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
435
- className
436
- ),
437
- ...props,
438
- children: [
439
- children,
440
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.CaretSortIcon, { className: "h-4 w-4 opacity-50" }) })
441
- ]
442
- }
443
- ));
444
- SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
445
- const SelectContent = React__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
446
- SelectPrimitive__namespace.Content,
447
- {
448
- ref,
449
- className: cn(
450
- "relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
451
- position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
452
- className
453
- ),
454
- position,
455
- ...props,
456
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
457
- SelectPrimitive__namespace.Viewport,
458
- {
459
- className: cn(
460
- "p-1",
461
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
462
- ),
463
- children
464
- }
465
- )
466
- }
467
- ) }));
468
- SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
469
- const SelectLabel = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.Label, { ref, className: cn("px-2 py-1.5 text-sm font-semibold", className), ...props }));
470
- SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
471
- const SelectItem = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
472
- SelectPrimitive__namespace.Item,
473
- {
474
- ref,
475
- className: cn(
476
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
477
- className
478
- ),
479
- ...props,
480
- children: [
481
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.CheckIcon, { className: "h-4 w-4" }) }) }),
482
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.ItemText, { children })
483
- ]
484
- }
485
- ));
486
- SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
487
- const SelectSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(SelectPrimitive__namespace.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
488
- SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
489
- const DropdownMenu = DropdownMenuPrimitive__namespace.Root;
490
- const DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
491
- const DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
492
- const DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
493
- const DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
494
- const DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
495
- const DropdownMenuSubTrigger = React__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
496
- DropdownMenuPrimitive__namespace.SubTrigger,
497
- {
498
- ref,
499
- className: cn(
500
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
501
- inset && "pl-8",
502
- className
503
- ),
504
- ...props,
505
- children: [
506
- children,
507
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
508
- ]
509
- }
510
- ));
511
- DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
512
- const DropdownMenuSubContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
513
- DropdownMenuPrimitive__namespace.SubContent,
514
- {
515
- ref,
516
- className: cn(
517
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
518
- className
519
- ),
520
- ...props
521
- }
522
- ));
523
- DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
524
- const DropdownMenuContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
525
- DropdownMenuPrimitive__namespace.Content,
526
- {
527
- ref,
528
- sideOffset,
529
- className: cn(
530
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
531
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
532
- className
533
- ),
534
- ...props
535
- }
536
- ) }));
537
- DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
538
- const DropdownMenuItem = React__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
539
- DropdownMenuPrimitive__namespace.Item,
540
- {
541
- ref,
542
- className: cn(
543
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
544
- inset && "pl-8",
545
- className
546
- ),
547
- ...props
548
- }
549
- ));
550
- DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
551
- const DropdownMenuCheckboxItem = React__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
552
- DropdownMenuPrimitive__namespace.CheckboxItem,
553
- {
554
- ref,
555
- className: cn(
556
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
557
- className
558
- ),
559
- checked,
560
- ...props,
561
- children: [
562
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.CheckIcon, { className: "h-4 w-4" }) }) }),
563
- children
564
- ]
565
- }
566
- ));
567
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
568
- const DropdownMenuRadioItem = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
569
- DropdownMenuPrimitive__namespace.RadioItem,
570
- {
571
- ref,
572
- className: cn(
573
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
574
- className
575
- ),
576
- ...props,
577
- children: [
578
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
579
- children
580
- ]
581
- }
582
- ));
583
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
584
- const DropdownMenuLabel = React__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
585
- DropdownMenuPrimitive__namespace.Label,
586
- {
587
- ref,
588
- className: cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
589
- ...props
590
- }
591
- ));
592
- DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
593
- const DropdownMenuSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DropdownMenuPrimitive__namespace.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
594
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.displayName;
595
- const DropdownMenuShortcut = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
596
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
597
- const Separator = React__namespace.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
598
- SeparatorPrimitive__namespace.Root,
599
- {
600
- ref,
601
- decorative,
602
- orientation,
603
- className: cn("shrink-0 bg-border", orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", className),
604
- ...props
605
- }
606
- ));
607
- Separator.displayName = SeparatorPrimitive__namespace.Root.displayName;
608
- const TOAST_LIMIT = 1;
609
- const TOAST_REMOVE_DELAY = 1e6;
610
- let count = 0;
611
- function genId() {
612
- count = (count + 1) % Number.MAX_VALUE;
613
- return count.toString();
614
- }
615
- const toastTimeouts = /* @__PURE__ */ new Map();
616
- const addToRemoveQueue = (toastId) => {
617
- if (toastTimeouts.has(toastId)) {
618
- return;
619
- }
620
- const timeout = setTimeout(() => {
621
- toastTimeouts.delete(toastId);
622
- dispatch({
623
- type: "REMOVE_TOAST",
624
- toastId
625
- });
626
- }, TOAST_REMOVE_DELAY);
627
- toastTimeouts.set(toastId, timeout);
628
- };
629
- const reducer = (state, action) => {
630
- switch (action.type) {
631
- case "ADD_TOAST":
632
- return {
633
- ...state,
634
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
635
- };
636
- case "UPDATE_TOAST":
637
- return {
638
- ...state,
639
- toasts: state.toasts.map((t) => t.id === action.toast.id ? { ...t, ...action.toast } : t)
640
- };
641
- case "DISMISS_TOAST": {
642
- const { toastId } = action;
643
- if (toastId) {
644
- addToRemoveQueue(toastId);
645
- } else {
646
- state.toasts.forEach((toast2) => {
647
- addToRemoveQueue(toast2.id);
648
- });
649
- }
650
- return {
651
- ...state,
652
- toasts: state.toasts.map(
653
- (t) => t.id === toastId || toastId === void 0 ? {
654
- ...t,
655
- open: false
656
- } : t
657
- )
658
- };
659
- }
660
- case "REMOVE_TOAST":
661
- if (action.toastId === void 0) {
662
- return {
663
- ...state,
664
- toasts: []
665
- };
666
- }
667
- return {
668
- ...state,
669
- toasts: state.toasts.filter((t) => t.id !== action.toastId)
670
- };
671
- }
672
- };
673
- const listeners = [];
674
- let memoryState = { toasts: [] };
675
- function dispatch(action) {
676
- memoryState = reducer(memoryState, action);
677
- listeners.forEach((listener) => {
678
- listener(memoryState);
679
- });
680
- }
681
- function toast({ ...props }) {
682
- const id = genId();
683
- const update = (props2) => dispatch({
684
- type: "UPDATE_TOAST",
685
- toast: { ...props2, id }
686
- });
687
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
688
- dispatch({
689
- type: "ADD_TOAST",
690
- toast: {
691
- ...props,
692
- id,
693
- open: true,
694
- onOpenChange: (open) => {
695
- if (!open) dismiss();
696
- }
697
- }
698
- });
699
- return {
700
- id,
701
- dismiss,
702
- update
703
- };
704
- }
705
- function useToast() {
706
- const [state, setState] = React__namespace.useState(memoryState);
707
- React__namespace.useEffect(() => {
708
- listeners.push(setState);
709
- return () => {
710
- const index = listeners.indexOf(setState);
711
- if (index > -1) {
712
- listeners.splice(index, 1);
713
- }
714
- };
715
- }, [state]);
716
- return {
717
- ...state,
718
- toast,
719
- dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
720
- };
721
- }
722
- const ToastProvider = ToastPrimitives__namespace.Provider;
723
- const ToastViewport = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
724
- ToastPrimitives__namespace.Viewport,
725
- {
726
- ref,
727
- className: cn(
728
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
729
- className
730
- ),
731
- ...props
732
- }
733
- ));
734
- ToastViewport.displayName = ToastPrimitives__namespace.Viewport.displayName;
735
- const toastVariants = classVarianceAuthority.cva(
736
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
737
- {
738
- variants: {
739
- variant: {
740
- default: "border bg-background",
741
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
742
- }
743
- },
744
- defaultVariants: {
745
- variant: "default"
746
- }
747
- }
748
- );
749
- const Toast = React__namespace.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastPrimitives__namespace.Root, { ref, className: cn(toastVariants({ variant }), className), ...props }));
750
- Toast.displayName = ToastPrimitives__namespace.Root.displayName;
751
- const ToastAction = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
752
- ToastPrimitives__namespace.Action,
753
- {
754
- ref,
755
- className: cn(
756
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
757
- className
758
- ),
759
- ...props
760
- }
761
- ));
762
- ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
763
- const ToastClose = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
764
- ToastPrimitives__namespace.Close,
765
- {
766
- ref,
767
- className: cn(
768
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
769
- className
770
- ),
771
- "toast-close": "",
772
- ...props,
773
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.Cross2Icon, { className: "h-4 w-4" })
774
- }
775
- ));
776
- ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
777
- const ToastTitle = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastPrimitives__namespace.Title, { ref, className: cn("text-sm font-semibold [&+div]:text-xs", className), ...props }));
778
- ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
779
- const ToastDescription = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastPrimitives__namespace.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
780
- ToastDescription.displayName = ToastPrimitives__namespace.Description.displayName;
781
- function Toaster() {
782
- const { toasts } = useToast();
783
- return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(ToastProvider, { children: [
784
- toasts.map(({ id, title, description, action, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Toast, { ...props, children: [
785
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "grid gap-1", children: [
786
- title && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastTitle, { children: title }),
787
- description && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastDescription, { children: description })
788
- ] }),
789
- action,
790
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastClose, {})
791
- ] }, id)),
792
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ToastViewport, {})
793
- ] });
794
- }
795
- const Skeleton = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: cn("animate-pulse rounded-md bg-primary/10", className), ...props });
796
- const Command = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
797
- cmdk.Command,
798
- {
799
- ref,
800
- className: cn(
801
- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
802
- className
803
- ),
804
- ...props
805
- }
806
- ));
807
- Command.displayName = cmdk.Command.displayName;
808
- const CommandDialog = ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(DialogContent, { className: "overflow-hidden p-0", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
809
- const CommandInput = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
810
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
811
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
812
- cmdk.Command.Input,
813
- {
814
- ref,
815
- className: cn(
816
- "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
817
- className
818
- ),
819
- ...props
820
- }
821
- )
822
- ] }));
823
- CommandInput.displayName = cmdk.Command.Input.displayName;
824
- const CommandList = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
825
- cmdk.Command.List,
826
- {
827
- ref,
828
- className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
829
- ...props
830
- }
831
- ));
832
- CommandList.displayName = cmdk.Command.List.displayName;
833
- const CommandEmpty = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
834
- CommandEmpty.displayName = cmdk.Command.Empty.displayName;
835
- const CommandGroup = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
836
- cmdk.Command.Group,
837
- {
838
- ref,
839
- className: cn(
840
- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
841
- className
842
- ),
843
- ...props
844
- }
845
- ));
846
- CommandGroup.displayName = cmdk.Command.Group.displayName;
847
- const CommandSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(cmdk.Command.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
848
- CommandSeparator.displayName = cmdk.Command.Separator.displayName;
849
- const CommandItem = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
850
- cmdk.Command.Item,
851
- {
852
- ref,
853
- className: cn(
854
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
855
- className
856
- ),
857
- ...props
858
- }
859
- ));
860
- CommandItem.displayName = cmdk.Command.Item.displayName;
861
- const CommandShortcut = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
862
- CommandShortcut.displayName = "CommandShortcut";
863
- const ContextMenu = ContextMenuPrimitive__namespace.Root;
864
- const ContextMenuTrigger = ContextMenuPrimitive__namespace.Trigger;
865
- const ContextMenuGroup = ContextMenuPrimitive__namespace.Group;
866
- const ContextMenuPortal = ContextMenuPrimitive__namespace.Portal;
867
- const ContextMenuSub = ContextMenuPrimitive__namespace.Sub;
868
- const ContextMenuRadioGroup = ContextMenuPrimitive__namespace.RadioGroup;
869
- const ContextMenuSubTrigger = React__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
870
- ContextMenuPrimitive__namespace.SubTrigger,
871
- {
872
- ref,
873
- className: cn(
874
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
875
- inset && "pl-8",
876
- className
877
- ),
878
- ...props,
879
- children: [
880
- children,
881
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
882
- ]
883
- }
884
- ));
885
- ContextMenuSubTrigger.displayName = ContextMenuPrimitive__namespace.SubTrigger.displayName;
886
- const ContextMenuSubContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
887
- ContextMenuPrimitive__namespace.SubContent,
888
- {
889
- ref,
890
- className: cn(
891
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
892
- className
893
- ),
894
- ...props
895
- }
896
- ));
897
- ContextMenuSubContent.displayName = ContextMenuPrimitive__namespace.SubContent.displayName;
898
- const ContextMenuContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ContextMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
899
- ContextMenuPrimitive__namespace.Content,
900
- {
901
- ref,
902
- className: cn(
903
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
904
- className
905
- ),
906
- ...props
907
- }
908
- ) }));
909
- ContextMenuContent.displayName = ContextMenuPrimitive__namespace.Content.displayName;
910
- const ContextMenuItem = React__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
911
- ContextMenuPrimitive__namespace.Item,
912
- {
913
- ref,
914
- className: cn(
915
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
916
- inset && "pl-8",
917
- className
918
- ),
919
- ...props
920
- }
921
- ));
922
- ContextMenuItem.displayName = ContextMenuPrimitive__namespace.Item.displayName;
923
- const ContextMenuCheckboxItem = React__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
924
- ContextMenuPrimitive__namespace.CheckboxItem,
925
- {
926
- ref,
927
- className: cn(
928
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
929
- className
930
- ),
931
- checked,
932
- ...props,
933
- children: [
934
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.CheckIcon, { className: "h-4 w-4" }) }) }),
935
- children
936
- ]
937
- }
938
- ));
939
- ContextMenuCheckboxItem.displayName = ContextMenuPrimitive__namespace.CheckboxItem.displayName;
940
- const ContextMenuRadioItem = React__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
941
- ContextMenuPrimitive__namespace.RadioItem,
942
- {
943
- ref,
944
- className: cn(
945
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
946
- className
947
- ),
948
- ...props,
949
- children: [
950
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(reactIcons.DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
951
- children
952
- ]
953
- }
954
- ));
955
- ContextMenuRadioItem.displayName = ContextMenuPrimitive__namespace.RadioItem.displayName;
956
- const ContextMenuLabel = React__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
957
- ContextMenuPrimitive__namespace.Label,
958
- {
959
- ref,
960
- className: cn("px-2 py-1.5 text-sm font-semibold text-foreground", inset && "pl-8", className),
961
- ...props
962
- }
963
- ));
964
- ContextMenuLabel.displayName = ContextMenuPrimitive__namespace.Label.displayName;
965
- const ContextMenuSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(ContextMenuPrimitive__namespace.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
966
- ContextMenuSeparator.displayName = ContextMenuPrimitive__namespace.Separator.displayName;
967
- const ContextMenuShortcut = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
968
- ContextMenuShortcut.displayName = "ContextMenuShortcut";
969
- exports.Accordion = Accordion;
970
- exports.AccordionContent = AccordionContent;
971
- exports.AccordionItem = AccordionItem;
972
- exports.AccordionTrigger = AccordionTrigger;
973
- exports.AlertDialog = AlertDialog;
974
- exports.AlertDialogAction = AlertDialogAction;
975
- exports.AlertDialogCancel = AlertDialogCancel;
976
- exports.AlertDialogContent = AlertDialogContent;
977
- exports.AlertDialogDescription = AlertDialogDescription;
978
- exports.AlertDialogFooter = AlertDialogFooter;
979
- exports.AlertDialogHeader = AlertDialogHeader;
980
- exports.AlertDialogTitle = AlertDialogTitle;
981
- exports.AlertDialogTrigger = AlertDialogTrigger;
982
- exports.Badge = Badge;
983
- exports.Button = Button;
984
- exports.Card = Card;
985
- exports.CardContent = CardContent;
986
- exports.CardDescription = CardDescription;
987
- exports.CardFooter = CardFooter;
988
- exports.CardHeader = CardHeader;
989
- exports.CardTitle = CardTitle;
990
- exports.Command = Command;
991
- exports.CommandDialog = CommandDialog;
992
- exports.CommandEmpty = CommandEmpty;
993
- exports.CommandGroup = CommandGroup;
994
- exports.CommandInput = CommandInput;
995
- exports.CommandItem = CommandItem;
996
- exports.CommandList = CommandList;
997
- exports.CommandSeparator = CommandSeparator;
998
- exports.CommandShortcut = CommandShortcut;
999
- exports.ContextMenu = ContextMenu;
1000
- exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem;
1001
- exports.ContextMenuContent = ContextMenuContent;
1002
- exports.ContextMenuGroup = ContextMenuGroup;
1003
- exports.ContextMenuItem = ContextMenuItem;
1004
- exports.ContextMenuLabel = ContextMenuLabel;
1005
- exports.ContextMenuPortal = ContextMenuPortal;
1006
- exports.ContextMenuRadioGroup = ContextMenuRadioGroup;
1007
- exports.ContextMenuRadioItem = ContextMenuRadioItem;
1008
- exports.ContextMenuSeparator = ContextMenuSeparator;
1009
- exports.ContextMenuShortcut = ContextMenuShortcut;
1010
- exports.ContextMenuSub = ContextMenuSub;
1011
- exports.ContextMenuSubContent = ContextMenuSubContent;
1012
- exports.ContextMenuSubTrigger = ContextMenuSubTrigger;
1013
- exports.ContextMenuTrigger = ContextMenuTrigger;
1014
- exports.Dialog = Dialog;
1015
- exports.DialogContent = DialogContent;
1016
- exports.DialogDescription = DialogDescription;
1017
- exports.DialogFooter = DialogFooter;
1018
- exports.DialogHeader = DialogHeader;
1019
- exports.DialogTitle = DialogTitle;
1020
- exports.DialogTrigger = DialogTrigger;
1021
- exports.DropdownMenu = DropdownMenu;
1022
- exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
1023
- exports.DropdownMenuContent = DropdownMenuContent;
1024
- exports.DropdownMenuGroup = DropdownMenuGroup;
1025
- exports.DropdownMenuItem = DropdownMenuItem;
1026
- exports.DropdownMenuLabel = DropdownMenuLabel;
1027
- exports.DropdownMenuPortal = DropdownMenuPortal;
1028
- exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
1029
- exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
1030
- exports.DropdownMenuSeparator = DropdownMenuSeparator;
1031
- exports.DropdownMenuShortcut = DropdownMenuShortcut;
1032
- exports.DropdownMenuSub = DropdownMenuSub;
1033
- exports.DropdownMenuSubContent = DropdownMenuSubContent;
1034
- exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
1035
- exports.DropdownMenuTrigger = DropdownMenuTrigger;
1036
- exports.HoverCard = HoverCard;
1037
- exports.HoverCardContent = HoverCardContent;
1038
- exports.HoverCardTrigger = HoverCardTrigger;
1039
- exports.Input = Input;
1040
- exports.Label = Label;
1041
- exports.Popover = Popover;
1042
- exports.PopoverContent = PopoverContent;
1043
- exports.PopoverTrigger = PopoverTrigger;
1044
- exports.ScrollArea = ScrollArea;
1045
- exports.ScrollBar = ScrollBar;
1046
- exports.Select = Select;
1047
- exports.SelectContent = SelectContent;
1048
- exports.SelectGroup = SelectGroup;
1049
- exports.SelectItem = SelectItem;
1050
- exports.SelectLabel = SelectLabel;
1051
- exports.SelectSeparator = SelectSeparator;
1052
- exports.SelectTrigger = SelectTrigger;
1053
- exports.SelectValue = SelectValue;
1054
- exports.Separator = Separator;
1055
- exports.Skeleton = Skeleton;
1056
- exports.Switch = Switch;
1057
- exports.Tabs = Tabs;
1058
- exports.TabsContent = TabsContent;
1059
- exports.TabsList = TabsList;
1060
- exports.TabsTrigger = TabsTrigger;
1061
- exports.Textarea = Textarea;
1062
- exports.Toaster = Toaster;
1063
- exports.Tooltip = Tooltip;
1064
- exports.TooltipContent = TooltipContent;
1065
- exports.TooltipPortal = TooltipPortal;
1066
- exports.TooltipProvider = TooltipProvider;
1067
- exports.TooltipTrigger = TooltipTrigger;
1068
- exports.badgeVariants = badgeVariants;
1069
- exports.buttonVariants = buttonVariants;
1070
- exports.cn = cn;
1071
- exports.reducer = reducer;
1072
- exports.toast = toast;
1073
- exports.useToast = useToast;