ddingdong-design-system 0.3.7 → 1.0.0
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 +199 -197
- 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/ui/ImageGallery/ImageGallery.d.ts +16 -0
- package/dist/shared/ui/ImageGallery/ImageGalleryContext.d.ts +18 -0
- package/dist/shared/ui/ImageGallery/index.d.ts +1 -0
- package/dist/shared/ui/MediaUpload/MediaUpload.d.ts +42 -0
- package/dist/shared/ui/MediaUpload/MediaUploadPreview.d.ts +8 -0
- package/dist/shared/ui/MediaUpload/index.d.ts +1 -0
- package/dist/shared/ui/assets/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, jsxs as C, Fragment as ve } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { createContext as X, useContext as Y, useState as M, useId as le, useRef as ie, useEffect as K, useCallback as
|
|
3
|
+
import { createContext as X, useContext as Y, useState as M, useId as le, useRef as ie, useEffect as K, useCallback as U, createElement as $e, useMemo as Ue, Children as De, isValidElement as qe } from "react";
|
|
4
4
|
import { useReducedMotion as Je, motion as T, AnimatePresence as Me } from "framer-motion";
|
|
5
5
|
import { createPortal as Ke } from "react-dom";
|
|
6
6
|
import * as Ce from "@radix-ui/react-switch";
|
|
@@ -194,9 +194,9 @@ const ce = "-", Xe = (e) => {
|
|
|
194
194
|
if (s.includes(L))
|
|
195
195
|
continue;
|
|
196
196
|
s.push(L);
|
|
197
|
-
const
|
|
198
|
-
for (let
|
|
199
|
-
const _ =
|
|
197
|
+
const W = n(x, k);
|
|
198
|
+
for (let B = 0; B < W.length; ++B) {
|
|
199
|
+
const _ = W[B];
|
|
200
200
|
s.push(f + _);
|
|
201
201
|
}
|
|
202
202
|
i = u + (i.length > 0 ? " " + i : i);
|
|
@@ -237,21 +237,21 @@ function ct(e, ...r) {
|
|
|
237
237
|
const b = (e) => {
|
|
238
238
|
const r = (t) => t[e] || [];
|
|
239
239
|
return r.isThemeGetter = !0, r;
|
|
240
|
-
},
|
|
241
|
-
const o =
|
|
240
|
+
}, Be = /^\[(?:([a-z-]+):)?(.+)\]$/i, dt = /^\d+\/\d+$/, ut = /* @__PURE__ */ new Set(["px", "full", "screen"]), pt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gt = /\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$/, mt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ht = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ft = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, S = (e) => R(e) || ut.has(e) || dt.test(e), z = (e) => O(e, "length", Nt), R = (e) => !!e && !Number.isNaN(Number(e)), ne = (e) => O(e, "number", R), H = (e) => !!e && Number.isInteger(Number(e)), bt = (e) => e.endsWith("%") && R(e.slice(0, -1)), p = (e) => Be.test(e), A = (e) => pt.test(e), wt = /* @__PURE__ */ new Set(["length", "size", "percentage"]), xt = (e) => O(e, wt, je), yt = (e) => O(e, "position", je), vt = /* @__PURE__ */ new Set(["image", "url"]), Ct = (e) => O(e, vt, Et), kt = (e) => O(e, "", Lt), F = () => !0, O = (e, r, t) => {
|
|
241
|
+
const o = Be.exec(e);
|
|
242
242
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
243
243
|
}, Nt = (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
247
|
gt.test(e) && !mt.test(e)
|
|
248
|
-
),
|
|
249
|
-
const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), s = b("borderRadius"), a = b("borderSpacing"), i = b("borderWidth"), d = b("contrast"), u = b("grayscale"), m = b("hueRotate"), h = b("invert"), v = b("gap"), N = b("gradientColorStops"), k = b("gradientColorStopPositions"), x = b("inset"), g = b("margin"), f = b("opacity"), L = b("padding"),
|
|
248
|
+
), je = () => !1, Lt = (e) => ht.test(e), Et = (e) => ft.test(e), Mt = () => {
|
|
249
|
+
const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), s = b("borderRadius"), a = b("borderSpacing"), i = b("borderWidth"), d = b("contrast"), u = b("grayscale"), m = b("hueRotate"), h = b("invert"), v = b("gap"), N = b("gradientColorStops"), k = b("gradientColorStopPositions"), x = b("inset"), g = b("margin"), f = b("opacity"), L = b("padding"), W = b("saturate"), B = b("scale"), _ = b("sepia"), me = b("skew"), he = b("space"), fe = b("translate"), ee = () => ["auto", "contain", "none"], te = () => ["auto", "hidden", "clip", "visible", "scroll"], re = () => ["auto", p, r], w = () => [p, r], be = () => ["", S, z], Z = () => ["auto", R, p], we = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], $ = () => ["solid", "dashed", "dotted", "double", "none"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", p], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [R, p];
|
|
250
250
|
return {
|
|
251
251
|
cacheSize: 500,
|
|
252
252
|
separator: ":",
|
|
253
253
|
theme: {
|
|
254
|
-
colors: [
|
|
254
|
+
colors: [F],
|
|
255
255
|
spacing: [S, z],
|
|
256
256
|
blur: ["none", "", A, p],
|
|
257
257
|
brightness: I(),
|
|
@@ -260,9 +260,9 @@ const b = (e) => {
|
|
|
260
260
|
borderSpacing: w(),
|
|
261
261
|
borderWidth: be(),
|
|
262
262
|
contrast: I(),
|
|
263
|
-
grayscale:
|
|
263
|
+
grayscale: G(),
|
|
264
264
|
hueRotate: I(),
|
|
265
|
-
invert:
|
|
265
|
+
invert: G(),
|
|
266
266
|
gap: w(),
|
|
267
267
|
gradientColorStops: [e],
|
|
268
268
|
gradientColorStopPositions: [bt, z],
|
|
@@ -272,7 +272,7 @@ const b = (e) => {
|
|
|
272
272
|
padding: w(),
|
|
273
273
|
saturate: I(),
|
|
274
274
|
scale: I(),
|
|
275
|
-
sepia:
|
|
275
|
+
sepia: G(),
|
|
276
276
|
skew: I(),
|
|
277
277
|
space: w(),
|
|
278
278
|
translate: w()
|
|
@@ -491,7 +491,7 @@ const b = (e) => {
|
|
|
491
491
|
* @see https://tailwindcss.com/docs/z-index
|
|
492
492
|
*/
|
|
493
493
|
z: [{
|
|
494
|
-
z: ["auto",
|
|
494
|
+
z: ["auto", H, p]
|
|
495
495
|
}],
|
|
496
496
|
// Flexbox and Grid
|
|
497
497
|
/**
|
|
@@ -527,28 +527,28 @@ const b = (e) => {
|
|
|
527
527
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
528
528
|
*/
|
|
529
529
|
grow: [{
|
|
530
|
-
grow:
|
|
530
|
+
grow: G()
|
|
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: G()
|
|
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", H, p]
|
|
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": [F]
|
|
552
552
|
}],
|
|
553
553
|
/**
|
|
554
554
|
* Grid Column Start / End
|
|
@@ -556,7 +556,7 @@ const b = (e) => {
|
|
|
556
556
|
*/
|
|
557
557
|
"col-start-end": [{
|
|
558
558
|
col: ["auto", {
|
|
559
|
-
span: ["full",
|
|
559
|
+
span: ["full", H, p]
|
|
560
560
|
}, p]
|
|
561
561
|
}],
|
|
562
562
|
/**
|
|
@@ -564,21 +564,21 @@ const b = (e) => {
|
|
|
564
564
|
* @see https://tailwindcss.com/docs/grid-column
|
|
565
565
|
*/
|
|
566
566
|
"col-start": [{
|
|
567
|
-
"col-start":
|
|
567
|
+
"col-start": Z()
|
|
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": Z()
|
|
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": [F]
|
|
582
582
|
}],
|
|
583
583
|
/**
|
|
584
584
|
* Grid Row Start / End
|
|
@@ -586,7 +586,7 @@ const b = (e) => {
|
|
|
586
586
|
*/
|
|
587
587
|
"row-start-end": [{
|
|
588
588
|
row: ["auto", {
|
|
589
|
-
span: [
|
|
589
|
+
span: [H, p]
|
|
590
590
|
}, p]
|
|
591
591
|
}],
|
|
592
592
|
/**
|
|
@@ -594,14 +594,14 @@ const b = (e) => {
|
|
|
594
594
|
* @see https://tailwindcss.com/docs/grid-row
|
|
595
595
|
*/
|
|
596
596
|
"row-start": [{
|
|
597
|
-
"row-start":
|
|
597
|
+
"row-start": Z()
|
|
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": Z()
|
|
605
605
|
}],
|
|
606
606
|
/**
|
|
607
607
|
* Grid Auto Flow
|
|
@@ -941,7 +941,7 @@ const b = (e) => {
|
|
|
941
941
|
* @see https://tailwindcss.com/docs/font-family
|
|
942
942
|
*/
|
|
943
943
|
"font-family": [{
|
|
944
|
-
font: [
|
|
944
|
+
font: [F]
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Font Variant Numeric
|
|
@@ -1061,7 +1061,7 @@ const b = (e) => {
|
|
|
1061
1061
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1062
1062
|
*/
|
|
1063
1063
|
"text-decoration-style": [{
|
|
1064
|
-
decoration: [
|
|
1064
|
+
decoration: [...$(), "wavy"]
|
|
1065
1065
|
}],
|
|
1066
1066
|
/**
|
|
1067
1067
|
* Text Decoration Thickness
|
|
@@ -1435,7 +1435,7 @@ const b = (e) => {
|
|
|
1435
1435
|
* @see https://tailwindcss.com/docs/border-style
|
|
1436
1436
|
*/
|
|
1437
1437
|
"border-style": [{
|
|
1438
|
-
border: [
|
|
1438
|
+
border: [...$(), "hidden"]
|
|
1439
1439
|
}],
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Divide Width X
|
|
@@ -1473,7 +1473,7 @@ const b = (e) => {
|
|
|
1473
1473
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1474
1474
|
*/
|
|
1475
1475
|
"divide-style": [{
|
|
1476
|
-
divide:
|
|
1476
|
+
divide: $()
|
|
1477
1477
|
}],
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Border Color
|
|
@@ -1550,7 +1550,7 @@ const b = (e) => {
|
|
|
1550
1550
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1551
1551
|
*/
|
|
1552
1552
|
"outline-style": [{
|
|
1553
|
-
outline: ["",
|
|
1553
|
+
outline: ["", ...$()]
|
|
1554
1554
|
}],
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Outline Offset
|
|
@@ -1626,7 +1626,7 @@ const b = (e) => {
|
|
|
1626
1626
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1627
1627
|
*/
|
|
1628
1628
|
"shadow-color": [{
|
|
1629
|
-
shadow: [
|
|
1629
|
+
shadow: [F]
|
|
1630
1630
|
}],
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Opacity
|
|
@@ -1712,7 +1712,7 @@ const b = (e) => {
|
|
|
1712
1712
|
* @see https://tailwindcss.com/docs/saturate
|
|
1713
1713
|
*/
|
|
1714
1714
|
saturate: [{
|
|
1715
|
-
saturate: [
|
|
1715
|
+
saturate: [W]
|
|
1716
1716
|
}],
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Sepia
|
|
@@ -1783,7 +1783,7 @@ const b = (e) => {
|
|
|
1783
1783
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1784
1784
|
*/
|
|
1785
1785
|
"backdrop-saturate": [{
|
|
1786
|
-
"backdrop-saturate": [
|
|
1786
|
+
"backdrop-saturate": [W]
|
|
1787
1787
|
}],
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Backdrop Sepia
|
|
@@ -1884,28 +1884,28 @@ const b = (e) => {
|
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/scale
|
|
1885
1885
|
*/
|
|
1886
1886
|
scale: [{
|
|
1887
|
-
scale: [
|
|
1887
|
+
scale: [B]
|
|
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": [B]
|
|
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": [B]
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Rotate
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/rotate
|
|
1906
1906
|
*/
|
|
1907
1907
|
rotate: [{
|
|
1908
|
-
rotate: [
|
|
1908
|
+
rotate: [H, p]
|
|
1909
1909
|
}],
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Translate X
|
|
@@ -2274,12 +2274,12 @@ const b = (e) => {
|
|
|
2274
2274
|
"font-size": ["leading"]
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
|
-
}, It = /* @__PURE__ */ ct(Mt), y = (...e) => It(Se(e)),
|
|
2278
|
-
const e = Y(
|
|
2277
|
+
}, It = /* @__PURE__ */ ct(Mt), y = (...e) => It(Se(e)), Ve = X(null), St = () => {
|
|
2278
|
+
const e = Y(Ve);
|
|
2279
2279
|
if (!e)
|
|
2280
2280
|
throw new Error("useAccordion must be used within an AccordionProvider");
|
|
2281
2281
|
return e;
|
|
2282
|
-
},
|
|
2282
|
+
}, V = {
|
|
2283
2283
|
primary: {
|
|
2284
2284
|
50: "#EFF6FF",
|
|
2285
2285
|
100: "#DBEAFE",
|
|
@@ -2314,37 +2314,39 @@ const b = (e) => {
|
|
|
2314
2314
|
white: "#ffffff",
|
|
2315
2315
|
black: "#000000"
|
|
2316
2316
|
}, Re = {
|
|
2317
|
-
primary:
|
|
2318
|
-
gray:
|
|
2319
|
-
red:
|
|
2320
|
-
green:
|
|
2321
|
-
black:
|
|
2322
|
-
white:
|
|
2323
|
-
}, zt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M19 12L5 12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), At = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: 2 })), Tt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M15.5 5L8.5 12L15.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), jt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M8.5 19L15.5 12L8.5 5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Bt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", strokeWidth: 2 })), Ot = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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" })), Rt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M19 19L5 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M19 5L5 19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), Vt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Pt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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__ */ c.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 })), Gt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M12 10V14.8109", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M14.4058 12.4062L9.59482 12.4063", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Wt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Ft = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...e }, /* @__PURE__ */ c.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), /* @__PURE__ */ c.createElement("path", { d: "M18.364 5.636L16.95 7.05A7 7 0 1 0 19 12h2a9 9 0 1 1-2.636-6.364z" })), Ht = (e) => /* @__PURE__ */ c.createElement("svg", { width: 27, height: 27, viewBox: "0 0 27 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), _t = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("circle", { cx: 10.0915, cy: 10.0915, r: 10.0915, fill: "currentColor" }), /* @__PURE__ */ c.createElement("path", { d: "M13.3923 5.83097V14H12.0835L8.21334 8.41482H8.14564V14H6.67883V5.83097H8.01024L11.8578 11.4161H11.9368V5.83097H13.3923Z", fill: "white" })), $t = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Zt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M13.5 14L18.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), Dt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M10 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M14 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M2.5 5H21.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.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" })), Ut = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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 })), Ve = {
|
|
2317
|
+
primary: V.primary[300],
|
|
2318
|
+
gray: V.gray[300],
|
|
2319
|
+
red: V.red[300],
|
|
2320
|
+
green: V.green[300],
|
|
2321
|
+
black: V.black,
|
|
2322
|
+
white: V.white
|
|
2323
|
+
}, zt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M19 12L5 12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), At = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: 2 })), Tt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M15.5 5L8.5 12L15.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Bt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M8.5 19L15.5 12L8.5 5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), jt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", strokeWidth: 2 })), Vt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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" })), Rt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M19 19L5 5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M19 5L5 19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), Ot = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Pt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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__ */ c.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 })), Wt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M12 10V14.8109", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M14.4058 12.4062L9.59482 12.4063", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Gt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Ht = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...e }, /* @__PURE__ */ c.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), /* @__PURE__ */ c.createElement("path", { d: "M18.364 5.636L16.95 7.05A7 7 0 1 0 19 12h2a9 9 0 1 1-2.636-6.364z" })), Ft = (e) => /* @__PURE__ */ c.createElement("svg", { width: 27, height: 27, viewBox: "0 0 27 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), _t = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("circle", { cx: 10.0915, cy: 10.0915, r: 10.0915, fill: "currentColor" }), /* @__PURE__ */ c.createElement("path", { d: "M13.3923 5.83097V14H12.0835L8.21334 8.41482H8.14564V14H6.67883V5.83097H8.01024L11.8578 11.4161H11.9368V5.83097H13.3923Z", fill: "white" })), Zt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), $t = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.createElement("path", { d: "M9.73535 9.23535H6.04902V4.62744", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ c.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" })), Ut = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M13.5 14L18.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round" })), Dt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.createElement("path", { d: "M10 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M14 11V16", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.createElement("path", { d: "M2.5 5H21.5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ c.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__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 37 37", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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" })), Jt = (e) => /* @__PURE__ */ c.createElement("svg", { width: "current", height: "current", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ c.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__ */ c.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 })), Oe = {
|
|
2324
2324
|
add: zt,
|
|
2325
2325
|
arrowDown: At,
|
|
2326
|
-
arrowUp:
|
|
2326
|
+
arrowUp: jt,
|
|
2327
2327
|
arrowLeft: Tt,
|
|
2328
|
-
arrowRight:
|
|
2329
|
-
check:
|
|
2328
|
+
arrowRight: Bt,
|
|
2329
|
+
check: Vt,
|
|
2330
2330
|
close: Rt,
|
|
2331
|
-
download:
|
|
2331
|
+
download: Ot,
|
|
2332
2332
|
etc: Pt,
|
|
2333
|
-
file:
|
|
2334
|
-
list:
|
|
2335
|
-
navbarArrow:
|
|
2333
|
+
file: Wt,
|
|
2334
|
+
list: Gt,
|
|
2335
|
+
navbarArrow: Ft,
|
|
2336
2336
|
new: _t,
|
|
2337
|
-
pin:
|
|
2338
|
-
search:
|
|
2337
|
+
pin: Zt,
|
|
2338
|
+
search: Ut,
|
|
2339
2339
|
trash: Dt,
|
|
2340
|
-
write:
|
|
2341
|
-
loading:
|
|
2342
|
-
|
|
2340
|
+
write: Jt,
|
|
2341
|
+
loading: Ht,
|
|
2342
|
+
refresh: $t,
|
|
2343
|
+
upload: qt
|
|
2344
|
+
}, Ir = Object.keys(Oe);
|
|
2343
2345
|
function E({ name: e, color: r = "gray", size: t = 25, ...o }) {
|
|
2344
|
-
const n =
|
|
2346
|
+
const n = Oe[e];
|
|
2345
2347
|
return /* @__PURE__ */ l(n, { width: `${t}px`, height: `${t}px`, style: { color: Re[r] }, ...o });
|
|
2346
2348
|
}
|
|
2347
|
-
function
|
|
2349
|
+
function Sr({
|
|
2348
2350
|
type: e = "single",
|
|
2349
2351
|
className: r = "",
|
|
2350
2352
|
children: t,
|
|
@@ -2359,9 +2361,9 @@ function Mr({
|
|
|
2359
2361
|
(d) => d.includes(i) ? d.filter((u) => u !== i) : [...d, i]
|
|
2360
2362
|
);
|
|
2361
2363
|
};
|
|
2362
|
-
return /* @__PURE__ */ l(
|
|
2364
|
+
return /* @__PURE__ */ l(Ve.Provider, { value: { openItems: n, toggleItem: a, type: e }, children: /* @__PURE__ */ l("div", { className: y("w-full", r), ...o, children: t }) });
|
|
2363
2365
|
}
|
|
2364
|
-
const
|
|
2366
|
+
const D = {
|
|
2365
2367
|
initial: { height: 0, opacity: 0 },
|
|
2366
2368
|
animate: { height: "auto", opacity: 1 },
|
|
2367
2369
|
exit: { height: 0, opacity: 0 },
|
|
@@ -2369,8 +2371,8 @@ const U = {
|
|
|
2369
2371
|
height: { duration: 0.2, ease: "easeOut" },
|
|
2370
2372
|
opacity: { duration: 0.1 }
|
|
2371
2373
|
}
|
|
2372
|
-
},
|
|
2373
|
-
function
|
|
2374
|
+
}, Kt = (e) => ["INPUT", "TEXTAREA", "A"].includes(e.tagName);
|
|
2375
|
+
function zr({
|
|
2374
2376
|
trigger: e,
|
|
2375
2377
|
isArrow: r = !0,
|
|
2376
2378
|
value: t,
|
|
@@ -2390,7 +2392,7 @@ function Ir({
|
|
|
2390
2392
|
role: "button",
|
|
2391
2393
|
onClick: (g) => {
|
|
2392
2394
|
const f = g.target;
|
|
2393
|
-
if (
|
|
2395
|
+
if (Kt(f))
|
|
2394
2396
|
return g.stopPropagation();
|
|
2395
2397
|
N(t);
|
|
2396
2398
|
},
|
|
@@ -2417,24 +2419,24 @@ function Ir({
|
|
|
2417
2419
|
{
|
|
2418
2420
|
id: m,
|
|
2419
2421
|
"aria-labelledby": u,
|
|
2420
|
-
initial: h ? void 0 :
|
|
2421
|
-
animate: h ? void 0 :
|
|
2422
|
-
exit: h ? void 0 :
|
|
2423
|
-
transition: h ? void 0 :
|
|
2422
|
+
initial: h ? void 0 : D.initial,
|
|
2423
|
+
animate: h ? void 0 : D.animate,
|
|
2424
|
+
exit: h ? void 0 : D.exit,
|
|
2425
|
+
transition: h ? void 0 : D.transition,
|
|
2424
2426
|
className: "overflow-hidden",
|
|
2425
2427
|
children: /* @__PURE__ */ l("div", { className: y("bg-gray-50 px-6 py-4", n), children: s })
|
|
2426
2428
|
}
|
|
2427
2429
|
) })
|
|
2428
2430
|
] });
|
|
2429
2431
|
}
|
|
2430
|
-
const
|
|
2432
|
+
const Xt = {
|
|
2431
2433
|
sm: { class: "size-14", width: 56, height: 56 },
|
|
2432
2434
|
md: { class: "size-16", width: 64, height: 64 },
|
|
2433
2435
|
lg: { class: "size-18", width: 72, height: 72 },
|
|
2434
2436
|
xl: { class: "size-20", width: 80, height: 80 }
|
|
2435
2437
|
};
|
|
2436
|
-
function
|
|
2437
|
-
const { class: s, width: a, height: i } =
|
|
2438
|
+
function Ar({ size: e = "lg", src: r, alt: t, className: o, ...n }) {
|
|
2439
|
+
const { class: s, width: a, height: i } = Xt[e];
|
|
2438
2440
|
return /* @__PURE__ */ l(
|
|
2439
2441
|
"img",
|
|
2440
2442
|
{
|
|
@@ -2448,13 +2450,13 @@ function Sr({ size: e = "lg", src: r, alt: t, className: o, ...n }) {
|
|
|
2448
2450
|
}
|
|
2449
2451
|
);
|
|
2450
2452
|
}
|
|
2451
|
-
const
|
|
2453
|
+
const Yt = {
|
|
2452
2454
|
positive: "bg-green-50 text-green-200",
|
|
2453
2455
|
negative: "bg-red-100 text-red-300",
|
|
2454
2456
|
neutral: "bg-gray-100 text-gray-400"
|
|
2455
2457
|
};
|
|
2456
|
-
function
|
|
2457
|
-
const o =
|
|
2458
|
+
function Tr({ variant: e = "neutral", text: r, ...t }) {
|
|
2459
|
+
const o = Yt[e];
|
|
2458
2460
|
return /* @__PURE__ */ l(
|
|
2459
2461
|
"div",
|
|
2460
2462
|
{
|
|
@@ -2496,7 +2498,7 @@ const Le = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = Se, Q
|
|
|
2496
2498
|
] : u;
|
|
2497
2499
|
}, []);
|
|
2498
2500
|
return Ee(e, a, d, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2499
|
-
},
|
|
2501
|
+
}, Qt = Q(
|
|
2500
2502
|
"flex justify-center items-center py-2 md:py-3 md:text-base md:font-semibold text-sm font-medium cursor-pointer",
|
|
2501
2503
|
{
|
|
2502
2504
|
variants: {
|
|
@@ -2538,7 +2540,7 @@ const Le = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = Se, Q
|
|
|
2538
2540
|
]
|
|
2539
2541
|
}
|
|
2540
2542
|
);
|
|
2541
|
-
function
|
|
2543
|
+
function Br({
|
|
2542
2544
|
children: e,
|
|
2543
2545
|
variant: r,
|
|
2544
2546
|
color: t,
|
|
@@ -2555,7 +2557,7 @@ function Ar({
|
|
|
2555
2557
|
{
|
|
2556
2558
|
type: "button",
|
|
2557
2559
|
className: y(
|
|
2558
|
-
|
|
2560
|
+
Qt({ variant: r, color: t, size: o }),
|
|
2559
2561
|
u && "cursor-not-allowed bg-gray-100 text-gray-400 hover:bg-gray-100",
|
|
2560
2562
|
n ? "rounded-full" : "rounded-[10px] md:rounded-xl",
|
|
2561
2563
|
i
|
|
@@ -2574,7 +2576,7 @@ const Pe = X(null), de = () => {
|
|
|
2574
2576
|
if (!e)
|
|
2575
2577
|
throw new Error("useCarousel must be used within a CarouselProvider");
|
|
2576
2578
|
return e;
|
|
2577
|
-
},
|
|
2579
|
+
}, er = () => {
|
|
2578
2580
|
const [e, r] = M(0), [t, o] = M(0), [n, s] = M(!1), a = ie(null), i = ie(null);
|
|
2579
2581
|
K(() => {
|
|
2580
2582
|
if (a.current) {
|
|
@@ -2582,21 +2584,21 @@ const Pe = X(null), de = () => {
|
|
|
2582
2584
|
o(f);
|
|
2583
2585
|
}
|
|
2584
2586
|
}, []);
|
|
2585
|
-
const d =
|
|
2587
|
+
const d = U((g) => {
|
|
2586
2588
|
if (!a.current) return;
|
|
2587
2589
|
const f = a.current, L = f.clientWidth;
|
|
2588
2590
|
f.scrollTo({
|
|
2589
2591
|
left: L * g,
|
|
2590
2592
|
behavior: "smooth"
|
|
2591
2593
|
}), r(g);
|
|
2592
|
-
}, []), u =
|
|
2594
|
+
}, []), u = U(() => {
|
|
2593
2595
|
if (n || t === 0) return;
|
|
2594
2596
|
const g = e >= t - 1 ? 0 : e + 1;
|
|
2595
2597
|
d(g);
|
|
2596
|
-
}, [d, n, e, t]), m =
|
|
2598
|
+
}, [d, n, e, t]), m = U(() => {
|
|
2597
2599
|
const g = t - 1, f = Math.min(e + 1, g);
|
|
2598
2600
|
d(f);
|
|
2599
|
-
}, [e, t, d]), h =
|
|
2601
|
+
}, [e, t, d]), h = U(() => {
|
|
2600
2602
|
const g = Math.max(0, e - 1);
|
|
2601
2603
|
d(g);
|
|
2602
2604
|
}, [e, d]);
|
|
@@ -2619,8 +2621,8 @@ const Pe = X(null), de = () => {
|
|
|
2619
2621
|
handleMouseLeave: N
|
|
2620
2622
|
};
|
|
2621
2623
|
};
|
|
2622
|
-
function
|
|
2623
|
-
const t =
|
|
2624
|
+
function jr({ className: e = "", children: r }) {
|
|
2625
|
+
const t = er();
|
|
2624
2626
|
return /* @__PURE__ */ l(Pe.Provider, { value: t, children: /* @__PURE__ */ C(
|
|
2625
2627
|
"div",
|
|
2626
2628
|
{
|
|
@@ -2631,13 +2633,13 @@ function Tr({ className: e = "", children: r }) {
|
|
|
2631
2633
|
"aria-roledescription": "carousel",
|
|
2632
2634
|
children: [
|
|
2633
2635
|
r,
|
|
2634
|
-
/* @__PURE__ */ l(
|
|
2635
|
-
/* @__PURE__ */ l(
|
|
2636
|
+
/* @__PURE__ */ l(tr, {}),
|
|
2637
|
+
/* @__PURE__ */ l(rr, {})
|
|
2636
2638
|
]
|
|
2637
2639
|
}
|
|
2638
2640
|
) });
|
|
2639
2641
|
}
|
|
2640
|
-
function
|
|
2642
|
+
function Vr({ children: e, className: r = "" }) {
|
|
2641
2643
|
const { scrollContainerRef: t } = de();
|
|
2642
2644
|
return /* @__PURE__ */ l(
|
|
2643
2645
|
"div",
|
|
@@ -2651,10 +2653,10 @@ function jr({ children: e, className: r = "" }) {
|
|
|
2651
2653
|
}
|
|
2652
2654
|
);
|
|
2653
2655
|
}
|
|
2654
|
-
function
|
|
2656
|
+
function Rr({ children: e, className: r = "" }) {
|
|
2655
2657
|
return /* @__PURE__ */ l("div", { className: y("w-full min-w-full flex-shrink-0", r), children: e });
|
|
2656
2658
|
}
|
|
2657
|
-
function
|
|
2659
|
+
function tr() {
|
|
2658
2660
|
const { goToPrevious: e, canGoNext: r, canGoPrevious: t } = de();
|
|
2659
2661
|
return r || t ? /* @__PURE__ */ l(
|
|
2660
2662
|
"button",
|
|
@@ -2667,7 +2669,7 @@ function Qt() {
|
|
|
2667
2669
|
}
|
|
2668
2670
|
) : null;
|
|
2669
2671
|
}
|
|
2670
|
-
function
|
|
2672
|
+
function rr() {
|
|
2671
2673
|
const { goToNext: e, canGoNext: r, canGoPrevious: t } = de();
|
|
2672
2674
|
return r || t ? /* @__PURE__ */ l(
|
|
2673
2675
|
"button",
|
|
@@ -2698,18 +2700,18 @@ function Or({
|
|
|
2698
2700
|
}
|
|
2699
2701
|
);
|
|
2700
2702
|
}
|
|
2701
|
-
const
|
|
2703
|
+
const or = {
|
|
2702
2704
|
row: "flex-row",
|
|
2703
2705
|
"row-reverse": "flex-row-reverse",
|
|
2704
2706
|
col: "flex-col",
|
|
2705
2707
|
"col-reverse": "flex-col-reverse"
|
|
2706
|
-
},
|
|
2708
|
+
}, nr = {
|
|
2707
2709
|
start: "items-start",
|
|
2708
2710
|
end: "items-end",
|
|
2709
2711
|
center: "items-center",
|
|
2710
2712
|
baseline: "items-baseline",
|
|
2711
2713
|
stretch: "items-stretch"
|
|
2712
|
-
},
|
|
2714
|
+
}, sr = {
|
|
2713
2715
|
start: "justify-start",
|
|
2714
2716
|
end: "justify-end",
|
|
2715
2717
|
center: "justify-center",
|
|
@@ -2718,7 +2720,7 @@ const tr = {
|
|
|
2718
2720
|
evenly: "justify-evenly",
|
|
2719
2721
|
stretch: "justify-stretch",
|
|
2720
2722
|
baseline: "justify-baseline"
|
|
2721
|
-
},
|
|
2723
|
+
}, ir = {
|
|
2722
2724
|
nowrap: "flex-nowrap",
|
|
2723
2725
|
wrap: "flex-wrap",
|
|
2724
2726
|
"wrap-reverse": "flex-wrap-reverse"
|
|
@@ -2739,10 +2741,10 @@ function P({
|
|
|
2739
2741
|
{
|
|
2740
2742
|
className: y(
|
|
2741
2743
|
"flex",
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2744
|
+
or[r],
|
|
2745
|
+
nr[t],
|
|
2746
|
+
sr[o],
|
|
2747
|
+
ir[n],
|
|
2746
2748
|
`gap-${s}`,
|
|
2747
2749
|
a
|
|
2748
2750
|
),
|
|
@@ -2751,7 +2753,7 @@ function P({
|
|
|
2751
2753
|
}
|
|
2752
2754
|
);
|
|
2753
2755
|
}
|
|
2754
|
-
function
|
|
2756
|
+
function Pr({ left: e, right: r }) {
|
|
2755
2757
|
return /* @__PURE__ */ C(P, { dir: "row", justifyContent: "between", alignItems: "center", className: "w-full gap-2 md:gap-4", children: [
|
|
2756
2758
|
/* @__PURE__ */ l("div", { className: "flex-1", children: e }),
|
|
2757
2759
|
/* @__PURE__ */ l("div", { className: "flex-1", children: r })
|
|
@@ -2771,7 +2773,7 @@ const se = {
|
|
|
2771
2773
|
exit: { x: "100%" },
|
|
2772
2774
|
transition: { type: "spring", damping: 30, stiffness: 260 }
|
|
2773
2775
|
};
|
|
2774
|
-
function
|
|
2776
|
+
function Wr({ isOpen: e, onClose: r, children: t }) {
|
|
2775
2777
|
return /* @__PURE__ */ C(ue, { isOpen: e, children: [
|
|
2776
2778
|
/* @__PURE__ */ l(
|
|
2777
2779
|
T.div,
|
|
@@ -2796,7 +2798,7 @@ function Vr({ isOpen: e, onClose: r, children: t }) {
|
|
|
2796
2798
|
) })
|
|
2797
2799
|
] });
|
|
2798
2800
|
}
|
|
2799
|
-
const
|
|
2801
|
+
const ar = Q("whitespace-pre-wrap", {
|
|
2800
2802
|
variants: {
|
|
2801
2803
|
type: {
|
|
2802
2804
|
Title1: "md:text-4xl text-2xl",
|
|
@@ -2819,29 +2821,29 @@ const sr = Q("whitespace-pre-wrap", {
|
|
|
2819
2821
|
weight: "semibold"
|
|
2820
2822
|
}
|
|
2821
2823
|
});
|
|
2822
|
-
function
|
|
2824
|
+
function lr({
|
|
2823
2825
|
as: e,
|
|
2824
2826
|
weight: r,
|
|
2825
2827
|
className: t,
|
|
2826
2828
|
children: o,
|
|
2827
2829
|
...n
|
|
2828
2830
|
}) {
|
|
2829
|
-
return
|
|
2831
|
+
return $e(
|
|
2830
2832
|
e || "p",
|
|
2831
2833
|
{
|
|
2832
|
-
className: y(
|
|
2834
|
+
className: y(ar({ type: n.variant, weight: r }), t),
|
|
2833
2835
|
...n
|
|
2834
2836
|
},
|
|
2835
2837
|
o
|
|
2836
2838
|
);
|
|
2837
2839
|
}
|
|
2838
|
-
const
|
|
2840
|
+
const j = (e) => {
|
|
2839
2841
|
function r(t) {
|
|
2840
|
-
return /* @__PURE__ */ l(
|
|
2842
|
+
return /* @__PURE__ */ l(lr, { variant: e, ...t });
|
|
2841
2843
|
}
|
|
2842
2844
|
return r;
|
|
2843
|
-
},
|
|
2844
|
-
function
|
|
2845
|
+
}, cr = j("Title1"), Gr = j("Title2"), dr = j("Title3"), Hr = j("Body1"), Fr = j("Body2"), ur = j("Body3"), We = j("Caption1");
|
|
2846
|
+
function _r({ id: e, mode: r, ...t }) {
|
|
2845
2847
|
const o = le(), n = e || o;
|
|
2846
2848
|
return /* @__PURE__ */ C(
|
|
2847
2849
|
"label",
|
|
@@ -2851,7 +2853,7 @@ function Fr({ id: e, mode: r, ...t }) {
|
|
|
2851
2853
|
children: [
|
|
2852
2854
|
/* @__PURE__ */ C(P, { alignItems: "center", children: [
|
|
2853
2855
|
/* @__PURE__ */ l(E, { name: "file", size: 25, color: "gray" }),
|
|
2854
|
-
/* @__PURE__ */ l(
|
|
2856
|
+
/* @__PURE__ */ l(ur, { className: "text-gray-400", weight: "medium", children: t.placeholder || (r === "single" ? "파일을 업로드해주세요" : "파일 여러개를 선택해주세요") })
|
|
2855
2857
|
] }),
|
|
2856
2858
|
/* @__PURE__ */ l(
|
|
2857
2859
|
"input",
|
|
@@ -2868,7 +2870,7 @@ function Fr({ id: e, mode: r, ...t }) {
|
|
|
2868
2870
|
}
|
|
2869
2871
|
);
|
|
2870
2872
|
}
|
|
2871
|
-
const
|
|
2873
|
+
const pr = {
|
|
2872
2874
|
primary: "hover:bg-primary-400/20",
|
|
2873
2875
|
gray: "hover:bg-gray-400/20",
|
|
2874
2876
|
red: "hover:bg-red-400/20",
|
|
@@ -2876,7 +2878,7 @@ const dr = {
|
|
|
2876
2878
|
black: "hover:bg-black/20",
|
|
2877
2879
|
white: "hover:bg-white/20"
|
|
2878
2880
|
};
|
|
2879
|
-
function
|
|
2881
|
+
function gr({
|
|
2880
2882
|
iconName: e,
|
|
2881
2883
|
color: r = "gray",
|
|
2882
2884
|
size: t,
|
|
@@ -2887,13 +2889,13 @@ function ur({
|
|
|
2887
2889
|
"button",
|
|
2888
2890
|
{
|
|
2889
2891
|
type: "button",
|
|
2890
|
-
className: y("cursor-pointer rounded-md p-1 transition",
|
|
2892
|
+
className: y("cursor-pointer rounded-md p-1 transition", pr[r], o),
|
|
2891
2893
|
...n,
|
|
2892
2894
|
children: /* @__PURE__ */ l(E, { name: e, color: r, size: t })
|
|
2893
2895
|
}
|
|
2894
2896
|
);
|
|
2895
2897
|
}
|
|
2896
|
-
function
|
|
2898
|
+
function Zr({ value: e, onClickReset: r, ...t }) {
|
|
2897
2899
|
return /* @__PURE__ */ C(P, { gap: 8, alignItems: "center", className: "relative w-full", children: [
|
|
2898
2900
|
/* @__PURE__ */ l(
|
|
2899
2901
|
"input",
|
|
@@ -2904,7 +2906,7 @@ function Hr({ value: e, onClickReset: r, ...t }) {
|
|
|
2904
2906
|
}
|
|
2905
2907
|
),
|
|
2906
2908
|
e && /* @__PURE__ */ l(
|
|
2907
|
-
|
|
2909
|
+
gr,
|
|
2908
2910
|
{
|
|
2909
2911
|
title: "입력값 지우기",
|
|
2910
2912
|
"aria-label": "입력값 지우기",
|
|
@@ -2923,7 +2925,7 @@ const J = {
|
|
|
2923
2925
|
exit: { opacity: 0 },
|
|
2924
2926
|
transition: { duration: 0.3 }
|
|
2925
2927
|
};
|
|
2926
|
-
function
|
|
2928
|
+
function $r({ isOpen: e, closeModal: r, children: t, className: o }) {
|
|
2927
2929
|
const n = (s) => {
|
|
2928
2930
|
s.target instanceof HTMLElement && s.target === s.currentTarget && r && r();
|
|
2929
2931
|
};
|
|
@@ -2937,12 +2939,12 @@ function _r({ isOpen: e, closeModal: r, children: t, className: o }) {
|
|
|
2937
2939
|
className: y("fixed inset-0 z-30 flex w-full items-center justify-center", o),
|
|
2938
2940
|
children: [
|
|
2939
2941
|
/* @__PURE__ */ l("div", { className: "absolute inset-0 bg-black/50", onClick: n }),
|
|
2940
|
-
/* @__PURE__ */ l(
|
|
2942
|
+
/* @__PURE__ */ l(mr, { children: t })
|
|
2941
2943
|
]
|
|
2942
2944
|
}
|
|
2943
2945
|
) });
|
|
2944
2946
|
}
|
|
2945
|
-
function
|
|
2947
|
+
function mr({ children: e }) {
|
|
2946
2948
|
return /* @__PURE__ */ l(
|
|
2947
2949
|
P,
|
|
2948
2950
|
{
|
|
@@ -2955,7 +2957,7 @@ function pr({ children: e }) {
|
|
|
2955
2957
|
}
|
|
2956
2958
|
);
|
|
2957
2959
|
}
|
|
2958
|
-
function
|
|
2960
|
+
function Ur({ title: e, size: r, onClick: t }) {
|
|
2959
2961
|
return /* @__PURE__ */ l(
|
|
2960
2962
|
"button",
|
|
2961
2963
|
{
|
|
@@ -2969,15 +2971,15 @@ function $r({ title: e, size: r, onClick: t }) {
|
|
|
2969
2971
|
},
|
|
2970
2972
|
children: r === "sm" ? /* @__PURE__ */ C(ve, { children: [
|
|
2971
2973
|
/* @__PURE__ */ l(E, { name: "arrowLeft", className: "w-4 md:w-6" }),
|
|
2972
|
-
/* @__PURE__ */ l(
|
|
2974
|
+
/* @__PURE__ */ l(dr, { className: "whitespace-nowrap text-gray-500", children: e })
|
|
2973
2975
|
] }) : /* @__PURE__ */ C(ve, { children: [
|
|
2974
2976
|
/* @__PURE__ */ l(E, { name: "navbarArrow", className: "w-6 md:w-8" }),
|
|
2975
|
-
/* @__PURE__ */ l(
|
|
2977
|
+
/* @__PURE__ */ l(cr, { className: "whitespace-nowrap text-gray-500", children: e })
|
|
2976
2978
|
] })
|
|
2977
2979
|
}
|
|
2978
2980
|
);
|
|
2979
2981
|
}
|
|
2980
|
-
function
|
|
2982
|
+
function hr({ className: e, ...r }) {
|
|
2981
2983
|
return /* @__PURE__ */ l(
|
|
2982
2984
|
"nav",
|
|
2983
2985
|
{
|
|
@@ -2988,7 +2990,7 @@ function gr({ className: e, ...r }) {
|
|
|
2988
2990
|
}
|
|
2989
2991
|
);
|
|
2990
2992
|
}
|
|
2991
|
-
function
|
|
2993
|
+
function fr({ page: e, isActive: r, onClick: t }) {
|
|
2992
2994
|
return /* @__PURE__ */ l(
|
|
2993
2995
|
"button",
|
|
2994
2996
|
{
|
|
@@ -2998,13 +3000,13 @@ function mr({ page: e, isActive: r, onClick: t }) {
|
|
|
2998
3000
|
}
|
|
2999
3001
|
);
|
|
3000
3002
|
}
|
|
3001
|
-
function
|
|
3003
|
+
function Dr({ currentPage: e, totalPages: r, onPageChange: t, className: o = "" }) {
|
|
3002
3004
|
const n = () => {
|
|
3003
3005
|
e > 1 && t(e - 1);
|
|
3004
3006
|
}, s = () => {
|
|
3005
3007
|
e < r && t(e + 1);
|
|
3006
3008
|
};
|
|
3007
|
-
return /* @__PURE__ */ C(
|
|
3009
|
+
return /* @__PURE__ */ C(hr, { className: o, children: [
|
|
3008
3010
|
r >= 3 && e > 1 && /* @__PURE__ */ l(
|
|
3009
3011
|
E,
|
|
3010
3012
|
{
|
|
@@ -3015,7 +3017,7 @@ function Zr({ currentPage: e, totalPages: r, onPageChange: t, className: o = ""
|
|
|
3015
3017
|
}
|
|
3016
3018
|
),
|
|
3017
3019
|
Array.from({ length: r }, (a, i) => /* @__PURE__ */ l(
|
|
3018
|
-
|
|
3020
|
+
fr,
|
|
3019
3021
|
{
|
|
3020
3022
|
page: i + 1,
|
|
3021
3023
|
isActive: i + 1 === e,
|
|
@@ -3034,11 +3036,11 @@ function Zr({ currentPage: e, totalPages: r, onPageChange: t, className: o = ""
|
|
|
3034
3036
|
)
|
|
3035
3037
|
] });
|
|
3036
3038
|
}
|
|
3037
|
-
const
|
|
3038
|
-
const e = Y(
|
|
3039
|
+
const Ge = X(null), He = () => {
|
|
3040
|
+
const e = Y(Ge);
|
|
3039
3041
|
if (!e) throw new Error("error");
|
|
3040
3042
|
return e;
|
|
3041
|
-
},
|
|
3043
|
+
}, br = Q(
|
|
3042
3044
|
"font-semibold text- cursor-pointer first:rounded-t-md last:rounded-b-md hover:bg-gray-100",
|
|
3043
3045
|
{
|
|
3044
3046
|
variants: {
|
|
@@ -3052,8 +3054,8 @@ const We = X(null), Fe = () => {
|
|
|
3052
3054
|
}
|
|
3053
3055
|
}
|
|
3054
3056
|
);
|
|
3055
|
-
function
|
|
3056
|
-
const { onSelect: o, size: n, selected: s } =
|
|
3057
|
+
function Fe({ name: e, size: r, className: t }) {
|
|
3058
|
+
const { onSelect: o, size: n, selected: s } = He();
|
|
3057
3059
|
return /* @__PURE__ */ l(
|
|
3058
3060
|
"div",
|
|
3059
3061
|
{
|
|
@@ -3064,15 +3066,15 @@ function He({ name: e, size: r, className: t }) {
|
|
|
3064
3066
|
onKeyDown: (a) => {
|
|
3065
3067
|
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), o(e));
|
|
3066
3068
|
},
|
|
3067
|
-
className: y(
|
|
3069
|
+
className: y(br({ size: r || n }), t),
|
|
3068
3070
|
children: e
|
|
3069
3071
|
}
|
|
3070
3072
|
);
|
|
3071
3073
|
}
|
|
3072
|
-
function
|
|
3074
|
+
function wr({ name: e }) {
|
|
3073
3075
|
return /* @__PURE__ */ l("div", { className: "border-b-2 border-gray-100 px-4 py-3.5 text-lg text-gray-300", children: e });
|
|
3074
3076
|
}
|
|
3075
|
-
const
|
|
3077
|
+
const xr = Q(
|
|
3076
3078
|
"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",
|
|
3077
3079
|
{
|
|
3078
3080
|
variants: {
|
|
@@ -3087,10 +3089,10 @@ const br = Q(
|
|
|
3087
3089
|
}
|
|
3088
3090
|
);
|
|
3089
3091
|
function pe({ children: e, size: r }) {
|
|
3090
|
-
const { size: t } =
|
|
3091
|
-
return /* @__PURE__ */ l("div", { className: y(
|
|
3092
|
+
const { size: t } = He();
|
|
3093
|
+
return /* @__PURE__ */ l("div", { className: y(xr({ size: r || t })), children: e });
|
|
3092
3094
|
}
|
|
3093
|
-
const
|
|
3095
|
+
const yr = {
|
|
3094
3096
|
md: "px-3 py-1 text-sm min-w-24",
|
|
3095
3097
|
lg: "px-4 py-3.5 min-w-64 text-lg"
|
|
3096
3098
|
};
|
|
@@ -3101,7 +3103,7 @@ function ge({ selected: e, onClick: r, isOpen: t, size: o = "lg" }) {
|
|
|
3101
3103
|
alignItems: "center",
|
|
3102
3104
|
onClick: r,
|
|
3103
3105
|
className: y(
|
|
3104
|
-
|
|
3106
|
+
yr[o],
|
|
3105
3107
|
"w-full rounded-lg border border-gray-200 bg-white font-semibold text-gray-400"
|
|
3106
3108
|
),
|
|
3107
3109
|
children: /* @__PURE__ */ C(
|
|
@@ -3136,7 +3138,7 @@ function _e({ value: e, onChange: r, size: t = "lg", defaultValue: o, children:
|
|
|
3136
3138
|
a(!1), r == null || r(d);
|
|
3137
3139
|
};
|
|
3138
3140
|
return /* @__PURE__ */ l(
|
|
3139
|
-
|
|
3141
|
+
Ge.Provider,
|
|
3140
3142
|
{
|
|
3141
3143
|
value: {
|
|
3142
3144
|
selected: e,
|
|
@@ -3158,20 +3160,20 @@ function _e({ value: e, onChange: r, size: t = "lg", defaultValue: o, children:
|
|
|
3158
3160
|
}
|
|
3159
3161
|
);
|
|
3160
3162
|
}
|
|
3161
|
-
const
|
|
3162
|
-
Option:
|
|
3163
|
+
const qr = Object.assign(_e, {
|
|
3164
|
+
Option: Fe,
|
|
3163
3165
|
Button: ge,
|
|
3164
3166
|
List: pe
|
|
3165
|
-
}),
|
|
3166
|
-
Option:
|
|
3167
|
+
}), Jr = Object.assign(_e, {
|
|
3168
|
+
Option: Fe,
|
|
3167
3169
|
Select: ge,
|
|
3168
3170
|
List: pe,
|
|
3169
|
-
Group:
|
|
3171
|
+
Group: wr
|
|
3170
3172
|
});
|
|
3171
|
-
function
|
|
3173
|
+
function Kr({ className: e, ...r }) {
|
|
3172
3174
|
return /* @__PURE__ */ l("div", { className: y("w-full animate-pulse rounded-md bg-gray-200", e), ...r });
|
|
3173
3175
|
}
|
|
3174
|
-
function
|
|
3176
|
+
function Xr({ color: e = "primary", ...r }) {
|
|
3175
3177
|
return /* @__PURE__ */ l(
|
|
3176
3178
|
Ce.Root,
|
|
3177
3179
|
{
|
|
@@ -3182,13 +3184,13 @@ function Jr({ color: e = "primary", ...r }) {
|
|
|
3182
3184
|
}
|
|
3183
3185
|
);
|
|
3184
3186
|
}
|
|
3185
|
-
const
|
|
3186
|
-
function
|
|
3187
|
-
const o =
|
|
3188
|
-
() =>
|
|
3187
|
+
const Ze = X(void 0);
|
|
3188
|
+
function Yr({ children: e, defaultIndex: r = 0, ...t }) {
|
|
3189
|
+
const o = Ue(
|
|
3190
|
+
() => De.toArray(e).filter((a) => qe(a)).map((a) => a.props.label),
|
|
3189
3191
|
[e]
|
|
3190
3192
|
), [n, s] = M(o[r]);
|
|
3191
|
-
return /* @__PURE__ */ l(
|
|
3193
|
+
return /* @__PURE__ */ l(Ze.Provider, { value: { activeLabel: n }, children: /* @__PURE__ */ C("div", { ...t, children: [
|
|
3192
3194
|
/* @__PURE__ */ l("nav", { className: "flex w-full", children: o.map((a) => /* @__PURE__ */ C(
|
|
3193
3195
|
T.button,
|
|
3194
3196
|
{
|
|
@@ -3211,11 +3213,11 @@ function Kr({ children: e, defaultIndex: r = 0, ...t }) {
|
|
|
3211
3213
|
e
|
|
3212
3214
|
] }) });
|
|
3213
3215
|
}
|
|
3214
|
-
function
|
|
3215
|
-
const o = Y(
|
|
3216
|
+
function Qr({ label: e, children: r, ...t }) {
|
|
3217
|
+
const o = Y(Ze), n = (o == null ? void 0 : o.activeLabel) === e;
|
|
3216
3218
|
return /* @__PURE__ */ l("div", { className: `${!n && "hidden"}`, ...t, children: r });
|
|
3217
3219
|
}
|
|
3218
|
-
function
|
|
3220
|
+
function eo({
|
|
3219
3221
|
value: e,
|
|
3220
3222
|
rows: r = 3,
|
|
3221
3223
|
showCounter: t = !1,
|
|
@@ -3234,14 +3236,14 @@ function Yr({
|
|
|
3234
3236
|
...n
|
|
3235
3237
|
}
|
|
3236
3238
|
),
|
|
3237
|
-
t && n.maxLength && /* @__PURE__ */ C(
|
|
3239
|
+
t && n.maxLength && /* @__PURE__ */ C(We, { weight: "normal", className: "text-right text-gray-500", children: [
|
|
3238
3240
|
e.length ?? 0,
|
|
3239
3241
|
"/",
|
|
3240
3242
|
n.maxLength
|
|
3241
3243
|
] })
|
|
3242
3244
|
] });
|
|
3243
3245
|
}
|
|
3244
|
-
const
|
|
3246
|
+
const vr = {
|
|
3245
3247
|
SPRING: {
|
|
3246
3248
|
initial: { opacity: 0, scale: 0.6, y: 15 },
|
|
3247
3249
|
animate: {
|
|
@@ -3296,7 +3298,7 @@ const xr = {
|
|
|
3296
3298
|
transition: { duration: 0.15, ease: "easeIn" }
|
|
3297
3299
|
}
|
|
3298
3300
|
}
|
|
3299
|
-
},
|
|
3301
|
+
}, Cr = {
|
|
3300
3302
|
primary: {
|
|
3301
3303
|
bg: "bg-primary-300",
|
|
3302
3304
|
text: "text-white"
|
|
@@ -3333,7 +3335,7 @@ const xr = {
|
|
|
3333
3335
|
bg: "bg-black",
|
|
3334
3336
|
text: "text-white"
|
|
3335
3337
|
}
|
|
3336
|
-
},
|
|
3338
|
+
}, kr = () => {
|
|
3337
3339
|
const [e, r] = M(!1), [t, o] = M(null), n = ie(null), s = () => r(!0), a = () => r(!1);
|
|
3338
3340
|
return K(() => {
|
|
3339
3341
|
if (n.current && e) {
|
|
@@ -3348,13 +3350,13 @@ const xr = {
|
|
|
3348
3350
|
position: t
|
|
3349
3351
|
};
|
|
3350
3352
|
};
|
|
3351
|
-
function
|
|
3353
|
+
function to({
|
|
3352
3354
|
content: e,
|
|
3353
3355
|
color: r = "gray",
|
|
3354
3356
|
animationMode: t = "SPRING",
|
|
3355
3357
|
children: o
|
|
3356
3358
|
}) {
|
|
3357
|
-
const n = le(), { open: s, ref: a, show: i, hide: d, position: u } =
|
|
3359
|
+
const n = le(), { open: s, ref: a, show: i, hide: d, position: u } = kr(), m = Cr[r], h = vr[t];
|
|
3358
3360
|
return /* @__PURE__ */ C(
|
|
3359
3361
|
"div",
|
|
3360
3362
|
{
|
|
@@ -3385,14 +3387,14 @@ function Qr({
|
|
|
3385
3387
|
top: u == null ? void 0 : u.top,
|
|
3386
3388
|
left: u == null ? void 0 : u.left
|
|
3387
3389
|
},
|
|
3388
|
-
children: /* @__PURE__ */ l(
|
|
3390
|
+
children: /* @__PURE__ */ l(We, { weight: "medium", className: m.text, children: e })
|
|
3389
3391
|
}
|
|
3390
3392
|
) })
|
|
3391
3393
|
]
|
|
3392
3394
|
}
|
|
3393
3395
|
);
|
|
3394
3396
|
}
|
|
3395
|
-
const
|
|
3397
|
+
const ro = () => {
|
|
3396
3398
|
const [e, r] = M(!1);
|
|
3397
3399
|
return {
|
|
3398
3400
|
isOpen: e,
|
|
@@ -3401,45 +3403,45 @@ const eo = () => {
|
|
|
3401
3403
|
};
|
|
3402
3404
|
};
|
|
3403
3405
|
export {
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3406
|
+
Sr as Accordion,
|
|
3407
|
+
zr as AccordionItem,
|
|
3408
|
+
Ar as Avatar,
|
|
3409
|
+
Tr as Badge,
|
|
3410
|
+
Hr as Body1,
|
|
3411
|
+
Fr as Body2,
|
|
3412
|
+
ur as Body3,
|
|
3413
|
+
Br as Button,
|
|
3414
|
+
We as Caption1,
|
|
3413
3415
|
Or as Card,
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3416
|
+
jr as Carousel,
|
|
3417
|
+
Vr as CarouselContent,
|
|
3418
|
+
Rr as CarouselItem,
|
|
3419
|
+
Pr as DoubleButton,
|
|
3420
|
+
Wr as Drawer,
|
|
3421
|
+
_r as FileUpload,
|
|
3420
3422
|
P as Flex,
|
|
3421
|
-
|
|
3423
|
+
Jr as GroupingSelect,
|
|
3422
3424
|
E as Icon,
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3425
|
+
gr as IconButton,
|
|
3426
|
+
Oe as Icons,
|
|
3427
|
+
Zr as Input,
|
|
3428
|
+
$r as Modal,
|
|
3429
|
+
Ur as NavBack,
|
|
3430
|
+
Dr as Pagination,
|
|
3429
3431
|
ue as Portal,
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3432
|
+
qr as Select,
|
|
3433
|
+
Kr as Skeleton,
|
|
3434
|
+
Xr as Switch,
|
|
3435
|
+
Qr as TabItem,
|
|
3436
|
+
Yr as Tabs,
|
|
3437
|
+
eo as TextArea,
|
|
3438
|
+
cr as Title1,
|
|
3439
|
+
Gr as Title2,
|
|
3440
|
+
dr as Title3,
|
|
3441
|
+
to as Tooltip,
|
|
3440
3442
|
y as cn,
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3443
|
+
V as colors,
|
|
3444
|
+
Ir as iconNames,
|
|
3445
|
+
ro as usePortal
|
|
3444
3446
|
};
|
|
3445
3447
|
//# sourceMappingURL=ddingdong-design-system.es.js.map
|