@fluid-app/fluid-cli-theme-dev 0.1.533 → 0.1.535
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/dist-cli-preview/.vite/manifest.json +276 -295
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-CJDvxjNn.js → Combobox-D4l7DbBy.js} +54 -53
- package/dist/dist-cli-preview/chunks/{ContactsScreen-DD3XWK3Q.js → ContactsScreen-CEtA3-1c.js} +903 -850
- package/dist/dist-cli-preview/chunks/MediaScreen-C2rOxuuv.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-iVdfo0DH.js → MemberManagementProviders-B_YXVcDi.js} +13 -13
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-BulCAnNO.js → MemberShareablesScreen-UNjYr5R6.js} +4207 -3757
- package/dist/dist-cli-preview/chunks/{MessagingScreen-DlDsOy19.js → MessagingScreen-Btga_V0H.js} +24118 -21933
- package/dist/dist-cli-preview/chunks/MobileActionSheet-CrEH2vO7.js +1384 -0
- package/dist/dist-cli-preview/chunks/{MySiteScreen-BfPfyV4m.js → MySiteScreen-B1fGtPDj.js} +177 -163
- package/dist/dist-cli-preview/chunks/OrdersScreen-Bf9DtOCA.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-C4yi3z2p.js → OrdersScreen-DyyL-P7j.js} +35 -34
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-tws56I3H.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-Clys_Bme.js → PortalTenantClientProvider-DUOOCXfW.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-e4QhExeS.js → ProfileScreen-wZO6QMrU.js} +259 -234
- package/dist/dist-cli-preview/chunks/ResponsiveDialog-DSDcOjhm.js +731 -0
- package/dist/dist-cli-preview/chunks/Select-DmRoXIkQ.js +2499 -0
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DysTJ6w_.js → SubscriptionsScreen-BR2C0m7M.js} +3 -3
- package/dist/dist-cli-preview/chunks/Textarea-C59p5Cek.js +365 -0
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-B3e0JV6I.js → account-screen-runtime-BqMndJcu.js} +1389 -1409
- package/dist/dist-cli-preview/chunks/{arrow-left-BOYuYcvT.js → arrow-left-CFy5J6Id.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-cY0EPyxC.js → cli-preview-DZOhxtLy.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-jwIybX1j.js → client.gen-DTVKCFco.js} +12 -12
- package/dist/dist-cli-preview/chunks/{copy-Cm_EKxcg.js → copy-Da4VLOCZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-BCS0247N.js → countries-api-adapter-Bh5QfCO1.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-CZi7shLR.js → create-card-entry-container-ohrRYgww.js} +1939 -1929
- package/dist/dist-cli-preview/chunks/{hey-api-client-B6n5a7q-.js → hey-api-client-BIjWueui.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-CfLLmITa.js → index-BMWjXC9i.js} +405 -869
- package/dist/dist-cli-preview/chunks/{index-DFIsiT9r.js → index-BVehJyDQ.js} +2080 -2372
- package/dist/dist-cli-preview/chunks/index-_r1wSvno.js +427 -0
- package/dist/dist-cli-preview/chunks/{isAfter-D0zQuNEJ.js → isAfter-BR4uNpua.js} +145 -156
- package/dist/dist-cli-preview/chunks/{map-pin-Vt1smsNu.js → map-pin-C_cK_i_W.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-B1UjYRdl.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-BOVvR3Og.js → mount-account-screen-JJGALFRE.js} +8 -8
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-D756rD78.js → navigate-account-screen-C0VoUNOi.js} +1 -1
- package/dist/dist-cli-preview/chunks/schemas-D0s3rDQw.js +4851 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-HNXiCpo6.js → screen-route-slug-utils-n2BiDZmp.js} +205 -260
- package/dist/dist-cli-preview/chunks/search-zEnxG69C.js +14 -0
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-p5ZPxslK.js +133 -0
- package/dist/dist-cli-preview/chunks/{sidebar-BDgHluGp.js → sidebar-CjPHl33n.js} +8 -8
- package/dist/dist-cli-preview/chunks/{sortable.esm-Cw91KlVU.js → sortable.esm-CrxUZkb-.js} +373 -362
- package/dist/dist-cli-preview/chunks/{store-api-context-BCaEZBlj.js → store-api-context-0k_ECvSE.js} +1 -1
- package/dist/dist-cli-preview/chunks/translation-api-context-factory-CP0LBb-M.js +74 -0
- package/dist/dist-cli-preview/chunks/{use-mobile-BztyG-mE.js → use-mobile-DIhDH3dI.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-optional-store-Dl6PSQur.js → use-optional-store-t4xzc2Rl.js} +2 -2
- package/dist/dist-cli-preview/chunks/use-store-YC0Ovzht.js +76 -0
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-fL_VYHHr.js → useInfiniteQuery-Bnzu0kZa.js} +9 -20
- package/dist/dist-cli-preview/chunks/{users-B3YJ3D1U.js → users-CabXl4EL.js} +1 -1
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/Breadcrumb-ixf0cTR_.js +0 -91
- package/dist/dist-cli-preview/chunks/MediaScreen-D8WSOaze.js +0 -8
- package/dist/dist-cli-preview/chunks/MobileActionSheet-aGr-nGxu.js +0 -3884
- package/dist/dist-cli-preview/chunks/OrdersScreen-hidM-JR_.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-BIqSXZ5B.js +0 -8
- package/dist/dist-cli-preview/chunks/ellipsis-C1sJRT_T.js +0 -15
- package/dist/dist-cli-preview/chunks/eye-BHBOtWLw.js +0 -20
- package/dist/dist-cli-preview/chunks/index-COIiY5Im.js +0 -135
- package/dist/dist-cli-preview/chunks/log-out-segl_UhK.js +0 -30
- package/dist/dist-cli-preview/chunks/messaging-C_IkzF0O.js +0 -4
- package/dist/dist-cli-preview/chunks/pause-YWP8mWBs.js +0 -41
- package/dist/dist-cli-preview/chunks/schemas-BiM-ImW1.js +0 -5565
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-d9udqor0.js +0 -116
- package/dist/dist-cli-preview/chunks/trash-2-CZEbdFT_.js +0 -17
- package/dist/dist-cli-preview/chunks/use-store-aahN8SDp.js +0 -400
- package/dist/dist-cli-preview/chunks/user-B4pULYRZ.js +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as o, z as u, j as r, P as d, B as l, D as p, E as m } from "./account-screen-runtime-
|
|
2
|
-
import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-
|
|
3
|
-
import { M as b } from "./MemberManagementProviders-
|
|
1
|
+
import { l as o, z as u, j as r, P as d, B as l, D as p, E as m } from "./account-screen-runtime-BqMndJcu.js";
|
|
2
|
+
import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-ohrRYgww.js";
|
|
3
|
+
import { M as b } from "./MemberManagementProviders-B_YXVcDi.js";
|
|
4
4
|
function v({
|
|
5
5
|
children: n
|
|
6
6
|
}) {
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { c as y, l as d, j as o, G as D, O as G, J as E, N as V, H as S, K as j, aF as $, aG as K, aH as X, X as N, aI as U } from "./account-screen-runtime-BqMndJcu.js";
|
|
2
|
+
import { C as J } from "./schemas-D0s3rDQw.js";
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-react v0.575.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
const Q = [["path", { d: "M5 12h14", key: "1ays0h" }]], ie = y("minus", Q);
|
|
10
|
+
/**
|
|
11
|
+
* @license lucide-react v0.575.0 - ISC
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the ISC license.
|
|
14
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
const W = [
|
|
17
|
+
[
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d: "M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",
|
|
21
|
+
key: "1a0edw"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
["path", { d: "M12 22V12", key: "d0xqtd" }],
|
|
25
|
+
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
26
|
+
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
27
|
+
], ce = y("package", W);
|
|
28
|
+
/**
|
|
29
|
+
* @license lucide-react v0.575.0 - ISC
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the ISC license.
|
|
32
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/
|
|
34
|
+
const Y = [
|
|
35
|
+
["rect", { x: "14", y: "3", width: "5", height: "18", rx: "1", key: "kaeet6" }],
|
|
36
|
+
["rect", { x: "5", y: "3", width: "5", height: "18", rx: "1", key: "1wsw3u" }]
|
|
37
|
+
], de = y("pause", Y);
|
|
38
|
+
/**
|
|
39
|
+
* @license lucide-react v0.575.0 - ISC
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the ISC license.
|
|
42
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
44
|
+
const Z = [
|
|
45
|
+
[
|
|
46
|
+
"path",
|
|
47
|
+
{
|
|
48
|
+
d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
|
|
49
|
+
key: "10ikf1"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
], ue = y("play", Z);
|
|
53
|
+
var w = "Checkbox", [ee] = D(w), [te, I] = ee(w);
|
|
54
|
+
function re(e) {
|
|
55
|
+
const {
|
|
56
|
+
__scopeCheckbox: r,
|
|
57
|
+
checked: a,
|
|
58
|
+
children: c,
|
|
59
|
+
defaultChecked: n,
|
|
60
|
+
disabled: t,
|
|
61
|
+
form: b,
|
|
62
|
+
name: f,
|
|
63
|
+
onCheckedChange: u,
|
|
64
|
+
required: x,
|
|
65
|
+
value: v = "on",
|
|
66
|
+
// @ts-expect-error
|
|
67
|
+
internal_do_not_use_render: l
|
|
68
|
+
} = e, [p, m] = V({
|
|
69
|
+
prop: a,
|
|
70
|
+
defaultProp: n ?? !1,
|
|
71
|
+
onChange: u,
|
|
72
|
+
caller: w
|
|
73
|
+
}), [k, g] = d.useState(null), [C, s] = d.useState(null), i = d.useRef(!1), _ = k ? !!b || !!k.closest("form") : (
|
|
74
|
+
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
75
|
+
!0
|
|
76
|
+
), P = {
|
|
77
|
+
checked: p,
|
|
78
|
+
disabled: t,
|
|
79
|
+
setChecked: m,
|
|
80
|
+
control: k,
|
|
81
|
+
setControl: g,
|
|
82
|
+
name: f,
|
|
83
|
+
form: b,
|
|
84
|
+
value: v,
|
|
85
|
+
hasConsumerStoppedPropagationRef: i,
|
|
86
|
+
required: x,
|
|
87
|
+
defaultChecked: h(n) ? !1 : n,
|
|
88
|
+
isFormControl: _,
|
|
89
|
+
bubbleInput: C,
|
|
90
|
+
setBubbleInput: s
|
|
91
|
+
};
|
|
92
|
+
return /* @__PURE__ */ o.jsx(
|
|
93
|
+
te,
|
|
94
|
+
{
|
|
95
|
+
scope: r,
|
|
96
|
+
...P,
|
|
97
|
+
children: oe(l) ? l(P) : c
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
var M = "CheckboxTrigger", B = d.forwardRef(
|
|
102
|
+
({ __scopeCheckbox: e, onKeyDown: r, onClick: a, ...c }, n) => {
|
|
103
|
+
const {
|
|
104
|
+
control: t,
|
|
105
|
+
value: b,
|
|
106
|
+
disabled: f,
|
|
107
|
+
checked: u,
|
|
108
|
+
required: x,
|
|
109
|
+
setControl: v,
|
|
110
|
+
setChecked: l,
|
|
111
|
+
hasConsumerStoppedPropagationRef: p,
|
|
112
|
+
isFormControl: m,
|
|
113
|
+
bubbleInput: k
|
|
114
|
+
} = I(M, e), g = S(n, v), C = d.useRef(u);
|
|
115
|
+
return d.useEffect(() => {
|
|
116
|
+
const s = t?.form;
|
|
117
|
+
if (s) {
|
|
118
|
+
const i = () => l(C.current);
|
|
119
|
+
return s.addEventListener("reset", i), () => s.removeEventListener("reset", i);
|
|
120
|
+
}
|
|
121
|
+
}, [t, l]), /* @__PURE__ */ o.jsx(
|
|
122
|
+
E.button,
|
|
123
|
+
{
|
|
124
|
+
type: "button",
|
|
125
|
+
role: "checkbox",
|
|
126
|
+
"aria-checked": h(u) ? "mixed" : u,
|
|
127
|
+
"aria-required": x,
|
|
128
|
+
"data-state": H(u),
|
|
129
|
+
"data-disabled": f ? "" : void 0,
|
|
130
|
+
disabled: f,
|
|
131
|
+
value: b,
|
|
132
|
+
...c,
|
|
133
|
+
ref: g,
|
|
134
|
+
onKeyDown: j(r, (s) => {
|
|
135
|
+
s.key === "Enter" && s.preventDefault();
|
|
136
|
+
}),
|
|
137
|
+
onClick: j(a, (s) => {
|
|
138
|
+
l((i) => h(i) ? !0 : !i), k && m && (p.current = s.isPropagationStopped(), p.current || s.stopPropagation());
|
|
139
|
+
})
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
B.displayName = M;
|
|
145
|
+
var z = d.forwardRef(
|
|
146
|
+
(e, r) => {
|
|
147
|
+
const {
|
|
148
|
+
__scopeCheckbox: a,
|
|
149
|
+
name: c,
|
|
150
|
+
checked: n,
|
|
151
|
+
defaultChecked: t,
|
|
152
|
+
required: b,
|
|
153
|
+
disabled: f,
|
|
154
|
+
value: u,
|
|
155
|
+
onCheckedChange: x,
|
|
156
|
+
form: v,
|
|
157
|
+
...l
|
|
158
|
+
} = e;
|
|
159
|
+
return /* @__PURE__ */ o.jsx(
|
|
160
|
+
re,
|
|
161
|
+
{
|
|
162
|
+
__scopeCheckbox: a,
|
|
163
|
+
checked: n,
|
|
164
|
+
defaultChecked: t,
|
|
165
|
+
disabled: f,
|
|
166
|
+
required: b,
|
|
167
|
+
onCheckedChange: x,
|
|
168
|
+
name: c,
|
|
169
|
+
form: v,
|
|
170
|
+
value: u,
|
|
171
|
+
internal_do_not_use_render: ({ isFormControl: p }) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
172
|
+
/* @__PURE__ */ o.jsx(
|
|
173
|
+
B,
|
|
174
|
+
{
|
|
175
|
+
...l,
|
|
176
|
+
ref: r,
|
|
177
|
+
__scopeCheckbox: a
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
p && /* @__PURE__ */ o.jsx(
|
|
181
|
+
F,
|
|
182
|
+
{
|
|
183
|
+
__scopeCheckbox: a
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
] })
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
z.displayName = w;
|
|
192
|
+
var A = "CheckboxIndicator", T = d.forwardRef(
|
|
193
|
+
(e, r) => {
|
|
194
|
+
const { __scopeCheckbox: a, forceMount: c, ...n } = e, t = I(A, a);
|
|
195
|
+
return /* @__PURE__ */ o.jsx(
|
|
196
|
+
G,
|
|
197
|
+
{
|
|
198
|
+
present: c || h(t.checked) || t.checked === !0,
|
|
199
|
+
children: /* @__PURE__ */ o.jsx(
|
|
200
|
+
E.span,
|
|
201
|
+
{
|
|
202
|
+
"data-state": H(t.checked),
|
|
203
|
+
"data-disabled": t.disabled ? "" : void 0,
|
|
204
|
+
...n,
|
|
205
|
+
ref: r,
|
|
206
|
+
style: { pointerEvents: "none", ...e.style }
|
|
207
|
+
}
|
|
208
|
+
)
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
);
|
|
213
|
+
T.displayName = A;
|
|
214
|
+
var q = "CheckboxBubbleInput", F = d.forwardRef(
|
|
215
|
+
({ __scopeCheckbox: e, ...r }, a) => {
|
|
216
|
+
const {
|
|
217
|
+
control: c,
|
|
218
|
+
hasConsumerStoppedPropagationRef: n,
|
|
219
|
+
checked: t,
|
|
220
|
+
defaultChecked: b,
|
|
221
|
+
required: f,
|
|
222
|
+
disabled: u,
|
|
223
|
+
name: x,
|
|
224
|
+
value: v,
|
|
225
|
+
form: l,
|
|
226
|
+
bubbleInput: p,
|
|
227
|
+
setBubbleInput: m
|
|
228
|
+
} = I(q, e), k = S(a, m), g = $(t), C = K(c);
|
|
229
|
+
d.useEffect(() => {
|
|
230
|
+
const i = p;
|
|
231
|
+
if (!i) return;
|
|
232
|
+
const _ = window.HTMLInputElement.prototype, R = Object.getOwnPropertyDescriptor(
|
|
233
|
+
_,
|
|
234
|
+
"checked"
|
|
235
|
+
).set, L = !n.current;
|
|
236
|
+
if (g !== t && R) {
|
|
237
|
+
const O = new Event("click", { bubbles: L });
|
|
238
|
+
i.indeterminate = h(t), R.call(i, h(t) ? !1 : t), i.dispatchEvent(O);
|
|
239
|
+
}
|
|
240
|
+
}, [p, g, t, n]);
|
|
241
|
+
const s = d.useRef(h(t) ? !1 : t);
|
|
242
|
+
return /* @__PURE__ */ o.jsx(
|
|
243
|
+
E.input,
|
|
244
|
+
{
|
|
245
|
+
type: "checkbox",
|
|
246
|
+
"aria-hidden": !0,
|
|
247
|
+
defaultChecked: b ?? s.current,
|
|
248
|
+
required: f,
|
|
249
|
+
disabled: u,
|
|
250
|
+
name: x,
|
|
251
|
+
value: v,
|
|
252
|
+
form: l,
|
|
253
|
+
...r,
|
|
254
|
+
tabIndex: -1,
|
|
255
|
+
ref: k,
|
|
256
|
+
style: {
|
|
257
|
+
...r.style,
|
|
258
|
+
...C,
|
|
259
|
+
position: "absolute",
|
|
260
|
+
pointerEvents: "none",
|
|
261
|
+
opacity: 0,
|
|
262
|
+
margin: 0,
|
|
263
|
+
// We transform because the input is absolutely positioned but we have
|
|
264
|
+
// rendered it **after** the button. This pulls it back to sit on top
|
|
265
|
+
// of the button.
|
|
266
|
+
transform: "translateX(-100%)"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
);
|
|
272
|
+
F.displayName = q;
|
|
273
|
+
function oe(e) {
|
|
274
|
+
return typeof e == "function";
|
|
275
|
+
}
|
|
276
|
+
function h(e) {
|
|
277
|
+
return e === "indeterminate";
|
|
278
|
+
}
|
|
279
|
+
function H(e) {
|
|
280
|
+
return h(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
281
|
+
}
|
|
282
|
+
const ne = U(
|
|
283
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
284
|
+
{
|
|
285
|
+
variants: {
|
|
286
|
+
variant: {
|
|
287
|
+
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
288
|
+
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
289
|
+
destructive: "bg-destructive focus-visible:ring-destructive/20 [a&]:hover:bg-destructive/90 text-white",
|
|
290
|
+
outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
291
|
+
ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
292
|
+
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
defaultVariants: {
|
|
296
|
+
variant: "default"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
function le({
|
|
301
|
+
className: e,
|
|
302
|
+
variant: r = "default",
|
|
303
|
+
asChild: a = !1,
|
|
304
|
+
...c
|
|
305
|
+
}) {
|
|
306
|
+
const n = a ? X : "span";
|
|
307
|
+
return /* @__PURE__ */ o.jsx(
|
|
308
|
+
n,
|
|
309
|
+
{
|
|
310
|
+
"data-slot": "badge",
|
|
311
|
+
"data-variant": r,
|
|
312
|
+
className: N(ne({ variant: r }), e),
|
|
313
|
+
...c
|
|
314
|
+
}
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
function pe({
|
|
318
|
+
className: e,
|
|
319
|
+
...r
|
|
320
|
+
}) {
|
|
321
|
+
return /* @__PURE__ */ o.jsx(
|
|
322
|
+
z,
|
|
323
|
+
{
|
|
324
|
+
"data-slot": "checkbox",
|
|
325
|
+
className: N(
|
|
326
|
+
"peer border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
327
|
+
e
|
|
328
|
+
),
|
|
329
|
+
...r,
|
|
330
|
+
children: /* @__PURE__ */ o.jsx(
|
|
331
|
+
T,
|
|
332
|
+
{
|
|
333
|
+
"data-slot": "checkbox-indicator",
|
|
334
|
+
className: "grid place-content-center text-current transition-none",
|
|
335
|
+
children: /* @__PURE__ */ o.jsx(J, { className: "size-3.5" })
|
|
336
|
+
}
|
|
337
|
+
)
|
|
338
|
+
}
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
function be({
|
|
342
|
+
className: e,
|
|
343
|
+
...r
|
|
344
|
+
}) {
|
|
345
|
+
return /* @__PURE__ */ o.jsx(
|
|
346
|
+
"textarea",
|
|
347
|
+
{
|
|
348
|
+
"data-slot": "textarea",
|
|
349
|
+
className: N(
|
|
350
|
+
"border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
351
|
+
e
|
|
352
|
+
),
|
|
353
|
+
...r
|
|
354
|
+
}
|
|
355
|
+
);
|
|
356
|
+
}
|
|
357
|
+
export {
|
|
358
|
+
le as B,
|
|
359
|
+
pe as C,
|
|
360
|
+
ie as M,
|
|
361
|
+
ue as P,
|
|
362
|
+
be as T,
|
|
363
|
+
ce as a,
|
|
364
|
+
de as b
|
|
365
|
+
};
|