ddingdong-design-system 1.0.9 → 1.0.11
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/ddingdong-design-system.es.js +939 -634
- package/dist/ddingdong-design-system.es.js.map +1 -1
- package/dist/ddingdong-design-system.umd.js +1 -1
- package/dist/ddingdong-design-system.umd.js.map +1 -1
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/ui/DoubleButton/DoubleButton.d.ts +1 -1
- package/dist/shared/ui/Header/Header.d.ts +5 -0
- package/dist/shared/ui/Header/Menu.d.ts +6 -0
- package/dist/shared/ui/Header/MenuContext.d.ts +9 -0
- package/dist/shared/ui/Header/MenuItem.d.ts +13 -0
- package/dist/shared/ui/Header/MenuTrigger.d.ts +7 -0
- package/dist/shared/ui/Header/NavigationItem.d.ts +10 -0
- package/dist/shared/ui/Header/index.d.ts +6 -0
- package/dist/shared/ui/Header/menu-context.d.ts +7 -0
- package/dist/shared/ui/Header/useClickOutside.d.ts +8 -0
- package/dist/shared/ui/Header/useMenuCtx.d.ts +1 -0
- package/dist/shared/ui/Input/Input.d.ts +1 -1
- package/dist/shared/ui/MediaUpload/MediaUpload.d.ts +1 -1
- package/dist/shared/ui/Table/Table.d.ts +12 -0
- package/dist/shared/ui/Table/TableBody.d.ts +6 -0
- package/dist/shared/ui/Table/TableCell.d.ts +6 -0
- package/dist/shared/ui/Table/TableHead.d.ts +6 -0
- package/dist/shared/ui/Table/TableHeader.d.ts +6 -0
- package/dist/shared/ui/Table/TableRow.d.ts +6 -0
- package/dist/shared/ui/Table/index.d.ts +6 -0
- package/dist/shared/ui/assets/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { jsx as a, jsxs as b, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { useReducedMotion as
|
|
5
|
-
import { createPortal as
|
|
6
|
-
import * as
|
|
7
|
-
function
|
|
1
|
+
import { jsx as a, jsxs as b, Fragment as de } from "react/jsx-runtime";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import { createContext as V, useContext as W, useState as E, useId as $, useRef as re, useEffect as D, useCallback as G, createElement as tt, useMemo as rt, Children as ot, isValidElement as nt } from "react";
|
|
4
|
+
import { useReducedMotion as st, motion as P, AnimatePresence as je } from "framer-motion";
|
|
5
|
+
import { createPortal as at } from "react-dom";
|
|
6
|
+
import * as Le from "@radix-ui/react-switch";
|
|
7
|
+
function Be(e) {
|
|
8
8
|
var t, r, o = "";
|
|
9
9
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
10
10
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
11
11
|
var n = e.length;
|
|
12
|
-
for (t = 0; t < n; t++) e[t] && (r =
|
|
12
|
+
for (t = 0; t < n; t++) e[t] && (r = Be(e[t])) && (o && (o += " "), o += r);
|
|
13
13
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t =
|
|
16
|
+
function Oe() {
|
|
17
|
+
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = Be(e)) && (o && (o += " "), o += t);
|
|
18
18
|
return o;
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
const t =
|
|
20
|
+
const me = "-", it = (e) => {
|
|
21
|
+
const t = ct(e), {
|
|
22
22
|
conflictingClassGroups: r,
|
|
23
23
|
conflictingClassGroupModifiers: o
|
|
24
24
|
} = e;
|
|
25
25
|
return {
|
|
26
26
|
getClassGroupId: (l) => {
|
|
27
|
-
const i = l.split(
|
|
28
|
-
return i[0] === "" && i.length !== 1 && i.shift(),
|
|
27
|
+
const i = l.split(me);
|
|
28
|
+
return i[0] === "" && i.length !== 1 && i.shift(), Pe(i, t) || lt(l);
|
|
29
29
|
},
|
|
30
30
|
getConflictingClassGroupIds: (l, i) => {
|
|
31
|
-
const
|
|
32
|
-
return i && o[l] ? [...
|
|
31
|
+
const d = r[l] || [];
|
|
32
|
+
return i && o[l] ? [...d, ...o[l]] : d;
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
},
|
|
35
|
+
}, Pe = (e, t) => {
|
|
36
36
|
var l;
|
|
37
37
|
if (e.length === 0)
|
|
38
38
|
return t.classGroupId;
|
|
39
|
-
const r = e[0], o = t.nextPart.get(r), n = o ?
|
|
39
|
+
const r = e[0], o = t.nextPart.get(r), n = o ? Pe(e.slice(1), o) : void 0;
|
|
40
40
|
if (n)
|
|
41
41
|
return n;
|
|
42
42
|
if (t.validators.length === 0)
|
|
43
43
|
return;
|
|
44
|
-
const s = e.join(
|
|
44
|
+
const s = e.join(me);
|
|
45
45
|
return (l = t.validators.find(({
|
|
46
46
|
validator: i
|
|
47
47
|
}) => i(s))) == null ? void 0 : l.classGroupId;
|
|
48
|
-
},
|
|
49
|
-
if (
|
|
50
|
-
const t =
|
|
48
|
+
}, Ee = /^\[(.+)\]$/, lt = (e) => {
|
|
49
|
+
if (Ee.test(e)) {
|
|
50
|
+
const t = Ee.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
51
51
|
if (r)
|
|
52
52
|
return "arbitrary.." + r;
|
|
53
53
|
}
|
|
54
|
-
},
|
|
54
|
+
}, ct = (e) => {
|
|
55
55
|
const {
|
|
56
56
|
theme: t,
|
|
57
57
|
prefix: r
|
|
@@ -59,19 +59,19 @@ const ue = "-", rt = (e) => {
|
|
|
59
59
|
nextPart: /* @__PURE__ */ new Map(),
|
|
60
60
|
validators: []
|
|
61
61
|
};
|
|
62
|
-
return
|
|
63
|
-
|
|
62
|
+
return ut(Object.entries(e.classGroups), r).forEach(([s, l]) => {
|
|
63
|
+
ue(l, o, s, t);
|
|
64
64
|
}), o;
|
|
65
|
-
},
|
|
65
|
+
}, ue = (e, t, r, o) => {
|
|
66
66
|
e.forEach((n) => {
|
|
67
67
|
if (typeof n == "string") {
|
|
68
|
-
const s = n === "" ? t :
|
|
68
|
+
const s = n === "" ? t : ze(t, n);
|
|
69
69
|
s.classGroupId = r;
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
72
|
if (typeof n == "function") {
|
|
73
|
-
if (
|
|
74
|
-
|
|
73
|
+
if (dt(n)) {
|
|
74
|
+
ue(n(o), t, r, o);
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
t.validators.push({
|
|
@@ -81,21 +81,21 @@ const ue = "-", rt = (e) => {
|
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
83
|
Object.entries(n).forEach(([s, l]) => {
|
|
84
|
-
|
|
84
|
+
ue(l, ze(t, s), r, o);
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
|
-
},
|
|
87
|
+
}, ze = (e, t) => {
|
|
88
88
|
let r = e;
|
|
89
|
-
return t.split(
|
|
89
|
+
return t.split(me).forEach((o) => {
|
|
90
90
|
r.nextPart.has(o) || r.nextPart.set(o, {
|
|
91
91
|
nextPart: /* @__PURE__ */ new Map(),
|
|
92
92
|
validators: []
|
|
93
93
|
}), r = r.nextPart.get(o);
|
|
94
94
|
}), r;
|
|
95
|
-
},
|
|
95
|
+
}, dt = (e) => e.isThemeGetter, ut = (e, t) => t ? e.map(([r, o]) => {
|
|
96
96
|
const n = o.map((s) => typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, i]) => [t + l, i])) : s);
|
|
97
97
|
return [r, n];
|
|
98
|
-
}) : e,
|
|
98
|
+
}) : e, mt = (e) => {
|
|
99
99
|
if (e < 1)
|
|
100
100
|
return {
|
|
101
101
|
get: () => {
|
|
@@ -119,40 +119,40 @@ const ue = "-", rt = (e) => {
|
|
|
119
119
|
r.has(s) ? r.set(s, l) : n(s, l);
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
}, Ge = "!",
|
|
122
|
+
}, Ge = "!", pt = (e) => {
|
|
123
123
|
const {
|
|
124
124
|
separator: t,
|
|
125
125
|
experimentalParseClassName: r
|
|
126
126
|
} = e, o = t.length === 1, n = t[0], s = t.length, l = (i) => {
|
|
127
|
-
const
|
|
127
|
+
const d = [];
|
|
128
128
|
let c = 0, m = 0, f;
|
|
129
|
-
for (let
|
|
130
|
-
let
|
|
129
|
+
for (let h = 0; h < i.length; h++) {
|
|
130
|
+
let y = i[h];
|
|
131
131
|
if (c === 0) {
|
|
132
|
-
if (
|
|
133
|
-
|
|
132
|
+
if (y === n && (o || i.slice(h, h + s) === t)) {
|
|
133
|
+
d.push(i.slice(m, h)), m = h + s;
|
|
134
134
|
continue;
|
|
135
135
|
}
|
|
136
|
-
if (
|
|
137
|
-
f =
|
|
136
|
+
if (y === "/") {
|
|
137
|
+
f = h;
|
|
138
138
|
continue;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
y === "[" ? c++ : y === "]" && c--;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
143
|
+
const w = d.length === 0 ? i : i.substring(m), M = w.startsWith(Ge), N = M ? w.substring(1) : w, x = f && f > m ? f - m : void 0;
|
|
144
144
|
return {
|
|
145
|
-
modifiers:
|
|
146
|
-
hasImportantModifier:
|
|
145
|
+
modifiers: d,
|
|
146
|
+
hasImportantModifier: M,
|
|
147
147
|
baseClassName: N,
|
|
148
|
-
maybePostfixModifierPosition:
|
|
148
|
+
maybePostfixModifierPosition: x
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
return r ? (i) => r({
|
|
152
152
|
className: i,
|
|
153
153
|
parseClassName: l
|
|
154
154
|
}) : l;
|
|
155
|
-
},
|
|
155
|
+
}, gt = (e) => {
|
|
156
156
|
if (e.length <= 1)
|
|
157
157
|
return e;
|
|
158
158
|
const t = [];
|
|
@@ -160,122 +160,122 @@ const ue = "-", rt = (e) => {
|
|
|
160
160
|
return e.forEach((o) => {
|
|
161
161
|
o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
|
|
162
162
|
}), t.push(...r.sort()), t;
|
|
163
|
-
},
|
|
164
|
-
cache:
|
|
165
|
-
parseClassName:
|
|
166
|
-
...
|
|
167
|
-
}),
|
|
163
|
+
}, ht = (e) => ({
|
|
164
|
+
cache: mt(e.cacheSize),
|
|
165
|
+
parseClassName: pt(e),
|
|
166
|
+
...it(e)
|
|
167
|
+
}), ft = /\s+/, bt = (e, t) => {
|
|
168
168
|
const {
|
|
169
169
|
parseClassName: r,
|
|
170
170
|
getClassGroupId: o,
|
|
171
171
|
getConflictingClassGroupIds: n
|
|
172
|
-
} = t, s = [], l = e.trim().split(
|
|
172
|
+
} = t, s = [], l = e.trim().split(ft);
|
|
173
173
|
let i = "";
|
|
174
|
-
for (let
|
|
175
|
-
const c = l[
|
|
174
|
+
for (let d = l.length - 1; d >= 0; d -= 1) {
|
|
175
|
+
const c = l[d], {
|
|
176
176
|
modifiers: m,
|
|
177
177
|
hasImportantModifier: f,
|
|
178
|
-
baseClassName:
|
|
179
|
-
maybePostfixModifierPosition:
|
|
178
|
+
baseClassName: w,
|
|
179
|
+
maybePostfixModifierPosition: M
|
|
180
180
|
} = r(c);
|
|
181
|
-
let N = !!
|
|
182
|
-
if (!
|
|
181
|
+
let N = !!M, x = o(N ? w.substring(0, M) : w);
|
|
182
|
+
if (!x) {
|
|
183
183
|
if (!N) {
|
|
184
184
|
i = c + (i.length > 0 ? " " + i : i);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
|
-
if (
|
|
187
|
+
if (x = o(w), !x) {
|
|
188
188
|
i = c + (i.length > 0 ? " " + i : i);
|
|
189
189
|
continue;
|
|
190
190
|
}
|
|
191
191
|
N = !1;
|
|
192
192
|
}
|
|
193
|
-
const
|
|
194
|
-
if (s.includes(
|
|
193
|
+
const h = gt(m).join(":"), y = f ? h + Ge : h, k = y + x;
|
|
194
|
+
if (s.includes(k))
|
|
195
195
|
continue;
|
|
196
|
-
s.push(
|
|
197
|
-
const
|
|
198
|
-
for (let
|
|
199
|
-
const
|
|
200
|
-
s.push(
|
|
196
|
+
s.push(k);
|
|
197
|
+
const L = n(x, N);
|
|
198
|
+
for (let A = 0; A < L.length; ++A) {
|
|
199
|
+
const T = L[A];
|
|
200
|
+
s.push(y + T);
|
|
201
201
|
}
|
|
202
202
|
i = c + (i.length > 0 ? " " + i : i);
|
|
203
203
|
}
|
|
204
204
|
return i;
|
|
205
205
|
};
|
|
206
|
-
function
|
|
206
|
+
function wt() {
|
|
207
207
|
let e = 0, t, r, o = "";
|
|
208
208
|
for (; e < arguments.length; )
|
|
209
|
-
(t = arguments[e++]) && (r =
|
|
209
|
+
(t = arguments[e++]) && (r = Ve(t)) && (o && (o += " "), o += r);
|
|
210
210
|
return o;
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const Ve = (e) => {
|
|
213
213
|
if (typeof e == "string")
|
|
214
214
|
return e;
|
|
215
215
|
let t, r = "";
|
|
216
216
|
for (let o = 0; o < e.length; o++)
|
|
217
|
-
e[o] && (t =
|
|
217
|
+
e[o] && (t = Ve(e[o])) && (r && (r += " "), r += t);
|
|
218
218
|
return r;
|
|
219
219
|
};
|
|
220
|
-
function
|
|
220
|
+
function xt(e, ...t) {
|
|
221
221
|
let r, o, n, s = l;
|
|
222
|
-
function l(
|
|
222
|
+
function l(d) {
|
|
223
223
|
const c = t.reduce((m, f) => f(m), e());
|
|
224
|
-
return r =
|
|
224
|
+
return r = ht(c), o = r.cache.get, n = r.cache.set, s = i, i(d);
|
|
225
225
|
}
|
|
226
|
-
function i(
|
|
227
|
-
const c = o(
|
|
226
|
+
function i(d) {
|
|
227
|
+
const c = o(d);
|
|
228
228
|
if (c)
|
|
229
229
|
return c;
|
|
230
|
-
const m =
|
|
231
|
-
return n(
|
|
230
|
+
const m = bt(d, r);
|
|
231
|
+
return n(d, m), m;
|
|
232
232
|
}
|
|
233
233
|
return function() {
|
|
234
|
-
return s(
|
|
234
|
+
return s(wt.apply(null, arguments));
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
const v = (e) => {
|
|
238
238
|
const t = (r) => r[e] || [];
|
|
239
239
|
return t.isThemeGetter = !0, t;
|
|
240
|
-
},
|
|
241
|
-
const o =
|
|
240
|
+
}, We = /^\[(?:([a-z-]+):)?(.+)\]$/i, yt = /^\d+\/\d+$/, vt = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Nt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, It = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Mt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => F(e) || vt.has(e) || yt.test(e), B = (e) => U(e, "length", jt), F = (e) => !!e && !Number.isNaN(Number(e)), le = (e) => U(e, "number", F), J = (e) => !!e && Number.isInteger(Number(e)), Lt = (e) => e.endsWith("%") && F(e.slice(0, -1)), g = (e) => We.test(e), O = (e) => Ct.test(e), Et = /* @__PURE__ */ new Set(["length", "size", "percentage"]), zt = (e) => U(e, Et, He), At = (e) => U(e, "position", He), St = /* @__PURE__ */ new Set(["image", "url"]), Tt = (e) => U(e, St, Ot), Rt = (e) => U(e, "", Bt), K = () => !0, U = (e, t, r) => {
|
|
241
|
+
const o = We.exec(e);
|
|
242
242
|
return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
|
|
243
|
-
},
|
|
243
|
+
}, jt = (e) => (
|
|
244
244
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
245
245
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
246
246
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
247
|
-
|
|
248
|
-
),
|
|
249
|
-
const e = v("colors"), t = v("spacing"), r = v("blur"), o = v("brightness"), n = v("borderColor"), s = v("borderRadius"), l = v("borderSpacing"), i = v("borderWidth"),
|
|
247
|
+
kt.test(e) && !Nt.test(e)
|
|
248
|
+
), He = () => !1, Bt = (e) => It.test(e), Ot = (e) => Mt.test(e), Pt = () => {
|
|
249
|
+
const e = v("colors"), t = v("spacing"), r = v("blur"), o = v("brightness"), n = v("borderColor"), s = v("borderRadius"), l = v("borderSpacing"), i = v("borderWidth"), d = v("contrast"), c = v("grayscale"), m = v("hueRotate"), f = v("invert"), w = v("gap"), M = v("gradientColorStops"), N = v("gradientColorStopPositions"), x = v("inset"), h = v("margin"), y = v("opacity"), k = v("padding"), L = v("saturate"), A = v("scale"), T = v("sepia"), _ = v("skew"), S = v("space"), Ce = v("translate"), ne = () => ["auto", "contain", "none"], se = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", g, t], C = () => [g, t], ke = () => ["", j, B], X = () => ["auto", F, g], Ne = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["solid", "dashed", "dotted", "double", "none"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ie = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], q = () => ["", "0", g], Me = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [F, g];
|
|
250
250
|
return {
|
|
251
251
|
cacheSize: 500,
|
|
252
252
|
separator: ":",
|
|
253
253
|
theme: {
|
|
254
|
-
colors: [
|
|
255
|
-
spacing: [
|
|
256
|
-
blur: ["none", "",
|
|
257
|
-
brightness:
|
|
254
|
+
colors: [K],
|
|
255
|
+
spacing: [j, B],
|
|
256
|
+
blur: ["none", "", O, g],
|
|
257
|
+
brightness: R(),
|
|
258
258
|
borderColor: [e],
|
|
259
|
-
borderRadius: ["none", "", "full",
|
|
260
|
-
borderSpacing:
|
|
261
|
-
borderWidth:
|
|
262
|
-
contrast:
|
|
263
|
-
grayscale:
|
|
264
|
-
hueRotate:
|
|
265
|
-
invert:
|
|
266
|
-
gap:
|
|
259
|
+
borderRadius: ["none", "", "full", O, g],
|
|
260
|
+
borderSpacing: C(),
|
|
261
|
+
borderWidth: ke(),
|
|
262
|
+
contrast: R(),
|
|
263
|
+
grayscale: q(),
|
|
264
|
+
hueRotate: R(),
|
|
265
|
+
invert: q(),
|
|
266
|
+
gap: C(),
|
|
267
267
|
gradientColorStops: [e],
|
|
268
|
-
gradientColorStopPositions: [
|
|
269
|
-
inset:
|
|
270
|
-
margin:
|
|
271
|
-
opacity:
|
|
272
|
-
padding:
|
|
273
|
-
saturate:
|
|
274
|
-
scale:
|
|
275
|
-
sepia:
|
|
276
|
-
skew:
|
|
277
|
-
space:
|
|
278
|
-
translate:
|
|
268
|
+
gradientColorStopPositions: [Lt, B],
|
|
269
|
+
inset: ae(),
|
|
270
|
+
margin: ae(),
|
|
271
|
+
opacity: R(),
|
|
272
|
+
padding: C(),
|
|
273
|
+
saturate: R(),
|
|
274
|
+
scale: R(),
|
|
275
|
+
sepia: q(),
|
|
276
|
+
skew: R(),
|
|
277
|
+
space: C(),
|
|
278
|
+
translate: C()
|
|
279
279
|
},
|
|
280
280
|
classGroups: {
|
|
281
281
|
// Layout
|
|
@@ -296,21 +296,21 @@ const v = (e) => {
|
|
|
296
296
|
* @see https://tailwindcss.com/docs/columns
|
|
297
297
|
*/
|
|
298
298
|
columns: [{
|
|
299
|
-
columns: [
|
|
299
|
+
columns: [O]
|
|
300
300
|
}],
|
|
301
301
|
/**
|
|
302
302
|
* Break After
|
|
303
303
|
* @see https://tailwindcss.com/docs/break-after
|
|
304
304
|
*/
|
|
305
305
|
"break-after": [{
|
|
306
|
-
"break-after":
|
|
306
|
+
"break-after": Me()
|
|
307
307
|
}],
|
|
308
308
|
/**
|
|
309
309
|
* Break Before
|
|
310
310
|
* @see https://tailwindcss.com/docs/break-before
|
|
311
311
|
*/
|
|
312
312
|
"break-before": [{
|
|
313
|
-
"break-before":
|
|
313
|
+
"break-before": Me()
|
|
314
314
|
}],
|
|
315
315
|
/**
|
|
316
316
|
* Break Inside
|
|
@@ -369,49 +369,49 @@ const v = (e) => {
|
|
|
369
369
|
* @see https://tailwindcss.com/docs/object-position
|
|
370
370
|
*/
|
|
371
371
|
"object-position": [{
|
|
372
|
-
object: [...
|
|
372
|
+
object: [...Ne(), g]
|
|
373
373
|
}],
|
|
374
374
|
/**
|
|
375
375
|
* Overflow
|
|
376
376
|
* @see https://tailwindcss.com/docs/overflow
|
|
377
377
|
*/
|
|
378
378
|
overflow: [{
|
|
379
|
-
overflow:
|
|
379
|
+
overflow: se()
|
|
380
380
|
}],
|
|
381
381
|
/**
|
|
382
382
|
* Overflow X
|
|
383
383
|
* @see https://tailwindcss.com/docs/overflow
|
|
384
384
|
*/
|
|
385
385
|
"overflow-x": [{
|
|
386
|
-
"overflow-x":
|
|
386
|
+
"overflow-x": se()
|
|
387
387
|
}],
|
|
388
388
|
/**
|
|
389
389
|
* Overflow Y
|
|
390
390
|
* @see https://tailwindcss.com/docs/overflow
|
|
391
391
|
*/
|
|
392
392
|
"overflow-y": [{
|
|
393
|
-
"overflow-y":
|
|
393
|
+
"overflow-y": se()
|
|
394
394
|
}],
|
|
395
395
|
/**
|
|
396
396
|
* Overscroll Behavior
|
|
397
397
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
398
398
|
*/
|
|
399
399
|
overscroll: [{
|
|
400
|
-
overscroll:
|
|
400
|
+
overscroll: ne()
|
|
401
401
|
}],
|
|
402
402
|
/**
|
|
403
403
|
* Overscroll Behavior X
|
|
404
404
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
405
405
|
*/
|
|
406
406
|
"overscroll-x": [{
|
|
407
|
-
"overscroll-x":
|
|
407
|
+
"overscroll-x": ne()
|
|
408
408
|
}],
|
|
409
409
|
/**
|
|
410
410
|
* Overscroll Behavior Y
|
|
411
411
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
412
412
|
*/
|
|
413
413
|
"overscroll-y": [{
|
|
414
|
-
"overscroll-y":
|
|
414
|
+
"overscroll-y": ne()
|
|
415
415
|
}],
|
|
416
416
|
/**
|
|
417
417
|
* Position
|
|
@@ -423,63 +423,63 @@ const v = (e) => {
|
|
|
423
423
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
424
424
|
*/
|
|
425
425
|
inset: [{
|
|
426
|
-
inset: [
|
|
426
|
+
inset: [x]
|
|
427
427
|
}],
|
|
428
428
|
/**
|
|
429
429
|
* Right / Left
|
|
430
430
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
431
431
|
*/
|
|
432
432
|
"inset-x": [{
|
|
433
|
-
"inset-x": [
|
|
433
|
+
"inset-x": [x]
|
|
434
434
|
}],
|
|
435
435
|
/**
|
|
436
436
|
* Top / Bottom
|
|
437
437
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
438
438
|
*/
|
|
439
439
|
"inset-y": [{
|
|
440
|
-
"inset-y": [
|
|
440
|
+
"inset-y": [x]
|
|
441
441
|
}],
|
|
442
442
|
/**
|
|
443
443
|
* Start
|
|
444
444
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
445
445
|
*/
|
|
446
446
|
start: [{
|
|
447
|
-
start: [
|
|
447
|
+
start: [x]
|
|
448
448
|
}],
|
|
449
449
|
/**
|
|
450
450
|
* End
|
|
451
451
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
452
452
|
*/
|
|
453
453
|
end: [{
|
|
454
|
-
end: [
|
|
454
|
+
end: [x]
|
|
455
455
|
}],
|
|
456
456
|
/**
|
|
457
457
|
* Top
|
|
458
458
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
459
459
|
*/
|
|
460
460
|
top: [{
|
|
461
|
-
top: [
|
|
461
|
+
top: [x]
|
|
462
462
|
}],
|
|
463
463
|
/**
|
|
464
464
|
* Right
|
|
465
465
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
466
466
|
*/
|
|
467
467
|
right: [{
|
|
468
|
-
right: [
|
|
468
|
+
right: [x]
|
|
469
469
|
}],
|
|
470
470
|
/**
|
|
471
471
|
* Bottom
|
|
472
472
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
473
473
|
*/
|
|
474
474
|
bottom: [{
|
|
475
|
-
bottom: [
|
|
475
|
+
bottom: [x]
|
|
476
476
|
}],
|
|
477
477
|
/**
|
|
478
478
|
* Left
|
|
479
479
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
480
480
|
*/
|
|
481
481
|
left: [{
|
|
482
|
-
left: [
|
|
482
|
+
left: [x]
|
|
483
483
|
}],
|
|
484
484
|
/**
|
|
485
485
|
* Visibility
|
|
@@ -491,7 +491,7 @@ const v = (e) => {
|
|
|
491
491
|
* @see https://tailwindcss.com/docs/z-index
|
|
492
492
|
*/
|
|
493
493
|
z: [{
|
|
494
|
-
z: ["auto",
|
|
494
|
+
z: ["auto", J, g]
|
|
495
495
|
}],
|
|
496
496
|
// Flexbox and Grid
|
|
497
497
|
/**
|
|
@@ -499,7 +499,7 @@ const v = (e) => {
|
|
|
499
499
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
500
500
|
*/
|
|
501
501
|
basis: [{
|
|
502
|
-
basis:
|
|
502
|
+
basis: ae()
|
|
503
503
|
}],
|
|
504
504
|
/**
|
|
505
505
|
* Flex Direction
|
|
@@ -527,28 +527,28 @@ const v = (e) => {
|
|
|
527
527
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
528
528
|
*/
|
|
529
529
|
grow: [{
|
|
530
|
-
grow:
|
|
530
|
+
grow: q()
|
|
531
531
|
}],
|
|
532
532
|
/**
|
|
533
533
|
* Flex Shrink
|
|
534
534
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
535
535
|
*/
|
|
536
536
|
shrink: [{
|
|
537
|
-
shrink:
|
|
537
|
+
shrink: q()
|
|
538
538
|
}],
|
|
539
539
|
/**
|
|
540
540
|
* Order
|
|
541
541
|
* @see https://tailwindcss.com/docs/order
|
|
542
542
|
*/
|
|
543
543
|
order: [{
|
|
544
|
-
order: ["first", "last", "none",
|
|
544
|
+
order: ["first", "last", "none", J, g]
|
|
545
545
|
}],
|
|
546
546
|
/**
|
|
547
547
|
* Grid Template Columns
|
|
548
548
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
549
549
|
*/
|
|
550
550
|
"grid-cols": [{
|
|
551
|
-
"grid-cols": [
|
|
551
|
+
"grid-cols": [K]
|
|
552
552
|
}],
|
|
553
553
|
/**
|
|
554
554
|
* Grid Column Start / End
|
|
@@ -556,7 +556,7 @@ const v = (e) => {
|
|
|
556
556
|
*/
|
|
557
557
|
"col-start-end": [{
|
|
558
558
|
col: ["auto", {
|
|
559
|
-
span: ["full",
|
|
559
|
+
span: ["full", J, g]
|
|
560
560
|
}, g]
|
|
561
561
|
}],
|
|
562
562
|
/**
|
|
@@ -564,21 +564,21 @@ const v = (e) => {
|
|
|
564
564
|
* @see https://tailwindcss.com/docs/grid-column
|
|
565
565
|
*/
|
|
566
566
|
"col-start": [{
|
|
567
|
-
"col-start":
|
|
567
|
+
"col-start": X()
|
|
568
568
|
}],
|
|
569
569
|
/**
|
|
570
570
|
* Grid Column End
|
|
571
571
|
* @see https://tailwindcss.com/docs/grid-column
|
|
572
572
|
*/
|
|
573
573
|
"col-end": [{
|
|
574
|
-
"col-end":
|
|
574
|
+
"col-end": X()
|
|
575
575
|
}],
|
|
576
576
|
/**
|
|
577
577
|
* Grid Template Rows
|
|
578
578
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
579
579
|
*/
|
|
580
580
|
"grid-rows": [{
|
|
581
|
-
"grid-rows": [
|
|
581
|
+
"grid-rows": [K]
|
|
582
582
|
}],
|
|
583
583
|
/**
|
|
584
584
|
* Grid Row Start / End
|
|
@@ -586,7 +586,7 @@ const v = (e) => {
|
|
|
586
586
|
*/
|
|
587
587
|
"row-start-end": [{
|
|
588
588
|
row: ["auto", {
|
|
589
|
-
span: [
|
|
589
|
+
span: [J, g]
|
|
590
590
|
}, g]
|
|
591
591
|
}],
|
|
592
592
|
/**
|
|
@@ -594,14 +594,14 @@ const v = (e) => {
|
|
|
594
594
|
* @see https://tailwindcss.com/docs/grid-row
|
|
595
595
|
*/
|
|
596
596
|
"row-start": [{
|
|
597
|
-
"row-start":
|
|
597
|
+
"row-start": X()
|
|
598
598
|
}],
|
|
599
599
|
/**
|
|
600
600
|
* Grid Row End
|
|
601
601
|
* @see https://tailwindcss.com/docs/grid-row
|
|
602
602
|
*/
|
|
603
603
|
"row-end": [{
|
|
604
|
-
"row-end":
|
|
604
|
+
"row-end": X()
|
|
605
605
|
}],
|
|
606
606
|
/**
|
|
607
607
|
* Grid Auto Flow
|
|
@@ -629,28 +629,28 @@ const v = (e) => {
|
|
|
629
629
|
* @see https://tailwindcss.com/docs/gap
|
|
630
630
|
*/
|
|
631
631
|
gap: [{
|
|
632
|
-
gap: [
|
|
632
|
+
gap: [w]
|
|
633
633
|
}],
|
|
634
634
|
/**
|
|
635
635
|
* Gap X
|
|
636
636
|
* @see https://tailwindcss.com/docs/gap
|
|
637
637
|
*/
|
|
638
638
|
"gap-x": [{
|
|
639
|
-
"gap-x": [
|
|
639
|
+
"gap-x": [w]
|
|
640
640
|
}],
|
|
641
641
|
/**
|
|
642
642
|
* Gap Y
|
|
643
643
|
* @see https://tailwindcss.com/docs/gap
|
|
644
644
|
*/
|
|
645
645
|
"gap-y": [{
|
|
646
|
-
"gap-y": [
|
|
646
|
+
"gap-y": [w]
|
|
647
647
|
}],
|
|
648
648
|
/**
|
|
649
649
|
* Justify Content
|
|
650
650
|
* @see https://tailwindcss.com/docs/justify-content
|
|
651
651
|
*/
|
|
652
652
|
"justify-content": [{
|
|
653
|
-
justify: ["normal", ...
|
|
653
|
+
justify: ["normal", ...ie()]
|
|
654
654
|
}],
|
|
655
655
|
/**
|
|
656
656
|
* Justify Items
|
|
@@ -671,7 +671,7 @@ const v = (e) => {
|
|
|
671
671
|
* @see https://tailwindcss.com/docs/align-content
|
|
672
672
|
*/
|
|
673
673
|
"align-content": [{
|
|
674
|
-
content: ["normal", ...
|
|
674
|
+
content: ["normal", ...ie(), "baseline"]
|
|
675
675
|
}],
|
|
676
676
|
/**
|
|
677
677
|
* Align Items
|
|
@@ -692,7 +692,7 @@ const v = (e) => {
|
|
|
692
692
|
* @see https://tailwindcss.com/docs/place-content
|
|
693
693
|
*/
|
|
694
694
|
"place-content": [{
|
|
695
|
-
"place-content": [...
|
|
695
|
+
"place-content": [...ie(), "baseline"]
|
|
696
696
|
}],
|
|
697
697
|
/**
|
|
698
698
|
* Place Items
|
|
@@ -714,133 +714,133 @@ const v = (e) => {
|
|
|
714
714
|
* @see https://tailwindcss.com/docs/padding
|
|
715
715
|
*/
|
|
716
716
|
p: [{
|
|
717
|
-
p: [
|
|
717
|
+
p: [k]
|
|
718
718
|
}],
|
|
719
719
|
/**
|
|
720
720
|
* Padding X
|
|
721
721
|
* @see https://tailwindcss.com/docs/padding
|
|
722
722
|
*/
|
|
723
723
|
px: [{
|
|
724
|
-
px: [
|
|
724
|
+
px: [k]
|
|
725
725
|
}],
|
|
726
726
|
/**
|
|
727
727
|
* Padding Y
|
|
728
728
|
* @see https://tailwindcss.com/docs/padding
|
|
729
729
|
*/
|
|
730
730
|
py: [{
|
|
731
|
-
py: [
|
|
731
|
+
py: [k]
|
|
732
732
|
}],
|
|
733
733
|
/**
|
|
734
734
|
* Padding Start
|
|
735
735
|
* @see https://tailwindcss.com/docs/padding
|
|
736
736
|
*/
|
|
737
737
|
ps: [{
|
|
738
|
-
ps: [
|
|
738
|
+
ps: [k]
|
|
739
739
|
}],
|
|
740
740
|
/**
|
|
741
741
|
* Padding End
|
|
742
742
|
* @see https://tailwindcss.com/docs/padding
|
|
743
743
|
*/
|
|
744
744
|
pe: [{
|
|
745
|
-
pe: [
|
|
745
|
+
pe: [k]
|
|
746
746
|
}],
|
|
747
747
|
/**
|
|
748
748
|
* Padding Top
|
|
749
749
|
* @see https://tailwindcss.com/docs/padding
|
|
750
750
|
*/
|
|
751
751
|
pt: [{
|
|
752
|
-
pt: [
|
|
752
|
+
pt: [k]
|
|
753
753
|
}],
|
|
754
754
|
/**
|
|
755
755
|
* Padding Right
|
|
756
756
|
* @see https://tailwindcss.com/docs/padding
|
|
757
757
|
*/
|
|
758
758
|
pr: [{
|
|
759
|
-
pr: [
|
|
759
|
+
pr: [k]
|
|
760
760
|
}],
|
|
761
761
|
/**
|
|
762
762
|
* Padding Bottom
|
|
763
763
|
* @see https://tailwindcss.com/docs/padding
|
|
764
764
|
*/
|
|
765
765
|
pb: [{
|
|
766
|
-
pb: [
|
|
766
|
+
pb: [k]
|
|
767
767
|
}],
|
|
768
768
|
/**
|
|
769
769
|
* Padding Left
|
|
770
770
|
* @see https://tailwindcss.com/docs/padding
|
|
771
771
|
*/
|
|
772
772
|
pl: [{
|
|
773
|
-
pl: [
|
|
773
|
+
pl: [k]
|
|
774
774
|
}],
|
|
775
775
|
/**
|
|
776
776
|
* Margin
|
|
777
777
|
* @see https://tailwindcss.com/docs/margin
|
|
778
778
|
*/
|
|
779
779
|
m: [{
|
|
780
|
-
m: [
|
|
780
|
+
m: [h]
|
|
781
781
|
}],
|
|
782
782
|
/**
|
|
783
783
|
* Margin X
|
|
784
784
|
* @see https://tailwindcss.com/docs/margin
|
|
785
785
|
*/
|
|
786
786
|
mx: [{
|
|
787
|
-
mx: [
|
|
787
|
+
mx: [h]
|
|
788
788
|
}],
|
|
789
789
|
/**
|
|
790
790
|
* Margin Y
|
|
791
791
|
* @see https://tailwindcss.com/docs/margin
|
|
792
792
|
*/
|
|
793
793
|
my: [{
|
|
794
|
-
my: [
|
|
794
|
+
my: [h]
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Margin Start
|
|
798
798
|
* @see https://tailwindcss.com/docs/margin
|
|
799
799
|
*/
|
|
800
800
|
ms: [{
|
|
801
|
-
ms: [
|
|
801
|
+
ms: [h]
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Margin End
|
|
805
805
|
* @see https://tailwindcss.com/docs/margin
|
|
806
806
|
*/
|
|
807
807
|
me: [{
|
|
808
|
-
me: [
|
|
808
|
+
me: [h]
|
|
809
809
|
}],
|
|
810
810
|
/**
|
|
811
811
|
* Margin Top
|
|
812
812
|
* @see https://tailwindcss.com/docs/margin
|
|
813
813
|
*/
|
|
814
814
|
mt: [{
|
|
815
|
-
mt: [
|
|
815
|
+
mt: [h]
|
|
816
816
|
}],
|
|
817
817
|
/**
|
|
818
818
|
* Margin Right
|
|
819
819
|
* @see https://tailwindcss.com/docs/margin
|
|
820
820
|
*/
|
|
821
821
|
mr: [{
|
|
822
|
-
mr: [
|
|
822
|
+
mr: [h]
|
|
823
823
|
}],
|
|
824
824
|
/**
|
|
825
825
|
* Margin Bottom
|
|
826
826
|
* @see https://tailwindcss.com/docs/margin
|
|
827
827
|
*/
|
|
828
828
|
mb: [{
|
|
829
|
-
mb: [
|
|
829
|
+
mb: [h]
|
|
830
830
|
}],
|
|
831
831
|
/**
|
|
832
832
|
* Margin Left
|
|
833
833
|
* @see https://tailwindcss.com/docs/margin
|
|
834
834
|
*/
|
|
835
835
|
ml: [{
|
|
836
|
-
ml: [
|
|
836
|
+
ml: [h]
|
|
837
837
|
}],
|
|
838
838
|
/**
|
|
839
839
|
* Space Between X
|
|
840
840
|
* @see https://tailwindcss.com/docs/space
|
|
841
841
|
*/
|
|
842
842
|
"space-x": [{
|
|
843
|
-
"space-x": [
|
|
843
|
+
"space-x": [S]
|
|
844
844
|
}],
|
|
845
845
|
/**
|
|
846
846
|
* Space Between X Reverse
|
|
@@ -852,7 +852,7 @@ const v = (e) => {
|
|
|
852
852
|
* @see https://tailwindcss.com/docs/space
|
|
853
853
|
*/
|
|
854
854
|
"space-y": [{
|
|
855
|
-
"space-y": [
|
|
855
|
+
"space-y": [S]
|
|
856
856
|
}],
|
|
857
857
|
/**
|
|
858
858
|
* Space Between Y Reverse
|
|
@@ -880,8 +880,8 @@ const v = (e) => {
|
|
|
880
880
|
*/
|
|
881
881
|
"max-w": [{
|
|
882
882
|
"max-w": [g, t, "none", "full", "min", "max", "fit", "prose", {
|
|
883
|
-
screen: [
|
|
884
|
-
},
|
|
883
|
+
screen: [O]
|
|
884
|
+
}, O]
|
|
885
885
|
}],
|
|
886
886
|
/**
|
|
887
887
|
* Height
|
|
@@ -917,7 +917,7 @@ const v = (e) => {
|
|
|
917
917
|
* @see https://tailwindcss.com/docs/font-size
|
|
918
918
|
*/
|
|
919
919
|
"font-size": [{
|
|
920
|
-
text: ["base",
|
|
920
|
+
text: ["base", O, B]
|
|
921
921
|
}],
|
|
922
922
|
/**
|
|
923
923
|
* Font Smoothing
|
|
@@ -934,14 +934,14 @@ const v = (e) => {
|
|
|
934
934
|
* @see https://tailwindcss.com/docs/font-weight
|
|
935
935
|
*/
|
|
936
936
|
"font-weight": [{
|
|
937
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
937
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", le]
|
|
938
938
|
}],
|
|
939
939
|
/**
|
|
940
940
|
* Font Family
|
|
941
941
|
* @see https://tailwindcss.com/docs/font-family
|
|
942
942
|
*/
|
|
943
943
|
"font-family": [{
|
|
944
|
-
font: [
|
|
944
|
+
font: [K]
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Font Variant Numeric
|
|
@@ -985,14 +985,14 @@ const v = (e) => {
|
|
|
985
985
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
986
986
|
*/
|
|
987
987
|
"line-clamp": [{
|
|
988
|
-
"line-clamp": ["none",
|
|
988
|
+
"line-clamp": ["none", F, le]
|
|
989
989
|
}],
|
|
990
990
|
/**
|
|
991
991
|
* Line Height
|
|
992
992
|
* @see https://tailwindcss.com/docs/line-height
|
|
993
993
|
*/
|
|
994
994
|
leading: [{
|
|
995
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
995
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", j, g]
|
|
996
996
|
}],
|
|
997
997
|
/**
|
|
998
998
|
* List Style Image
|
|
@@ -1028,7 +1028,7 @@ const v = (e) => {
|
|
|
1028
1028
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1029
1029
|
*/
|
|
1030
1030
|
"placeholder-opacity": [{
|
|
1031
|
-
"placeholder-opacity": [
|
|
1031
|
+
"placeholder-opacity": [y]
|
|
1032
1032
|
}],
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Text Alignment
|
|
@@ -1049,7 +1049,7 @@ const v = (e) => {
|
|
|
1049
1049
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1050
1050
|
*/
|
|
1051
1051
|
"text-opacity": [{
|
|
1052
|
-
"text-opacity": [
|
|
1052
|
+
"text-opacity": [y]
|
|
1053
1053
|
}],
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Text Decoration
|
|
@@ -1061,21 +1061,21 @@ const v = (e) => {
|
|
|
1061
1061
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1062
1062
|
*/
|
|
1063
1063
|
"text-decoration-style": [{
|
|
1064
|
-
decoration: [...
|
|
1064
|
+
decoration: [...Y(), "wavy"]
|
|
1065
1065
|
}],
|
|
1066
1066
|
/**
|
|
1067
1067
|
* Text Decoration Thickness
|
|
1068
1068
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1069
1069
|
*/
|
|
1070
1070
|
"text-decoration-thickness": [{
|
|
1071
|
-
decoration: ["auto", "from-font",
|
|
1071
|
+
decoration: ["auto", "from-font", j, B]
|
|
1072
1072
|
}],
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Text Underline Offset
|
|
1075
1075
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1076
1076
|
*/
|
|
1077
1077
|
"underline-offset": [{
|
|
1078
|
-
"underline-offset": ["auto",
|
|
1078
|
+
"underline-offset": ["auto", j, g]
|
|
1079
1079
|
}],
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Text Decoration Color
|
|
@@ -1106,7 +1106,7 @@ const v = (e) => {
|
|
|
1106
1106
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1107
1107
|
*/
|
|
1108
1108
|
indent: [{
|
|
1109
|
-
indent:
|
|
1109
|
+
indent: C()
|
|
1110
1110
|
}],
|
|
1111
1111
|
/**
|
|
1112
1112
|
* Vertical Alignment
|
|
@@ -1164,7 +1164,7 @@ const v = (e) => {
|
|
|
1164
1164
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1165
1165
|
*/
|
|
1166
1166
|
"bg-opacity": [{
|
|
1167
|
-
"bg-opacity": [
|
|
1167
|
+
"bg-opacity": [y]
|
|
1168
1168
|
}],
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Background Origin
|
|
@@ -1178,7 +1178,7 @@ const v = (e) => {
|
|
|
1178
1178
|
* @see https://tailwindcss.com/docs/background-position
|
|
1179
1179
|
*/
|
|
1180
1180
|
"bg-position": [{
|
|
1181
|
-
bg: [...
|
|
1181
|
+
bg: [...Ne(), At]
|
|
1182
1182
|
}],
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Background Repeat
|
|
@@ -1194,7 +1194,7 @@ const v = (e) => {
|
|
|
1194
1194
|
* @see https://tailwindcss.com/docs/background-size
|
|
1195
1195
|
*/
|
|
1196
1196
|
"bg-size": [{
|
|
1197
|
-
bg: ["auto", "cover", "contain",
|
|
1197
|
+
bg: ["auto", "cover", "contain", zt]
|
|
1198
1198
|
}],
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Background Image
|
|
@@ -1203,7 +1203,7 @@ const v = (e) => {
|
|
|
1203
1203
|
"bg-image": [{
|
|
1204
1204
|
bg: ["none", {
|
|
1205
1205
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1206
|
-
},
|
|
1206
|
+
}, Tt]
|
|
1207
1207
|
}],
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Background Color
|
|
@@ -1238,21 +1238,21 @@ const v = (e) => {
|
|
|
1238
1238
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1239
1239
|
*/
|
|
1240
1240
|
"gradient-from": [{
|
|
1241
|
-
from: [
|
|
1241
|
+
from: [M]
|
|
1242
1242
|
}],
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Gradient Color Stops Via
|
|
1245
1245
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1246
1246
|
*/
|
|
1247
1247
|
"gradient-via": [{
|
|
1248
|
-
via: [
|
|
1248
|
+
via: [M]
|
|
1249
1249
|
}],
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Gradient Color Stops To
|
|
1252
1252
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1253
1253
|
*/
|
|
1254
1254
|
"gradient-to": [{
|
|
1255
|
-
to: [
|
|
1255
|
+
to: [M]
|
|
1256
1256
|
}],
|
|
1257
1257
|
// Borders
|
|
1258
1258
|
/**
|
|
@@ -1428,14 +1428,14 @@ const v = (e) => {
|
|
|
1428
1428
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1429
1429
|
*/
|
|
1430
1430
|
"border-opacity": [{
|
|
1431
|
-
"border-opacity": [
|
|
1431
|
+
"border-opacity": [y]
|
|
1432
1432
|
}],
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Border Style
|
|
1435
1435
|
* @see https://tailwindcss.com/docs/border-style
|
|
1436
1436
|
*/
|
|
1437
1437
|
"border-style": [{
|
|
1438
|
-
border: [...
|
|
1438
|
+
border: [...Y(), "hidden"]
|
|
1439
1439
|
}],
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Divide Width X
|
|
@@ -1466,14 +1466,14 @@ const v = (e) => {
|
|
|
1466
1466
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1467
1467
|
*/
|
|
1468
1468
|
"divide-opacity": [{
|
|
1469
|
-
"divide-opacity": [
|
|
1469
|
+
"divide-opacity": [y]
|
|
1470
1470
|
}],
|
|
1471
1471
|
/**
|
|
1472
1472
|
* Divide Style
|
|
1473
1473
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1474
1474
|
*/
|
|
1475
1475
|
"divide-style": [{
|
|
1476
|
-
divide:
|
|
1476
|
+
divide: Y()
|
|
1477
1477
|
}],
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Border Color
|
|
@@ -1550,21 +1550,21 @@ const v = (e) => {
|
|
|
1550
1550
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1551
1551
|
*/
|
|
1552
1552
|
"outline-style": [{
|
|
1553
|
-
outline: ["", ...
|
|
1553
|
+
outline: ["", ...Y()]
|
|
1554
1554
|
}],
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Outline Offset
|
|
1557
1557
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1558
1558
|
*/
|
|
1559
1559
|
"outline-offset": [{
|
|
1560
|
-
"outline-offset": [
|
|
1560
|
+
"outline-offset": [j, g]
|
|
1561
1561
|
}],
|
|
1562
1562
|
/**
|
|
1563
1563
|
* Outline Width
|
|
1564
1564
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1565
1565
|
*/
|
|
1566
1566
|
"outline-w": [{
|
|
1567
|
-
outline: [
|
|
1567
|
+
outline: [j, B]
|
|
1568
1568
|
}],
|
|
1569
1569
|
/**
|
|
1570
1570
|
* Outline Color
|
|
@@ -1578,7 +1578,7 @@ const v = (e) => {
|
|
|
1578
1578
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1579
1579
|
*/
|
|
1580
1580
|
"ring-w": [{
|
|
1581
|
-
ring:
|
|
1581
|
+
ring: ke()
|
|
1582
1582
|
}],
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Ring Width Inset
|
|
@@ -1597,14 +1597,14 @@ const v = (e) => {
|
|
|
1597
1597
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1598
1598
|
*/
|
|
1599
1599
|
"ring-opacity": [{
|
|
1600
|
-
"ring-opacity": [
|
|
1600
|
+
"ring-opacity": [y]
|
|
1601
1601
|
}],
|
|
1602
1602
|
/**
|
|
1603
1603
|
* Ring Offset Width
|
|
1604
1604
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1605
1605
|
*/
|
|
1606
1606
|
"ring-offset-w": [{
|
|
1607
|
-
"ring-offset": [
|
|
1607
|
+
"ring-offset": [j, B]
|
|
1608
1608
|
}],
|
|
1609
1609
|
/**
|
|
1610
1610
|
* Ring Offset Color
|
|
@@ -1619,35 +1619,35 @@ const v = (e) => {
|
|
|
1619
1619
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1620
1620
|
*/
|
|
1621
1621
|
shadow: [{
|
|
1622
|
-
shadow: ["", "inner", "none",
|
|
1622
|
+
shadow: ["", "inner", "none", O, Rt]
|
|
1623
1623
|
}],
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Box Shadow Color
|
|
1626
1626
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1627
1627
|
*/
|
|
1628
1628
|
"shadow-color": [{
|
|
1629
|
-
shadow: [
|
|
1629
|
+
shadow: [K]
|
|
1630
1630
|
}],
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Opacity
|
|
1633
1633
|
* @see https://tailwindcss.com/docs/opacity
|
|
1634
1634
|
*/
|
|
1635
1635
|
opacity: [{
|
|
1636
|
-
opacity: [
|
|
1636
|
+
opacity: [y]
|
|
1637
1637
|
}],
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Mix Blend Mode
|
|
1640
1640
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1641
1641
|
*/
|
|
1642
1642
|
"mix-blend": [{
|
|
1643
|
-
"mix-blend": [...
|
|
1643
|
+
"mix-blend": [...Ie(), "plus-lighter", "plus-darker"]
|
|
1644
1644
|
}],
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Background Blend Mode
|
|
1647
1647
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1648
1648
|
*/
|
|
1649
1649
|
"bg-blend": [{
|
|
1650
|
-
"bg-blend":
|
|
1650
|
+
"bg-blend": Ie()
|
|
1651
1651
|
}],
|
|
1652
1652
|
// Filters
|
|
1653
1653
|
/**
|
|
@@ -1677,14 +1677,14 @@ const v = (e) => {
|
|
|
1677
1677
|
* @see https://tailwindcss.com/docs/contrast
|
|
1678
1678
|
*/
|
|
1679
1679
|
contrast: [{
|
|
1680
|
-
contrast: [
|
|
1680
|
+
contrast: [d]
|
|
1681
1681
|
}],
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Drop Shadow
|
|
1684
1684
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1685
1685
|
*/
|
|
1686
1686
|
"drop-shadow": [{
|
|
1687
|
-
"drop-shadow": ["", "none",
|
|
1687
|
+
"drop-shadow": ["", "none", O, g]
|
|
1688
1688
|
}],
|
|
1689
1689
|
/**
|
|
1690
1690
|
* Grayscale
|
|
@@ -1712,14 +1712,14 @@ const v = (e) => {
|
|
|
1712
1712
|
* @see https://tailwindcss.com/docs/saturate
|
|
1713
1713
|
*/
|
|
1714
1714
|
saturate: [{
|
|
1715
|
-
saturate: [
|
|
1715
|
+
saturate: [L]
|
|
1716
1716
|
}],
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Sepia
|
|
1719
1719
|
* @see https://tailwindcss.com/docs/sepia
|
|
1720
1720
|
*/
|
|
1721
1721
|
sepia: [{
|
|
1722
|
-
sepia: [
|
|
1722
|
+
sepia: [T]
|
|
1723
1723
|
}],
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Backdrop Filter
|
|
@@ -1748,7 +1748,7 @@ const v = (e) => {
|
|
|
1748
1748
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1749
1749
|
*/
|
|
1750
1750
|
"backdrop-contrast": [{
|
|
1751
|
-
"backdrop-contrast": [
|
|
1751
|
+
"backdrop-contrast": [d]
|
|
1752
1752
|
}],
|
|
1753
1753
|
/**
|
|
1754
1754
|
* Backdrop Grayscale
|
|
@@ -1776,21 +1776,21 @@ const v = (e) => {
|
|
|
1776
1776
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1777
1777
|
*/
|
|
1778
1778
|
"backdrop-opacity": [{
|
|
1779
|
-
"backdrop-opacity": [
|
|
1779
|
+
"backdrop-opacity": [y]
|
|
1780
1780
|
}],
|
|
1781
1781
|
/**
|
|
1782
1782
|
* Backdrop Saturate
|
|
1783
1783
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1784
1784
|
*/
|
|
1785
1785
|
"backdrop-saturate": [{
|
|
1786
|
-
"backdrop-saturate": [
|
|
1786
|
+
"backdrop-saturate": [L]
|
|
1787
1787
|
}],
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Backdrop Sepia
|
|
1790
1790
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1791
1791
|
*/
|
|
1792
1792
|
"backdrop-sepia": [{
|
|
1793
|
-
"backdrop-sepia": [
|
|
1793
|
+
"backdrop-sepia": [T]
|
|
1794
1794
|
}],
|
|
1795
1795
|
// Tables
|
|
1796
1796
|
/**
|
|
@@ -1848,7 +1848,7 @@ const v = (e) => {
|
|
|
1848
1848
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1849
1849
|
*/
|
|
1850
1850
|
duration: [{
|
|
1851
|
-
duration:
|
|
1851
|
+
duration: R()
|
|
1852
1852
|
}],
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Transition Timing Function
|
|
@@ -1862,7 +1862,7 @@ const v = (e) => {
|
|
|
1862
1862
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1863
1863
|
*/
|
|
1864
1864
|
delay: [{
|
|
1865
|
-
delay:
|
|
1865
|
+
delay: R()
|
|
1866
1866
|
}],
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Animation
|
|
@@ -1884,56 +1884,56 @@ const v = (e) => {
|
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/scale
|
|
1885
1885
|
*/
|
|
1886
1886
|
scale: [{
|
|
1887
|
-
scale: [
|
|
1887
|
+
scale: [A]
|
|
1888
1888
|
}],
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Scale X
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/scale
|
|
1892
1892
|
*/
|
|
1893
1893
|
"scale-x": [{
|
|
1894
|
-
"scale-x": [
|
|
1894
|
+
"scale-x": [A]
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Scale Y
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/scale
|
|
1899
1899
|
*/
|
|
1900
1900
|
"scale-y": [{
|
|
1901
|
-
"scale-y": [
|
|
1901
|
+
"scale-y": [A]
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Rotate
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/rotate
|
|
1906
1906
|
*/
|
|
1907
1907
|
rotate: [{
|
|
1908
|
-
rotate: [
|
|
1908
|
+
rotate: [J, g]
|
|
1909
1909
|
}],
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Translate X
|
|
1912
1912
|
* @see https://tailwindcss.com/docs/translate
|
|
1913
1913
|
*/
|
|
1914
1914
|
"translate-x": [{
|
|
1915
|
-
"translate-x": [
|
|
1915
|
+
"translate-x": [Ce]
|
|
1916
1916
|
}],
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Translate Y
|
|
1919
1919
|
* @see https://tailwindcss.com/docs/translate
|
|
1920
1920
|
*/
|
|
1921
1921
|
"translate-y": [{
|
|
1922
|
-
"translate-y": [
|
|
1922
|
+
"translate-y": [Ce]
|
|
1923
1923
|
}],
|
|
1924
1924
|
/**
|
|
1925
1925
|
* Skew X
|
|
1926
1926
|
* @see https://tailwindcss.com/docs/skew
|
|
1927
1927
|
*/
|
|
1928
1928
|
"skew-x": [{
|
|
1929
|
-
"skew-x": [
|
|
1929
|
+
"skew-x": [_]
|
|
1930
1930
|
}],
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Skew Y
|
|
1933
1933
|
* @see https://tailwindcss.com/docs/skew
|
|
1934
1934
|
*/
|
|
1935
1935
|
"skew-y": [{
|
|
1936
|
-
"skew-y": [
|
|
1936
|
+
"skew-y": [_]
|
|
1937
1937
|
}],
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Transform Origin
|
|
@@ -1997,126 +1997,126 @@ const v = (e) => {
|
|
|
1997
1997
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1998
1998
|
*/
|
|
1999
1999
|
"scroll-m": [{
|
|
2000
|
-
"scroll-m":
|
|
2000
|
+
"scroll-m": C()
|
|
2001
2001
|
}],
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Scroll Margin X
|
|
2004
2004
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2005
2005
|
*/
|
|
2006
2006
|
"scroll-mx": [{
|
|
2007
|
-
"scroll-mx":
|
|
2007
|
+
"scroll-mx": C()
|
|
2008
2008
|
}],
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Scroll Margin Y
|
|
2011
2011
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2012
2012
|
*/
|
|
2013
2013
|
"scroll-my": [{
|
|
2014
|
-
"scroll-my":
|
|
2014
|
+
"scroll-my": C()
|
|
2015
2015
|
}],
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Scroll Margin Start
|
|
2018
2018
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2019
2019
|
*/
|
|
2020
2020
|
"scroll-ms": [{
|
|
2021
|
-
"scroll-ms":
|
|
2021
|
+
"scroll-ms": C()
|
|
2022
2022
|
}],
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Scroll Margin End
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2026
2026
|
*/
|
|
2027
2027
|
"scroll-me": [{
|
|
2028
|
-
"scroll-me":
|
|
2028
|
+
"scroll-me": C()
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Scroll Margin Top
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2033
2033
|
*/
|
|
2034
2034
|
"scroll-mt": [{
|
|
2035
|
-
"scroll-mt":
|
|
2035
|
+
"scroll-mt": C()
|
|
2036
2036
|
}],
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Scroll Margin Right
|
|
2039
2039
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2040
2040
|
*/
|
|
2041
2041
|
"scroll-mr": [{
|
|
2042
|
-
"scroll-mr":
|
|
2042
|
+
"scroll-mr": C()
|
|
2043
2043
|
}],
|
|
2044
2044
|
/**
|
|
2045
2045
|
* Scroll Margin Bottom
|
|
2046
2046
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2047
2047
|
*/
|
|
2048
2048
|
"scroll-mb": [{
|
|
2049
|
-
"scroll-mb":
|
|
2049
|
+
"scroll-mb": C()
|
|
2050
2050
|
}],
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Scroll Margin Left
|
|
2053
2053
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2054
2054
|
*/
|
|
2055
2055
|
"scroll-ml": [{
|
|
2056
|
-
"scroll-ml":
|
|
2056
|
+
"scroll-ml": C()
|
|
2057
2057
|
}],
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Scroll Padding
|
|
2060
2060
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2061
2061
|
*/
|
|
2062
2062
|
"scroll-p": [{
|
|
2063
|
-
"scroll-p":
|
|
2063
|
+
"scroll-p": C()
|
|
2064
2064
|
}],
|
|
2065
2065
|
/**
|
|
2066
2066
|
* Scroll Padding X
|
|
2067
2067
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2068
2068
|
*/
|
|
2069
2069
|
"scroll-px": [{
|
|
2070
|
-
"scroll-px":
|
|
2070
|
+
"scroll-px": C()
|
|
2071
2071
|
}],
|
|
2072
2072
|
/**
|
|
2073
2073
|
* Scroll Padding Y
|
|
2074
2074
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2075
2075
|
*/
|
|
2076
2076
|
"scroll-py": [{
|
|
2077
|
-
"scroll-py":
|
|
2077
|
+
"scroll-py": C()
|
|
2078
2078
|
}],
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Scroll Padding Start
|
|
2081
2081
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2082
2082
|
*/
|
|
2083
2083
|
"scroll-ps": [{
|
|
2084
|
-
"scroll-ps":
|
|
2084
|
+
"scroll-ps": C()
|
|
2085
2085
|
}],
|
|
2086
2086
|
/**
|
|
2087
2087
|
* Scroll Padding End
|
|
2088
2088
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2089
2089
|
*/
|
|
2090
2090
|
"scroll-pe": [{
|
|
2091
|
-
"scroll-pe":
|
|
2091
|
+
"scroll-pe": C()
|
|
2092
2092
|
}],
|
|
2093
2093
|
/**
|
|
2094
2094
|
* Scroll Padding Top
|
|
2095
2095
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2096
2096
|
*/
|
|
2097
2097
|
"scroll-pt": [{
|
|
2098
|
-
"scroll-pt":
|
|
2098
|
+
"scroll-pt": C()
|
|
2099
2099
|
}],
|
|
2100
2100
|
/**
|
|
2101
2101
|
* Scroll Padding Right
|
|
2102
2102
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2103
2103
|
*/
|
|
2104
2104
|
"scroll-pr": [{
|
|
2105
|
-
"scroll-pr":
|
|
2105
|
+
"scroll-pr": C()
|
|
2106
2106
|
}],
|
|
2107
2107
|
/**
|
|
2108
2108
|
* Scroll Padding Bottom
|
|
2109
2109
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2110
2110
|
*/
|
|
2111
2111
|
"scroll-pb": [{
|
|
2112
|
-
"scroll-pb":
|
|
2112
|
+
"scroll-pb": C()
|
|
2113
2113
|
}],
|
|
2114
2114
|
/**
|
|
2115
2115
|
* Scroll Padding Left
|
|
2116
2116
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2117
2117
|
*/
|
|
2118
2118
|
"scroll-pl": [{
|
|
2119
|
-
"scroll-pl":
|
|
2119
|
+
"scroll-pl": C()
|
|
2120
2120
|
}],
|
|
2121
2121
|
/**
|
|
2122
2122
|
* Scroll Snap Align
|
|
@@ -2199,7 +2199,7 @@ const v = (e) => {
|
|
|
2199
2199
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2200
2200
|
*/
|
|
2201
2201
|
"stroke-w": [{
|
|
2202
|
-
stroke: [
|
|
2202
|
+
stroke: [j, B, le]
|
|
2203
2203
|
}],
|
|
2204
2204
|
/**
|
|
2205
2205
|
* Stroke
|
|
@@ -2274,12 +2274,12 @@ const v = (e) => {
|
|
|
2274
2274
|
"font-size": ["leading"]
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
|
-
},
|
|
2278
|
-
const e =
|
|
2277
|
+
}, Gt = /* @__PURE__ */ xt(Pt), p = (...e) => Gt(Oe(e)), _e = V(null), Vt = () => {
|
|
2278
|
+
const e = W(_e);
|
|
2279
2279
|
if (!e)
|
|
2280
2280
|
throw new Error("useAccordion must be used within an AccordionProvider");
|
|
2281
2281
|
return e;
|
|
2282
|
-
},
|
|
2282
|
+
}, Z = {
|
|
2283
2283
|
primary: {
|
|
2284
2284
|
50: "#EFF6FF",
|
|
2285
2285
|
100: "#DBEAFE",
|
|
@@ -2313,47 +2313,49 @@ const v = (e) => {
|
|
|
2313
2313
|
purple: "#a855f7",
|
|
2314
2314
|
white: "#ffffff",
|
|
2315
2315
|
black: "#000000"
|
|
2316
|
-
},
|
|
2317
|
-
primary:
|
|
2318
|
-
gray:
|
|
2319
|
-
red:
|
|
2320
|
-
green:
|
|
2321
|
-
black:
|
|
2322
|
-
white:
|
|
2323
|
-
}, Bt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M19 12L5 12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Gt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: 2 })), Ot = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M15.5 5L8.5 12L15.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Pt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M8.5 19L15.5 12L8.5 5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Vt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", strokeWidth: 2 })), Wt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M22.1354 12.4999C22.1354 7.17836 17.8215 2.86444 12.5 2.86444C7.17852 2.86444 2.8646 7.17836 2.8646 12.4999C2.8646 17.8214 7.17852 22.1353 12.5 22.1353C17.8215 22.1353 22.1354 17.8214 22.1354 12.4999Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.83333 }), /* @__PURE__ */ d.createElement("path", { d: "M7.81272 11.9807L10.7307 15.3155C11.1089 15.7477 11.7866 15.7297 12.1414 15.2782L17.1877 8.85565", stroke: "white", strokeWidth: 1.83333, strokeLinecap: "round", strokeLinejoin: "round" })), Ht = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M19 19L5 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M19 5L5 19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), _t = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M9.58712 0.833984C9.05021 0.833984 8.61447 1.26944 8.61447 1.80664V12.0798L5.69651 9.19295L4.32896 10.5605L8.88779 15.1504C9.26809 15.5298 9.90614 15.5298 10.2864 15.1504L14.8453 10.5605L13.4777 9.19295L10.5598 12.0798V1.80664C10.5598 1.26944 10.124 0.833887 9.58712 0.833984ZM1.8059 12.5058C1.269 12.5058 0.833252 12.9415 0.833252 13.4785V15.4238C0.833252 17.5723 2.57527 19.3144 4.72386 19.3144H14.4504C16.599 19.3144 18.341 17.5723 18.341 15.4238V13.4785C18.341 12.9415 17.9052 12.5058 17.3683 12.5058C16.8314 12.5058 16.3957 12.9415 16.3957 13.4785V15.4238C16.3957 16.4985 15.5252 17.3691 14.4504 17.3691H4.72386C3.64908 17.3691 2.77856 16.4985 2.77856 15.4238V13.4785C2.77856 12.9415 2.34281 12.5058 1.8059 12.5058Z", fill: "currentColor" })), $t = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M11.0002 5.4987C12.0127 5.4987 12.8335 4.67789 12.8335 3.66536C12.8335 2.65284 12.0127 1.83203 11.0002 1.83203C9.98764 1.83203 9.16683 2.65284 9.16683 3.66536C9.16683 4.67789 9.98764 5.4987 11.0002 5.4987Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 }), /* @__PURE__ */ d.createElement("path", { d: "M11.0002 12.8327C12.0127 12.8327 12.8335 12.0119 12.8335 10.9993C12.8335 9.98683 12.0127 9.16602 11.0002 9.16602C9.98764 9.16602 9.16683 9.98683 9.16683 10.9993C9.16683 12.0119 9.98764 12.8327 11.0002 12.8327Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 }), /* @__PURE__ */ d.createElement("path", { d: "M11.0002 20.1647C12.0127 20.1647 12.8335 19.3439 12.8335 18.3314C12.8335 17.3189 12.0127 16.498 11.0002 16.498C9.98764 16.498 9.16683 17.3189 9.16683 18.3314C9.16683 19.3439 9.98764 20.1647 11.0002 20.1647Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 })), Ft = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M6.4668 4.75H13.709C13.9521 4.75 14.1855 4.84669 14.3574 5.01855L18.1816 8.8418C18.3535 9.01368 18.4502 9.24716 18.4502 9.49023V18.333C18.4502 18.8392 18.0394 19.25 17.5332 19.25H6.4668C5.96054 19.25 5.5498 18.8393 5.5498 18.333V5.66699C5.5498 5.16073 5.96054 4.75 6.4668 4.75Z", stroke: "currentColor", strokeWidth: 1.5 }), /* @__PURE__ */ d.createElement("path", { d: "M12 10V14.8109", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M14.4058 12.4062L9.59482 12.4063", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Zt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M2.62402 5.33984C2.14102 5.33984 1.74902 5.73184 1.74902 6.21484C1.74902 6.69784 2.14102 7.08984 2.62402 7.08984H18.374C18.857 7.08984 19.249 6.69784 19.249 6.21484C19.249 5.73184 18.857 5.33984 18.374 5.33984H2.62402ZM2.62402 9.71484C2.14102 9.71484 1.74902 10.1068 1.74902 10.5898C1.74902 11.0728 2.14102 11.4648 2.62402 11.4648H18.374C18.857 11.4648 19.249 11.0728 19.249 10.5898C19.249 10.1068 18.857 9.71484 18.374 9.71484H2.62402ZM2.62402 14.0898C2.14102 14.0898 1.74902 14.4818 1.74902 14.9648C1.74902 15.4478 2.14102 15.8398 2.62402 15.8398H18.374C18.857 15.8398 19.249 15.4478 19.249 14.9648C19.249 14.4818 18.857 14.0898 18.374 14.0898H2.62402Z", fill: "currentColor" })), Dt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...e }, /* @__PURE__ */ d.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), /* @__PURE__ */ d.createElement("path", { d: "M18.364 5.636L16.95 7.05A7 7 0 1 0 19 12h2a9 9 0 1 1-2.636-6.364z" })), Ut = (e) => /* @__PURE__ */ d.createElement("svg", { width: 27, height: 27, viewBox: "0 0 27 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M17.9999 4.5L9.79537 12.7045C9.35603 13.1438 9.35603 13.8562 9.79537 14.2955L17.9999 22.5", stroke: "#4B5563", strokeWidth: 3, strokeLinecap: "round" })), qt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("circle", { cx: 10.0915, cy: 10.0915, r: 10.0915, fill: "currentColor" }), /* @__PURE__ */ d.createElement("path", { d: "M13.3923 5.83097V14H12.0835L8.21334 8.41482H8.14564V14H6.67883V5.83097H8.01024L11.8578 11.4161H11.9368V5.83097H13.3923Z", fill: "white" })), Jt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M15.0117 1.95312C14.7465 1.95312 14.4738 2.09163 14.2823 2.27493C12.7337 3.75773 12.2595 4.99773 12.8257 6.69633C11.5046 7.70893 10.6702 7.95743 9.02099 7.95743C6.76649 7.95743 5.29449 8.22923 4.29289 9.23013V9.26133C3.35569 10.1981 3.35569 11.6981 4.29289 12.6341L7.09309 15.4561L2.32199 20.2251C1.93149 20.6151 1.90239 21.2701 2.29289 21.6601C2.68349 22.0511 3.33989 22.0511 3.73049 21.6601L8.51929 16.8701L11.3242 19.6611C12.2615 20.5981 13.7619 20.5981 14.6992 19.6611H14.7305C15.7325 18.6601 16.0117 17.3771 16.0117 14.9451C16.0117 13.3991 16.329 12.3081 17.2897 11.1601C19.1386 11.7021 20.2143 11.1831 21.7305 9.66743C21.918 9.47993 22.0117 9.21413 22.0117 8.94903C22.0117 8.59733 21.9229 8.05823 21.6992 7.38743C21.3389 6.30733 20.7186 5.22063 19.7305 4.23303C18.7423 3.24553 17.6549 2.62553 16.5742 2.26543C15.903 2.04183 15.3636 1.95312 15.0117 1.95312Z", fill: "currentColor" })), Kt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M9.73535 9.23535H6.04902V4.62744", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M6.37024 8.91419C8.07449 5.52868 12.2006 4.16574 15.5861 5.86999C18.9716 7.57424 20.3345 11.7003 18.6303 15.0858C16.926 18.4713 12.7999 19.8343 9.41444 18.13C7.74373 17.289 6.56558 15.8582 6.00553 14.2176", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), Xt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M10.5 15C13.2614 15 15.5 12.7614 15.5 10C15.5 7.23858 13.2614 5 10.5 5C7.73858 5 5.5 7.23858 5.5 10C5.5 12.7614 7.73858 15 10.5 15Z", stroke: "currentColor", strokeWidth: 1.5 }), /* @__PURE__ */ d.createElement("path", { d: "M13.5 14L18.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), Yt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M4.5 5L4.5 20C4.5 21.1046 5.39543 22 6.5 22H17.5C18.6046 22 19.5 21.1046 19.5 20V5", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ d.createElement("path", { d: "M10 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M14 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M2.5 5H21.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M7 5L7.22147 3.6712C7.3822 2.70683 8.21658 2 9.19425 2H12H14.8057C15.7834 2 16.6178 2.70683 16.7785 3.6712L17 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), Qt = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 37 37", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M18.5215 6.49714C13.7725 6.53464 9.42099 9.72665 8.28099 14.8011C5.36949 16.0251 3.52148 18.7881 3.52148 22.0596C3.52148 26.5746 7.0855 30.4971 11.4895 30.4971H12.5215C13.3495 30.4971 14.0215 29.8266 14.0215 28.9971C14.0215 28.1691 13.3495 27.4971 12.5215 27.4971H11.4895C8.8105 27.4971 6.52148 24.9786 6.52148 22.0596C6.52148 19.8201 7.92248 17.9586 10.0375 17.3256C10.597 17.1576 10.9855 16.6851 11.068 16.1061C11.647 12.0471 14.9095 9.52564 18.5215 9.49714C22.543 9.46564 26.053 12.9276 26.0215 16.9971C26.0215 17.0871 26.0215 18.2916 26.0215 18.6381C26.0215 19.3356 26.4655 19.9341 27.1465 20.0901C29.1205 20.5476 30.5215 22.0956 30.5215 23.7471C30.5215 25.7706 28.5475 27.4971 26.0215 27.4971H24.5215C23.6935 27.4971 23.0215 28.1691 23.0215 28.9971C23.0215 29.8251 23.6935 30.4971 24.5215 30.4971H26.0215C30.1225 30.4971 33.5215 27.5226 33.5215 23.7471C33.5215 21.0246 31.699 18.6156 29.002 17.5746C29.005 17.3076 29.0215 17.0361 29.0215 16.9971C29.0665 11.2431 24.208 6.45214 18.5215 6.49714ZM18.5215 15.4971L14.0035 20.0166L17.0215 19.9971V28.9971C17.0215 29.8251 17.6935 30.4971 18.5215 30.4971C19.3495 30.4971 20.0215 29.8251 20.0215 28.9971V19.9971L23.0395 20.0106L18.5215 15.4971Z", fill: "currentColor" })), er = (e) => /* @__PURE__ */ d.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ d.createElement("path", { d: "M12.5 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V11.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ d.createElement("path", { d: "M17.7692 9.5553L11.4369 15.8419C11.2028 16.0743 10.9149 16.2452 10.5987 16.3394L6.84161 17.4584C6.65443 17.5141 6.47848 17.3434 6.52862 17.1546L7.44415 13.7085C7.53339 13.3726 7.70863 13.0657 7.95258 12.8182L14.4445 6.23064M17.7692 9.5553L19.5859 7.73859C20.3669 6.95754 20.3669 5.69122 19.5859 4.91017L19.0896 4.41394C18.3086 3.63289 17.0423 3.63289 16.2612 4.41394L14.4445 6.23064M17.7692 9.5553L14.4445 6.23064", stroke: "currentColor", strokeWidth: 2 })), _e = {
|
|
2324
|
-
add:
|
|
2325
|
-
arrowDown:
|
|
2326
|
-
arrowUp:
|
|
2327
|
-
arrowLeft:
|
|
2328
|
-
arrowRight:
|
|
2329
|
-
check:
|
|
2330
|
-
close:
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2316
|
+
}, Ze = {
|
|
2317
|
+
primary: Z.primary[300],
|
|
2318
|
+
gray: Z.gray[300],
|
|
2319
|
+
red: Z.red[300],
|
|
2320
|
+
green: Z.green[300],
|
|
2321
|
+
black: Z.black,
|
|
2322
|
+
white: Z.white
|
|
2323
|
+
}, Wt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M19 12L5 12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Ht = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: 2 })), _t = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M15.5 5L8.5 12L15.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Zt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M8.5 19L15.5 12L8.5 5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ft = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", strokeWidth: 2 })), $t = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("g", { clipPath: "url(#clip0_118_2)" }, /* @__PURE__ */ u.createElement("path", { d: "M19.7916 3.125C20.6204 3.125 21.4152 3.45424 22.0013 4.04029C22.5873 4.62634 22.9166 5.4212 22.9166 6.25V18.75C22.9166 19.5788 22.5873 20.3737 22.0013 20.9597C21.4152 21.5458 20.6204 21.875 19.7916 21.875H5.20825C4.37945 21.875 3.58459 21.5458 2.99854 20.9597C2.41249 20.3737 2.08325 19.5788 2.08325 18.75V6.25C2.08325 5.4212 2.41249 4.62634 2.99854 4.04029C3.58459 3.45424 4.37945 3.125 5.20825 3.125H19.7916ZM12.4999 7.29167C11.1186 7.29167 9.79382 7.8404 8.81707 8.81715C7.84032 9.7939 7.29159 11.1187 7.29159 12.5C7.29159 13.8813 7.84032 15.2061 8.81707 16.1828C9.79382 17.1596 11.1186 17.7083 12.4999 17.7083C13.8813 17.7083 15.206 17.1596 16.1828 16.1828C17.1595 15.2061 17.7083 13.8813 17.7083 12.5C17.7083 11.1187 17.1595 9.7939 16.1828 8.81715C15.206 7.8404 13.8813 7.29167 12.4999 7.29167ZM12.4999 9.375C13.3287 9.375 14.1236 9.70424 14.7096 10.2903C15.2957 10.8763 15.6249 11.6712 15.6249 12.5C15.6249 13.3288 15.2957 14.1237 14.7096 14.7097C14.1236 15.2958 13.3287 15.625 12.4999 15.625C11.6711 15.625 10.8763 15.2958 10.2902 14.7097C9.70416 14.1237 9.37492 13.3288 9.37492 12.5C9.37492 11.6712 9.70416 10.8763 10.2902 10.2903C10.8763 9.70424 11.6711 9.375 12.4999 9.375ZM19.7916 6.25H18.7499C18.4844 6.25029 18.2291 6.35196 18.036 6.53422C17.8429 6.71648 17.7268 6.96558 17.7112 7.23062C17.6956 7.49566 17.7819 7.75664 17.9523 7.96024C18.1227 8.16384 18.3644 8.29468 18.628 8.32604L18.7499 8.33333H19.7916C20.0571 8.33304 20.3125 8.23138 20.5055 8.04912C20.6986 7.86686 20.8147 7.61776 20.8303 7.35271C20.8459 7.08767 20.7596 6.82669 20.5892 6.62309C20.4188 6.41949 20.1771 6.28865 19.9135 6.25729L19.7916 6.25Z", fill: "currentColor" })), /* @__PURE__ */ u.createElement("defs", null, /* @__PURE__ */ u.createElement("clipPath", { id: "clip0_118_2" }, /* @__PURE__ */ u.createElement("rect", { width: 25, height: 25, fill: "white" })))), Dt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M22.1354 12.4999C22.1354 7.17836 17.8215 2.86444 12.5 2.86444C7.17852 2.86444 2.8646 7.17836 2.8646 12.4999C2.8646 17.8214 7.17852 22.1353 12.5 22.1353C17.8215 22.1353 22.1354 17.8214 22.1354 12.4999Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.83333 }), /* @__PURE__ */ u.createElement("path", { d: "M7.81272 11.9807L10.7307 15.3155C11.1089 15.7477 11.7866 15.7297 12.1414 15.2782L17.1877 8.85565", stroke: "white", strokeWidth: 1.83333, strokeLinecap: "round", strokeLinejoin: "round" })), Ut = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M19 19L5 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M19 5L5 19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), qt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M9.58712 0.833984C9.05021 0.833984 8.61447 1.26944 8.61447 1.80664V12.0798L5.69651 9.19295L4.32896 10.5605L8.88779 15.1504C9.26809 15.5298 9.90614 15.5298 10.2864 15.1504L14.8453 10.5605L13.4777 9.19295L10.5598 12.0798V1.80664C10.5598 1.26944 10.124 0.833887 9.58712 0.833984ZM1.8059 12.5058C1.269 12.5058 0.833252 12.9415 0.833252 13.4785V15.4238C0.833252 17.5723 2.57527 19.3144 4.72386 19.3144H14.4504C16.599 19.3144 18.341 17.5723 18.341 15.4238V13.4785C18.341 12.9415 17.9052 12.5058 17.3683 12.5058C16.8314 12.5058 16.3957 12.9415 16.3957 13.4785V15.4238C16.3957 16.4985 15.5252 17.3691 14.4504 17.3691H4.72386C3.64908 17.3691 2.77856 16.4985 2.77856 15.4238V13.4785C2.77856 12.9415 2.34281 12.5058 1.8059 12.5058Z", fill: "currentColor" })), Jt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M11.0002 5.4987C12.0127 5.4987 12.8335 4.67789 12.8335 3.66536C12.8335 2.65284 12.0127 1.83203 11.0002 1.83203C9.98764 1.83203 9.16683 2.65284 9.16683 3.66536C9.16683 4.67789 9.98764 5.4987 11.0002 5.4987Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 }), /* @__PURE__ */ u.createElement("path", { d: "M11.0002 12.8327C12.0127 12.8327 12.8335 12.0119 12.8335 10.9993C12.8335 9.98683 12.0127 9.16602 11.0002 9.16602C9.98764 9.16602 9.16683 9.98683 9.16683 10.9993C9.16683 12.0119 9.98764 12.8327 11.0002 12.8327Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 }), /* @__PURE__ */ u.createElement("path", { d: "M11.0002 20.1647C12.0127 20.1647 12.8335 19.3439 12.8335 18.3314C12.8335 17.3189 12.0127 16.498 11.0002 16.498C9.98764 16.498 9.16683 17.3189 9.16683 18.3314C9.16683 19.3439 9.98764 20.1647 11.0002 20.1647Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.458333 })), Kt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M6.4668 4.75H13.709C13.9521 4.75 14.1855 4.84669 14.3574 5.01855L18.1816 8.8418C18.3535 9.01368 18.4502 9.24716 18.4502 9.49023V18.333C18.4502 18.8392 18.0394 19.25 17.5332 19.25H6.4668C5.96054 19.25 5.5498 18.8393 5.5498 18.333V5.66699C5.5498 5.16073 5.96054 4.75 6.4668 4.75Z", stroke: "currentColor", strokeWidth: 1.5 }), /* @__PURE__ */ u.createElement("path", { d: "M12 10V14.8109", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M14.4058 12.4062L9.59482 12.4063", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Xt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M2.62402 5.33984C2.14102 5.33984 1.74902 5.73184 1.74902 6.21484C1.74902 6.69784 2.14102 7.08984 2.62402 7.08984H18.374C18.857 7.08984 19.249 6.69784 19.249 6.21484C19.249 5.73184 18.857 5.33984 18.374 5.33984H2.62402ZM2.62402 9.71484C2.14102 9.71484 1.74902 10.1068 1.74902 10.5898C1.74902 11.0728 2.14102 11.4648 2.62402 11.4648H18.374C18.857 11.4648 19.249 11.0728 19.249 10.5898C19.249 10.1068 18.857 9.71484 18.374 9.71484H2.62402ZM2.62402 14.0898C2.14102 14.0898 1.74902 14.4818 1.74902 14.9648C1.74902 15.4478 2.14102 15.8398 2.62402 15.8398H18.374C18.857 15.8398 19.249 15.4478 19.249 14.9648C19.249 14.4818 18.857 14.0898 18.374 14.0898H2.62402Z", fill: "currentColor" })), Yt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...e }, /* @__PURE__ */ u.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), /* @__PURE__ */ u.createElement("path", { d: "M18.364 5.636L16.95 7.05A7 7 0 1 0 19 12h2a9 9 0 1 1-2.636-6.364z" })), Qt = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", ...e }, /* @__PURE__ */ u.createElement("path", { fillRule: "evenodd", d: " M25.3332 14.6673C25.3332 21.3558 18.5078 25.3804 16.5306 26.4059C16.1934 26.5808 15.8063 26.5808 15.4691 26.4059C13.4919 25.3804 6.6665 21.3558 6.6665 14.6673C6.6665 9.51266 10.8452 5.33398 15.9998 5.33398C21.1545 5.33398 25.3332 9.51266 25.3332 14.6673Z M16 18.666 A4 4 0 1 1 16 10.666 A4 4 0 1 1 16 18.666 Z " })), er = (e) => /* @__PURE__ */ u.createElement("svg", { width: 27, height: 27, viewBox: "0 0 27 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M17.9999 4.5L9.79537 12.7045C9.35603 13.1438 9.35603 13.8562 9.79537 14.2955L17.9999 22.5", stroke: "#4B5563", strokeWidth: 3, strokeLinecap: "round" })), tr = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("circle", { cx: 10.0915, cy: 10.0915, r: 10.0915, fill: "currentColor" }), /* @__PURE__ */ u.createElement("path", { d: "M13.3923 5.83097V14H12.0835L8.21334 8.41482H8.14564V14H6.67883V5.83097H8.01024L11.8578 11.4161H11.9368V5.83097H13.3923Z", fill: "white" })), rr = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M15.0117 1.95312C14.7465 1.95312 14.4738 2.09163 14.2823 2.27493C12.7337 3.75773 12.2595 4.99773 12.8257 6.69633C11.5046 7.70893 10.6702 7.95743 9.02099 7.95743C6.76649 7.95743 5.29449 8.22923 4.29289 9.23013V9.26133C3.35569 10.1981 3.35569 11.6981 4.29289 12.6341L7.09309 15.4561L2.32199 20.2251C1.93149 20.6151 1.90239 21.2701 2.29289 21.6601C2.68349 22.0511 3.33989 22.0511 3.73049 21.6601L8.51929 16.8701L11.3242 19.6611C12.2615 20.5981 13.7619 20.5981 14.6992 19.6611H14.7305C15.7325 18.6601 16.0117 17.3771 16.0117 14.9451C16.0117 13.3991 16.329 12.3081 17.2897 11.1601C19.1386 11.7021 20.2143 11.1831 21.7305 9.66743C21.918 9.47993 22.0117 9.21413 22.0117 8.94903C22.0117 8.59733 21.9229 8.05823 21.6992 7.38743C21.3389 6.30733 20.7186 5.22063 19.7305 4.23303C18.7423 3.24553 17.6549 2.62553 16.5742 2.26543C15.903 2.04183 15.3636 1.95312 15.0117 1.95312Z", fill: "currentColor" })), or = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M9.73535 9.23535H6.04902V4.62744", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M6.37024 8.91419C8.07449 5.52868 12.2006 4.16574 15.5861 5.86999C18.9716 7.57424 20.3345 11.7003 18.6303 15.0858C16.926 18.4713 12.7999 19.8343 9.41444 18.13C7.74373 17.289 6.56558 15.8582 6.00553 14.2176", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), nr = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M10.5 15C13.2614 15 15.5 12.7614 15.5 10C15.5 7.23858 13.2614 5 10.5 5C7.73858 5 5.5 7.23858 5.5 10C5.5 12.7614 7.73858 15 10.5 15Z", stroke: "currentColor", strokeWidth: 1.5 }), /* @__PURE__ */ u.createElement("path", { d: "M13.5 14L18.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), sr = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M4.5 5L4.5 20C4.5 21.1046 5.39543 22 6.5 22H17.5C18.6046 22 19.5 21.1046 19.5 20V5", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ u.createElement("path", { d: "M10 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M14 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M2.5 5H21.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M7 5L7.22147 3.6712C7.3822 2.70683 8.21658 2 9.19425 2H12H14.8057C15.7834 2 16.6178 2.70683 16.7785 3.6712L17 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), ar = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 37 37", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M18.5215 6.49714C13.7725 6.53464 9.42099 9.72665 8.28099 14.8011C5.36949 16.0251 3.52148 18.7881 3.52148 22.0596C3.52148 26.5746 7.0855 30.4971 11.4895 30.4971H12.5215C13.3495 30.4971 14.0215 29.8266 14.0215 28.9971C14.0215 28.1691 13.3495 27.4971 12.5215 27.4971H11.4895C8.8105 27.4971 6.52148 24.9786 6.52148 22.0596C6.52148 19.8201 7.92248 17.9586 10.0375 17.3256C10.597 17.1576 10.9855 16.6851 11.068 16.1061C11.647 12.0471 14.9095 9.52564 18.5215 9.49714C22.543 9.46564 26.053 12.9276 26.0215 16.9971C26.0215 17.0871 26.0215 18.2916 26.0215 18.6381C26.0215 19.3356 26.4655 19.9341 27.1465 20.0901C29.1205 20.5476 30.5215 22.0956 30.5215 23.7471C30.5215 25.7706 28.5475 27.4971 26.0215 27.4971H24.5215C23.6935 27.4971 23.0215 28.1691 23.0215 28.9971C23.0215 29.8251 23.6935 30.4971 24.5215 30.4971H26.0215C30.1225 30.4971 33.5215 27.5226 33.5215 23.7471C33.5215 21.0246 31.699 18.6156 29.002 17.5746C29.005 17.3076 29.0215 17.0361 29.0215 16.9971C29.0665 11.2431 24.208 6.45214 18.5215 6.49714ZM18.5215 15.4971L14.0035 20.0166L17.0215 19.9971V28.9971C17.0215 29.8251 17.6935 30.4971 18.5215 30.4971C19.3495 30.4971 20.0215 29.8251 20.0215 28.9971V19.9971L23.0395 20.0106L18.5215 15.4971Z", fill: "currentColor" })), ir = (e) => /* @__PURE__ */ u.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ u.createElement("path", { d: "M12.5 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V11.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ u.createElement("path", { d: "M17.7692 9.5553L11.4369 15.8419C11.2028 16.0743 10.9149 16.2452 10.5987 16.3394L6.84161 17.4584C6.65443 17.5141 6.47848 17.3434 6.52862 17.1546L7.44415 13.7085C7.53339 13.3726 7.70863 13.0657 7.95258 12.8182L14.4445 6.23064M17.7692 9.5553L19.5859 7.73859C20.3669 6.95754 20.3669 5.69122 19.5859 4.91017L19.0896 4.41394C18.3086 3.63289 17.0423 3.63289 16.2612 4.41394L14.4445 6.23064M17.7692 9.5553L14.4445 6.23064", stroke: "currentColor", strokeWidth: 2 })), Fe = {
|
|
2324
|
+
add: Wt,
|
|
2325
|
+
arrowDown: Ht,
|
|
2326
|
+
arrowUp: Ft,
|
|
2327
|
+
arrowLeft: _t,
|
|
2328
|
+
arrowRight: Zt,
|
|
2329
|
+
check: Dt,
|
|
2330
|
+
close: Ut,
|
|
2331
|
+
camera: $t,
|
|
2332
|
+
download: qt,
|
|
2333
|
+
etc: Jt,
|
|
2334
|
+
file: Kt,
|
|
2335
|
+
list: Xt,
|
|
2336
|
+
navbarArrow: er,
|
|
2337
|
+
new: tr,
|
|
2338
|
+
pin: rr,
|
|
2339
|
+
locate: Qt,
|
|
2340
|
+
search: nr,
|
|
2341
|
+
trash: sr,
|
|
2342
|
+
write: ir,
|
|
2343
|
+
loading: Yt,
|
|
2344
|
+
refresh: or,
|
|
2345
|
+
upload: ar
|
|
2346
|
+
}, Jr = Object.keys(Fe);
|
|
2347
|
+
function I({ name: e, color: t = "gray", size: r = 25, ...o }) {
|
|
2348
|
+
const n = Fe[e];
|
|
2349
|
+
return /* @__PURE__ */ a(n, { width: `${r}px`, height: `${r}px`, style: { color: Ze[t] }, ...o });
|
|
2350
|
+
}
|
|
2351
|
+
function Kr({
|
|
2350
2352
|
type: e = "single",
|
|
2351
2353
|
className: t = "",
|
|
2352
2354
|
children: r,
|
|
2353
2355
|
defaultValue: o,
|
|
2354
2356
|
...n
|
|
2355
2357
|
}) {
|
|
2356
|
-
const s = o || [], [l, i] =
|
|
2358
|
+
const s = o || [], [l, i] = E(s), d = (c) => {
|
|
2357
2359
|
if (e === "single") {
|
|
2358
2360
|
i((m) => m.includes(c) ? [] : [c]);
|
|
2359
2361
|
return;
|
|
@@ -2362,9 +2364,9 @@ function $r({
|
|
|
2362
2364
|
(m) => m.includes(c) ? m.filter((f) => f !== c) : [...m, c]
|
|
2363
2365
|
);
|
|
2364
2366
|
};
|
|
2365
|
-
return /* @__PURE__ */ a(
|
|
2367
|
+
return /* @__PURE__ */ a(_e.Provider, { value: { openItems: l, toggleItem: d, type: e }, children: /* @__PURE__ */ a("div", { className: p("w-full", t), ...n, children: r }) });
|
|
2366
2368
|
}
|
|
2367
|
-
const
|
|
2369
|
+
const Q = {
|
|
2368
2370
|
initial: { height: 0, opacity: 0 },
|
|
2369
2371
|
animate: { height: "auto", opacity: 1 },
|
|
2370
2372
|
exit: { height: 0, opacity: 0 },
|
|
@@ -2372,8 +2374,8 @@ const X = {
|
|
|
2372
2374
|
height: { duration: 0.2, ease: "easeOut" },
|
|
2373
2375
|
opacity: { duration: 0.1 }
|
|
2374
2376
|
}
|
|
2375
|
-
},
|
|
2376
|
-
function
|
|
2377
|
+
}, lr = (e) => ["INPUT", "TEXTAREA", "A"].includes(e.tagName);
|
|
2378
|
+
function Xr({
|
|
2377
2379
|
trigger: e,
|
|
2378
2380
|
isArrow: t = !0,
|
|
2379
2381
|
value: r,
|
|
@@ -2382,7 +2384,7 @@ function Fr({
|
|
|
2382
2384
|
children: s,
|
|
2383
2385
|
...l
|
|
2384
2386
|
}) {
|
|
2385
|
-
const i =
|
|
2387
|
+
const i = Vt(), d = $(), c = `accordion-trigger-${d}`, m = `accordion-content-${d}`, f = st(), { openItems: w, toggleItem: M } = i, N = w.includes(r);
|
|
2386
2388
|
return /* @__PURE__ */ b("div", { className: "border-b border-gray-200", "data-state": N ? "open" : "closed", ...l, children: [
|
|
2387
2389
|
/* @__PURE__ */ b(
|
|
2388
2390
|
"div",
|
|
@@ -2391,53 +2393,53 @@ function Fr({
|
|
|
2391
2393
|
"aria-controls": m,
|
|
2392
2394
|
"aria-expanded": N,
|
|
2393
2395
|
role: "button",
|
|
2394
|
-
onClick: (
|
|
2395
|
-
const
|
|
2396
|
-
if (
|
|
2397
|
-
return
|
|
2398
|
-
|
|
2396
|
+
onClick: (h) => {
|
|
2397
|
+
const y = h.target;
|
|
2398
|
+
if (lr(y))
|
|
2399
|
+
return h.stopPropagation();
|
|
2400
|
+
M(r);
|
|
2399
2401
|
},
|
|
2400
|
-
className:
|
|
2402
|
+
className: p(
|
|
2401
2403
|
"flex w-full cursor-pointer items-center justify-between px-6 py-4 text-left hover:bg-gray-50",
|
|
2402
2404
|
o
|
|
2403
2405
|
),
|
|
2404
2406
|
children: [
|
|
2405
2407
|
e,
|
|
2406
2408
|
t && /* @__PURE__ */ a(
|
|
2407
|
-
|
|
2409
|
+
P.div,
|
|
2408
2410
|
{
|
|
2409
2411
|
animate: { rotate: N ? 180 : 0 },
|
|
2410
2412
|
transition: { duration: 0.2 },
|
|
2411
2413
|
className: "ml-2",
|
|
2412
|
-
children: /* @__PURE__ */ a(
|
|
2414
|
+
children: /* @__PURE__ */ a(I, { name: "arrowDown", size: 20 })
|
|
2413
2415
|
}
|
|
2414
2416
|
)
|
|
2415
2417
|
]
|
|
2416
2418
|
}
|
|
2417
2419
|
),
|
|
2418
|
-
/* @__PURE__ */ a(
|
|
2419
|
-
|
|
2420
|
+
/* @__PURE__ */ a(je, { initial: !1, children: N && /* @__PURE__ */ a(
|
|
2421
|
+
P.section,
|
|
2420
2422
|
{
|
|
2421
2423
|
id: m,
|
|
2422
2424
|
"aria-labelledby": c,
|
|
2423
|
-
initial: f ? void 0 :
|
|
2424
|
-
animate: f ? void 0 :
|
|
2425
|
-
exit: f ? void 0 :
|
|
2426
|
-
transition: f ? void 0 :
|
|
2425
|
+
initial: f ? void 0 : Q.initial,
|
|
2426
|
+
animate: f ? void 0 : Q.animate,
|
|
2427
|
+
exit: f ? void 0 : Q.exit,
|
|
2428
|
+
transition: f ? void 0 : Q.transition,
|
|
2427
2429
|
className: "overflow-hidden",
|
|
2428
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
2430
|
+
children: /* @__PURE__ */ a("div", { className: p("bg-gray-50 px-6 py-4", n), children: s })
|
|
2429
2431
|
}
|
|
2430
2432
|
) })
|
|
2431
2433
|
] });
|
|
2432
2434
|
}
|
|
2433
|
-
const
|
|
2435
|
+
const cr = {
|
|
2434
2436
|
sm: { class: "size-14", width: 56, height: 56 },
|
|
2435
2437
|
md: { class: "size-16", width: 64, height: 64 },
|
|
2436
2438
|
lg: { class: "size-18", width: 72, height: 72 },
|
|
2437
2439
|
xl: { class: "size-20", width: 80, height: 80 }
|
|
2438
2440
|
};
|
|
2439
|
-
function
|
|
2440
|
-
const { class: s, width: l, height: i } =
|
|
2441
|
+
function Yr({ size: e = "lg", src: t, alt: r, className: o, ...n }) {
|
|
2442
|
+
const { class: s, width: l, height: i } = cr[e];
|
|
2441
2443
|
return /* @__PURE__ */ a(
|
|
2442
2444
|
"img",
|
|
2443
2445
|
{
|
|
@@ -2446,22 +2448,22 @@ function Zr({ size: e = "lg", src: t, alt: r, className: o, ...n }) {
|
|
|
2446
2448
|
width: l,
|
|
2447
2449
|
height: i,
|
|
2448
2450
|
loading: "lazy",
|
|
2449
|
-
className:
|
|
2451
|
+
className: p("rounded-full border border-gray-200 object-cover", s, o),
|
|
2450
2452
|
...n
|
|
2451
2453
|
}
|
|
2452
2454
|
);
|
|
2453
2455
|
}
|
|
2454
|
-
const
|
|
2456
|
+
const dr = {
|
|
2455
2457
|
positive: "bg-green-50 text-green-200",
|
|
2456
2458
|
negative: "bg-red-100 text-red-300",
|
|
2457
2459
|
neutral: "bg-gray-100 text-gray-400"
|
|
2458
2460
|
};
|
|
2459
|
-
function
|
|
2460
|
-
const o =
|
|
2461
|
+
function Qr({ variant: e = "neutral", text: t, ...r }) {
|
|
2462
|
+
const o = dr[e];
|
|
2461
2463
|
return /* @__PURE__ */ a(
|
|
2462
2464
|
"div",
|
|
2463
2465
|
{
|
|
2464
|
-
className:
|
|
2466
|
+
className: p(
|
|
2465
2467
|
"w-min rounded-lg px-2 py-1 text-sm font-semibold whitespace-nowrap",
|
|
2466
2468
|
o
|
|
2467
2469
|
),
|
|
@@ -2470,36 +2472,36 @@ function Dr({ variant: e = "neutral", text: t, ...r }) {
|
|
|
2470
2472
|
}
|
|
2471
2473
|
);
|
|
2472
2474
|
}
|
|
2473
|
-
const
|
|
2475
|
+
const Ae = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Se = Oe, oe = (e, t) => (r) => {
|
|
2474
2476
|
var o;
|
|
2475
|
-
if ((t == null ? void 0 : t.variants) == null) return
|
|
2477
|
+
if ((t == null ? void 0 : t.variants) == null) return Se(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
2476
2478
|
const { variants: n, defaultVariants: s } = t, l = Object.keys(n).map((c) => {
|
|
2477
2479
|
const m = r == null ? void 0 : r[c], f = s == null ? void 0 : s[c];
|
|
2478
2480
|
if (m === null) return null;
|
|
2479
|
-
const
|
|
2480
|
-
return n[c][
|
|
2481
|
+
const w = Ae(m) || Ae(f);
|
|
2482
|
+
return n[c][w];
|
|
2481
2483
|
}), i = r && Object.entries(r).reduce((c, m) => {
|
|
2482
|
-
let [f,
|
|
2483
|
-
return
|
|
2484
|
-
}, {}),
|
|
2485
|
-
let { class: f, className:
|
|
2486
|
-
return Object.entries(
|
|
2487
|
-
let [
|
|
2488
|
-
return Array.isArray(
|
|
2484
|
+
let [f, w] = m;
|
|
2485
|
+
return w === void 0 || (c[f] = w), c;
|
|
2486
|
+
}, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, m) => {
|
|
2487
|
+
let { class: f, className: w, ...M } = m;
|
|
2488
|
+
return Object.entries(M).every((N) => {
|
|
2489
|
+
let [x, h] = N;
|
|
2490
|
+
return Array.isArray(h) ? h.includes({
|
|
2489
2491
|
...s,
|
|
2490
2492
|
...i
|
|
2491
|
-
}[
|
|
2493
|
+
}[x]) : {
|
|
2492
2494
|
...s,
|
|
2493
2495
|
...i
|
|
2494
|
-
}[
|
|
2496
|
+
}[x] === h;
|
|
2495
2497
|
}) ? [
|
|
2496
2498
|
...c,
|
|
2497
2499
|
f,
|
|
2498
|
-
|
|
2500
|
+
w
|
|
2499
2501
|
] : c;
|
|
2500
2502
|
}, []);
|
|
2501
|
-
return
|
|
2502
|
-
},
|
|
2503
|
+
return Se(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
2504
|
+
}, ur = oe(
|
|
2503
2505
|
"flex justify-center items-center py-2 md:py-3 md:text-base md:font-semibold text-sm font-medium cursor-pointer",
|
|
2504
2506
|
{
|
|
2505
2507
|
variants: {
|
|
@@ -2541,7 +2543,7 @@ const Me = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Re, t
|
|
|
2541
2543
|
]
|
|
2542
2544
|
}
|
|
2543
2545
|
);
|
|
2544
|
-
function
|
|
2546
|
+
function eo({
|
|
2545
2547
|
children: e,
|
|
2546
2548
|
variant: t,
|
|
2547
2549
|
color: r,
|
|
@@ -2550,103 +2552,103 @@ function Ur({
|
|
|
2550
2552
|
isLoading: s = !1,
|
|
2551
2553
|
disabled: l,
|
|
2552
2554
|
className: i,
|
|
2553
|
-
...
|
|
2555
|
+
...d
|
|
2554
2556
|
}) {
|
|
2555
2557
|
const c = s || l;
|
|
2556
2558
|
return /* @__PURE__ */ b(
|
|
2557
2559
|
"button",
|
|
2558
2560
|
{
|
|
2559
2561
|
type: "button",
|
|
2560
|
-
className:
|
|
2561
|
-
|
|
2562
|
+
className: p(
|
|
2563
|
+
ur({ variant: t, color: r, size: o }),
|
|
2562
2564
|
c && "cursor-not-allowed bg-gray-100 text-gray-400 hover:bg-gray-100",
|
|
2563
2565
|
n ? "rounded-full" : "rounded-[10px] md:rounded-xl",
|
|
2564
2566
|
i
|
|
2565
2567
|
),
|
|
2566
2568
|
disabled: c,
|
|
2567
|
-
...
|
|
2569
|
+
...d,
|
|
2568
2570
|
children: [
|
|
2569
|
-
s && /* @__PURE__ */ a(
|
|
2571
|
+
s && /* @__PURE__ */ a(I, { name: "loading", size: 25, className: "mr-1.5 -ml-1 animate-spin max-md:h-[20px]" }),
|
|
2570
2572
|
e
|
|
2571
2573
|
]
|
|
2572
2574
|
}
|
|
2573
2575
|
);
|
|
2574
2576
|
}
|
|
2575
|
-
const $e =
|
|
2576
|
-
const e =
|
|
2577
|
+
const $e = V(null), pe = () => {
|
|
2578
|
+
const e = W($e);
|
|
2577
2579
|
if (!e)
|
|
2578
2580
|
throw new Error("useCarousel must be used within a CarouselProvider");
|
|
2579
2581
|
return e;
|
|
2580
|
-
},
|
|
2581
|
-
const [e, t] =
|
|
2582
|
+
}, mr = () => {
|
|
2583
|
+
const [e, t] = E(0), [r, o] = E(0), [n, s] = E(!1), l = re(null), i = re(null);
|
|
2582
2584
|
D(() => {
|
|
2583
2585
|
if (l.current) {
|
|
2584
|
-
const
|
|
2585
|
-
o(
|
|
2586
|
+
const y = l.current.children.length;
|
|
2587
|
+
o(y);
|
|
2586
2588
|
}
|
|
2587
2589
|
}, []);
|
|
2588
|
-
const
|
|
2590
|
+
const d = G((h) => {
|
|
2589
2591
|
if (!l.current) return;
|
|
2590
|
-
const
|
|
2591
|
-
|
|
2592
|
-
left:
|
|
2592
|
+
const y = l.current, k = y.clientWidth;
|
|
2593
|
+
y.scrollTo({
|
|
2594
|
+
left: k * h,
|
|
2593
2595
|
behavior: "smooth"
|
|
2594
|
-
}), t(
|
|
2595
|
-
}, []), c =
|
|
2596
|
+
}), t(h);
|
|
2597
|
+
}, []), c = G(() => {
|
|
2596
2598
|
if (n || r === 0) return;
|
|
2597
|
-
const
|
|
2598
|
-
|
|
2599
|
-
}, [
|
|
2600
|
-
const
|
|
2601
|
-
|
|
2602
|
-
}, [e, r,
|
|
2603
|
-
const
|
|
2604
|
-
|
|
2605
|
-
}, [e,
|
|
2599
|
+
const h = e >= r - 1 ? 0 : e + 1;
|
|
2600
|
+
d(h);
|
|
2601
|
+
}, [d, n, e, r]), m = G(() => {
|
|
2602
|
+
const h = r - 1, y = Math.min(e + 1, h);
|
|
2603
|
+
d(y);
|
|
2604
|
+
}, [e, r, d]), f = G(() => {
|
|
2605
|
+
const h = Math.max(0, e - 1);
|
|
2606
|
+
d(h);
|
|
2607
|
+
}, [e, d]);
|
|
2606
2608
|
D(() => {
|
|
2607
2609
|
if (!(r === 0 || n))
|
|
2608
2610
|
return i.current = setInterval(c, 3e3), () => {
|
|
2609
2611
|
i.current && clearInterval(i.current);
|
|
2610
2612
|
};
|
|
2611
2613
|
}, [c, r, n]);
|
|
2612
|
-
const
|
|
2614
|
+
const w = () => s(!0), M = () => s(!1), N = e < r - 1, x = e > 0;
|
|
2613
2615
|
return {
|
|
2614
2616
|
currentIndex: e,
|
|
2615
2617
|
totalItems: r,
|
|
2616
2618
|
goToNext: m,
|
|
2617
2619
|
goToPrevious: f,
|
|
2618
2620
|
canGoNext: N,
|
|
2619
|
-
canGoPrevious:
|
|
2621
|
+
canGoPrevious: x,
|
|
2620
2622
|
scrollContainerRef: l,
|
|
2621
|
-
handleMouseEnter:
|
|
2622
|
-
handleMouseLeave:
|
|
2623
|
+
handleMouseEnter: w,
|
|
2624
|
+
handleMouseLeave: M
|
|
2623
2625
|
};
|
|
2624
2626
|
};
|
|
2625
|
-
function
|
|
2626
|
-
const r =
|
|
2627
|
+
function to({ className: e = "", children: t }) {
|
|
2628
|
+
const r = mr();
|
|
2627
2629
|
return /* @__PURE__ */ a($e.Provider, { value: r, children: /* @__PURE__ */ b(
|
|
2628
2630
|
"div",
|
|
2629
2631
|
{
|
|
2630
|
-
className:
|
|
2632
|
+
className: p("relative", e),
|
|
2631
2633
|
onMouseEnter: r.handleMouseEnter,
|
|
2632
2634
|
onMouseLeave: r.handleMouseLeave,
|
|
2633
2635
|
role: "region",
|
|
2634
2636
|
"aria-roledescription": "carousel",
|
|
2635
2637
|
children: [
|
|
2636
2638
|
t,
|
|
2637
|
-
/* @__PURE__ */ a(
|
|
2638
|
-
/* @__PURE__ */ a(
|
|
2639
|
+
/* @__PURE__ */ a(pr, {}),
|
|
2640
|
+
/* @__PURE__ */ a(gr, {})
|
|
2639
2641
|
]
|
|
2640
2642
|
}
|
|
2641
2643
|
) });
|
|
2642
2644
|
}
|
|
2643
|
-
function
|
|
2644
|
-
const { scrollContainerRef: r } =
|
|
2645
|
+
function ro({ children: e, className: t = "" }) {
|
|
2646
|
+
const { scrollContainerRef: r } = pe();
|
|
2645
2647
|
return /* @__PURE__ */ a(
|
|
2646
2648
|
"div",
|
|
2647
2649
|
{
|
|
2648
2650
|
ref: r,
|
|
2649
|
-
className:
|
|
2651
|
+
className: p(
|
|
2650
2652
|
"scroll no-scrollbar flex overflow-x-auto overflow-y-hidden scroll-smooth",
|
|
2651
2653
|
t
|
|
2652
2654
|
),
|
|
@@ -2654,11 +2656,11 @@ function Jr({ children: e, className: t = "" }) {
|
|
|
2654
2656
|
}
|
|
2655
2657
|
);
|
|
2656
2658
|
}
|
|
2657
|
-
function
|
|
2658
|
-
return /* @__PURE__ */ a("div", { className:
|
|
2659
|
+
function oo({ children: e, className: t = "" }) {
|
|
2660
|
+
return /* @__PURE__ */ a("div", { className: p("w-full min-w-full flex-shrink-0", t), children: e });
|
|
2659
2661
|
}
|
|
2660
|
-
function
|
|
2661
|
-
const { goToPrevious: e, canGoNext: t, canGoPrevious: r } =
|
|
2662
|
+
function pr() {
|
|
2663
|
+
const { goToPrevious: e, canGoNext: t, canGoPrevious: r } = pe();
|
|
2662
2664
|
return t || r ? /* @__PURE__ */ a(
|
|
2663
2665
|
"button",
|
|
2664
2666
|
{
|
|
@@ -2666,12 +2668,12 @@ function ar() {
|
|
|
2666
2668
|
disabled: !r,
|
|
2667
2669
|
className: "absolute top-1/2 left-4 z-10 flex size-10 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-white shadow-lg transition-all hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2668
2670
|
"aria-label": "이전",
|
|
2669
|
-
children: /* @__PURE__ */ a(
|
|
2671
|
+
children: /* @__PURE__ */ a(I, { name: "arrowLeft", className: "pr-0.5" })
|
|
2670
2672
|
}
|
|
2671
2673
|
) : null;
|
|
2672
2674
|
}
|
|
2673
|
-
function
|
|
2674
|
-
const { goToNext: e, canGoNext: t, canGoPrevious: r } =
|
|
2675
|
+
function gr() {
|
|
2676
|
+
const { goToNext: e, canGoNext: t, canGoPrevious: r } = pe();
|
|
2675
2677
|
return t || r ? /* @__PURE__ */ a(
|
|
2676
2678
|
"button",
|
|
2677
2679
|
{
|
|
@@ -2679,11 +2681,11 @@ function ir() {
|
|
|
2679
2681
|
disabled: !t,
|
|
2680
2682
|
className: "absolute top-1/2 right-4 z-10 flex size-10 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-white shadow-lg transition-all hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2681
2683
|
"aria-label": "다음",
|
|
2682
|
-
children: /* @__PURE__ */ a(
|
|
2684
|
+
children: /* @__PURE__ */ a(I, { name: "arrowRight", className: "pl-0.5" })
|
|
2683
2685
|
}
|
|
2684
2686
|
) : null;
|
|
2685
2687
|
}
|
|
2686
|
-
function
|
|
2688
|
+
function no({
|
|
2687
2689
|
as: e,
|
|
2688
2690
|
className: t,
|
|
2689
2691
|
children: r,
|
|
@@ -2692,7 +2694,7 @@ function Xr({
|
|
|
2692
2694
|
return /* @__PURE__ */ a(
|
|
2693
2695
|
e || "div",
|
|
2694
2696
|
{
|
|
2695
|
-
className:
|
|
2697
|
+
className: p(
|
|
2696
2698
|
"box-border rounded-xl border border-gray-200 bg-white px-[22px] py-6 transition-colors hover:bg-gray-50",
|
|
2697
2699
|
t
|
|
2698
2700
|
),
|
|
@@ -2701,18 +2703,57 @@ function Xr({
|
|
|
2701
2703
|
}
|
|
2702
2704
|
);
|
|
2703
2705
|
}
|
|
2704
|
-
|
|
2706
|
+
function so({
|
|
2707
|
+
checked: e,
|
|
2708
|
+
defaultChecked: t,
|
|
2709
|
+
onCheckedChange: r,
|
|
2710
|
+
disabled: o,
|
|
2711
|
+
className: n,
|
|
2712
|
+
...s
|
|
2713
|
+
}) {
|
|
2714
|
+
const [l, i] = E(t ?? !1), d = e ?? l, c = (m) => {
|
|
2715
|
+
if (o) return;
|
|
2716
|
+
const f = m.target.checked;
|
|
2717
|
+
e === void 0 && i(f), r == null || r(f);
|
|
2718
|
+
};
|
|
2719
|
+
return /* @__PURE__ */ b(
|
|
2720
|
+
"label",
|
|
2721
|
+
{
|
|
2722
|
+
className: p(
|
|
2723
|
+
"flex h-6 w-6 rounded-sm",
|
|
2724
|
+
d ? "bg-primary-300" : "border-[1.5px] border-gray-300",
|
|
2725
|
+
o && "cursor-not-allowed opacity-50",
|
|
2726
|
+
n
|
|
2727
|
+
),
|
|
2728
|
+
children: [
|
|
2729
|
+
/* @__PURE__ */ a(
|
|
2730
|
+
"input",
|
|
2731
|
+
{
|
|
2732
|
+
type: "checkbox",
|
|
2733
|
+
onChange: c,
|
|
2734
|
+
checked: d,
|
|
2735
|
+
disabled: o,
|
|
2736
|
+
className: "sr-only",
|
|
2737
|
+
...s
|
|
2738
|
+
}
|
|
2739
|
+
),
|
|
2740
|
+
d && /* @__PURE__ */ a(I, { name: "check", color: "primary", width: 24, height: 24 })
|
|
2741
|
+
]
|
|
2742
|
+
}
|
|
2743
|
+
);
|
|
2744
|
+
}
|
|
2745
|
+
const hr = {
|
|
2705
2746
|
row: "flex-row",
|
|
2706
2747
|
"row-reverse": "flex-row-reverse",
|
|
2707
2748
|
col: "flex-col",
|
|
2708
2749
|
"col-reverse": "flex-col-reverse"
|
|
2709
|
-
},
|
|
2750
|
+
}, fr = {
|
|
2710
2751
|
start: "items-start",
|
|
2711
2752
|
end: "items-end",
|
|
2712
2753
|
center: "items-center",
|
|
2713
2754
|
baseline: "items-baseline",
|
|
2714
2755
|
stretch: "items-stretch"
|
|
2715
|
-
},
|
|
2756
|
+
}, br = {
|
|
2716
2757
|
start: "justify-start",
|
|
2717
2758
|
end: "justify-end",
|
|
2718
2759
|
center: "justify-center",
|
|
@@ -2721,12 +2762,12 @@ const lr = {
|
|
|
2721
2762
|
evenly: "justify-evenly",
|
|
2722
2763
|
stretch: "justify-stretch",
|
|
2723
2764
|
baseline: "justify-baseline"
|
|
2724
|
-
},
|
|
2765
|
+
}, wr = {
|
|
2725
2766
|
nowrap: "flex-nowrap",
|
|
2726
2767
|
wrap: "flex-wrap",
|
|
2727
2768
|
"wrap-reverse": "flex-wrap-reverse"
|
|
2728
2769
|
};
|
|
2729
|
-
function
|
|
2770
|
+
function z({
|
|
2730
2771
|
as: e = "div",
|
|
2731
2772
|
dir: t = "row",
|
|
2732
2773
|
alignItems: r = "stretch",
|
|
@@ -2735,71 +2776,81 @@ function E({
|
|
|
2735
2776
|
gap: s = 0,
|
|
2736
2777
|
className: l = "",
|
|
2737
2778
|
children: i,
|
|
2738
|
-
...
|
|
2779
|
+
...d
|
|
2739
2780
|
}) {
|
|
2740
2781
|
return /* @__PURE__ */ a(
|
|
2741
2782
|
e,
|
|
2742
2783
|
{
|
|
2743
|
-
className:
|
|
2784
|
+
className: p(
|
|
2744
2785
|
"flex",
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2786
|
+
hr[t],
|
|
2787
|
+
fr[r],
|
|
2788
|
+
br[o],
|
|
2789
|
+
wr[n],
|
|
2749
2790
|
`gap-${s}`,
|
|
2750
2791
|
l
|
|
2751
2792
|
),
|
|
2752
|
-
...
|
|
2793
|
+
...d,
|
|
2753
2794
|
children: i
|
|
2754
2795
|
}
|
|
2755
2796
|
);
|
|
2756
2797
|
}
|
|
2757
|
-
function
|
|
2758
|
-
return /* @__PURE__ */ b(
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2798
|
+
function ao({ left: e, right: t, className: r, ...o }) {
|
|
2799
|
+
return /* @__PURE__ */ b(
|
|
2800
|
+
z,
|
|
2801
|
+
{
|
|
2802
|
+
...o,
|
|
2803
|
+
dir: "row",
|
|
2804
|
+
justifyContent: "between",
|
|
2805
|
+
alignItems: "center",
|
|
2806
|
+
className: p("w-full gap-2 md:gap-4", r),
|
|
2807
|
+
children: [
|
|
2808
|
+
e,
|
|
2809
|
+
t
|
|
2810
|
+
]
|
|
2811
|
+
}
|
|
2812
|
+
);
|
|
2762
2813
|
}
|
|
2763
|
-
function
|
|
2764
|
-
const [r, o] =
|
|
2765
|
-
return D(() => (o(!0), () => o(!1)), []), r ?
|
|
2814
|
+
function ge({ isOpen: e, children: t }) {
|
|
2815
|
+
const [r, o] = E(!1);
|
|
2816
|
+
return D(() => (o(!0), () => o(!1)), []), r ? at(/* @__PURE__ */ a(je, { children: e && t }), document.body) : null;
|
|
2766
2817
|
}
|
|
2767
|
-
const
|
|
2818
|
+
const ce = {
|
|
2768
2819
|
initial: { opacity: 0 },
|
|
2769
2820
|
animate: { opacity: 1 },
|
|
2770
2821
|
exit: { opacity: 0 }
|
|
2771
|
-
},
|
|
2822
|
+
}, ee = {
|
|
2772
2823
|
initial: { x: "100%" },
|
|
2773
2824
|
animate: { x: 0 },
|
|
2774
2825
|
exit: { x: "100%" },
|
|
2775
2826
|
transition: { type: "spring", damping: 30, stiffness: 260 }
|
|
2776
2827
|
};
|
|
2777
|
-
function
|
|
2778
|
-
return /* @__PURE__ */ b(
|
|
2828
|
+
function io({ isOpen: e, onClose: t, children: r }) {
|
|
2829
|
+
return /* @__PURE__ */ b(ge, { isOpen: e, children: [
|
|
2779
2830
|
/* @__PURE__ */ a(
|
|
2780
|
-
|
|
2831
|
+
P.div,
|
|
2781
2832
|
{
|
|
2782
2833
|
onClick: t,
|
|
2783
2834
|
className: "fixed inset-0 bg-black/50",
|
|
2784
|
-
initial:
|
|
2785
|
-
animate:
|
|
2786
|
-
exit:
|
|
2835
|
+
initial: ce.initial,
|
|
2836
|
+
animate: ce.animate,
|
|
2837
|
+
exit: ce.exit
|
|
2787
2838
|
}
|
|
2788
2839
|
),
|
|
2789
2840
|
/* @__PURE__ */ a("div", { className: "fixed top-0 right-0 z-50 h-full", children: /* @__PURE__ */ a(
|
|
2790
|
-
|
|
2841
|
+
P.div,
|
|
2791
2842
|
{
|
|
2792
2843
|
className: "h-full bg-white shadow-lg",
|
|
2793
|
-
initial:
|
|
2794
|
-
animate:
|
|
2795
|
-
exit:
|
|
2796
|
-
transition:
|
|
2844
|
+
initial: ee.initial,
|
|
2845
|
+
animate: ee.animate,
|
|
2846
|
+
exit: ee.exit,
|
|
2847
|
+
transition: ee.transition,
|
|
2797
2848
|
children: r
|
|
2798
2849
|
}
|
|
2799
2850
|
) })
|
|
2800
2851
|
] });
|
|
2801
2852
|
}
|
|
2802
|
-
const
|
|
2853
|
+
const xr = oe("whitespace-pre-wrap", {
|
|
2803
2854
|
variants: {
|
|
2804
2855
|
type: {
|
|
2805
2856
|
Title1: "md:text-4xl text-2xl",
|
|
@@ -2822,39 +2873,39 @@ const gr = te("whitespace-pre-wrap", {
|
|
|
2822
2873
|
weight: "semibold"
|
|
2823
2874
|
}
|
|
2824
2875
|
});
|
|
2825
|
-
function
|
|
2876
|
+
function yr({
|
|
2826
2877
|
as: e,
|
|
2827
2878
|
weight: t,
|
|
2828
2879
|
className: r,
|
|
2829
2880
|
children: o,
|
|
2830
2881
|
...n
|
|
2831
2882
|
}) {
|
|
2832
|
-
return
|
|
2883
|
+
return tt(
|
|
2833
2884
|
e || "p",
|
|
2834
2885
|
{
|
|
2835
|
-
className:
|
|
2886
|
+
className: p(xr({ type: n.variant, weight: t }), r),
|
|
2836
2887
|
...n
|
|
2837
2888
|
},
|
|
2838
2889
|
o
|
|
2839
2890
|
);
|
|
2840
2891
|
}
|
|
2841
|
-
const
|
|
2892
|
+
const H = (e) => {
|
|
2842
2893
|
function t(r) {
|
|
2843
|
-
return /* @__PURE__ */ a(
|
|
2894
|
+
return /* @__PURE__ */ a(yr, { variant: e, ...r });
|
|
2844
2895
|
}
|
|
2845
2896
|
return t;
|
|
2846
|
-
},
|
|
2847
|
-
function
|
|
2848
|
-
const o =
|
|
2897
|
+
}, vr = H("Title1"), lo = H("Title2"), Cr = H("Title3"), he = H("Body1"), De = H("Body2"), fe = H("Body3"), be = H("Caption1");
|
|
2898
|
+
function co({ id: e, mode: t, ...r }) {
|
|
2899
|
+
const o = $(), n = e || o;
|
|
2849
2900
|
return /* @__PURE__ */ b(
|
|
2850
2901
|
"label",
|
|
2851
2902
|
{
|
|
2852
2903
|
className: "focus-within:bg-primary-50 block w-full cursor-pointer rounded-xl border border-gray-200 bg-gray-50 px-4 py-3 transition-colors hover:bg-gray-100 md:py-3.5",
|
|
2853
2904
|
htmlFor: n,
|
|
2854
2905
|
children: [
|
|
2855
|
-
/* @__PURE__ */ b(
|
|
2856
|
-
/* @__PURE__ */ a(
|
|
2857
|
-
/* @__PURE__ */ a(
|
|
2906
|
+
/* @__PURE__ */ b(z, { alignItems: "center", children: [
|
|
2907
|
+
/* @__PURE__ */ a(I, { name: "file", size: 25, color: "gray" }),
|
|
2908
|
+
/* @__PURE__ */ a(fe, { className: "text-gray-400", weight: "medium", children: r.placeholder || (t === "single" ? "파일을 업로드해주세요" : "파일 여러개를 선택해주세요") })
|
|
2858
2909
|
] }),
|
|
2859
2910
|
/* @__PURE__ */ a(
|
|
2860
2911
|
"input",
|
|
@@ -2871,7 +2922,7 @@ function ro({ id: e, mode: t, ...r }) {
|
|
|
2871
2922
|
}
|
|
2872
2923
|
);
|
|
2873
2924
|
}
|
|
2874
|
-
const
|
|
2925
|
+
const kr = {
|
|
2875
2926
|
primary: "hover:bg-primary-400/20",
|
|
2876
2927
|
gray: "hover:bg-gray-400/20",
|
|
2877
2928
|
red: "hover:bg-red-400/20",
|
|
@@ -2879,7 +2930,7 @@ const br = {
|
|
|
2879
2930
|
black: "hover:bg-black/20",
|
|
2880
2931
|
white: "hover:bg-white/20"
|
|
2881
2932
|
};
|
|
2882
|
-
function
|
|
2933
|
+
function Nr({
|
|
2883
2934
|
iconName: e,
|
|
2884
2935
|
color: t = "gray",
|
|
2885
2936
|
size: r,
|
|
@@ -2890,24 +2941,27 @@ function wr({
|
|
|
2890
2941
|
"button",
|
|
2891
2942
|
{
|
|
2892
2943
|
type: "button",
|
|
2893
|
-
className:
|
|
2944
|
+
className: p("cursor-pointer rounded-md p-1 transition", kr[t], o),
|
|
2894
2945
|
...n,
|
|
2895
|
-
children: /* @__PURE__ */ a(
|
|
2946
|
+
children: /* @__PURE__ */ a(I, { name: e, color: t, size: r })
|
|
2896
2947
|
}
|
|
2897
2948
|
);
|
|
2898
2949
|
}
|
|
2899
|
-
function
|
|
2900
|
-
return /* @__PURE__ */ b(
|
|
2950
|
+
function uo({ value: e, onClickReset: t, className: r, ...o }) {
|
|
2951
|
+
return /* @__PURE__ */ b(z, { gap: 8, alignItems: "center", className: "relative w-full", children: [
|
|
2901
2952
|
/* @__PURE__ */ a(
|
|
2902
2953
|
"input",
|
|
2903
2954
|
{
|
|
2904
2955
|
value: e,
|
|
2905
|
-
className:
|
|
2906
|
-
|
|
2956
|
+
className: p(
|
|
2957
|
+
"w-full rounded-xl border-none bg-white px-4 py-3.5 outline-1 outline-gray-200 focus:ring-4 focus:ring-blue-200 focus:outline-blue-500",
|
|
2958
|
+
r
|
|
2959
|
+
),
|
|
2960
|
+
...o
|
|
2907
2961
|
}
|
|
2908
2962
|
),
|
|
2909
2963
|
e && /* @__PURE__ */ a(
|
|
2910
|
-
|
|
2964
|
+
Nr,
|
|
2911
2965
|
{
|
|
2912
2966
|
title: "입력값 지우기",
|
|
2913
2967
|
"aria-label": "입력값 지우기",
|
|
@@ -2920,7 +2974,7 @@ function oo({ value: e, onClickReset: t, ...r }) {
|
|
|
2920
2974
|
)
|
|
2921
2975
|
] });
|
|
2922
2976
|
}
|
|
2923
|
-
const
|
|
2977
|
+
const Ir = {
|
|
2924
2978
|
images: [],
|
|
2925
2979
|
current: 0,
|
|
2926
2980
|
total: 0,
|
|
@@ -2932,12 +2986,12 @@ const xr = {
|
|
|
2932
2986
|
},
|
|
2933
2987
|
goToIndex: () => {
|
|
2934
2988
|
}
|
|
2935
|
-
},
|
|
2936
|
-
function
|
|
2937
|
-
const [r, o] =
|
|
2989
|
+
}, Ue = V(Ir), we = () => W(Ue);
|
|
2990
|
+
function Mr({ images: e, children: t }) {
|
|
2991
|
+
const [r, o] = E(0), n = e.length, s = G(() => o((c) => Math.max(0, c - 1)), []), l = G(() => o((c) => Math.min(n - 1, c + 1)), [n]), i = G(
|
|
2938
2992
|
(c) => o(Math.max(0, Math.min(n - 1, c))),
|
|
2939
2993
|
[n]
|
|
2940
|
-
),
|
|
2994
|
+
), d = {
|
|
2941
2995
|
images: e,
|
|
2942
2996
|
current: r,
|
|
2943
2997
|
total: n,
|
|
@@ -2947,16 +3001,16 @@ function yr({ images: e, children: t }) {
|
|
|
2947
3001
|
goNext: l,
|
|
2948
3002
|
goToIndex: i
|
|
2949
3003
|
};
|
|
2950
|
-
return /* @__PURE__ */ a(
|
|
3004
|
+
return /* @__PURE__ */ a(Ue.Provider, { value: d, children: t });
|
|
2951
3005
|
}
|
|
2952
|
-
function
|
|
2953
|
-
return /* @__PURE__ */ a(
|
|
3006
|
+
function mo({ images: e, className: t }) {
|
|
3007
|
+
return /* @__PURE__ */ a(Mr, { images: e, children: /* @__PURE__ */ a(Lr, { className: t }) });
|
|
2954
3008
|
}
|
|
2955
|
-
function
|
|
2956
|
-
const { images: t, current: r, total: o, firstImage: n } =
|
|
2957
|
-
return /* @__PURE__ */ b(
|
|
3009
|
+
function Lr({ className: e }) {
|
|
3010
|
+
const { images: t, current: r, total: o, firstImage: n } = we(), s = n ? "eager" : "lazy";
|
|
3011
|
+
return /* @__PURE__ */ b(z, { dir: "col", alignItems: "center", className: p("w-full max-w-[500px]", e), children: [
|
|
2958
3012
|
/* @__PURE__ */ b(
|
|
2959
|
-
|
|
3013
|
+
z,
|
|
2960
3014
|
{
|
|
2961
3015
|
alignItems: "center",
|
|
2962
3016
|
justifyContent: "center",
|
|
@@ -2973,19 +3027,19 @@ function vr({ className: e }) {
|
|
|
2973
3027
|
className: "h-full w-full object-contain"
|
|
2974
3028
|
}
|
|
2975
3029
|
),
|
|
2976
|
-
o > 1 && /* @__PURE__ */ b(
|
|
2977
|
-
/* @__PURE__ */ a(
|
|
2978
|
-
/* @__PURE__ */ a(
|
|
3030
|
+
o > 1 && /* @__PURE__ */ b(de, { children: [
|
|
3031
|
+
/* @__PURE__ */ a(Te, { direction: "prev" }),
|
|
3032
|
+
/* @__PURE__ */ a(Te, { direction: "next" })
|
|
2979
3033
|
] })
|
|
2980
3034
|
]
|
|
2981
3035
|
}
|
|
2982
3036
|
),
|
|
2983
|
-
/* @__PURE__ */ a(
|
|
3037
|
+
/* @__PURE__ */ a(z, { justifyContent: "center", className: "mt-3", children: /* @__PURE__ */ a(Er, {}) })
|
|
2984
3038
|
] });
|
|
2985
3039
|
}
|
|
2986
|
-
function
|
|
2987
|
-
const { images: e, current: t, goToIndex: r } =
|
|
2988
|
-
return /* @__PURE__ */ a(
|
|
3040
|
+
function Er() {
|
|
3041
|
+
const { images: e, current: t, goToIndex: r } = we();
|
|
3042
|
+
return /* @__PURE__ */ a(z, { alignItems: "center", className: "gap-2 md:gap-2.5", children: e.map((o, n) => {
|
|
2989
3043
|
const s = n === t;
|
|
2990
3044
|
return /* @__PURE__ */ a(
|
|
2991
3045
|
"button",
|
|
@@ -2993,7 +3047,7 @@ function Cr() {
|
|
|
2993
3047
|
type: "button",
|
|
2994
3048
|
"aria-label": `Image ${n + 1}`,
|
|
2995
3049
|
onClick: () => r(n),
|
|
2996
|
-
className:
|
|
3050
|
+
className: p(
|
|
2997
3051
|
"h-2 w-2 cursor-pointer rounded-full md:h-2.5 md:w-2.5",
|
|
2998
3052
|
s ? "bg-primary-300" : "bg-gray-200"
|
|
2999
3053
|
)
|
|
@@ -3002,51 +3056,51 @@ function Cr() {
|
|
|
3002
3056
|
);
|
|
3003
3057
|
}) });
|
|
3004
3058
|
}
|
|
3005
|
-
function
|
|
3006
|
-
const { firstImage: t, lastImage: r, goPrev: o, goNext: n } =
|
|
3059
|
+
function Te({ direction: e }) {
|
|
3060
|
+
const { firstImage: t, lastImage: r, goPrev: o, goNext: n } = we(), s = e === "prev";
|
|
3007
3061
|
return /* @__PURE__ */ a(
|
|
3008
3062
|
"button",
|
|
3009
3063
|
{
|
|
3010
3064
|
type: "button",
|
|
3011
3065
|
onClick: s ? o : n,
|
|
3012
|
-
className:
|
|
3066
|
+
className: p(
|
|
3013
3067
|
"absolute top-1/2 z-10 -translate-y-1/2 cursor-pointer rounded-full bg-white/75 p-1 shadow-sm transition-opacity hover:bg-white md:p-1.5",
|
|
3014
3068
|
s ? "left-4" : "right-4",
|
|
3015
3069
|
(s ? t : r) && "hidden"
|
|
3016
3070
|
),
|
|
3017
3071
|
"aria-label": `${e} image button`,
|
|
3018
|
-
children: /* @__PURE__ */ a(
|
|
3072
|
+
children: /* @__PURE__ */ a(I, { name: s ? "arrowLeft" : "arrowRight", className: "h-5 w-5 md:h-6 md:w-6" })
|
|
3019
3073
|
}
|
|
3020
3074
|
);
|
|
3021
3075
|
}
|
|
3022
|
-
const
|
|
3076
|
+
const te = {
|
|
3023
3077
|
initial: { opacity: 0 },
|
|
3024
3078
|
animate: { opacity: 1 },
|
|
3025
3079
|
exit: { opacity: 0 },
|
|
3026
3080
|
transition: { duration: 0.3 }
|
|
3027
3081
|
};
|
|
3028
|
-
function
|
|
3082
|
+
function po({ isOpen: e, closeModal: t, children: r, className: o }) {
|
|
3029
3083
|
const n = (s) => {
|
|
3030
3084
|
s.target instanceof HTMLElement && s.target === s.currentTarget && t && t();
|
|
3031
3085
|
};
|
|
3032
|
-
return /* @__PURE__ */ a(
|
|
3033
|
-
|
|
3086
|
+
return /* @__PURE__ */ a(ge, { isOpen: e, children: /* @__PURE__ */ b(
|
|
3087
|
+
P.div,
|
|
3034
3088
|
{
|
|
3035
|
-
initial:
|
|
3036
|
-
animate:
|
|
3037
|
-
exit:
|
|
3038
|
-
transition:
|
|
3039
|
-
className:
|
|
3089
|
+
initial: te.initial,
|
|
3090
|
+
animate: te.animate,
|
|
3091
|
+
exit: te.exit,
|
|
3092
|
+
transition: te.transition,
|
|
3093
|
+
className: p("fixed inset-0 z-30 flex w-full items-center justify-center", o),
|
|
3040
3094
|
children: [
|
|
3041
3095
|
/* @__PURE__ */ a("div", { className: "absolute inset-0 bg-black/50", onClick: n }),
|
|
3042
|
-
/* @__PURE__ */ a(
|
|
3096
|
+
/* @__PURE__ */ a(zr, { children: r })
|
|
3043
3097
|
]
|
|
3044
3098
|
}
|
|
3045
3099
|
) });
|
|
3046
3100
|
}
|
|
3047
|
-
function
|
|
3101
|
+
function zr({ children: e }) {
|
|
3048
3102
|
return /* @__PURE__ */ a(
|
|
3049
|
-
|
|
3103
|
+
z,
|
|
3050
3104
|
{
|
|
3051
3105
|
role: "dialog",
|
|
3052
3106
|
"aria-modal": "true",
|
|
@@ -3057,29 +3111,29 @@ function kr({ children: e }) {
|
|
|
3057
3111
|
}
|
|
3058
3112
|
);
|
|
3059
3113
|
}
|
|
3060
|
-
function
|
|
3114
|
+
function Ar({ files: e, previewUrls: t, onRemoveFile: r, multiple: o }) {
|
|
3061
3115
|
return o ? /* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-2 md:grid-cols-3 md:gap-4", children: t == null ? void 0 : t.map((n, s) => /* @__PURE__ */ b("div", { className: "relative aspect-square", children: [
|
|
3062
|
-
/* @__PURE__ */ a(
|
|
3116
|
+
/* @__PURE__ */ a(Re, { file: e == null ? void 0 : e[s], previewUrl: n }),
|
|
3063
3117
|
/* @__PURE__ */ a(
|
|
3064
3118
|
"button",
|
|
3065
3119
|
{
|
|
3066
3120
|
type: "button",
|
|
3067
3121
|
onClick: () => r(s),
|
|
3068
3122
|
className: "absolute top-2 right-2 cursor-pointer rounded-full bg-white/75 p-1",
|
|
3069
|
-
children: /* @__PURE__ */ a(
|
|
3123
|
+
children: /* @__PURE__ */ a(I, { name: "close", size: 14 })
|
|
3070
3124
|
}
|
|
3071
3125
|
)
|
|
3072
|
-
] }, s)) }) : /* @__PURE__ */ a(
|
|
3126
|
+
] }, s)) }) : /* @__PURE__ */ a(Re, { file: e == null ? void 0 : e[0], previewUrl: t[0] });
|
|
3073
3127
|
}
|
|
3074
|
-
function
|
|
3075
|
-
const [r, o] =
|
|
3128
|
+
function Re({ file: e, previewUrl: t }) {
|
|
3129
|
+
const [r, o] = E(!1);
|
|
3076
3130
|
return D(() => {
|
|
3077
3131
|
if (e) return o(e.type.startsWith("video/"));
|
|
3078
|
-
|
|
3132
|
+
Sr(t).then((n) => {
|
|
3079
3133
|
o(n ? n.startsWith("video/") : !1);
|
|
3080
3134
|
});
|
|
3081
3135
|
}, [e, t]), /* @__PURE__ */ a(
|
|
3082
|
-
|
|
3136
|
+
z,
|
|
3083
3137
|
{
|
|
3084
3138
|
justifyContent: "center",
|
|
3085
3139
|
alignItems: "center",
|
|
@@ -3102,15 +3156,15 @@ function Se({ file: e, previewUrl: t }) {
|
|
|
3102
3156
|
}
|
|
3103
3157
|
);
|
|
3104
3158
|
}
|
|
3105
|
-
async function
|
|
3159
|
+
async function Sr(e) {
|
|
3106
3160
|
try {
|
|
3107
3161
|
return (await fetch(e, { method: "HEAD" })).headers.get("Content-Type");
|
|
3108
3162
|
} catch {
|
|
3109
3163
|
return null;
|
|
3110
3164
|
}
|
|
3111
3165
|
}
|
|
3112
|
-
const
|
|
3113
|
-
function
|
|
3166
|
+
const Tr = 1024 * 1024 * 1024;
|
|
3167
|
+
function go({
|
|
3114
3168
|
topAffix: e,
|
|
3115
3169
|
id: t,
|
|
3116
3170
|
label: r = "파일을 업로드해주세요. (jpg, jpeg, png)",
|
|
@@ -3119,74 +3173,78 @@ function ao({
|
|
|
3119
3173
|
acceptedFormats: s = ["image/*"],
|
|
3120
3174
|
multiple: l = !1,
|
|
3121
3175
|
previewFiles: i = [],
|
|
3122
|
-
previewUrls:
|
|
3176
|
+
previewUrls: d = [],
|
|
3123
3177
|
onFileChange: c,
|
|
3124
|
-
|
|
3178
|
+
className: m,
|
|
3179
|
+
...f
|
|
3125
3180
|
}) {
|
|
3126
|
-
const
|
|
3127
|
-
|
|
3128
|
-
|
|
3181
|
+
const w = $(), M = t || w, N = d.length > 0, x = () => {
|
|
3182
|
+
d.forEach((k) => {
|
|
3183
|
+
k.startsWith("blob:") && URL.revokeObjectURL(k);
|
|
3129
3184
|
}), c == null || c(null, []);
|
|
3130
|
-
},
|
|
3131
|
-
const
|
|
3132
|
-
if (
|
|
3133
|
-
return
|
|
3134
|
-
if (
|
|
3185
|
+
}, h = (k) => {
|
|
3186
|
+
const L = Array.from(k.target.files || []);
|
|
3187
|
+
if (L.length === 0)
|
|
3188
|
+
return x();
|
|
3189
|
+
if (L.filter((S) => S.size / Tr > n).length > 0)
|
|
3135
3190
|
throw new Error(`${n}GB 이하의 파일로 등록해주세요.`);
|
|
3136
|
-
const
|
|
3137
|
-
c == null || c(
|
|
3191
|
+
const T = l ? L : [L[0]], _ = T.map((S) => URL.createObjectURL(S));
|
|
3192
|
+
c == null || c(T, _);
|
|
3138
3193
|
};
|
|
3139
3194
|
return /* @__PURE__ */ b("div", { className: "max-h-[500px] w-full overflow-auto", children: [
|
|
3140
|
-
/* @__PURE__ */ b(
|
|
3141
|
-
/* @__PURE__ */ a(
|
|
3142
|
-
/* @__PURE__ */ a(
|
|
3195
|
+
/* @__PURE__ */ b(z, { justifyContent: "between", children: [
|
|
3196
|
+
/* @__PURE__ */ a(he, { className: "text-gray-400", children: e }),
|
|
3197
|
+
/* @__PURE__ */ a(jr, { handleReset: x, isSelected: N })
|
|
3143
3198
|
] }),
|
|
3144
|
-
|
|
3145
|
-
|
|
3199
|
+
N ? /* @__PURE__ */ a(
|
|
3200
|
+
Ar,
|
|
3146
3201
|
{
|
|
3147
3202
|
files: i,
|
|
3148
|
-
previewUrls:
|
|
3149
|
-
onRemoveFile: (
|
|
3150
|
-
const
|
|
3151
|
-
|
|
3152
|
-
const
|
|
3153
|
-
c == null || c(
|
|
3203
|
+
previewUrls: d,
|
|
3204
|
+
onRemoveFile: (k) => {
|
|
3205
|
+
const L = d[k];
|
|
3206
|
+
L != null && L.startsWith("blob:") && URL.revokeObjectURL(L);
|
|
3207
|
+
const A = (i == null ? void 0 : i.filter((_, S) => S !== k)) ?? null, T = d.filter((_, S) => S !== k);
|
|
3208
|
+
c == null || c(A, T);
|
|
3154
3209
|
},
|
|
3155
3210
|
multiple: l
|
|
3156
3211
|
}
|
|
3157
|
-
) : /* @__PURE__ */ a(
|
|
3212
|
+
) : /* @__PURE__ */ a(Rr, { id: M, label: r, description: o, className: m }),
|
|
3158
3213
|
/* @__PURE__ */ a(
|
|
3159
3214
|
"input",
|
|
3160
3215
|
{
|
|
3161
|
-
id:
|
|
3216
|
+
id: M,
|
|
3162
3217
|
name: "media file",
|
|
3163
3218
|
type: "file",
|
|
3164
3219
|
accept: s.join(","),
|
|
3165
3220
|
multiple: l,
|
|
3166
3221
|
className: "hidden",
|
|
3167
|
-
onChange:
|
|
3168
|
-
...
|
|
3222
|
+
onChange: h,
|
|
3223
|
+
...f
|
|
3169
3224
|
}
|
|
3170
3225
|
)
|
|
3171
3226
|
] });
|
|
3172
3227
|
}
|
|
3173
|
-
function
|
|
3228
|
+
function Rr({ id: e, label: t, description: r, className: o }) {
|
|
3174
3229
|
return /* @__PURE__ */ a(
|
|
3175
3230
|
"label",
|
|
3176
3231
|
{
|
|
3177
3232
|
htmlFor: e,
|
|
3178
|
-
className:
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3233
|
+
className: p(
|
|
3234
|
+
"block w-full cursor-pointer rounded-xl border border-gray-200 bg-gray-50 px-4 py-8 hover:bg-gray-100",
|
|
3235
|
+
o
|
|
3236
|
+
),
|
|
3237
|
+
children: /* @__PURE__ */ b(z, { dir: "col", alignItems: "center", gap: 4, className: "text-gray-400", children: [
|
|
3238
|
+
/* @__PURE__ */ a(I, { name: "upload", size: 40 }),
|
|
3239
|
+
/* @__PURE__ */ a(he, { weight: "semibold", children: t }),
|
|
3240
|
+
/* @__PURE__ */ a(be, { className: "text-gray-300", weight: "normal", children: r })
|
|
3183
3241
|
] })
|
|
3184
3242
|
}
|
|
3185
3243
|
);
|
|
3186
3244
|
}
|
|
3187
|
-
function
|
|
3245
|
+
function jr({ handleReset: e, isSelected: t }) {
|
|
3188
3246
|
return /* @__PURE__ */ b(
|
|
3189
|
-
|
|
3247
|
+
z,
|
|
3190
3248
|
{
|
|
3191
3249
|
as: "button",
|
|
3192
3250
|
onClick: (r) => {
|
|
@@ -3196,13 +3254,13 @@ function Mr({ handleReset: e, isSelected: t }) {
|
|
|
3196
3254
|
className: `text-primary-300 justify-end ${t ? "cursor-pointer" : "cursor-not-allowed opacity-50"}`,
|
|
3197
3255
|
"aria-label": "초기화",
|
|
3198
3256
|
children: [
|
|
3199
|
-
/* @__PURE__ */ a(
|
|
3200
|
-
/* @__PURE__ */ a(
|
|
3257
|
+
/* @__PURE__ */ a(I, { name: "refresh", size: 24, color: "primary" }),
|
|
3258
|
+
/* @__PURE__ */ a(he, { children: "초기화" })
|
|
3201
3259
|
]
|
|
3202
3260
|
}
|
|
3203
3261
|
);
|
|
3204
3262
|
}
|
|
3205
|
-
function
|
|
3263
|
+
function ho({ title: e, size: t, onClick: r }) {
|
|
3206
3264
|
return /* @__PURE__ */ a(
|
|
3207
3265
|
"button",
|
|
3208
3266
|
{
|
|
@@ -3214,28 +3272,28 @@ function io({ title: e, size: t, onClick: r }) {
|
|
|
3214
3272
|
}
|
|
3215
3273
|
window.history.back();
|
|
3216
3274
|
},
|
|
3217
|
-
children: t === "sm" ? /* @__PURE__ */ b(
|
|
3218
|
-
/* @__PURE__ */ a(
|
|
3219
|
-
/* @__PURE__ */ a(
|
|
3220
|
-
] }) : /* @__PURE__ */ b(
|
|
3221
|
-
/* @__PURE__ */ a(
|
|
3222
|
-
/* @__PURE__ */ a(
|
|
3275
|
+
children: t === "sm" ? /* @__PURE__ */ b(de, { children: [
|
|
3276
|
+
/* @__PURE__ */ a(I, { name: "arrowLeft", className: "w-4 md:w-6" }),
|
|
3277
|
+
/* @__PURE__ */ a(Cr, { className: "whitespace-nowrap text-gray-500", children: e })
|
|
3278
|
+
] }) : /* @__PURE__ */ b(de, { children: [
|
|
3279
|
+
/* @__PURE__ */ a(I, { name: "navbarArrow", className: "w-6 md:w-8" }),
|
|
3280
|
+
/* @__PURE__ */ a(vr, { className: "whitespace-nowrap text-gray-500", children: e })
|
|
3223
3281
|
] })
|
|
3224
3282
|
}
|
|
3225
3283
|
);
|
|
3226
3284
|
}
|
|
3227
|
-
function
|
|
3285
|
+
function Br({ className: e, ...t }) {
|
|
3228
3286
|
return /* @__PURE__ */ a(
|
|
3229
3287
|
"nav",
|
|
3230
3288
|
{
|
|
3231
3289
|
role: "navigation",
|
|
3232
3290
|
"aria-label": "pagination",
|
|
3233
|
-
className:
|
|
3291
|
+
className: p("flex cursor-pointer items-center justify-center gap-1", e),
|
|
3234
3292
|
...t
|
|
3235
3293
|
}
|
|
3236
3294
|
);
|
|
3237
3295
|
}
|
|
3238
|
-
function
|
|
3296
|
+
function Or({ page: e, isActive: t, onClick: r }) {
|
|
3239
3297
|
return /* @__PURE__ */ a(
|
|
3240
3298
|
"button",
|
|
3241
3299
|
{
|
|
@@ -3245,15 +3303,15 @@ function Ar({ page: e, isActive: t, onClick: r }) {
|
|
|
3245
3303
|
}
|
|
3246
3304
|
);
|
|
3247
3305
|
}
|
|
3248
|
-
function
|
|
3306
|
+
function fo({ currentPage: e, totalPages: t, onPageChange: r, className: o = "" }) {
|
|
3249
3307
|
const n = () => {
|
|
3250
3308
|
e > 1 && r(e - 1);
|
|
3251
3309
|
}, s = () => {
|
|
3252
3310
|
e < t && r(e + 1);
|
|
3253
3311
|
};
|
|
3254
|
-
return /* @__PURE__ */ b(
|
|
3312
|
+
return /* @__PURE__ */ b(Br, { className: o, children: [
|
|
3255
3313
|
t >= 3 && e > 1 && /* @__PURE__ */ a(
|
|
3256
|
-
|
|
3314
|
+
I,
|
|
3257
3315
|
{
|
|
3258
3316
|
name: "arrowLeft",
|
|
3259
3317
|
size: 35,
|
|
@@ -3262,7 +3320,7 @@ function lo({ currentPage: e, totalPages: t, onPageChange: r, className: o = ""
|
|
|
3262
3320
|
}
|
|
3263
3321
|
),
|
|
3264
3322
|
Array.from({ length: t }, (l, i) => /* @__PURE__ */ a(
|
|
3265
|
-
|
|
3323
|
+
Or,
|
|
3266
3324
|
{
|
|
3267
3325
|
page: i + 1,
|
|
3268
3326
|
isActive: i + 1 === e,
|
|
@@ -3271,7 +3329,7 @@ function lo({ currentPage: e, totalPages: t, onPageChange: r, className: o = ""
|
|
|
3271
3329
|
i
|
|
3272
3330
|
)),
|
|
3273
3331
|
t >= 3 && e < t && /* @__PURE__ */ a(
|
|
3274
|
-
|
|
3332
|
+
I,
|
|
3275
3333
|
{
|
|
3276
3334
|
name: "arrowRight",
|
|
3277
3335
|
size: 35,
|
|
@@ -3281,11 +3339,11 @@ function lo({ currentPage: e, totalPages: t, onPageChange: r, className: o = ""
|
|
|
3281
3339
|
)
|
|
3282
3340
|
] });
|
|
3283
3341
|
}
|
|
3284
|
-
const
|
|
3285
|
-
const e =
|
|
3342
|
+
const qe = V(null), Je = () => {
|
|
3343
|
+
const e = W(qe);
|
|
3286
3344
|
if (!e) throw new Error("error");
|
|
3287
3345
|
return e;
|
|
3288
|
-
},
|
|
3346
|
+
}, Pr = oe(
|
|
3289
3347
|
"font-semibold text- cursor-pointer first:rounded-t-md last:rounded-b-md hover:bg-gray-100",
|
|
3290
3348
|
{
|
|
3291
3349
|
variants: {
|
|
@@ -3299,8 +3357,8 @@ const Ze = U(null), De = () => {
|
|
|
3299
3357
|
}
|
|
3300
3358
|
}
|
|
3301
3359
|
);
|
|
3302
|
-
function
|
|
3303
|
-
const { onSelect: o, size: n, selected: s } =
|
|
3360
|
+
function Ke({ name: e, size: t, className: r }) {
|
|
3361
|
+
const { onSelect: o, size: n, selected: s } = Je();
|
|
3304
3362
|
return /* @__PURE__ */ a(
|
|
3305
3363
|
"div",
|
|
3306
3364
|
{
|
|
@@ -3311,15 +3369,15 @@ function Ue({ name: e, size: t, className: r }) {
|
|
|
3311
3369
|
onKeyDown: (l) => {
|
|
3312
3370
|
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), o(e));
|
|
3313
3371
|
},
|
|
3314
|
-
className:
|
|
3372
|
+
className: p(Pr({ size: t || n }), r),
|
|
3315
3373
|
children: e
|
|
3316
3374
|
}
|
|
3317
3375
|
);
|
|
3318
3376
|
}
|
|
3319
|
-
function
|
|
3377
|
+
function Gr({ name: e }) {
|
|
3320
3378
|
return /* @__PURE__ */ a("div", { className: "border-b-2 border-gray-100 px-4 py-3.5 text-lg text-gray-300", children: e });
|
|
3321
3379
|
}
|
|
3322
|
-
const
|
|
3380
|
+
const Vr = oe(
|
|
3323
3381
|
"absolute z-50 mt-1 max-h-60 w-full overflow-y-auto rounded-md border border-gray-200 bg-white font-semibold text-gray-400 shadow-lg",
|
|
3324
3382
|
{
|
|
3325
3383
|
variants: {
|
|
@@ -3333,39 +3391,39 @@ const jr = te(
|
|
|
3333
3391
|
}
|
|
3334
3392
|
}
|
|
3335
3393
|
);
|
|
3336
|
-
function
|
|
3337
|
-
const { size: r } =
|
|
3338
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3394
|
+
function xe({ children: e, size: t }) {
|
|
3395
|
+
const { size: r } = Je();
|
|
3396
|
+
return /* @__PURE__ */ a("div", { className: p(Vr({ size: t || r })), children: e });
|
|
3339
3397
|
}
|
|
3340
|
-
const
|
|
3398
|
+
const Wr = {
|
|
3341
3399
|
md: "px-3 py-1 text-sm min-w-24",
|
|
3342
3400
|
lg: "px-4 py-3.5 min-w-64 text-lg"
|
|
3343
3401
|
};
|
|
3344
|
-
function
|
|
3402
|
+
function ye({ selected: e, onClick: t, isOpen: r, size: o = "lg" }) {
|
|
3345
3403
|
return /* @__PURE__ */ a(
|
|
3346
|
-
|
|
3404
|
+
z,
|
|
3347
3405
|
{
|
|
3348
3406
|
alignItems: "center",
|
|
3349
3407
|
onClick: t,
|
|
3350
|
-
className:
|
|
3351
|
-
|
|
3408
|
+
className: p(
|
|
3409
|
+
Wr[o],
|
|
3352
3410
|
"w-full rounded-lg border border-gray-200 bg-white font-semibold text-gray-400"
|
|
3353
3411
|
),
|
|
3354
3412
|
children: /* @__PURE__ */ b(
|
|
3355
3413
|
"button",
|
|
3356
3414
|
{
|
|
3357
3415
|
type: "button",
|
|
3358
|
-
className:
|
|
3416
|
+
className: p(
|
|
3359
3417
|
"flex w-full cursor-pointer items-center justify-between rounded-lg align-middle",
|
|
3360
3418
|
r && "hover:rounded-b-none"
|
|
3361
3419
|
),
|
|
3362
3420
|
children: [
|
|
3363
3421
|
e,
|
|
3364
3422
|
/* @__PURE__ */ a(
|
|
3365
|
-
|
|
3423
|
+
I,
|
|
3366
3424
|
{
|
|
3367
3425
|
name: "arrowDown",
|
|
3368
|
-
className:
|
|
3426
|
+
className: p(
|
|
3369
3427
|
"transform transition-transform duration-300",
|
|
3370
3428
|
r && "rotate-180",
|
|
3371
3429
|
o === "md" && "w-5"
|
|
@@ -3378,12 +3436,12 @@ function we({ selected: e, onClick: t, isOpen: r, size: o = "lg" }) {
|
|
|
3378
3436
|
}
|
|
3379
3437
|
);
|
|
3380
3438
|
}
|
|
3381
|
-
function
|
|
3382
|
-
const [s, l] =
|
|
3383
|
-
l(!1), t == null || t(
|
|
3439
|
+
function Xe({ value: e, onChange: t, size: r = "lg", defaultValue: o, children: n }) {
|
|
3440
|
+
const [s, l] = E(!1), i = (d) => {
|
|
3441
|
+
l(!1), t == null || t(d);
|
|
3384
3442
|
};
|
|
3385
3443
|
return /* @__PURE__ */ a(
|
|
3386
|
-
|
|
3444
|
+
qe.Provider,
|
|
3387
3445
|
{
|
|
3388
3446
|
value: {
|
|
3389
3447
|
selected: e,
|
|
@@ -3392,7 +3450,7 @@ function qe({ value: e, onChange: t, size: r = "lg", defaultValue: o, children:
|
|
|
3392
3450
|
},
|
|
3393
3451
|
children: /* @__PURE__ */ b("div", { className: "relative w-full", children: [
|
|
3394
3452
|
/* @__PURE__ */ a(
|
|
3395
|
-
|
|
3453
|
+
ye,
|
|
3396
3454
|
{
|
|
3397
3455
|
selected: e || o,
|
|
3398
3456
|
onClick: () => l(!s),
|
|
@@ -3400,51 +3458,132 @@ function qe({ value: e, onChange: t, size: r = "lg", defaultValue: o, children:
|
|
|
3400
3458
|
isOpen: s
|
|
3401
3459
|
}
|
|
3402
3460
|
),
|
|
3403
|
-
s && /* @__PURE__ */ a(
|
|
3461
|
+
s && /* @__PURE__ */ a(xe, { children: n })
|
|
3404
3462
|
] })
|
|
3405
3463
|
}
|
|
3406
3464
|
);
|
|
3407
3465
|
}
|
|
3408
|
-
const
|
|
3409
|
-
Option:
|
|
3410
|
-
Button:
|
|
3411
|
-
List:
|
|
3412
|
-
}),
|
|
3413
|
-
Option:
|
|
3414
|
-
Select:
|
|
3415
|
-
List:
|
|
3416
|
-
Group:
|
|
3466
|
+
const bo = Object.assign(Xe, {
|
|
3467
|
+
Option: Ke,
|
|
3468
|
+
Button: ye,
|
|
3469
|
+
List: xe
|
|
3470
|
+
}), wo = Object.assign(Xe, {
|
|
3471
|
+
Option: Ke,
|
|
3472
|
+
Select: ye,
|
|
3473
|
+
List: xe,
|
|
3474
|
+
Group: Gr
|
|
3417
3475
|
});
|
|
3418
|
-
function
|
|
3419
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3476
|
+
function xo({ className: e, ...t }) {
|
|
3477
|
+
return /* @__PURE__ */ a("div", { className: p("w-full animate-pulse rounded-md bg-gray-200", e), ...t });
|
|
3478
|
+
}
|
|
3479
|
+
const Ye = V(void 0);
|
|
3480
|
+
function yo({
|
|
3481
|
+
value: e,
|
|
3482
|
+
defaultValue: t,
|
|
3483
|
+
onValueChange: r,
|
|
3484
|
+
children: o,
|
|
3485
|
+
disabled: n,
|
|
3486
|
+
size: s = "md",
|
|
3487
|
+
name: l,
|
|
3488
|
+
className: i
|
|
3489
|
+
}) {
|
|
3490
|
+
const [d, c] = E(t), m = e ?? d, f = (w) => {
|
|
3491
|
+
e === void 0 && c(w), r == null || r(w);
|
|
3492
|
+
};
|
|
3493
|
+
return /* @__PURE__ */ a(Ye.Provider, { value: { value: m, onChange: f, disabled: n, size: s, name: l }, children: /* @__PURE__ */ a("div", { className: i, children: o }) });
|
|
3420
3494
|
}
|
|
3421
|
-
function
|
|
3495
|
+
function vo({
|
|
3496
|
+
value: e,
|
|
3497
|
+
id: t,
|
|
3498
|
+
className: r,
|
|
3499
|
+
disabled: o,
|
|
3500
|
+
onChange: n,
|
|
3501
|
+
size: s,
|
|
3502
|
+
...l
|
|
3503
|
+
}) {
|
|
3504
|
+
const i = W(Ye);
|
|
3505
|
+
if (!i) throw new Error("RadioItem must be used inside a RadioGroup");
|
|
3506
|
+
const d = i.value === e, c = i.disabled || o, m = s ?? i.size, f = (w) => {
|
|
3507
|
+
if (c) {
|
|
3508
|
+
w.preventDefault();
|
|
3509
|
+
return;
|
|
3510
|
+
}
|
|
3511
|
+
n == null || n(w), i.onChange(e);
|
|
3512
|
+
};
|
|
3513
|
+
return /* @__PURE__ */ b(
|
|
3514
|
+
"label",
|
|
3515
|
+
{
|
|
3516
|
+
htmlFor: t,
|
|
3517
|
+
className: p(
|
|
3518
|
+
"flex cursor-pointer",
|
|
3519
|
+
m === "lg" ? "h-8 w-8" : "h-6 w-6",
|
|
3520
|
+
c && "cursor-not-allowed opacity-50",
|
|
3521
|
+
r
|
|
3522
|
+
),
|
|
3523
|
+
children: [
|
|
3524
|
+
/* @__PURE__ */ a(
|
|
3525
|
+
"input",
|
|
3526
|
+
{
|
|
3527
|
+
id: t,
|
|
3528
|
+
type: "radio",
|
|
3529
|
+
value: e,
|
|
3530
|
+
checked: d,
|
|
3531
|
+
disabled: c,
|
|
3532
|
+
onChange: f,
|
|
3533
|
+
className: "sr-only",
|
|
3534
|
+
name: i.name,
|
|
3535
|
+
...l
|
|
3536
|
+
}
|
|
3537
|
+
),
|
|
3538
|
+
d ? /* @__PURE__ */ a(
|
|
3539
|
+
I,
|
|
3540
|
+
{
|
|
3541
|
+
name: "check",
|
|
3542
|
+
color: "primary",
|
|
3543
|
+
width: m === "lg" ? 32 : 24,
|
|
3544
|
+
height: m === "lg" ? 32 : 24,
|
|
3545
|
+
className: "bg-primary-300 rounded-full"
|
|
3546
|
+
}
|
|
3547
|
+
) : /* @__PURE__ */ a(
|
|
3548
|
+
"span",
|
|
3549
|
+
{
|
|
3550
|
+
className: p(
|
|
3551
|
+
"w-full rounded-full border-gray-300",
|
|
3552
|
+
m === "lg" ? "border-2" : "border-[1.5px]"
|
|
3553
|
+
)
|
|
3554
|
+
}
|
|
3555
|
+
)
|
|
3556
|
+
]
|
|
3557
|
+
}
|
|
3558
|
+
);
|
|
3559
|
+
}
|
|
3560
|
+
function Co({ color: e = "primary", ...t }) {
|
|
3422
3561
|
return /* @__PURE__ */ a(
|
|
3423
|
-
|
|
3562
|
+
Le.Root,
|
|
3424
3563
|
{
|
|
3425
3564
|
...t,
|
|
3426
3565
|
className: "group flex h-3.5 w-7 items-center rounded-full shadow-lg data-[state=checked]:bg-[var(--switch-color)] data-[state=unchecked]:bg-gray-500",
|
|
3427
|
-
style: e && { "--switch-color":
|
|
3428
|
-
children: /* @__PURE__ */ a(
|
|
3566
|
+
style: e && { "--switch-color": Ze[e] },
|
|
3567
|
+
children: /* @__PURE__ */ a(Le.Thumb, { className: "h-5 w-5 -translate-x-1.5 rounded-full bg-white shadow-inner drop-shadow-md duration-100 group-data-[state=checked]:translate-x-3.5" })
|
|
3429
3568
|
}
|
|
3430
3569
|
);
|
|
3431
3570
|
}
|
|
3432
|
-
const
|
|
3433
|
-
function
|
|
3434
|
-
const o =
|
|
3435
|
-
() =>
|
|
3571
|
+
const Qe = V(void 0);
|
|
3572
|
+
function ko({ children: e, defaultIndex: t = 0, ...r }) {
|
|
3573
|
+
const o = rt(
|
|
3574
|
+
() => ot.toArray(e).filter((l) => nt(l)).map((l) => l.props.label),
|
|
3436
3575
|
[e]
|
|
3437
|
-
), [n, s] =
|
|
3438
|
-
return /* @__PURE__ */ a(
|
|
3576
|
+
), [n, s] = E(o[t]);
|
|
3577
|
+
return /* @__PURE__ */ a(Qe.Provider, { value: { activeLabel: n }, children: /* @__PURE__ */ b("div", { ...r, children: [
|
|
3439
3578
|
/* @__PURE__ */ a("nav", { className: "flex w-full", children: o.map((l) => /* @__PURE__ */ b(
|
|
3440
|
-
|
|
3579
|
+
P.button,
|
|
3441
3580
|
{
|
|
3442
3581
|
className: `relative grow transform p-3 font-semibold ${n === l ? "text-primary-300 hover:bg-primary-50" : "text-gray-500 hover:bg-gray-50"} md:p-4 md:text-xl`,
|
|
3443
3582
|
onClick: () => s(l),
|
|
3444
3583
|
children: [
|
|
3445
3584
|
l,
|
|
3446
3585
|
l === n && /* @__PURE__ */ a(
|
|
3447
|
-
|
|
3586
|
+
P.div,
|
|
3448
3587
|
{
|
|
3449
3588
|
className: "bg-primary-300 absolute right-0 -bottom-0.5 left-0 h-0.5",
|
|
3450
3589
|
layoutId: "underline",
|
|
@@ -3458,37 +3597,38 @@ function mo({ children: e, defaultIndex: t = 0, ...r }) {
|
|
|
3458
3597
|
e
|
|
3459
3598
|
] }) });
|
|
3460
3599
|
}
|
|
3461
|
-
function
|
|
3462
|
-
const o =
|
|
3600
|
+
function No({ label: e, children: t, ...r }) {
|
|
3601
|
+
const o = W(Qe), n = (o == null ? void 0 : o.activeLabel) === e;
|
|
3463
3602
|
return /* @__PURE__ */ a("div", { className: `${!n && "hidden"}`, ...r, children: t });
|
|
3464
3603
|
}
|
|
3465
|
-
function
|
|
3604
|
+
function Io({
|
|
3466
3605
|
value: e,
|
|
3467
3606
|
rows: t = 3,
|
|
3468
3607
|
showCounter: r = !1,
|
|
3469
3608
|
className: o,
|
|
3470
3609
|
...n
|
|
3471
3610
|
}) {
|
|
3472
|
-
return /* @__PURE__ */ b(
|
|
3611
|
+
return /* @__PURE__ */ b(z, { dir: "col", gap: 2, children: [
|
|
3473
3612
|
/* @__PURE__ */ a(
|
|
3474
3613
|
"textarea",
|
|
3475
3614
|
{
|
|
3476
3615
|
rows: t,
|
|
3477
|
-
className:
|
|
3616
|
+
className: p(
|
|
3478
3617
|
"w-full resize-none rounded-xl border-none bg-white px-4 py-3.5 text-gray-900 outline-1 outline-gray-200 transition-colors placeholder:text-gray-400 focus:ring-4 focus:ring-blue-200 focus:outline-blue-500",
|
|
3479
3618
|
o
|
|
3480
3619
|
),
|
|
3620
|
+
value: e,
|
|
3481
3621
|
...n
|
|
3482
3622
|
}
|
|
3483
3623
|
),
|
|
3484
|
-
r && n.maxLength && /* @__PURE__ */ b(
|
|
3624
|
+
r && n.maxLength && /* @__PURE__ */ b(be, { weight: "normal", className: "text-right text-gray-500", children: [
|
|
3485
3625
|
e.length ?? 0,
|
|
3486
3626
|
"/",
|
|
3487
3627
|
n.maxLength
|
|
3488
3628
|
] })
|
|
3489
3629
|
] });
|
|
3490
3630
|
}
|
|
3491
|
-
const
|
|
3631
|
+
const Hr = {
|
|
3492
3632
|
SPRING: {
|
|
3493
3633
|
initial: { opacity: 0, scale: 0.6, y: 15 },
|
|
3494
3634
|
animate: {
|
|
@@ -3543,7 +3683,7 @@ const Br = {
|
|
|
3543
3683
|
transition: { duration: 0.15, ease: "easeIn" }
|
|
3544
3684
|
}
|
|
3545
3685
|
}
|
|
3546
|
-
},
|
|
3686
|
+
}, _r = {
|
|
3547
3687
|
primary: {
|
|
3548
3688
|
bg: "bg-primary-300",
|
|
3549
3689
|
text: "text-white"
|
|
@@ -3580,8 +3720,8 @@ const Br = {
|
|
|
3580
3720
|
bg: "bg-black",
|
|
3581
3721
|
text: "text-white"
|
|
3582
3722
|
}
|
|
3583
|
-
},
|
|
3584
|
-
const [e, t] =
|
|
3723
|
+
}, Zr = () => {
|
|
3724
|
+
const [e, t] = E(!1), [r, o] = E(null), n = re(null), s = () => t(!0), l = () => t(!1);
|
|
3585
3725
|
return D(() => {
|
|
3586
3726
|
if (n.current && e) {
|
|
3587
3727
|
const i = n.current.getBoundingClientRect();
|
|
@@ -3595,28 +3735,28 @@ const Br = {
|
|
|
3595
3735
|
position: r
|
|
3596
3736
|
};
|
|
3597
3737
|
};
|
|
3598
|
-
function
|
|
3738
|
+
function Mo({
|
|
3599
3739
|
content: e,
|
|
3600
3740
|
color: t = "gray",
|
|
3601
3741
|
animationMode: r = "SPRING",
|
|
3602
3742
|
children: o
|
|
3603
3743
|
}) {
|
|
3604
|
-
const n =
|
|
3744
|
+
const n = $(), { open: s, ref: l, show: i, hide: d, position: c } = Zr(), m = _r[t], f = Hr[r];
|
|
3605
3745
|
return /* @__PURE__ */ b(
|
|
3606
3746
|
"div",
|
|
3607
3747
|
{
|
|
3608
3748
|
ref: l,
|
|
3609
3749
|
className: "inline-flex",
|
|
3610
3750
|
onMouseEnter: i,
|
|
3611
|
-
onMouseLeave:
|
|
3751
|
+
onMouseLeave: d,
|
|
3612
3752
|
onFocus: i,
|
|
3613
|
-
onBlur:
|
|
3614
|
-
onClick: () => s ?
|
|
3753
|
+
onBlur: d,
|
|
3754
|
+
onClick: () => s ? d() : i(),
|
|
3615
3755
|
"aria-describedby": s ? n : void 0,
|
|
3616
3756
|
children: [
|
|
3617
3757
|
o,
|
|
3618
|
-
/* @__PURE__ */ a(
|
|
3619
|
-
|
|
3758
|
+
/* @__PURE__ */ a(ge, { isOpen: s, children: /* @__PURE__ */ a(
|
|
3759
|
+
P.div,
|
|
3620
3760
|
{
|
|
3621
3761
|
id: n,
|
|
3622
3762
|
role: "tooltip",
|
|
@@ -3624,7 +3764,7 @@ function bo({
|
|
|
3624
3764
|
initial: f.initial,
|
|
3625
3765
|
animate: f.animate,
|
|
3626
3766
|
exit: f.exit,
|
|
3627
|
-
className:
|
|
3767
|
+
className: p(
|
|
3628
3768
|
"fixed -translate-x-1/2 -translate-y-full rounded px-2 py-1 whitespace-nowrap shadow-lg",
|
|
3629
3769
|
m.bg
|
|
3630
3770
|
),
|
|
@@ -3632,15 +3772,165 @@ function bo({
|
|
|
3632
3772
|
top: c == null ? void 0 : c.top,
|
|
3633
3773
|
left: c == null ? void 0 : c.left
|
|
3634
3774
|
},
|
|
3635
|
-
children: /* @__PURE__ */ a(
|
|
3775
|
+
children: /* @__PURE__ */ a(be, { weight: "medium", className: m.text, children: e })
|
|
3636
3776
|
}
|
|
3637
3777
|
) })
|
|
3638
3778
|
]
|
|
3639
3779
|
}
|
|
3640
3780
|
);
|
|
3641
3781
|
}
|
|
3642
|
-
|
|
3643
|
-
|
|
3782
|
+
function Lo({ children: e, className: t }) {
|
|
3783
|
+
return /* @__PURE__ */ a(
|
|
3784
|
+
"header",
|
|
3785
|
+
{
|
|
3786
|
+
className: p(
|
|
3787
|
+
"fixed top-0 left-0 z-10 w-full border-b border-gray-200 bg-white px-6 md:z-20",
|
|
3788
|
+
t
|
|
3789
|
+
),
|
|
3790
|
+
children: /* @__PURE__ */ a(
|
|
3791
|
+
z,
|
|
3792
|
+
{
|
|
3793
|
+
as: "div",
|
|
3794
|
+
dir: "row",
|
|
3795
|
+
alignItems: "center",
|
|
3796
|
+
justifyContent: "between",
|
|
3797
|
+
className: "mx-auto h-16 w-full max-w-6xl md:h-[72px] md:px-16",
|
|
3798
|
+
children: e
|
|
3799
|
+
}
|
|
3800
|
+
)
|
|
3801
|
+
}
|
|
3802
|
+
);
|
|
3803
|
+
}
|
|
3804
|
+
function Eo({ href: e, onClick: t, active: r, className: o, children: n }) {
|
|
3805
|
+
return /* @__PURE__ */ a("a", { href: e, onClick: t, className: p("inline-flex items-center gap-2 rounded-md px-2 py-2 whitespace-nowrap transition-colors duration-200", r ? "text-primary-500" : "text-neutral-500 hover:text-primary-300", o), children: /* @__PURE__ */ a(fe, { weight: "semibold", children: n }) });
|
|
3806
|
+
}
|
|
3807
|
+
const et = V(null);
|
|
3808
|
+
function zo({ children: e, className: t, defaultOpen: r = !1, containerRef: o }) {
|
|
3809
|
+
const [n, s] = E(r), l = $(), i = $();
|
|
3810
|
+
return /* @__PURE__ */ a(et.Provider, { value: { open: n, setOpen: s, triggerId: l, contentId: i }, children: /* @__PURE__ */ a("div", { ref: o, className: p("relative", t), children: e }) });
|
|
3811
|
+
}
|
|
3812
|
+
function Fr({ ref: e, handler: t }) {
|
|
3813
|
+
D(() => {
|
|
3814
|
+
const r = (o) => {
|
|
3815
|
+
e.current && !e.current.contains(o.target) && t();
|
|
3816
|
+
};
|
|
3817
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
3818
|
+
}, [e, t]);
|
|
3819
|
+
}
|
|
3820
|
+
function ve() {
|
|
3821
|
+
const e = W(et);
|
|
3822
|
+
if (!e) throw new Error("MenuContext is not provided");
|
|
3823
|
+
return e;
|
|
3824
|
+
}
|
|
3825
|
+
function Ao({ children: e, className: t }) {
|
|
3826
|
+
const { open: r, contentId: o, triggerId: n, setOpen: s } = ve(), l = re(null);
|
|
3827
|
+
return Fr({
|
|
3828
|
+
ref: l,
|
|
3829
|
+
handler: () => s(!1)
|
|
3830
|
+
}), r ? /* @__PURE__ */ a(
|
|
3831
|
+
"div",
|
|
3832
|
+
{
|
|
3833
|
+
ref: l,
|
|
3834
|
+
id: o,
|
|
3835
|
+
role: "menu",
|
|
3836
|
+
"aria-labelledby": n,
|
|
3837
|
+
className: p(
|
|
3838
|
+
"ring-opacity-5 absolute left-1/2 mt-6 w-fit min-w-25 -translate-x-1/2 transform justify-center overflow-hidden rounded-lg border border-gray-200 bg-white text-center whitespace-nowrap text-neutral-500 shadow-xl",
|
|
3839
|
+
t
|
|
3840
|
+
),
|
|
3841
|
+
children: e
|
|
3842
|
+
}
|
|
3843
|
+
) : null;
|
|
3844
|
+
}
|
|
3845
|
+
function So({ children: e, className: t, "aria-label": r = "open-menu" }) {
|
|
3846
|
+
const { open: o, setOpen: n, triggerId: s, contentId: l } = ve();
|
|
3847
|
+
return /* @__PURE__ */ a(
|
|
3848
|
+
"button",
|
|
3849
|
+
{
|
|
3850
|
+
id: s,
|
|
3851
|
+
"aria-haspopup": "menu",
|
|
3852
|
+
"aria-expanded": o ? "true" : "false",
|
|
3853
|
+
"aria-controls": l,
|
|
3854
|
+
onClick: () => {
|
|
3855
|
+
n(!o);
|
|
3856
|
+
},
|
|
3857
|
+
className: p(
|
|
3858
|
+
"hover:text-primary-300 inline-flex cursor-pointer items-center gap-2 rounded-md px-4 py-2 text-base font-semibold whitespace-nowrap text-neutral-500 transition-colors duration-200",
|
|
3859
|
+
t
|
|
3860
|
+
),
|
|
3861
|
+
"aria-label": r,
|
|
3862
|
+
type: "button",
|
|
3863
|
+
children: e
|
|
3864
|
+
}
|
|
3865
|
+
);
|
|
3866
|
+
}
|
|
3867
|
+
function To({
|
|
3868
|
+
children: e,
|
|
3869
|
+
onClick: t,
|
|
3870
|
+
href: r,
|
|
3871
|
+
rel: o,
|
|
3872
|
+
target: n = "_self",
|
|
3873
|
+
icon: s,
|
|
3874
|
+
className: l
|
|
3875
|
+
}) {
|
|
3876
|
+
const { setOpen: i } = ve(), d = p(
|
|
3877
|
+
"flex w-full items-center font-semibold gap-3 whitespace-nowrap px-4 py-2 text-gray-400 transition-colors duration-150 hover:bg-gray-100",
|
|
3878
|
+
l
|
|
3879
|
+
);
|
|
3880
|
+
return r ? /* @__PURE__ */ b(
|
|
3881
|
+
"a",
|
|
3882
|
+
{
|
|
3883
|
+
href: r,
|
|
3884
|
+
target: n,
|
|
3885
|
+
rel: o,
|
|
3886
|
+
className: d,
|
|
3887
|
+
role: "menuitem",
|
|
3888
|
+
onClick: () => i(!1),
|
|
3889
|
+
children: [
|
|
3890
|
+
s && /* @__PURE__ */ a(I, { name: s, size: 16 }),
|
|
3891
|
+
e
|
|
3892
|
+
]
|
|
3893
|
+
}
|
|
3894
|
+
) : /* @__PURE__ */ b(fe, { className: d, role: "menuitem", weight: "semibold", onClick: () => {
|
|
3895
|
+
t == null || t(), i(!1);
|
|
3896
|
+
}, children: [
|
|
3897
|
+
s && /* @__PURE__ */ a(I, { name: s, size: 16 }),
|
|
3898
|
+
e
|
|
3899
|
+
] });
|
|
3900
|
+
}
|
|
3901
|
+
function Ro({ className: e, children: t, ...r }) {
|
|
3902
|
+
return /* @__PURE__ */ a(
|
|
3903
|
+
"div",
|
|
3904
|
+
{
|
|
3905
|
+
className: p("no-scrollbar relative w-full overflow-auto rounded-md border border-gray-100"),
|
|
3906
|
+
children: /* @__PURE__ */ a("table", { className: p("w-full table-fixed border-collapse text-sm", e), ...r, children: t })
|
|
3907
|
+
}
|
|
3908
|
+
);
|
|
3909
|
+
}
|
|
3910
|
+
function jo({ className: e, children: t, ...r }) {
|
|
3911
|
+
return /* @__PURE__ */ a("thead", { className: p("bg-gray-50", e), ...r, children: t });
|
|
3912
|
+
}
|
|
3913
|
+
function Bo({ className: e, children: t, ...r }) {
|
|
3914
|
+
return /* @__PURE__ */ a("tbody", { className: p("bg-white", e), ...r, children: t });
|
|
3915
|
+
}
|
|
3916
|
+
function Oo({ className: e, children: t, ...r }) {
|
|
3917
|
+
return /* @__PURE__ */ a("tr", { className: p("border-b border-gray-200 last:border-0", e), ...r, children: t });
|
|
3918
|
+
}
|
|
3919
|
+
function Po({ className: e, children: t, ...r }) {
|
|
3920
|
+
return /* @__PURE__ */ a(
|
|
3921
|
+
"th",
|
|
3922
|
+
{
|
|
3923
|
+
className: p("h-10 px-4 py-2 text-left align-middle whitespace-nowrap", e),
|
|
3924
|
+
...r,
|
|
3925
|
+
children: /* @__PURE__ */ a(De, { className: "text-gray-700", children: t })
|
|
3926
|
+
}
|
|
3927
|
+
);
|
|
3928
|
+
}
|
|
3929
|
+
function Go({ className: e, children: t, ...r }) {
|
|
3930
|
+
return /* @__PURE__ */ a("td", { className: p("px-4 py-2 align-middle md:px-4", e), ...r, children: /* @__PURE__ */ a(De, { className: "whitespace-pre-wrap text-gray-400", weight: "normal", children: t }) });
|
|
3931
|
+
}
|
|
3932
|
+
const Vo = () => {
|
|
3933
|
+
const [e, t] = E(!1);
|
|
3644
3934
|
return {
|
|
3645
3935
|
isOpen: e,
|
|
3646
3936
|
openModal: () => t(!0),
|
|
@@ -3648,47 +3938,62 @@ const wo = () => {
|
|
|
3648
3938
|
};
|
|
3649
3939
|
};
|
|
3650
3940
|
export {
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
po as
|
|
3682
|
-
ho as
|
|
3683
|
-
|
|
3684
|
-
fo as
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
bo as
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3941
|
+
Kr as Accordion,
|
|
3942
|
+
Xr as AccordionItem,
|
|
3943
|
+
Yr as Avatar,
|
|
3944
|
+
Qr as Badge,
|
|
3945
|
+
he as Body1,
|
|
3946
|
+
De as Body2,
|
|
3947
|
+
fe as Body3,
|
|
3948
|
+
eo as Button,
|
|
3949
|
+
be as Caption1,
|
|
3950
|
+
no as Card,
|
|
3951
|
+
to as Carousel,
|
|
3952
|
+
ro as CarouselContent,
|
|
3953
|
+
oo as CarouselItem,
|
|
3954
|
+
so as Checkbox,
|
|
3955
|
+
ao as DoubleButton,
|
|
3956
|
+
io as Drawer,
|
|
3957
|
+
co as FileUpload,
|
|
3958
|
+
z as Flex,
|
|
3959
|
+
wo as GroupingSelect,
|
|
3960
|
+
Lo as Header,
|
|
3961
|
+
I as Icon,
|
|
3962
|
+
Nr as IconButton,
|
|
3963
|
+
Fe as Icons,
|
|
3964
|
+
mo as ImageGallery,
|
|
3965
|
+
uo as Input,
|
|
3966
|
+
go as MediaUpload,
|
|
3967
|
+
Ao as Menu,
|
|
3968
|
+
zo as MenuContainer,
|
|
3969
|
+
To as MenuItem,
|
|
3970
|
+
So as MenuTrigger,
|
|
3971
|
+
po as Modal,
|
|
3972
|
+
ho as NavBack,
|
|
3973
|
+
Eo as NavigationItem,
|
|
3974
|
+
fo as Pagination,
|
|
3975
|
+
ge as Portal,
|
|
3976
|
+
yo as Radio,
|
|
3977
|
+
vo as RadioItem,
|
|
3978
|
+
bo as Select,
|
|
3979
|
+
xo as Skeleton,
|
|
3980
|
+
Co as Switch,
|
|
3981
|
+
No as TabItem,
|
|
3982
|
+
Ro as Table,
|
|
3983
|
+
Bo as TableBody,
|
|
3984
|
+
Go as TableCell,
|
|
3985
|
+
Po as TableHead,
|
|
3986
|
+
jo as TableHeader,
|
|
3987
|
+
Oo as TableRow,
|
|
3988
|
+
ko as Tabs,
|
|
3989
|
+
Io as TextArea,
|
|
3990
|
+
vr as Title1,
|
|
3991
|
+
lo as Title2,
|
|
3992
|
+
Cr as Title3,
|
|
3993
|
+
Mo as Tooltip,
|
|
3994
|
+
p as cn,
|
|
3995
|
+
Z as colors,
|
|
3996
|
+
Jr as iconNames,
|
|
3997
|
+
Vo as usePortal
|
|
3693
3998
|
};
|
|
3694
3999
|
//# sourceMappingURL=ddingdong-design-system.es.js.map
|