@fluid-app/fluid-cli-theme-dev 0.1.172 → 0.1.173
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 +583 -181
- package/dist/dist-cli-preview/account-screens.css +1 -0
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Breadcrumb-BQKo8hPc.js → Breadcrumb-8-7shsB6.js} +1 -1
- package/dist/dist-cli-preview/chunks/Combobox-m3vSk0_A.js +521 -0
- package/dist/dist-cli-preview/chunks/{ContactsScreen-IsIZ_lQ0.js → ContactsScreen-CBjQOWmH.js} +1523 -1854
- package/dist/dist-cli-preview/chunks/MediaScreen-1akMnH12.js +17379 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-DiQkiWzc.js → MemberManagementProviders-WSjb3a8B.js} +189 -199
- package/dist/dist-cli-preview/chunks/{MessagingScreen-B8ZxAE0L.js → MessagingScreen-By-jZq6v.js} +27645 -30195
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-DMeTsLlK.js → MobileActionSheet-ERpw3qUF.js} +644 -589
- package/dist/dist-cli-preview/chunks/MySiteScreen-JAGvVMx-.js +1706 -0
- package/dist/dist-cli-preview/chunks/OrdersScreen-B1HQVMZC.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-DrZ3SwEu.js → OrdersScreen-Cb32bBjd.js} +35 -35
- package/dist/dist-cli-preview/chunks/PortalTenantClientProvider-CguU_uRG.js +15 -0
- package/dist/dist-cli-preview/chunks/{ProfileScreen-Dxspc-6p.js → ProfileScreen-CCWM6TBs.js} +454 -463
- package/dist/dist-cli-preview/chunks/Select-5fzq5MB-.js +940 -0
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Be0C29uw.js → SubscriptionsScreen-DLdsaVJK.js} +3 -3
- package/dist/dist-cli-preview/chunks/Textarea-xoKqLVgY.js +330 -0
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-DYMunv0A.js → account-screen-runtime-CCBl8DXt.js} +866 -860
- package/dist/dist-cli-preview/chunks/ar-D6LJV1_E.js +679 -0
- package/dist/dist-cli-preview/chunks/{arrow-left-Bd7dJtIV.js → arrow-left-CTYaRdTX.js} +1 -1
- package/dist/dist-cli-preview/chunks/bg-C5Ldmily.js +679 -0
- package/dist/dist-cli-preview/chunks/bn-kfMPWNR6.js +679 -0
- package/dist/dist-cli-preview/chunks/{cli-preview-C7Db08Ij.js → cli-preview-HAt0Lt-9.js} +20 -13
- package/dist/dist-cli-preview/chunks/{client.gen-Ck6Pm2jV.js → client.gen-B7RMYGYu.js} +1 -1
- package/dist/dist-cli-preview/chunks/copy-DHN1DxE_.js +14 -0
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-InKUzF1q.js → countries-api-adapter-B4TefdRP.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-C9z7JILL.js → create-card-entry-container-5NqOQ4D_.js} +3612 -3932
- package/dist/dist-cli-preview/chunks/cs-DqEgtV8D.js +679 -0
- package/dist/dist-cli-preview/chunks/da-BbuvL7Gx.js +679 -0
- package/dist/dist-cli-preview/chunks/de-BfJ7rQig.js +679 -0
- package/dist/dist-cli-preview/chunks/el-BO0rLq6D.js +679 -0
- package/dist/dist-cli-preview/chunks/es-BEVtEUXk.js +679 -0
- package/dist/dist-cli-preview/chunks/eye-qMoMW7-Z.js +20 -0
- package/dist/dist-cli-preview/chunks/fi-DjISV3UN.js +679 -0
- package/dist/dist-cli-preview/chunks/fr-1fFd-aKy.js +679 -0
- package/dist/dist-cli-preview/chunks/he-CaT9bwVp.js +679 -0
- package/dist/dist-cli-preview/chunks/{hey-api-client-DGRBsZ7Y.js → hey-api-client-JMNyZwcF.js} +79 -39
- package/dist/dist-cli-preview/chunks/hi-DkzEm57l.js +679 -0
- package/dist/dist-cli-preview/chunks/hr-DqM5N_bj.js +679 -0
- package/dist/dist-cli-preview/chunks/hu-DiLqjo5c.js +679 -0
- package/dist/dist-cli-preview/chunks/id-DA1KmwgX.js +679 -0
- package/dist/dist-cli-preview/chunks/index-BS4PnEcu.js +353 -0
- package/dist/dist-cli-preview/chunks/index-BhMjUmAr.js +2572 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-BDjSpDoe.js → index-Dor8vM2o.js} +2417 -3035
- package/dist/dist-cli-preview/chunks/it-CTEVWCRz.js +679 -0
- package/dist/dist-cli-preview/chunks/ja-fxqg1hhg.js +679 -0
- package/dist/dist-cli-preview/chunks/ko-Btp1_5YS.js +679 -0
- package/dist/dist-cli-preview/chunks/lock-DQTMeEw0.js +14 -0
- package/dist/dist-cli-preview/chunks/{log-out-CSPZjXTK.js → log-out-DUdRJX4l.js} +1 -1
- package/dist/dist-cli-preview/chunks/{map-pin-B2ScoijR.js → map-pin-DyIkpqP0.js} +1 -1
- package/dist/dist-cli-preview/chunks/media-vkLeBb90.js +4 -0
- package/dist/dist-cli-preview/chunks/member-permissions-ndhNmlOk.js +19 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-5thBUz3X.js → mount-account-screen--gdc5WO_.js} +1869 -1884
- package/dist/dist-cli-preview/chunks/ms-DqRbmHx8.js +679 -0
- package/dist/dist-cli-preview/chunks/navigate-account-screen-AVNopuIP.js +38 -0
- package/dist/dist-cli-preview/chunks/nl-CkPNddxO.js +679 -0
- package/dist/dist-cli-preview/chunks/no-ftcy0RcQ.js +679 -0
- package/dist/dist-cli-preview/chunks/pl-wyJLqfip.js +679 -0
- package/dist/dist-cli-preview/chunks/{plus-CocoE5gC.js → plus-DZjrp536.js} +1 -1
- package/dist/dist-cli-preview/chunks/pt-7uHLacuI.js +679 -0
- package/dist/dist-cli-preview/chunks/ro-Dh12ghww.js +679 -0
- package/dist/dist-cli-preview/chunks/ru-DFM7xWFz.js +679 -0
- package/dist/dist-cli-preview/chunks/{schemas-D94nZk5x.js → schemas-BTblatUV.js} +1107 -1062
- package/dist/dist-cli-preview/chunks/screen-route-slug-utils-DozJp-uc.js +620 -0
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-iOjKcNDj.js → sheet-haptics-context-CYrEaGtf.js} +3 -3
- package/dist/dist-cli-preview/chunks/sidebar-9qopXeR1.js +598 -0
- package/dist/dist-cli-preview/chunks/sk-CsuNYa1k.js +679 -0
- package/dist/dist-cli-preview/chunks/sortable.esm-Dlen88Fc.js +3283 -0
- package/dist/dist-cli-preview/chunks/{store-api-context-B96Ip2FB.js → store-api-context-B9pW_xao.js} +1 -1
- package/dist/dist-cli-preview/chunks/sv-DVrPaJbh.js +679 -0
- package/dist/dist-cli-preview/chunks/th-BEkMpcVW.js +679 -0
- package/dist/dist-cli-preview/chunks/tl-CqwwplQC.js +679 -0
- package/dist/dist-cli-preview/chunks/tr-XEp4ekrM.js +679 -0
- package/dist/dist-cli-preview/chunks/{trash-2-wVweQZMw.js → trash-2-ClRyi9iY.js} +12 -12
- package/dist/dist-cli-preview/chunks/uk-DWdZFWBl.js +679 -0
- package/dist/dist-cli-preview/chunks/use-mobile-srOt50VV.js +254 -0
- package/dist/dist-cli-preview/chunks/{use-optional-store-lZUz976C.js → use-optional-store-BgrOjfZJ.js} +2 -2
- package/dist/dist-cli-preview/chunks/{use-store-DVmgsDXy.js → use-store-CUSQx1E-.js} +25 -36
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-Dtzov9uh.js → useInfiniteQuery-DGc8fotv.js} +1 -1
- package/dist/dist-cli-preview/chunks/user-Ca2sKJ-h.js +14 -0
- package/dist/dist-cli-preview/chunks/users-Dh7zTrKY.js +16 -0
- package/dist/dist-cli-preview/chunks/vi-H__PaPsC.js +679 -0
- package/dist/dist-cli-preview/chunks/zh_CN-B62j_w_1.js +679 -0
- package/dist/dist-cli-preview/chunks/zh_TW-CYUIGBvP.js +679 -0
- package/package.json +1 -1
- package/dist/dist-cli-preview/chunks/Combobox-cf11L_T-.js +0 -1455
- package/dist/dist-cli-preview/chunks/MySiteScreen-Dtw1rsF9.js +0 -4950
- package/dist/dist-cli-preview/chunks/OrdersScreen-DkltVCtr.js +0 -9
- package/dist/dist-cli-preview/chunks/sidebar-Ckzom4Xc.js +0 -848
- package/dist/dist-cli-preview/chunks/user-B81IrSgp.js +0 -31
- package/dist/dist-cli-preview/chunks/users-BXTjoCUz.js +0 -27
|
@@ -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-CCBl8DXt.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-5NqOQ4D_.js";
|
|
3
|
+
import { M as b } from "./MemberManagementProviders-WSjb3a8B.js";
|
|
4
4
|
function v({
|
|
5
5
|
children: n
|
|
6
6
|
}) {
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { c as O, l as d, j as o, aa as V, al as H, ab as E, aW as X, aj as N, am as I, aX as G, aY as K, aZ as U, M as j, a_ as W } from "./account-screen-runtime-CCBl8DXt.js";
|
|
2
|
+
import { C as Y } from "./schemas-BTblatUV.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 Z = [
|
|
10
|
+
[
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
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",
|
|
14
|
+
key: "1a0edw"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
["path", { d: "M12 22V12", key: "d0xqtd" }],
|
|
18
|
+
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
19
|
+
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
20
|
+
], ae = O("package", Z);
|
|
21
|
+
var y = "Checkbox", [$] = V(y), [J, P] = $(y);
|
|
22
|
+
function Q(e) {
|
|
23
|
+
const {
|
|
24
|
+
__scopeCheckbox: r,
|
|
25
|
+
checked: n,
|
|
26
|
+
children: c,
|
|
27
|
+
defaultChecked: a,
|
|
28
|
+
disabled: t,
|
|
29
|
+
form: p,
|
|
30
|
+
name: f,
|
|
31
|
+
onCheckedChange: u,
|
|
32
|
+
required: x,
|
|
33
|
+
value: v = "on",
|
|
34
|
+
// @ts-expect-error
|
|
35
|
+
internal_do_not_use_render: l
|
|
36
|
+
} = e, [b, g] = X({
|
|
37
|
+
prop: n,
|
|
38
|
+
defaultProp: a ?? !1,
|
|
39
|
+
onChange: u,
|
|
40
|
+
caller: y
|
|
41
|
+
}), [m, k] = d.useState(null), [C, s] = d.useState(null), i = d.useRef(!1), w = m ? !!p || !!m.closest("form") : (
|
|
42
|
+
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
43
|
+
!0
|
|
44
|
+
), _ = {
|
|
45
|
+
checked: b,
|
|
46
|
+
disabled: t,
|
|
47
|
+
setChecked: g,
|
|
48
|
+
control: m,
|
|
49
|
+
setControl: k,
|
|
50
|
+
name: f,
|
|
51
|
+
form: p,
|
|
52
|
+
value: v,
|
|
53
|
+
hasConsumerStoppedPropagationRef: i,
|
|
54
|
+
required: x,
|
|
55
|
+
defaultChecked: h(a) ? !1 : a,
|
|
56
|
+
isFormControl: w,
|
|
57
|
+
bubbleInput: C,
|
|
58
|
+
setBubbleInput: s
|
|
59
|
+
};
|
|
60
|
+
return /* @__PURE__ */ o.jsx(
|
|
61
|
+
J,
|
|
62
|
+
{
|
|
63
|
+
scope: r,
|
|
64
|
+
..._,
|
|
65
|
+
children: ee(l) ? l(_) : c
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
var S = "CheckboxTrigger", B = d.forwardRef(
|
|
70
|
+
({ __scopeCheckbox: e, onKeyDown: r, onClick: n, ...c }, a) => {
|
|
71
|
+
const {
|
|
72
|
+
control: t,
|
|
73
|
+
value: p,
|
|
74
|
+
disabled: f,
|
|
75
|
+
checked: u,
|
|
76
|
+
required: x,
|
|
77
|
+
setControl: v,
|
|
78
|
+
setChecked: l,
|
|
79
|
+
hasConsumerStoppedPropagationRef: b,
|
|
80
|
+
isFormControl: g,
|
|
81
|
+
bubbleInput: m
|
|
82
|
+
} = P(S, e), k = N(a, v), C = d.useRef(u);
|
|
83
|
+
return d.useEffect(() => {
|
|
84
|
+
const s = t?.form;
|
|
85
|
+
if (s) {
|
|
86
|
+
const i = () => l(C.current);
|
|
87
|
+
return s.addEventListener("reset", i), () => s.removeEventListener("reset", i);
|
|
88
|
+
}
|
|
89
|
+
}, [t, l]), /* @__PURE__ */ o.jsx(
|
|
90
|
+
E.button,
|
|
91
|
+
{
|
|
92
|
+
type: "button",
|
|
93
|
+
role: "checkbox",
|
|
94
|
+
"aria-checked": h(u) ? "mixed" : u,
|
|
95
|
+
"aria-required": x,
|
|
96
|
+
"data-state": L(u),
|
|
97
|
+
"data-disabled": f ? "" : void 0,
|
|
98
|
+
disabled: f,
|
|
99
|
+
value: p,
|
|
100
|
+
...c,
|
|
101
|
+
ref: k,
|
|
102
|
+
onKeyDown: I(r, (s) => {
|
|
103
|
+
s.key === "Enter" && s.preventDefault();
|
|
104
|
+
}),
|
|
105
|
+
onClick: I(n, (s) => {
|
|
106
|
+
l((i) => h(i) ? !0 : !i), m && g && (b.current = s.isPropagationStopped(), b.current || s.stopPropagation());
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
B.displayName = S;
|
|
113
|
+
var M = d.forwardRef(
|
|
114
|
+
(e, r) => {
|
|
115
|
+
const {
|
|
116
|
+
__scopeCheckbox: n,
|
|
117
|
+
name: c,
|
|
118
|
+
checked: a,
|
|
119
|
+
defaultChecked: t,
|
|
120
|
+
required: p,
|
|
121
|
+
disabled: f,
|
|
122
|
+
value: u,
|
|
123
|
+
onCheckedChange: x,
|
|
124
|
+
form: v,
|
|
125
|
+
...l
|
|
126
|
+
} = e;
|
|
127
|
+
return /* @__PURE__ */ o.jsx(
|
|
128
|
+
Q,
|
|
129
|
+
{
|
|
130
|
+
__scopeCheckbox: n,
|
|
131
|
+
checked: a,
|
|
132
|
+
defaultChecked: t,
|
|
133
|
+
disabled: f,
|
|
134
|
+
required: p,
|
|
135
|
+
onCheckedChange: x,
|
|
136
|
+
name: c,
|
|
137
|
+
form: v,
|
|
138
|
+
value: u,
|
|
139
|
+
internal_do_not_use_render: ({ isFormControl: b }) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
140
|
+
/* @__PURE__ */ o.jsx(
|
|
141
|
+
B,
|
|
142
|
+
{
|
|
143
|
+
...l,
|
|
144
|
+
ref: r,
|
|
145
|
+
__scopeCheckbox: n
|
|
146
|
+
}
|
|
147
|
+
),
|
|
148
|
+
b && /* @__PURE__ */ o.jsx(
|
|
149
|
+
q,
|
|
150
|
+
{
|
|
151
|
+
__scopeCheckbox: n
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
] })
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
);
|
|
159
|
+
M.displayName = y;
|
|
160
|
+
var T = "CheckboxIndicator", z = d.forwardRef(
|
|
161
|
+
(e, r) => {
|
|
162
|
+
const { __scopeCheckbox: n, forceMount: c, ...a } = e, t = P(T, n);
|
|
163
|
+
return /* @__PURE__ */ o.jsx(
|
|
164
|
+
H,
|
|
165
|
+
{
|
|
166
|
+
present: c || h(t.checked) || t.checked === !0,
|
|
167
|
+
children: /* @__PURE__ */ o.jsx(
|
|
168
|
+
E.span,
|
|
169
|
+
{
|
|
170
|
+
"data-state": L(t.checked),
|
|
171
|
+
"data-disabled": t.disabled ? "" : void 0,
|
|
172
|
+
...a,
|
|
173
|
+
ref: r,
|
|
174
|
+
style: { pointerEvents: "none", ...e.style }
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
}
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
z.displayName = T;
|
|
182
|
+
var A = "CheckboxBubbleInput", q = d.forwardRef(
|
|
183
|
+
({ __scopeCheckbox: e, ...r }, n) => {
|
|
184
|
+
const {
|
|
185
|
+
control: c,
|
|
186
|
+
hasConsumerStoppedPropagationRef: a,
|
|
187
|
+
checked: t,
|
|
188
|
+
defaultChecked: p,
|
|
189
|
+
required: f,
|
|
190
|
+
disabled: u,
|
|
191
|
+
name: x,
|
|
192
|
+
value: v,
|
|
193
|
+
form: l,
|
|
194
|
+
bubbleInput: b,
|
|
195
|
+
setBubbleInput: g
|
|
196
|
+
} = P(A, e), m = N(n, g), k = G(t), C = K(c);
|
|
197
|
+
d.useEffect(() => {
|
|
198
|
+
const i = b;
|
|
199
|
+
if (!i) return;
|
|
200
|
+
const w = window.HTMLInputElement.prototype, R = Object.getOwnPropertyDescriptor(
|
|
201
|
+
w,
|
|
202
|
+
"checked"
|
|
203
|
+
).set, D = !a.current;
|
|
204
|
+
if (k !== t && R) {
|
|
205
|
+
const F = new Event("click", { bubbles: D });
|
|
206
|
+
i.indeterminate = h(t), R.call(i, h(t) ? !1 : t), i.dispatchEvent(F);
|
|
207
|
+
}
|
|
208
|
+
}, [b, k, t, a]);
|
|
209
|
+
const s = d.useRef(h(t) ? !1 : t);
|
|
210
|
+
return /* @__PURE__ */ o.jsx(
|
|
211
|
+
E.input,
|
|
212
|
+
{
|
|
213
|
+
type: "checkbox",
|
|
214
|
+
"aria-hidden": !0,
|
|
215
|
+
defaultChecked: p ?? s.current,
|
|
216
|
+
required: f,
|
|
217
|
+
disabled: u,
|
|
218
|
+
name: x,
|
|
219
|
+
value: v,
|
|
220
|
+
form: l,
|
|
221
|
+
...r,
|
|
222
|
+
tabIndex: -1,
|
|
223
|
+
ref: m,
|
|
224
|
+
style: {
|
|
225
|
+
...r.style,
|
|
226
|
+
...C,
|
|
227
|
+
position: "absolute",
|
|
228
|
+
pointerEvents: "none",
|
|
229
|
+
opacity: 0,
|
|
230
|
+
margin: 0,
|
|
231
|
+
// We transform because the input is absolutely positioned but we have
|
|
232
|
+
// rendered it **after** the button. This pulls it back to sit on top
|
|
233
|
+
// of the button.
|
|
234
|
+
transform: "translateX(-100%)"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
q.displayName = A;
|
|
241
|
+
function ee(e) {
|
|
242
|
+
return typeof e == "function";
|
|
243
|
+
}
|
|
244
|
+
function h(e) {
|
|
245
|
+
return e === "indeterminate";
|
|
246
|
+
}
|
|
247
|
+
function L(e) {
|
|
248
|
+
return h(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
249
|
+
}
|
|
250
|
+
const te = W(
|
|
251
|
+
"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",
|
|
252
|
+
{
|
|
253
|
+
variants: {
|
|
254
|
+
variant: {
|
|
255
|
+
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
256
|
+
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
257
|
+
destructive: "bg-destructive focus-visible:ring-destructive/20 [a&]:hover:bg-destructive/90 text-white",
|
|
258
|
+
outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
259
|
+
ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
260
|
+
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
defaultVariants: {
|
|
264
|
+
variant: "default"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
);
|
|
268
|
+
function ne({
|
|
269
|
+
className: e,
|
|
270
|
+
variant: r = "default",
|
|
271
|
+
asChild: n = !1,
|
|
272
|
+
...c
|
|
273
|
+
}) {
|
|
274
|
+
const a = n ? U : "span";
|
|
275
|
+
return /* @__PURE__ */ o.jsx(
|
|
276
|
+
a,
|
|
277
|
+
{
|
|
278
|
+
"data-slot": "badge",
|
|
279
|
+
"data-variant": r,
|
|
280
|
+
className: j(te({ variant: r }), e),
|
|
281
|
+
...c
|
|
282
|
+
}
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
function se({
|
|
286
|
+
className: e,
|
|
287
|
+
...r
|
|
288
|
+
}) {
|
|
289
|
+
return /* @__PURE__ */ o.jsx(
|
|
290
|
+
M,
|
|
291
|
+
{
|
|
292
|
+
"data-slot": "checkbox",
|
|
293
|
+
className: j(
|
|
294
|
+
"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",
|
|
295
|
+
e
|
|
296
|
+
),
|
|
297
|
+
...r,
|
|
298
|
+
children: /* @__PURE__ */ o.jsx(
|
|
299
|
+
z,
|
|
300
|
+
{
|
|
301
|
+
"data-slot": "checkbox-indicator",
|
|
302
|
+
className: "grid place-content-center text-current transition-none",
|
|
303
|
+
children: /* @__PURE__ */ o.jsx(Y, { className: "size-3.5" })
|
|
304
|
+
}
|
|
305
|
+
)
|
|
306
|
+
}
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
function ie({
|
|
310
|
+
className: e,
|
|
311
|
+
...r
|
|
312
|
+
}) {
|
|
313
|
+
return /* @__PURE__ */ o.jsx(
|
|
314
|
+
"textarea",
|
|
315
|
+
{
|
|
316
|
+
"data-slot": "textarea",
|
|
317
|
+
className: j(
|
|
318
|
+
"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",
|
|
319
|
+
e
|
|
320
|
+
),
|
|
321
|
+
...r
|
|
322
|
+
}
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
export {
|
|
326
|
+
ne as B,
|
|
327
|
+
se as C,
|
|
328
|
+
ae as P,
|
|
329
|
+
ie as T
|
|
330
|
+
};
|