@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.
- package/dist/CodeEditor-CTpbkvn0.cjs +1 -0
- package/dist/CodeEditor-ChxA5nBg.js +77 -0
- package/dist/STRINGS-eiGM83kj.js +7 -0
- package/dist/STRINGS-ew98weUe.cjs +1 -0
- package/dist/Topbar-QwR6PKnl.cjs +1 -0
- package/dist/Topbar-z1o2yz-v.js +113 -0
- package/dist/UnsplashImages-BZ4Uvn_u.cjs +1 -0
- package/dist/UnsplashImages-BiXwCeGg.js +189 -0
- package/dist/UploadImages-BeAGmTnm.js +101 -0
- package/dist/UploadImages-e9ItP1o-.cjs +1 -0
- package/dist/context-menu-BbqLeYFX.js +979 -0
- package/dist/context-menu-DfAXjmc8.cjs +1 -0
- package/dist/controls-C4n5ycp4.cjs +1 -0
- package/dist/controls-Com-zYCq.js +234 -0
- package/dist/core.cjs +1 -82
- package/dist/core.d.ts +8 -4
- package/dist/core.js +74 -74
- package/dist/iconBase-Cn2BsTrq.cjs +1 -0
- package/dist/iconBase-DHfFLkem.js +124 -0
- package/dist/index-Cu1kFTGh.cjs +63 -0
- package/dist/index-D1NbGHAC.js +9318 -0
- package/dist/jsx-runtime-BYECrxsp.cjs +30 -0
- package/dist/jsx-runtime-DGlMoOmv.js +630 -0
- package/dist/plugin-BOEoR5jk.js +44 -0
- package/dist/plugin-COMQcYlW.cjs +1 -0
- package/dist/plugin-Dw854zFv.js +107 -0
- package/dist/plugin-I9XxF65G.cjs +1 -0
- package/dist/render.cjs +2 -208
- package/dist/render.js +125 -171
- package/dist/runtime.cjs +1 -26
- package/dist/runtime.js +16 -16
- package/dist/style.css +2 -1529
- package/dist/tailwind.cjs +1 -78
- package/dist/tailwind.js +19 -21
- package/dist/ui.cjs +1 -392
- package/dist/ui.js +257 -268
- package/dist/web-blocks.cjs +3 -1241
- package/dist/web-blocks.js +555 -764
- package/package.json +1 -1
- package/dist/CodeEditor-1LboGb1I.cjs +0 -91
- package/dist/CodeEditor-BKgZeXwz.js +0 -91
- package/dist/STRINGS-3Sn_NeX1.cjs +0 -9
- package/dist/STRINGS-DdpfVlsV.js +0 -10
- package/dist/Topbar-B8IS6y4H.js +0 -135
- package/dist/Topbar-DXC7DFU1.cjs +0 -135
- package/dist/UnsplashImages-CjJ5szAy.cjs +0 -215
- package/dist/UnsplashImages-Ck9qpKR0.js +0 -215
- package/dist/UploadImages-DW1mj4MB.cjs +0 -117
- package/dist/UploadImages-DgAMZ8GR.js +0 -117
- package/dist/context-menu-BLbuduri.cjs +0 -1073
- package/dist/context-menu-BgtRnByf.js +0 -1042
- package/dist/controls-8EZmm0Ns.js +0 -234
- package/dist/controls-DaW52RjX.cjs +0 -233
- package/dist/iconBase-BSrIcOaG.cjs +0 -146
- package/dist/iconBase-CWgVxu0A.js +0 -147
- package/dist/index-Bjw2sUN2.cjs +0 -12139
- package/dist/index-D8_rAW8B.js +0 -12124
- package/dist/jsx-runtime-B6vEU3CM.cjs +0 -925
- package/dist/jsx-runtime-ClFauRgV.js +0 -926
- package/dist/plugin-BYwesM58.cjs +0 -54
- package/dist/plugin-BiDLHDo3.cjs +0 -114
- package/dist/plugin-BukD7GJR.js +0 -115
- package/dist/plugin-tVAEvXiS.js +0 -55
package/dist/ui.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import { cva } from "class-variance-authority";
|
|
5
|
-
import { c as
|
|
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,
|
|
7
|
-
import { ChevronRightIcon, CheckIcon, DotFilledIcon, Cross2Icon } from "@radix-ui/react-icons";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
const
|
|
1
|
+
import { j as o } from "./jsx-runtime-DGlMoOmv.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as m from "@radix-ui/react-toggle";
|
|
4
|
+
import { cva as c } from "class-variance-authority";
|
|
5
|
+
import { c as r } from "./context-menu-BbqLeYFX.js";
|
|
6
|
+
import { A as te, f as oe, d as se, e as re, i as ne, p as de, q as ie, k as le, o as ce, m as me, l as ue, n as pe, j as fe, g as ge, B as xe, C as be, F as he, E as Ce, y as ye, x as Ne, z as ve, ar as we, as as Se, av as Me, aw as je, at as De, ax as Te, au as Re, az as Ie, ay as Ae, aA as ke, aE as Pe, aC as ze, aJ as Ge, aD as Le, aG as He, aK as Ve, aO as Fe, aF as Be, aH as Oe, aI as Ee, aL as qe, aM as Je, aN as Ke, aB as _e, D as Qe, s as Ue, w as We, u as Xe, t as Ye, v as Ze, r as $e, a6 as ea, aa, a8 as ta, af as oa, a9 as sa, ac as ra, ag as na, ak as da, ab as ia, ad as la, ae as ca, ah as ma, ai as ua, aj as pa, a7 as fa, X as ga, Z as xa, Y as ba, I as ha, L as Ca, U as ya, W as Na, V as va, S as wa, G as Sa, _ as Ma, a2 as ja, $ as Da, a4 as Ta, a3 as Ra, a5 as Ia, a1 as Aa, a0 as ka, al as Pa, aq as za, a as Ga, H as La, M as Ha, J as Va, K as Fa, T as Ba, ap as Oa, N as Ea, P as qa, R as Ja, Q as Ka, O as _a, h as Qa, b as Ua, am as Wa, ao as Xa, an as Ya } from "./context-menu-BbqLeYFX.js";
|
|
7
|
+
import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
|
|
8
|
+
import * as s from "@radix-ui/react-menubar";
|
|
9
|
+
import * as i from "@radix-ui/react-dialog";
|
|
10
|
+
const C = c(
|
|
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,10 +26,9 @@ const toggleVariants = cva(
|
|
|
26
26
|
size: "default"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const alertVariants = cva(
|
|
29
|
+
), y = n.forwardRef(({ className: e, variant: a, size: t, ...d }, l) => /* @__PURE__ */ o.jsx(m.Root, { ref: l, className: r(C({ variant: a, size: t, className: e })), ...d }));
|
|
30
|
+
y.displayName = m.Root.displayName;
|
|
31
|
+
const N = c(
|
|
33
32
|
"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",
|
|
34
33
|
{
|
|
35
34
|
variants: {
|
|
@@ -42,164 +41,155 @@ const alertVariants = cva(
|
|
|
42
41
|
variant: "default"
|
|
43
42
|
}
|
|
44
43
|
}
|
|
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 })
|
|
45
48
|
);
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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 })
|
|
49
|
+
w.displayName = "AlertTitle";
|
|
50
|
+
const S = n.forwardRef(
|
|
51
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: r("text-sm [&_p]:leading-relaxed", e), ...a })
|
|
54
52
|
);
|
|
55
|
-
|
|
56
|
-
const
|
|
57
|
-
|
|
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,
|
|
53
|
+
S.displayName = "AlertDescription";
|
|
54
|
+
const _ = s.Menu, Q = s.Group, U = s.Portal, W = s.Sub, X = s.RadioGroup, M = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
55
|
+
s.Root,
|
|
63
56
|
{
|
|
64
|
-
ref,
|
|
65
|
-
className:
|
|
66
|
-
...
|
|
57
|
+
ref: t,
|
|
58
|
+
className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
|
|
59
|
+
...a
|
|
67
60
|
}
|
|
68
61
|
));
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
|
|
62
|
+
M.displayName = s.Root.displayName;
|
|
63
|
+
const j = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
64
|
+
s.Trigger,
|
|
72
65
|
{
|
|
73
|
-
ref,
|
|
74
|
-
className:
|
|
66
|
+
ref: t,
|
|
67
|
+
className: r(
|
|
75
68
|
"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",
|
|
76
|
-
|
|
69
|
+
e
|
|
77
70
|
),
|
|
78
|
-
...
|
|
71
|
+
...a
|
|
79
72
|
}
|
|
80
73
|
));
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
74
|
+
j.displayName = s.Trigger.displayName;
|
|
75
|
+
const D = n.forwardRef(({ className: e, inset: a, children: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
76
|
+
s.SubTrigger,
|
|
84
77
|
{
|
|
85
|
-
ref,
|
|
86
|
-
className:
|
|
78
|
+
ref: l,
|
|
79
|
+
className: r(
|
|
87
80
|
"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",
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
a && "pl-8",
|
|
82
|
+
e
|
|
90
83
|
),
|
|
91
|
-
...
|
|
84
|
+
...d,
|
|
92
85
|
children: [
|
|
93
|
-
|
|
94
|
-
/* @__PURE__ */
|
|
86
|
+
t,
|
|
87
|
+
/* @__PURE__ */ o.jsx(g, { className: "ml-auto h-4 w-4" })
|
|
95
88
|
]
|
|
96
89
|
}
|
|
97
90
|
));
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
|
|
91
|
+
D.displayName = s.SubTrigger.displayName;
|
|
92
|
+
const T = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
93
|
+
s.SubContent,
|
|
101
94
|
{
|
|
102
|
-
ref,
|
|
103
|
-
className:
|
|
95
|
+
ref: t,
|
|
96
|
+
className: r(
|
|
104
97
|
"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",
|
|
105
|
-
|
|
98
|
+
e
|
|
106
99
|
),
|
|
107
|
-
...
|
|
100
|
+
...a
|
|
108
101
|
}
|
|
109
102
|
));
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
103
|
+
T.displayName = s.SubContent.displayName;
|
|
104
|
+
const R = n.forwardRef(({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: d = 8, ...l }, f) => /* @__PURE__ */ o.jsx(s.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
105
|
+
s.Content,
|
|
113
106
|
{
|
|
114
|
-
ref,
|
|
115
|
-
align,
|
|
116
|
-
alignOffset,
|
|
117
|
-
sideOffset,
|
|
118
|
-
className:
|
|
107
|
+
ref: f,
|
|
108
|
+
align: a,
|
|
109
|
+
alignOffset: t,
|
|
110
|
+
sideOffset: d,
|
|
111
|
+
className: r(
|
|
119
112
|
"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",
|
|
120
|
-
|
|
113
|
+
e
|
|
121
114
|
),
|
|
122
|
-
...
|
|
115
|
+
...l
|
|
123
116
|
}
|
|
124
117
|
) }));
|
|
125
|
-
|
|
126
|
-
const
|
|
127
|
-
|
|
118
|
+
R.displayName = s.Content.displayName;
|
|
119
|
+
const I = n.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
120
|
+
s.Item,
|
|
128
121
|
{
|
|
129
|
-
ref,
|
|
130
|
-
className:
|
|
122
|
+
ref: d,
|
|
123
|
+
className: r(
|
|
131
124
|
"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",
|
|
132
|
-
|
|
133
|
-
|
|
125
|
+
a && "pl-8",
|
|
126
|
+
e
|
|
134
127
|
),
|
|
135
|
-
...
|
|
128
|
+
...t
|
|
136
129
|
}
|
|
137
130
|
));
|
|
138
|
-
|
|
139
|
-
const
|
|
140
|
-
|
|
131
|
+
I.displayName = s.Item.displayName;
|
|
132
|
+
const A = n.forwardRef(({ className: e, children: a, checked: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
133
|
+
s.CheckboxItem,
|
|
141
134
|
{
|
|
142
|
-
ref,
|
|
143
|
-
className:
|
|
135
|
+
ref: l,
|
|
136
|
+
className: r(
|
|
144
137
|
"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",
|
|
145
|
-
|
|
138
|
+
e
|
|
146
139
|
),
|
|
147
|
-
checked,
|
|
148
|
-
...
|
|
140
|
+
checked: t,
|
|
141
|
+
...d,
|
|
149
142
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
|
|
143
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(x, { className: "h-4 w-4" }) }) }),
|
|
144
|
+
a
|
|
152
145
|
]
|
|
153
146
|
}
|
|
154
147
|
));
|
|
155
|
-
|
|
156
|
-
const
|
|
157
|
-
|
|
148
|
+
A.displayName = s.CheckboxItem.displayName;
|
|
149
|
+
const k = n.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(
|
|
150
|
+
s.RadioItem,
|
|
158
151
|
{
|
|
159
|
-
ref,
|
|
160
|
-
className:
|
|
152
|
+
ref: d,
|
|
153
|
+
className: r(
|
|
161
154
|
"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",
|
|
162
|
-
|
|
155
|
+
e
|
|
163
156
|
),
|
|
164
|
-
...
|
|
157
|
+
...t,
|
|
165
158
|
children: [
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
|
|
159
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(b, { className: "h-4 w-4 fill-current" }) }) }),
|
|
160
|
+
a
|
|
168
161
|
]
|
|
169
162
|
}
|
|
170
163
|
));
|
|
171
|
-
|
|
172
|
-
const
|
|
173
|
-
|
|
164
|
+
k.displayName = s.RadioItem.displayName;
|
|
165
|
+
const P = n.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
166
|
+
s.Label,
|
|
174
167
|
{
|
|
175
|
-
ref,
|
|
176
|
-
className:
|
|
177
|
-
...
|
|
168
|
+
ref: d,
|
|
169
|
+
className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
|
|
170
|
+
...t
|
|
178
171
|
}
|
|
179
172
|
));
|
|
180
|
-
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
SheetPortal.displayName = SheetPrimitive.Portal.displayName;
|
|
190
|
-
const SheetOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
191
|
-
SheetPrimitive.Overlay,
|
|
173
|
+
P.displayName = s.Label.displayName;
|
|
174
|
+
const z = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(s.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
175
|
+
z.displayName = s.Separator.displayName;
|
|
176
|
+
const G = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
177
|
+
G.displayname = "MenubarShortcut";
|
|
178
|
+
const Y = i.Root, Z = i.Trigger, $ = i.Close, u = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx(i.Portal, { className: r(e), ...a });
|
|
179
|
+
u.displayName = i.Portal.displayName;
|
|
180
|
+
const p = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
181
|
+
i.Overlay,
|
|
192
182
|
{
|
|
193
|
-
className:
|
|
183
|
+
className: r(
|
|
194
184
|
"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",
|
|
195
|
-
|
|
185
|
+
e
|
|
196
186
|
),
|
|
197
|
-
...
|
|
198
|
-
ref
|
|
187
|
+
...a,
|
|
188
|
+
ref: t
|
|
199
189
|
}
|
|
200
190
|
));
|
|
201
|
-
|
|
202
|
-
const
|
|
191
|
+
p.displayName = i.Overlay.displayName;
|
|
192
|
+
const L = c(
|
|
203
193
|
"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",
|
|
204
194
|
{
|
|
205
195
|
variants: {
|
|
@@ -214,160 +204,159 @@ const sheetVariants = cva(
|
|
|
214
204
|
side: "right"
|
|
215
205
|
}
|
|
216
206
|
}
|
|
217
|
-
)
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
|
|
222
|
-
children
|
|
223
|
-
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
|
|
207
|
+
), H = n.forwardRef(
|
|
208
|
+
({ side: e = "right", className: a, children: t, ...d }, l) => /* @__PURE__ */ o.jsxs(u, { children: [
|
|
209
|
+
/* @__PURE__ */ o.jsx(p, {}),
|
|
210
|
+
/* @__PURE__ */ o.jsxs(i.Content, { ref: l, className: r(L({ side: e }), a), ...d, children: [
|
|
211
|
+
t,
|
|
212
|
+
/* @__PURE__ */ o.jsxs(i.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: [
|
|
213
|
+
/* @__PURE__ */ o.jsx(h, { className: "h-4 w-4" }),
|
|
214
|
+
/* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
|
|
226
215
|
] })
|
|
227
216
|
] })
|
|
228
217
|
] })
|
|
229
218
|
);
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
const
|
|
234
|
-
|
|
235
|
-
const
|
|
236
|
-
|
|
237
|
-
const
|
|
238
|
-
|
|
219
|
+
H.displayName = i.Content.displayName;
|
|
220
|
+
const V = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
|
|
221
|
+
V.displayName = "SheetHeader";
|
|
222
|
+
const F = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
223
|
+
F.displayName = "SheetFooter";
|
|
224
|
+
const B = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(i.Title, { ref: t, className: r("text-lg font-semibold text-foreground", e), ...a }));
|
|
225
|
+
B.displayName = i.Title.displayName;
|
|
226
|
+
const O = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(i.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
227
|
+
O.displayName = i.Description.displayName;
|
|
239
228
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
Alert,
|
|
245
|
-
AlertDescription,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
AlertTitle,
|
|
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
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
229
|
+
te as Accordion,
|
|
230
|
+
oe as AccordionContent,
|
|
231
|
+
se as AccordionItem,
|
|
232
|
+
re as AccordionTrigger,
|
|
233
|
+
v as Alert,
|
|
234
|
+
S as AlertDescription,
|
|
235
|
+
ne as AlertDialog,
|
|
236
|
+
de as AlertDialogAction,
|
|
237
|
+
ie as AlertDialogCancel,
|
|
238
|
+
le as AlertDialogContent,
|
|
239
|
+
ce as AlertDialogDescription,
|
|
240
|
+
me as AlertDialogFooter,
|
|
241
|
+
ue as AlertDialogHeader,
|
|
242
|
+
pe as AlertDialogTitle,
|
|
243
|
+
fe as AlertDialogTrigger,
|
|
244
|
+
w as AlertTitle,
|
|
245
|
+
ge as Badge,
|
|
246
|
+
xe as Button,
|
|
247
|
+
be as Card,
|
|
248
|
+
he as CardContent,
|
|
249
|
+
Ce as CardDescription,
|
|
250
|
+
ye as CardFooter,
|
|
251
|
+
Ne as CardHeader,
|
|
252
|
+
ve as CardTitle,
|
|
253
|
+
we as Command,
|
|
254
|
+
Se as CommandDialog,
|
|
255
|
+
Me as CommandEmpty,
|
|
256
|
+
je as CommandGroup,
|
|
257
|
+
De as CommandInput,
|
|
258
|
+
Te as CommandItem,
|
|
259
|
+
Re as CommandList,
|
|
260
|
+
Ie as CommandSeparator,
|
|
261
|
+
Ae as CommandShortcut,
|
|
262
|
+
ke as ContextMenu,
|
|
263
|
+
Pe as ContextMenuCheckboxItem,
|
|
264
|
+
ze as ContextMenuContent,
|
|
265
|
+
Ge as ContextMenuGroup,
|
|
266
|
+
Le as ContextMenuItem,
|
|
267
|
+
He as ContextMenuLabel,
|
|
268
|
+
Ve as ContextMenuPortal,
|
|
269
|
+
Fe as ContextMenuRadioGroup,
|
|
270
|
+
Be as ContextMenuRadioItem,
|
|
271
|
+
Oe as ContextMenuSeparator,
|
|
272
|
+
Ee as ContextMenuShortcut,
|
|
273
|
+
qe as ContextMenuSub,
|
|
274
|
+
Je as ContextMenuSubContent,
|
|
275
|
+
Ke as ContextMenuSubTrigger,
|
|
276
|
+
_e as ContextMenuTrigger,
|
|
277
|
+
Qe as Dialog,
|
|
278
|
+
Ue as DialogContent,
|
|
279
|
+
We as DialogDescription,
|
|
280
|
+
Xe as DialogFooter,
|
|
281
|
+
Ye as DialogHeader,
|
|
282
|
+
Ze as DialogTitle,
|
|
283
|
+
$e as DialogTrigger,
|
|
284
|
+
ea as DropdownMenu,
|
|
296
285
|
aa as DropdownMenuCheckboxItem,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
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
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Sheet,
|
|
346
|
-
SheetClose,
|
|
347
|
-
SheetContent,
|
|
348
|
-
SheetDescription,
|
|
349
|
-
SheetFooter,
|
|
350
|
-
SheetHeader,
|
|
351
|
-
SheetTitle,
|
|
352
|
-
SheetTrigger,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
Toggle,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
toggleVariants,
|
|
372
|
-
|
|
286
|
+
ta as DropdownMenuContent,
|
|
287
|
+
oa as DropdownMenuGroup,
|
|
288
|
+
sa as DropdownMenuItem,
|
|
289
|
+
ra as DropdownMenuLabel,
|
|
290
|
+
na as DropdownMenuPortal,
|
|
291
|
+
da as DropdownMenuRadioGroup,
|
|
292
|
+
ia as DropdownMenuRadioItem,
|
|
293
|
+
la as DropdownMenuSeparator,
|
|
294
|
+
ca as DropdownMenuShortcut,
|
|
295
|
+
ma as DropdownMenuSub,
|
|
296
|
+
ua as DropdownMenuSubContent,
|
|
297
|
+
pa as DropdownMenuSubTrigger,
|
|
298
|
+
fa as DropdownMenuTrigger,
|
|
299
|
+
ga as HoverCard,
|
|
300
|
+
xa as HoverCardContent,
|
|
301
|
+
ba as HoverCardTrigger,
|
|
302
|
+
ha as Input,
|
|
303
|
+
Ca as Label,
|
|
304
|
+
M as Menubar,
|
|
305
|
+
A as MenubarCheckboxItem,
|
|
306
|
+
R as MenubarContent,
|
|
307
|
+
Q as MenubarGroup,
|
|
308
|
+
I as MenubarItem,
|
|
309
|
+
P as MenubarLabel,
|
|
310
|
+
_ as MenubarMenu,
|
|
311
|
+
U as MenubarPortal,
|
|
312
|
+
X as MenubarRadioGroup,
|
|
313
|
+
k as MenubarRadioItem,
|
|
314
|
+
z as MenubarSeparator,
|
|
315
|
+
G as MenubarShortcut,
|
|
316
|
+
W as MenubarSub,
|
|
317
|
+
T as MenubarSubContent,
|
|
318
|
+
D as MenubarSubTrigger,
|
|
319
|
+
j as MenubarTrigger,
|
|
320
|
+
ya as Popover,
|
|
321
|
+
Na as PopoverContent,
|
|
322
|
+
va as PopoverTrigger,
|
|
323
|
+
wa as ScrollArea,
|
|
324
|
+
Sa as ScrollBar,
|
|
325
|
+
Ma as Select,
|
|
326
|
+
ja as SelectContent,
|
|
327
|
+
Da as SelectGroup,
|
|
328
|
+
Ta as SelectItem,
|
|
329
|
+
Ra as SelectLabel,
|
|
330
|
+
Ia as SelectSeparator,
|
|
331
|
+
Aa as SelectTrigger,
|
|
332
|
+
ka as SelectValue,
|
|
333
|
+
Pa as Separator,
|
|
334
|
+
Y as Sheet,
|
|
335
|
+
$ as SheetClose,
|
|
336
|
+
H as SheetContent,
|
|
337
|
+
O as SheetDescription,
|
|
338
|
+
F as SheetFooter,
|
|
339
|
+
V as SheetHeader,
|
|
340
|
+
B as SheetTitle,
|
|
341
|
+
Z as SheetTrigger,
|
|
342
|
+
za as Skeleton,
|
|
343
|
+
Ga as Switch,
|
|
344
|
+
La as Tabs,
|
|
345
|
+
Ha as TabsContent,
|
|
346
|
+
Va as TabsList,
|
|
347
|
+
Fa as TabsTrigger,
|
|
348
|
+
Ba as Textarea,
|
|
349
|
+
Oa as Toaster,
|
|
350
|
+
y as Toggle,
|
|
351
|
+
Ea as Tooltip,
|
|
352
|
+
qa as TooltipContent,
|
|
353
|
+
Ja as TooltipPortal,
|
|
354
|
+
Ka as TooltipProvider,
|
|
355
|
+
_a as TooltipTrigger,
|
|
356
|
+
Qa as badgeVariants,
|
|
357
|
+
Ua as buttonVariants,
|
|
358
|
+
Wa as reducer,
|
|
359
|
+
Xa as toast,
|
|
360
|
+
C as toggleVariants,
|
|
361
|
+
Ya as useToast
|
|
373
362
|
};
|