@chaibuilder/sdk 1.3.0-beta.7 → 1.3.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CodeEditor-1LboGb1I.cjs +91 -0
- package/dist/CodeEditor-BKgZeXwz.js +91 -0
- package/dist/STRINGS-3Sn_NeX1.cjs +9 -0
- package/dist/STRINGS-DdpfVlsV.js +10 -0
- package/dist/Topbar-B8IS6y4H.js +135 -0
- package/dist/Topbar-DXC7DFU1.cjs +135 -0
- package/dist/UnsplashImages-CjJ5szAy.cjs +215 -0
- package/dist/UnsplashImages-Ck9qpKR0.js +215 -0
- package/dist/UploadImages-DW1mj4MB.cjs +117 -0
- package/dist/UploadImages-DgAMZ8GR.js +117 -0
- package/dist/context-menu-BLbuduri.cjs +1073 -0
- package/dist/context-menu-BgtRnByf.js +1042 -0
- package/dist/controls-8EZmm0Ns.js +234 -0
- package/dist/controls-DaW52RjX.cjs +233 -0
- package/dist/core.cjs +82 -1
- package/dist/core.js +74 -74
- package/dist/iconBase-BSrIcOaG.cjs +146 -0
- package/dist/iconBase-CWgVxu0A.js +147 -0
- package/dist/index-Bjw2sUN2.cjs +12139 -0
- package/dist/index-D8_rAW8B.js +12124 -0
- package/dist/jsx-runtime-B6vEU3CM.cjs +925 -0
- package/dist/jsx-runtime-ClFauRgV.js +926 -0
- package/dist/plugin-BYwesM58.cjs +54 -0
- package/dist/plugin-BiDLHDo3.cjs +114 -0
- package/dist/plugin-BukD7GJR.js +115 -0
- package/dist/plugin-tVAEvXiS.js +55 -0
- package/dist/render.cjs +208 -2
- package/dist/render.js +171 -125
- package/dist/runtime.cjs +26 -1
- package/dist/runtime.js +16 -16
- package/dist/style.css +1529 -2
- package/dist/tailwind.cjs +78 -1
- package/dist/tailwind.js +21 -19
- package/dist/ui.cjs +392 -1
- package/dist/ui.js +268 -257
- package/dist/web-blocks.cjs +1241 -3
- package/dist/web-blocks.js +764 -555
- package/package.json +1 -1
- package/dist/CodeEditor-CLJIUsvL.js +0 -77
- package/dist/CodeEditor-DrVE5UwR.cjs +0 -1
- package/dist/STRINGS-eiGM83kj.js +0 -7
- package/dist/STRINGS-ew98weUe.cjs +0 -1
- package/dist/Topbar-BvLH3BD9.cjs +0 -1
- package/dist/Topbar-D3bfoa2h.js +0 -113
- package/dist/UnsplashImages-3SDmSL-g.js +0 -189
- package/dist/UnsplashImages-Cx6vImSl.cjs +0 -1
- package/dist/UploadImages-CkjdUS7T.js +0 -101
- package/dist/UploadImages-aqkH-8LC.cjs +0 -1
- package/dist/context-menu-BbqLeYFX.js +0 -979
- package/dist/context-menu-DfAXjmc8.cjs +0 -1
- package/dist/controls-C4n5ycp4.cjs +0 -1
- package/dist/controls-Com-zYCq.js +0 -234
- package/dist/iconBase-Cn2BsTrq.cjs +0 -1
- package/dist/iconBase-DHfFLkem.js +0 -124
- package/dist/index-BlcnqLh_.js +0 -9236
- package/dist/index-DUJxGeyq.cjs +0 -63
- package/dist/jsx-runtime-BYECrxsp.cjs +0 -30
- package/dist/jsx-runtime-DGlMoOmv.js +0 -630
- package/dist/plugin-BOEoR5jk.js +0 -44
- package/dist/plugin-COMQcYlW.cjs +0 -1
- package/dist/plugin-Dw854zFv.js +0 -107
- package/dist/plugin-I9XxF65G.cjs +0 -1
package/dist/ui.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import { cva
|
|
5
|
-
import { c as
|
|
6
|
-
import { A
|
|
7
|
-
import { ChevronRightIcon
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
const
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { c as cn } from "./context-menu-BgtRnByf.js";
|
|
6
|
+
import { A, f, d, e, i, p, q, k, o, m, l, n, j, g, B, C, F, E, y, x, z, ar, as, av, aw, at, ax, au, az, ay, aA, aE, aC, aJ, aD, aG, aK, aO, aF, aH, aI, aL, aM, aN, aB, D, s, w, u, t, v, r, a6, aa, a8, af, a9, ac, ag, ak, ab, ad, ae, ah, ai, aj, a7, X, Z, Y, I, L, U, W, V, S, G, _, a2, $, a4, a3, a5, a1, a0, al, aq, a, H, M, J, K, T, ap, N, P, R, Q, O, h, b, am, ao, an } from "./context-menu-BgtRnByf.js";
|
|
7
|
+
import { ChevronRightIcon, CheckIcon, DotFilledIcon, Cross2Icon } from "@radix-ui/react-icons";
|
|
8
|
+
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
9
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
10
|
+
const toggleVariants = cva(
|
|
11
11
|
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground 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=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
12
12
|
{
|
|
13
13
|
variants: {
|
|
@@ -26,9 +26,10 @@ const C = c(
|
|
|
26
26
|
size: "default"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
);
|
|
30
|
+
const Toggle = React.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
|
|
31
|
+
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
32
|
+
const alertVariants = cva(
|
|
32
33
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
33
34
|
{
|
|
34
35
|
variants: {
|
|
@@ -41,155 +42,164 @@ const N = c(
|
|
|
41
42
|
variant: "default"
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
), v = n.forwardRef(({ className: e, variant: a, ...t }, d) => /* @__PURE__ */ o.jsx("div", { ref: d, role: "alert", className: r(N({ variant: a }), e), ...t }));
|
|
45
|
-
v.displayName = "Alert";
|
|
46
|
-
const w = n.forwardRef(
|
|
47
|
-
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("h5", { ref: t, className: r("mb-1 font-medium leading-none tracking-tight", e), ...a })
|
|
48
45
|
);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
const Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
|
|
47
|
+
Alert.displayName = "Alert";
|
|
48
|
+
const AlertTitle = React.forwardRef(
|
|
49
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
|
|
50
|
+
);
|
|
51
|
+
AlertTitle.displayName = "AlertTitle";
|
|
52
|
+
const AlertDescription = React.forwardRef(
|
|
53
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
|
|
52
54
|
);
|
|
53
|
-
|
|
54
|
-
const
|
|
55
|
-
|
|
55
|
+
AlertDescription.displayName = "AlertDescription";
|
|
56
|
+
const MenubarMenu = MenubarPrimitive.Menu;
|
|
57
|
+
const MenubarGroup = MenubarPrimitive.Group;
|
|
58
|
+
const MenubarPortal = MenubarPrimitive.Portal;
|
|
59
|
+
const MenubarSub = MenubarPrimitive.Sub;
|
|
60
|
+
const MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
61
|
+
const Menubar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
62
|
+
MenubarPrimitive.Root,
|
|
56
63
|
{
|
|
57
|
-
ref
|
|
58
|
-
className:
|
|
59
|
-
...
|
|
64
|
+
ref,
|
|
65
|
+
className: cn("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", className),
|
|
66
|
+
...props
|
|
60
67
|
}
|
|
61
68
|
));
|
|
62
|
-
|
|
63
|
-
const
|
|
64
|
-
|
|
69
|
+
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
70
|
+
const MenubarTrigger = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
71
|
+
MenubarPrimitive.Trigger,
|
|
65
72
|
{
|
|
66
|
-
ref
|
|
67
|
-
className:
|
|
73
|
+
ref,
|
|
74
|
+
className: cn(
|
|
68
75
|
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
69
|
-
|
|
76
|
+
className
|
|
70
77
|
),
|
|
71
|
-
...
|
|
78
|
+
...props
|
|
72
79
|
}
|
|
73
80
|
));
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
81
|
+
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
82
|
+
const MenubarSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
83
|
+
MenubarPrimitive.SubTrigger,
|
|
77
84
|
{
|
|
78
|
-
ref
|
|
79
|
-
className:
|
|
85
|
+
ref,
|
|
86
|
+
className: cn(
|
|
80
87
|
"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",
|
|
81
|
-
|
|
82
|
-
|
|
88
|
+
inset && "pl-8",
|
|
89
|
+
className
|
|
83
90
|
),
|
|
84
|
-
...
|
|
91
|
+
...props,
|
|
85
92
|
children: [
|
|
86
|
-
|
|
87
|
-
/* @__PURE__ */
|
|
93
|
+
children,
|
|
94
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRightIcon, { className: "ml-auto h-4 w-4" })
|
|
88
95
|
]
|
|
89
96
|
}
|
|
90
97
|
));
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
|
|
98
|
+
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
99
|
+
const MenubarSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
100
|
+
MenubarPrimitive.SubContent,
|
|
94
101
|
{
|
|
95
|
-
ref
|
|
96
|
-
className:
|
|
102
|
+
ref,
|
|
103
|
+
className: cn(
|
|
97
104
|
"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",
|
|
98
|
-
|
|
105
|
+
className
|
|
99
106
|
),
|
|
100
|
-
...
|
|
107
|
+
...props
|
|
101
108
|
}
|
|
102
109
|
));
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
|
|
110
|
+
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
111
|
+
const MenubarContent = React.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
112
|
+
MenubarPrimitive.Content,
|
|
106
113
|
{
|
|
107
|
-
ref
|
|
108
|
-
align
|
|
109
|
-
alignOffset
|
|
110
|
-
sideOffset
|
|
111
|
-
className:
|
|
114
|
+
ref,
|
|
115
|
+
align,
|
|
116
|
+
alignOffset,
|
|
117
|
+
sideOffset,
|
|
118
|
+
className: cn(
|
|
112
119
|
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",
|
|
113
|
-
|
|
120
|
+
className
|
|
114
121
|
),
|
|
115
|
-
...
|
|
122
|
+
...props
|
|
116
123
|
}
|
|
117
124
|
) }));
|
|
118
|
-
|
|
119
|
-
const
|
|
120
|
-
|
|
125
|
+
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
126
|
+
const MenubarItem = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
127
|
+
MenubarPrimitive.Item,
|
|
121
128
|
{
|
|
122
|
-
ref
|
|
123
|
-
className:
|
|
129
|
+
ref,
|
|
130
|
+
className: cn(
|
|
124
131
|
"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",
|
|
125
|
-
|
|
126
|
-
|
|
132
|
+
inset && "pl-8",
|
|
133
|
+
className
|
|
127
134
|
),
|
|
128
|
-
...
|
|
135
|
+
...props
|
|
129
136
|
}
|
|
130
137
|
));
|
|
131
|
-
|
|
132
|
-
const
|
|
133
|
-
|
|
138
|
+
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
139
|
+
const MenubarCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
140
|
+
MenubarPrimitive.CheckboxItem,
|
|
134
141
|
{
|
|
135
|
-
ref
|
|
136
|
-
className:
|
|
142
|
+
ref,
|
|
143
|
+
className: cn(
|
|
137
144
|
"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",
|
|
138
|
-
|
|
145
|
+
className
|
|
139
146
|
),
|
|
140
|
-
checked
|
|
141
|
-
...
|
|
147
|
+
checked,
|
|
148
|
+
...props,
|
|
142
149
|
children: [
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
|
|
150
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, { className: "h-4 w-4" }) }) }),
|
|
151
|
+
children
|
|
145
152
|
]
|
|
146
153
|
}
|
|
147
154
|
));
|
|
148
|
-
|
|
149
|
-
const
|
|
150
|
-
|
|
155
|
+
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
156
|
+
const MenubarRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
157
|
+
MenubarPrimitive.RadioItem,
|
|
151
158
|
{
|
|
152
|
-
ref
|
|
153
|
-
className:
|
|
159
|
+
ref,
|
|
160
|
+
className: cn(
|
|
154
161
|
"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",
|
|
155
|
-
|
|
162
|
+
className
|
|
156
163
|
),
|
|
157
|
-
...
|
|
164
|
+
...props,
|
|
158
165
|
children: [
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
|
|
166
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
|
|
167
|
+
children
|
|
161
168
|
]
|
|
162
169
|
}
|
|
163
170
|
));
|
|
164
|
-
|
|
165
|
-
const
|
|
166
|
-
|
|
171
|
+
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
172
|
+
const MenubarLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
173
|
+
MenubarPrimitive.Label,
|
|
167
174
|
{
|
|
168
|
-
ref
|
|
169
|
-
className:
|
|
170
|
-
...
|
|
175
|
+
ref,
|
|
176
|
+
className: cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
|
|
177
|
+
...props
|
|
171
178
|
}
|
|
172
179
|
));
|
|
173
|
-
|
|
174
|
-
const
|
|
175
|
-
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
|
|
180
|
+
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
181
|
+
const MenubarSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
|
|
182
|
+
MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
|
|
183
|
+
const MenubarShortcut = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
|
|
184
|
+
MenubarShortcut.displayname = "MenubarShortcut";
|
|
185
|
+
const Sheet = SheetPrimitive.Root;
|
|
186
|
+
const SheetTrigger = SheetPrimitive.Trigger;
|
|
187
|
+
const SheetClose = SheetPrimitive.Close;
|
|
188
|
+
const SheetPortal = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(SheetPrimitive.Portal, { className: cn(className), ...props });
|
|
189
|
+
SheetPortal.displayName = SheetPrimitive.Portal.displayName;
|
|
190
|
+
const SheetOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
191
|
+
SheetPrimitive.Overlay,
|
|
182
192
|
{
|
|
183
|
-
className:
|
|
193
|
+
className: cn(
|
|
184
194
|
"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",
|
|
185
|
-
|
|
195
|
+
className
|
|
186
196
|
),
|
|
187
|
-
...
|
|
188
|
-
ref
|
|
197
|
+
...props,
|
|
198
|
+
ref
|
|
189
199
|
}
|
|
190
200
|
));
|
|
191
|
-
|
|
192
|
-
const
|
|
201
|
+
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
202
|
+
const sheetVariants = cva(
|
|
193
203
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
194
204
|
{
|
|
195
205
|
variants: {
|
|
@@ -204,159 +214,160 @@ const L = c(
|
|
|
204
214
|
side: "right"
|
|
205
215
|
}
|
|
206
216
|
}
|
|
207
|
-
)
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
/* @__PURE__ */
|
|
217
|
+
);
|
|
218
|
+
const SheetContent = React.forwardRef(
|
|
219
|
+
({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(SheetPortal, { children: [
|
|
220
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetOverlay, {}),
|
|
221
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
|
|
222
|
+
children,
|
|
223
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(SheetPrimitive.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-secondary", children: [
|
|
224
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Cross2Icon, { className: "h-4 w-4" }),
|
|
225
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
|
|
215
226
|
] })
|
|
216
227
|
] })
|
|
217
228
|
] })
|
|
218
229
|
);
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
|
|
230
|
+
SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
231
|
+
const SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|
|
232
|
+
SheetHeader.displayName = "SheetHeader";
|
|
233
|
+
const SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
|
|
234
|
+
SheetFooter.displayName = "SheetFooter";
|
|
235
|
+
const SheetTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
|
|
236
|
+
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
237
|
+
const SheetDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
|
|
238
|
+
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
228
239
|
export {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
240
|
+
A as Accordion,
|
|
241
|
+
f as AccordionContent,
|
|
242
|
+
d as AccordionItem,
|
|
243
|
+
e as AccordionTrigger,
|
|
244
|
+
Alert,
|
|
245
|
+
AlertDescription,
|
|
246
|
+
i as AlertDialog,
|
|
247
|
+
p as AlertDialogAction,
|
|
248
|
+
q as AlertDialogCancel,
|
|
249
|
+
k as AlertDialogContent,
|
|
250
|
+
o as AlertDialogDescription,
|
|
251
|
+
m as AlertDialogFooter,
|
|
252
|
+
l as AlertDialogHeader,
|
|
253
|
+
n as AlertDialogTitle,
|
|
254
|
+
j as AlertDialogTrigger,
|
|
255
|
+
AlertTitle,
|
|
256
|
+
g as Badge,
|
|
257
|
+
B as Button,
|
|
258
|
+
C as Card,
|
|
259
|
+
F as CardContent,
|
|
260
|
+
E as CardDescription,
|
|
261
|
+
y as CardFooter,
|
|
262
|
+
x as CardHeader,
|
|
263
|
+
z as CardTitle,
|
|
264
|
+
ar as Command,
|
|
265
|
+
as as CommandDialog,
|
|
266
|
+
av as CommandEmpty,
|
|
267
|
+
aw as CommandGroup,
|
|
268
|
+
at as CommandInput,
|
|
269
|
+
ax as CommandItem,
|
|
270
|
+
au as CommandList,
|
|
271
|
+
az as CommandSeparator,
|
|
272
|
+
ay as CommandShortcut,
|
|
273
|
+
aA as ContextMenu,
|
|
274
|
+
aE as ContextMenuCheckboxItem,
|
|
275
|
+
aC as ContextMenuContent,
|
|
276
|
+
aJ as ContextMenuGroup,
|
|
277
|
+
aD as ContextMenuItem,
|
|
278
|
+
aG as ContextMenuLabel,
|
|
279
|
+
aK as ContextMenuPortal,
|
|
280
|
+
aO as ContextMenuRadioGroup,
|
|
281
|
+
aF as ContextMenuRadioItem,
|
|
282
|
+
aH as ContextMenuSeparator,
|
|
283
|
+
aI as ContextMenuShortcut,
|
|
284
|
+
aL as ContextMenuSub,
|
|
285
|
+
aM as ContextMenuSubContent,
|
|
286
|
+
aN as ContextMenuSubTrigger,
|
|
287
|
+
aB as ContextMenuTrigger,
|
|
288
|
+
D as Dialog,
|
|
289
|
+
s as DialogContent,
|
|
290
|
+
w as DialogDescription,
|
|
291
|
+
u as DialogFooter,
|
|
292
|
+
t as DialogHeader,
|
|
293
|
+
v as DialogTitle,
|
|
294
|
+
r as DialogTrigger,
|
|
295
|
+
a6 as DropdownMenu,
|
|
285
296
|
aa as DropdownMenuCheckboxItem,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
297
|
+
a8 as DropdownMenuContent,
|
|
298
|
+
af as DropdownMenuGroup,
|
|
299
|
+
a9 as DropdownMenuItem,
|
|
300
|
+
ac as DropdownMenuLabel,
|
|
301
|
+
ag as DropdownMenuPortal,
|
|
302
|
+
ak as DropdownMenuRadioGroup,
|
|
303
|
+
ab as DropdownMenuRadioItem,
|
|
304
|
+
ad as DropdownMenuSeparator,
|
|
305
|
+
ae as DropdownMenuShortcut,
|
|
306
|
+
ah as DropdownMenuSub,
|
|
307
|
+
ai as DropdownMenuSubContent,
|
|
308
|
+
aj as DropdownMenuSubTrigger,
|
|
309
|
+
a7 as DropdownMenuTrigger,
|
|
310
|
+
X as HoverCard,
|
|
311
|
+
Z as HoverCardContent,
|
|
312
|
+
Y as HoverCardTrigger,
|
|
313
|
+
I as Input,
|
|
314
|
+
L as Label,
|
|
315
|
+
Menubar,
|
|
316
|
+
MenubarCheckboxItem,
|
|
317
|
+
MenubarContent,
|
|
318
|
+
MenubarGroup,
|
|
319
|
+
MenubarItem,
|
|
320
|
+
MenubarLabel,
|
|
321
|
+
MenubarMenu,
|
|
322
|
+
MenubarPortal,
|
|
323
|
+
MenubarRadioGroup,
|
|
324
|
+
MenubarRadioItem,
|
|
325
|
+
MenubarSeparator,
|
|
326
|
+
MenubarShortcut,
|
|
327
|
+
MenubarSub,
|
|
328
|
+
MenubarSubContent,
|
|
329
|
+
MenubarSubTrigger,
|
|
330
|
+
MenubarTrigger,
|
|
331
|
+
U as Popover,
|
|
332
|
+
W as PopoverContent,
|
|
333
|
+
V as PopoverTrigger,
|
|
334
|
+
S as ScrollArea,
|
|
335
|
+
G as ScrollBar,
|
|
336
|
+
_ as Select,
|
|
337
|
+
a2 as SelectContent,
|
|
338
|
+
$ as SelectGroup,
|
|
339
|
+
a4 as SelectItem,
|
|
340
|
+
a3 as SelectLabel,
|
|
341
|
+
a5 as SelectSeparator,
|
|
342
|
+
a1 as SelectTrigger,
|
|
343
|
+
a0 as SelectValue,
|
|
344
|
+
al as Separator,
|
|
345
|
+
Sheet,
|
|
346
|
+
SheetClose,
|
|
347
|
+
SheetContent,
|
|
348
|
+
SheetDescription,
|
|
349
|
+
SheetFooter,
|
|
350
|
+
SheetHeader,
|
|
351
|
+
SheetTitle,
|
|
352
|
+
SheetTrigger,
|
|
353
|
+
aq as Skeleton,
|
|
354
|
+
a as Switch,
|
|
355
|
+
H as Tabs,
|
|
356
|
+
M as TabsContent,
|
|
357
|
+
J as TabsList,
|
|
358
|
+
K as TabsTrigger,
|
|
359
|
+
T as Textarea,
|
|
360
|
+
ap as Toaster,
|
|
361
|
+
Toggle,
|
|
362
|
+
N as Tooltip,
|
|
363
|
+
P as TooltipContent,
|
|
364
|
+
R as TooltipPortal,
|
|
365
|
+
Q as TooltipProvider,
|
|
366
|
+
O as TooltipTrigger,
|
|
367
|
+
h as badgeVariants,
|
|
368
|
+
b as buttonVariants,
|
|
369
|
+
am as reducer,
|
|
370
|
+
ao as toast,
|
|
371
|
+
toggleVariants,
|
|
372
|
+
an as useToast
|
|
362
373
|
};
|