@iamfiro/design 0.1.0 → 0.3.1

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.
Files changed (160) hide show
  1. package/AGENTS.md +1 -0
  2. package/agents/INDEX.md +1 -0
  3. package/agents/brand-icon/AGENTS.md +2 -2
  4. package/agents/social-login-button/AGENTS.md +156 -0
  5. package/lib/components/Accordion/Accordion2.js +135 -0
  6. package/lib/components/ActionBar/ActionBar2.js +66 -0
  7. package/lib/components/Alert/Alert2.js +131 -0
  8. package/lib/components/AppShell/AppShell2.js +94 -0
  9. package/lib/components/AreaChart/AreaChart.js +59 -0
  10. package/lib/components/BarChart/BarChart2.js +243 -0
  11. package/lib/components/BarList/BarList2.js +172 -0
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +90 -0
  13. package/lib/components/Calendar/Calendar2.js +309 -0
  14. package/lib/components/Calendar/DatePicker2.js +228 -0
  15. package/lib/components/Calendar/date.js +118 -0
  16. package/lib/components/Card/Card2.js +103 -0
  17. package/lib/components/CardFrame/CardFrame2.js +67 -0
  18. package/lib/components/Chart/ChartParts.js +150 -0
  19. package/lib/components/Chart/chart2.js +96 -0
  20. package/lib/components/Chart/useChartInteraction.js +94 -0
  21. package/lib/components/ChatBubble/ChatBubble2.js +174 -0
  22. package/lib/components/ChatBubble/formatChatTime.js +48 -0
  23. package/lib/components/ChatComposer/ChatComposer2.js +153 -0
  24. package/lib/components/CodeBlock/CodeBlock2.js +93 -0
  25. package/lib/components/CodeBlock/highlight.js +111 -0
  26. package/lib/components/ColorPicker/ColorPicker2.js +609 -0
  27. package/lib/components/ColorPicker/color.js +180 -0
  28. package/lib/components/ColorPicker/presets.js +70 -0
  29. package/lib/components/Combobox/Combobox2.js +228 -0
  30. package/lib/components/CommandMenu/CommandMenu.js +267 -0
  31. package/lib/components/Comment/Comment2.js +110 -0
  32. package/lib/components/ContextMenu/ContextMenu2.js +168 -0
  33. package/lib/components/DataGrid/DataGrid2.js +1998 -0
  34. package/lib/components/DataGrid/GridPopover.js +154 -0
  35. package/lib/components/DataGrid/anchor.js +50 -0
  36. package/lib/components/DataGrid/model.js +557 -0
  37. package/lib/components/DataGrid/panels.js +701 -0
  38. package/lib/components/DataGrid/typeMeta.js +75 -0
  39. package/lib/components/DataGrid/types.js +53 -0
  40. package/lib/components/DescriptionList/DescriptionList2.js +180 -0
  41. package/lib/components/Dialog/AlertDialog.js +119 -0
  42. package/lib/components/Dialog/Dialog2.js +110 -0
  43. package/lib/components/Dialog/modal.js +92 -0
  44. package/lib/components/Drawer/Drawer2.js +244 -0
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +393 -0
  46. package/lib/components/DropdownMenu/menuCore.js +63 -0
  47. package/lib/components/Dropzone/Dropzone2.js +145 -0
  48. package/lib/components/EmptyState/EmptyState2.js +70 -0
  49. package/lib/components/FileChip/FileChip2.js +94 -0
  50. package/lib/components/FileUpload/FileUpload.js +259 -0
  51. package/lib/components/FilterChips/FilterChips2.js +101 -0
  52. package/lib/components/FunnelChart/FunnelChart2.js +283 -0
  53. package/lib/components/FunnelChart/funnel.js +72 -0
  54. package/lib/components/Highlight/Highlight2.js +100 -0
  55. package/lib/components/HoverCard/HoverCard.js +134 -0
  56. package/lib/components/InlineDiff/InlineDiff2.js +215 -0
  57. package/lib/components/InlineDiff/diff.js +126 -0
  58. package/lib/components/InlineDiff/useDiffReview.js +110 -0
  59. package/lib/components/Kanban/Kanban2.js +691 -0
  60. package/lib/components/Kanban/KanbanCard.js +159 -0
  61. package/lib/components/Kanban/move.js +69 -0
  62. package/lib/components/LineChart/LineChart2.js +342 -0
  63. package/lib/components/List/List2.js +132 -0
  64. package/lib/components/Listbox/Listbox2.js +163 -0
  65. package/lib/components/Marker/Marker2.js +82 -0
  66. package/lib/components/Menubar/Menubar2.js +222 -0
  67. package/lib/components/MultiSelect/MultiSelect2.js +204 -0
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +481 -0
  69. package/lib/components/NoticeStack/NoticeStack2.js +178 -0
  70. package/lib/components/NumberStepper/NumberStepper2.js +128 -0
  71. package/lib/components/OtpInput/OtpInput2.js +122 -0
  72. package/lib/components/Pagination/Pagination2.js +210 -0
  73. package/lib/components/Pagination/paginationRange.js +52 -0
  74. package/lib/components/PhoneInput/PhoneInput.js +175 -0
  75. package/lib/components/PieChart/PieChart2.js +246 -0
  76. package/lib/components/PieChart/arc.js +90 -0
  77. package/lib/components/PieChart/useArcTween.js +92 -0
  78. package/lib/components/Popover/Popover2.js +111 -0
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +226 -0
  80. package/lib/components/Rating/Rating2.js +186 -0
  81. package/lib/components/Resizable/Resizable2.js +238 -0
  82. package/lib/components/Resizable/layout.js +115 -0
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +99 -0
  84. package/lib/components/ScatterChart/ScatterChart2.js +355 -0
  85. package/lib/components/ScatterChart/scatter.js +85 -0
  86. package/lib/components/ScrollArea/ScrollArea2.js +217 -0
  87. package/lib/components/Select/Select2.js +153 -0
  88. package/lib/components/Sidebar/Sidebar2.js +127 -0
  89. package/lib/components/Skeleton/Skeleton2.js +91 -0
  90. package/lib/components/Slider/Slider2.js +142 -0
  91. package/lib/components/SocialLoginButton/SocialLoginButton.js +84 -0
  92. package/lib/components/SparkChart/SparkChart2.js +217 -0
  93. package/lib/components/SparkChart/spark.js +71 -0
  94. package/lib/components/Sparkbar/Sparkbar2.js +111 -0
  95. package/lib/components/SplitView/SplitView2.js +95 -0
  96. package/lib/components/Stat/Stat2.js +164 -0
  97. package/lib/components/StepList/StepList2.js +131 -0
  98. package/lib/components/Table/Table2.js +104 -0
  99. package/lib/components/Tabs/Tabs2.js +131 -0
  100. package/lib/components/TagInput/TagInput2.js +357 -0
  101. package/lib/components/TimePicker/TimePicker2.js +388 -0
  102. package/lib/components/TimePicker/time.js +81 -0
  103. package/lib/components/Timeline/Timeline2.js +369 -0
  104. package/lib/components/Timeline/scale.js +81 -0
  105. package/lib/components/Toast/Toaster.js +213 -0
  106. package/lib/components/Toast/store.js +128 -0
  107. package/lib/components/ToggleGroup/ToggleGroup2.js +125 -0
  108. package/lib/components/Toolbar/Toolbar2.js +283 -0
  109. package/lib/components/Tracker/Tracker2.js +172 -0
  110. package/lib/components/TreeDiagram/TreeDiagram2.js +223 -0
  111. package/lib/components/TreeView/TreeView2.js +286 -0
  112. package/lib/hooks/timing.js +57 -0
  113. package/lib/hooks/useControllableState.js +49 -0
  114. package/lib/hooks/useCountdown.js +75 -0
  115. package/lib/hooks/useDigitInput.js +103 -0
  116. package/lib/hooks/useDismiss.js +69 -0
  117. package/lib/hooks/useElapsed.js +85 -0
  118. package/lib/hooks/useFloating.js +70 -0
  119. package/lib/hooks/useFocusTrap.js +85 -0
  120. package/lib/hooks/usePresence.js +58 -0
  121. package/lib/hooks/usePressToOpen.js +70 -0
  122. package/lib/hooks/useScrollLock.js +71 -0
  123. package/lib/hooks/useSelection.js +65 -0
  124. package/lib/index.js +176 -17911
  125. package/lib/primitives/AspectRatio2.js +76 -0
  126. package/lib/primitives/BrandIcon.js +245 -0
  127. package/lib/primitives/ColorDot2.js +71 -0
  128. package/lib/primitives/CopyButton2.js +86 -0
  129. package/lib/primitives/CountBadge2.js +80 -0
  130. package/lib/primitives/Countdown2.js +61 -0
  131. package/lib/primitives/Delta2.js +92 -0
  132. package/lib/primitives/Elapsed.js +62 -0
  133. package/lib/primitives/FileIcon2.js +125 -0
  134. package/lib/primitives/Flag2.js +263 -0
  135. package/lib/primitives/IconStack2.js +85 -0
  136. package/lib/primitives/IconTile2.js +69 -0
  137. package/lib/primitives/Kbd2.js +88 -0
  138. package/lib/primitives/Layout2.js +118 -0
  139. package/lib/primitives/Link2.js +55 -0
  140. package/lib/primitives/MaskedText2.js +121 -0
  141. package/lib/primitives/Progress2.js +137 -0
  142. package/lib/primitives/RelativeTime.js +82 -0
  143. package/lib/primitives/SearchInput2.js +85 -0
  144. package/lib/primitives/SelectorButton2.js +96 -0
  145. package/lib/primitives/Spinner2.js +94 -0
  146. package/lib/primitives/StatusIcon2.js +126 -0
  147. package/lib/primitives/Swatch2.js +79 -0
  148. package/lib/primitives/Tooltip2.js +132 -0
  149. package/lib/primitives/Typography2.js +97 -0
  150. package/lib/primitives/formatCountdown.js +54 -0
  151. package/lib/primitives/formatElapsed.js +63 -0
  152. package/lib/primitives/formatRelativeTime.js +64 -0
  153. package/lib/primitives/hotkey.js +94 -0
  154. package/lib/primitives/index.js +351 -0
  155. package/lib/primitives/maskValue.js +69 -0
  156. package/lib/style.css +1 -1
  157. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +10 -0
  158. package/lib/types/components/index.d.ts +2 -0
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/package.json +2 -1
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ (function(e, t) {
3
+ for (var n = a, r = e();;) try {
4
+ if (-parseInt(n(336)) / 1 + parseInt(n(337)) / 2 + parseInt(n(345)) / 3 + parseInt(n(340)) / 4 * (parseInt(n(344)) / 5) + parseInt(n(349)) / 6 * (parseInt(n(334)) / 7) + parseInt(n(341)) / 8 + -parseInt(n(342)) / 9 * (parseInt(n(353)) / 10) == t) break;
5
+ r.push(r.shift());
6
+ } catch {
7
+ r.push(r.shift());
8
+ }
9
+ })(i, 282751);
10
+ /* empty css */
11
+ import { forwardRef as e } from "react";
12
+ import { ChevronDown as t, ChevronRight as n, ChevronsUpDown as r } from "lucide-react";
13
+ function i() {
14
+ var e = [
15
+ "mJaXnxrVCKTzyG",
16
+ "mte2nJG1ovDeBw16tW",
17
+ "BM9Uzq",
18
+ "zhmTC2vSzwn0B3i",
19
+ "zhmTC2vSzwn0B3jFx2XHyMvS",
20
+ "ndCYnJjMvgjmrg0",
21
+ "zhmTC2vSzwn0B3iTlq",
22
+ "zhmTC2vSzwn0B3jFx3rLEhq",
23
+ "zhmTC2vSzwn0B3jFx2nOzxzYB24",
24
+ "mtbov0nuwM8",
25
+ "C3bHBG",
26
+ "zhmTC2vSzwn0B3jFx2XLywrPBMC",
27
+ "ndi3seHLuufL",
28
+ "yNv0Dg9U",
29
+ "ndq5mtKYyLLRqxrn",
30
+ "mJC3otK2tNr2zhDr",
31
+ "zMLSDgvY",
32
+ "AM9PBG",
33
+ "mtmWngH6wMTYBW",
34
+ "ndiYntqWme9Xu3zeta",
35
+ "odqYnduYmKr3B25iEa",
36
+ "zhmTC2vSzwn0B3iTlwjSB2nR"
37
+ ];
38
+ return i = function() {
39
+ return e;
40
+ }, i();
41
+ }
42
+ function a(e, t) {
43
+ e -= 334;
44
+ var n = i(), r = n[e];
45
+ a.ORgEWz === void 0 && (a.HbYVAA = function(e) {
46
+ for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
47
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
48
+ return decodeURIComponent(r);
49
+ }, a.xcNsVj = {}, a.ORgEWz = !0);
50
+ var o = n[0];
51
+ a.FjJKvu !== o && (a.xcNsVj = {}, a.FjJKvu = o);
52
+ var s = a.xcNsVj[e];
53
+ return s === void 0 ? (r = a.HbYVAA(r), a.xcNsVj[e] = r) : r = s, r;
54
+ }
55
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
56
+ var c = {
57
+ down: t,
58
+ updown: r,
59
+ right: n
60
+ }, l = e(function({ label: e, description: t, leading: n, chevron: r = "down", size: i = "md", block: l, className: u, type: d = "button", ...f }, p) {
61
+ var m = a;
62
+ let h = r === m(346) ? null : c[r];
63
+ return s(m(335), {
64
+ ref: p,
65
+ type: d,
66
+ className: [
67
+ m(347),
68
+ m(350) + i,
69
+ l && m(343),
70
+ u
71
+ ][m(338)](Boolean)[m(339)](" "),
72
+ ...f,
73
+ children: [
74
+ n && o(m(354), {
75
+ className: m(355),
76
+ children: n
77
+ }),
78
+ s(m(354), {
79
+ className: m(351),
80
+ children: [o(m(354), {
81
+ className: m(348),
82
+ children: e
83
+ }), t && o(m(354), {
84
+ className: "ds-selector__desc",
85
+ children: t
86
+ })]
87
+ }),
88
+ h && o(h, {
89
+ className: m(352),
90
+ "data-kind": r,
91
+ "aria-hidden": !0
92
+ })
93
+ ]
94
+ });
95
+ });
96
+ export { l as SelectorButton };
@@ -0,0 +1,94 @@
1
+ "use client";
2
+ function e() {
3
+ var t = [
4
+ "C3bHBG",
5
+ "Aw5OzxjPDa",
6
+ "mcaWidi0idi0",
7
+ "zhmTC3bPBM5LCL9FDhjHy2S",
8
+ "nJyYnJa1CgvLzeXh",
9
+ "zhmTC3bPBM5LCL9FyxjJ",
10
+ "BM9Uzq",
11
+ "nZq2nJK0y3f3uLP0",
12
+ "os41",
13
+ "C3rHDhvZ",
14
+ "mJuYmZaZmMTXDwTSsW",
15
+ "mtaW",
16
+ "ndKXmJG3nwfzzhjmzq",
17
+ "mtyYnZCZnfztr0jlzq",
18
+ "mteZmJa4mLLou050za",
19
+ "mtjnrxjgsg0",
20
+ "BNvTyMvY",
21
+ "AM9PBG",
22
+ "mZe0mZa1rKvnAM1L",
23
+ "n1PKqwPQEa"
24
+ ];
25
+ return e = function() {
26
+ return t;
27
+ }, e();
28
+ }
29
+ function t(n, r) {
30
+ n -= 215;
31
+ var i = e(), a = i[n];
32
+ t.NMhPfq === void 0 && (t.OPxkNC = function(e) {
33
+ for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
34
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
35
+ return decodeURIComponent(r);
36
+ }, t.DbRuje = {}, t.NMhPfq = !0);
37
+ var o = i[0];
38
+ t.IqbYZt !== o && (t.DbRuje = {}, t.IqbYZt = o);
39
+ var s = t.DbRuje[n];
40
+ return s === void 0 ? (a = t.OPxkNC(a), t.DbRuje[n] = a) : a = s, a;
41
+ }
42
+ var n = t;
43
+ (function(e, n) {
44
+ for (var r = t, i = e();;) try {
45
+ if (parseInt(r(224)) / 1 + parseInt(r(220)) / 2 + -parseInt(r(233)) / 3 + -parseInt(r(221)) / 4 * (-parseInt(r(230)) / 5) + parseInt(r(219)) / 6 + -parseInt(r(225)) / 7 * (parseInt(r(216)) / 8) + -parseInt(r(218)) / 9 == n) break;
46
+ i.push(i.shift());
47
+ } catch {
48
+ i.push(i.shift());
49
+ }
50
+ })(e, 439046);
51
+ /* empty css */
52
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
53
+ var a = {
54
+ xs: 12,
55
+ sm: 14,
56
+ md: 18,
57
+ lg: 24,
58
+ xl: 32
59
+ };
60
+ function o({ size: e = "sm", tone: t = n(227), label: o = "불러오는 중", className: s, style: c }) {
61
+ var l = n;
62
+ let u = typeof e === l(222) ? e : a[e];
63
+ return r(l(226), {
64
+ role: l(215),
65
+ "aria-label": o,
66
+ className: [
67
+ "ds-spinner",
68
+ "ds-spinner--" + t,
69
+ s
70
+ ].filter(Boolean)[l(223)](" "),
71
+ style: {
72
+ "--_s": u + "px",
73
+ ...c
74
+ },
75
+ children: i("svg", {
76
+ viewBox: l(228),
77
+ fill: l(232),
78
+ "aria-hidden": !0,
79
+ children: [r("circle", {
80
+ className: l(229),
81
+ cx: "12",
82
+ cy: "12",
83
+ r: l(234)
84
+ }), r("circle", {
85
+ className: l(231),
86
+ cx: "12",
87
+ cy: "12",
88
+ r: l(234),
89
+ pathLength: l(217)
90
+ })]
91
+ })
92
+ });
93
+ }
94
+ export { o as Spinner };
@@ -0,0 +1,126 @@
1
+ "use client";
2
+ function e(n, r) {
3
+ n -= 449;
4
+ let i = t(), a = i[n];
5
+ e.EIcwZV === void 0 && (e.aTifbq = function(e) {
6
+ let t = "", n = "";
7
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
8
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.eGhhUl = {}, e.EIcwZV = !0);
11
+ let o = i[0];
12
+ e.Zcxccl !== o && (e.eGhhUl = {}, e.Zcxccl = o);
13
+ let s = e.eGhhUl[n];
14
+ return s === void 0 ? (a = e.aTifbq(a), e.eGhhUl[n] = a) : a = s, a;
15
+ }
16
+ function t() {
17
+ let e = /* @__PURE__ */ "y2LYy2XL.zMLSDgvY.C3zN.BM9Uzq.mtK4odG4wNrlAM9Y.CM91BMq.zhmTC3rHDhvZlwLJB25Fx3jPBMC.mtaW.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19JAgvJAW.ttGUoca4lJHSnI40idyUne0Xns4YidGUogWTnI40idyUna.64UO6Roelca.mtyUna.C3bHBG.ttCUnsaXmI40BdmGmYa2ltyUna.7kEe7zAjioYKKq.ywn0AxzL.mJCYotG0nKXOBNfwzq.64Ya6RIWioYKKq.zhmTC3rHDhvZlwLJB25Fx2rPC2m.mcaWidi0idi0.mtKWnZG1mJrOEvzbqKm.mJK3odG0zePpqvrQ.mtbnuKfYCMy.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19JCM9ZCW.BwLU.Cgf0Aa.zhmTC3rHDhvZlwLJB24.mJDJwLHPz0u.mJaYwgrivujP.zhmTC3rHDhvZlwLJB25Fx2fYyW.offqwuzWzG.mJK1mtCZoxLsCMHjDW.7zMv7j24io2vHoYALa.nZbqv2TPsLO.mZq0otaXn3jdEgvcvq.zhmTC3rHDhvZlwLJB25Fx2jHBMCTzg90.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19Iyw5N.mJm1nM91A2HMwG.zhmTC3rHDhvZlwLJB25Fx3nWAw4.ms4Ynq.Aw1N".split(".");
18
+ return t = function() {
19
+ return e;
20
+ }, t();
21
+ }
22
+ const n = e;
23
+ (function(t, n) {
24
+ let r = e, i = t();
25
+ for (;;) try {
26
+ if (parseInt(r(472)) / 1 * (-parseInt(r(481)) / 2) + parseInt(r(471)) / 3 * (parseInt(r(465)) / 4) + -parseInt(r(477)) / 5 * (-parseInt(r(489)) / 6) + parseInt(r(460)) / 7 * (parseInt(r(474)) / 8) + parseInt(r(475)) / 9 * (parseInt(r(466)) / 10) + parseInt(r(478)) / 11 + -parseInt(r(464)) / 12 == n) break;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(t, 337974);
32
+ /* empty css */
33
+ /* empty css */
34
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
35
+ var a = {
36
+ sm: 14,
37
+ md: 16,
38
+ lg: 20
39
+ }, o = {
40
+ pending: n(461),
41
+ active: n(458),
42
+ done: "완료",
43
+ error: "오류",
44
+ warning: n(476)
45
+ };
46
+ function s({ status: e, size: t = "md", progress: s, colored: c, number: l, persistNumber: u, label: d, decorative: f, className: p, style: m }) {
47
+ let h = n, g = typeof t == "number" ? t : a[t], _ = e === h(459) && s !== void 0, v = _ ? Math.max(0, Math[h(468)](100, s ?? 0)) : 0, y = l === void 0 ? "" : String(l), b = y !== "", x = _ ? o[e] + " " + Math[h(449)](v) + "%" : o[e], S = d ?? (b ? y + h(454) + x : x);
48
+ return r(h(456), {
49
+ role: f ? void 0 : h(484),
50
+ "aria-label": f ? void 0 : S,
51
+ "aria-hidden": f || void 0,
52
+ className: [
53
+ h(470),
54
+ c && "ds-status-icon--colored",
55
+ p
56
+ ][h(486)](Boolean).join(" "),
57
+ "data-status": e,
58
+ "data-indeterminate": e === "active" && !_ || void 0,
59
+ "data-numbered": b || void 0,
60
+ "data-persist": b && u || void 0,
61
+ style: {
62
+ "--_s": g + "px",
63
+ ...m
64
+ },
65
+ children: i(h(487), {
66
+ viewBox: h(463),
67
+ fill: h(488),
68
+ "aria-hidden": !0,
69
+ children: [
70
+ r("circle", {
71
+ className: h(450),
72
+ cx: "12",
73
+ cy: "12",
74
+ r: "9",
75
+ pathLength: "48"
76
+ }),
77
+ r("g", {
78
+ className: h(482),
79
+ children: r("circle", {
80
+ className: h(473),
81
+ cx: "12",
82
+ cy: "12",
83
+ r: "9",
84
+ pathLength: h(451),
85
+ style: _ ? { strokeDashoffset: 100 - v } : void 0
86
+ })
87
+ }),
88
+ r(h(485), {
89
+ className: h(462),
90
+ cx: "12",
91
+ cy: "12",
92
+ r: "10"
93
+ }),
94
+ r(h(469), {
95
+ className: h(452),
96
+ d: h(457),
97
+ pathLength: "1"
98
+ }),
99
+ r("path", {
100
+ className: h(467),
101
+ d: h(453),
102
+ pathLength: "1"
103
+ }),
104
+ r(h(469), {
105
+ className: h(480),
106
+ d: "M12 7.5v5.5",
107
+ pathLength: "1"
108
+ }),
109
+ r("circle", {
110
+ className: h(479),
111
+ cx: "12",
112
+ cy: h(455),
113
+ r: h(483)
114
+ }),
115
+ b && r("text", {
116
+ className: "ds-status-icon__num",
117
+ x: "12",
118
+ y: "12",
119
+ fontSize: y.length > 1 ? 11.5 : 14,
120
+ children: y
121
+ })
122
+ ]
123
+ })
124
+ });
125
+ }
126
+ export { s as StatusIcon };
@@ -0,0 +1,79 @@
1
+ "use client";
2
+ function e(t, n) {
3
+ t -= 104;
4
+ let r = o(), i = r[t];
5
+ e.mePtue === void 0 && (e.nvbjUo = function(e) {
6
+ let t = "", n = "";
7
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
8
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.ZFFzSg = {}, e.mePtue = !0);
11
+ let a = r[0];
12
+ e.vctlKw !== a && (e.ZFFzSg = {}, e.vctlKw = a);
13
+ let s = e.ZFFzSg[t];
14
+ return s === void 0 ? (i = e.nvbjUo(i), e.ZFFzSg[t] = i) : i = s, i;
15
+ }
16
+ (function(t, n) {
17
+ let r = e, i = t();
18
+ for (;;) try {
19
+ if (-parseInt(r(124)) / 1 * (parseInt(r(114)) / 2) + parseInt(r(106)) / 3 + parseInt(r(116)) / 4 + -parseInt(r(117)) / 5 * (-parseInt(r(123)) / 6) + -parseInt(r(107)) / 7 + parseInt(r(105)) / 8 * (-parseInt(r(109)) / 9) + parseInt(r(108)) / 10 == n) break;
20
+ i.push(i.shift());
21
+ } catch {
22
+ i.push(i.shift());
23
+ }
24
+ })(o, 962029);
25
+ /* empty css */
26
+ import { useEffect as t, useRef as n } from "react";
27
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
28
+ function a({ color: a, name: o, showValue: s = !0 }) {
29
+ let c = e, l = a[c(122)]("--"), u = n(null);
30
+ return t(() => {
31
+ let e = c;
32
+ s && u[e(113)] && (u[e(113)][e(104)] = l ? getComputedStyle(document.documentElement).getPropertyValue(a)[e(111)]() : a);
33
+ }, [
34
+ a,
35
+ l,
36
+ s
37
+ ]), i(c(120), {
38
+ className: c(115),
39
+ children: [r(c(119), {
40
+ className: c(112),
41
+ style: { background: l ? c(110) + a + ")" : a }
42
+ }), i(c(118), { children: [r(c(119), {
43
+ className: c(121),
44
+ children: o ?? a
45
+ }), s && r("span", {
46
+ ref: u,
47
+ className: "ds-swatch__value"
48
+ })] })]
49
+ });
50
+ }
51
+ export { a as Swatch };
52
+ function o() {
53
+ let e = [
54
+ "zMLNDxjL",
55
+ "zhmTC3DHDgnOx19Uyw1L",
56
+ "C3rHCNrZv2L0Aa",
57
+ "mtqYodu0u3z4tM5b",
58
+ "mti3odeWnK1ABeDVwa",
59
+ "Dgv4DenVBNrLBNq",
60
+ "nJe2tg14B3nf",
61
+ "mtq5odjzv3PWAuq",
62
+ "otCWnZy3CxPxB2fx",
63
+ "mte3mtK2nJb1z29IBu4",
64
+ "otu1ntnSr291v1m",
65
+ "DMfYka",
66
+ "DhjPBq",
67
+ "zhmTC3DHDgnOx19JAgLW",
68
+ "y3vYCMvUDa",
69
+ "mKnvD1vevG",
70
+ "zhmTC3DHDgnO",
71
+ "nZaYotG2ne1UrxjRuW",
72
+ "ntvxvuPjAw0",
73
+ "zMLNy2fWDgLVBG",
74
+ "C3bHBG"
75
+ ];
76
+ return o = function() {
77
+ return e;
78
+ }, o();
79
+ }
@@ -0,0 +1,132 @@
1
+ "use client";
2
+ const e = v;
3
+ (function(e, t) {
4
+ let n = v, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(220)) / 1 * (-parseInt(n(207)) / 2) + -parseInt(n(187)) / 3 + -parseInt(n(212)) / 4 + -parseInt(n(179)) / 5 * (parseInt(n(199)) / 6) + -parseInt(n(209)) / 7 + parseInt(n(192)) / 8 * (parseInt(n(206)) / 9) + parseInt(n(195)) / 10 * (parseInt(n(184)) / 11) == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(b, 704248);
12
+ import { TIMING as t } from "../hooks/timing.js";
13
+ import { usePresence as n } from "../hooks/usePresence.js";
14
+ /* empty css */
15
+ import { useEffect as r, useId as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
16
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
17
+ import { createPortal as u } from "react-dom";
18
+ var d = 0, f = 0, p = 0, m = 8, h = 8, g = {
19
+ top: e(197),
20
+ bottom: e(204),
21
+ left: e(200),
22
+ right: "left"
23
+ };
24
+ function _(t, n, r, i) {
25
+ let a = e, o = (e) => e === a(204) || e === a(197) ? {
26
+ left: t[a(183)] + t[a(190)] / 2 - n / 2,
27
+ top: e === a(204) ? t[a(204)] - m - r : t[a(197)] + m
28
+ } : {
29
+ left: e === a(183) ? t[a(183)] - m - n : t[a(200)] + m,
30
+ top: t[a(204)] + t[a(208)] / 2 - r / 2
31
+ }, s = ({ left: e, top: t }, i) => i === "top" ? t >= h : i === a(197) ? t + r <= window[a(219)] - h : i === a(183) ? e >= h : e + n <= window[a(181)] - h, c = i;
32
+ !s(o(c), c) && s(o(g[c]), g[c]) && (c = g[c]);
33
+ let { left: l, top: u } = o(c), d = (e, t, n) => Math[a(201)](h, Math[a(189)](e, n - t - h));
34
+ return {
35
+ side: c,
36
+ left: d(l, n, window[a(181)]),
37
+ top: d(u, r, window[a(219)])
38
+ };
39
+ }
40
+ function v(e, t) {
41
+ e -= 178;
42
+ let n = b(), r = n[e];
43
+ v.ONlCvA === void 0 && (v.LwRLpZ = function(e) {
44
+ let t = "", n = "";
45
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
46
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
47
+ return decodeURIComponent(n);
48
+ }, v.jOhDxF = {}, v.ONlCvA = !0);
49
+ let i = n[0];
50
+ v.eGVGTU !== i && (v.jOhDxF = {}, v.eGVGTU = i);
51
+ let a = v.jOhDxF[e];
52
+ return a === void 0 ? (r = v.LwRLpZ(r), v.jOhDxF[e] = r) : r = a, r;
53
+ }
54
+ function y({ content: m, side: h = e(204), delay: g = t[e(186)], children: y }) {
55
+ let b = e, [x, S] = s(!1), C = o(0), w = o(!1), T = o(null), E = o(null), D = i(), { mounted: O } = n(x, 160), k = (e) => {
56
+ let t = v;
57
+ window[t(202)](C[t(194)]), e !== w[t(194)] && (w[t(194)] = e, f += e ? 1 : -1, e || (d = Date[t(185)]()), S(e));
58
+ }, A = () => {
59
+ let e = v;
60
+ window[e(202)](C[e(194)]);
61
+ let n = f > 0 || Date[e(185)]() - d < t.tooltipSkip ? p : 0, r = Math[e(201)](0, g - n), i = () => {
62
+ p = n + r, k(!0);
63
+ };
64
+ r === 0 ? i() : C[e(194)] = window[e(182)](i, r);
65
+ };
66
+ return r(() => () => {
67
+ let e = v;
68
+ window[e(202)](C[e(194)]), w.current && f--;
69
+ }, []), r(() => {
70
+ let e = v;
71
+ if (!x) return;
72
+ let t = (t) => t[e(218)] === "Escape" && k(!1);
73
+ return document[e(221)]("keydown", t), () => document[e(211)](e(213), t);
74
+ }), a(() => {
75
+ let e = v;
76
+ if (!O) return;
77
+ let t = () => {
78
+ let e = v, t = T[e(194)], n = E.current;
79
+ if (!t || !n) return;
80
+ let r = _(t[e(180)](), n[e(188)], n.offsetHeight, h);
81
+ n[e(203)][e(205)] = r[e(205)], n.style[e(183)] = r[e(183)] + "px", n.style[e(204)] = r.top + "px", n.style.visibility = e(198);
82
+ };
83
+ return t(), window[e(221)](e(193), t), window.addEventListener(e(210), t, !0), () => {
84
+ let n = e;
85
+ window[n(211)]("resize", t), window[n(211)](n(210), t, !0);
86
+ };
87
+ }, [
88
+ O,
89
+ h,
90
+ m
91
+ ]), r(() => {
92
+ let e = v, t = E.current;
93
+ if (!t) return;
94
+ if (!x) {
95
+ delete t[e(203)][e(214)];
96
+ return;
97
+ }
98
+ let n = requestAnimationFrame(() => {
99
+ n = requestAnimationFrame(() => {
100
+ let e = v;
101
+ t[e(203)][e(214)] = "";
102
+ });
103
+ });
104
+ return () => cancelAnimationFrame(n);
105
+ }, [x, O]), l("span", {
106
+ ref: T,
107
+ className: "ds-tip",
108
+ "data-open": x || void 0,
109
+ "aria-describedby": x ? D : void 0,
110
+ onPointerEnter: (e) => e[b(217)] === "mouse" && A(),
111
+ onPointerLeave: () => k(!1),
112
+ onPointerDown: () => k(!1),
113
+ onFocus: (e) => e[b(196)].matches(b(216)) && k(!0),
114
+ onBlur: () => k(!1),
115
+ children: [y, O && u(c(b(215), {
116
+ ref: E,
117
+ id: D,
118
+ className: b(178),
119
+ role: b(191),
120
+ "data-side": h,
121
+ style: { visibility: "hidden" },
122
+ children: m
123
+ }), document.body)]
124
+ });
125
+ }
126
+ function b() {
127
+ let e = /* @__PURE__ */ "mJe4nMrksuDnsa.AgvPz2H0.nJKXmJy4mLvlu1j0va.C2nYB2XS.CMvTB3zLrxzLBNrmAxn0zw5LCG.mJe5nZK4neXSy0H3yW.A2v5zg93BG.B3bLBG.C3bHBG.oMzVy3vZlxzPC2LIBgu.Cg9PBNrLCLr5Cgu.A2v5.Aw5UzxjizwLNAhq.nta2rM9fBuH1.ywrKrxzLBNrmAxn0zw5LCG.zhmTDgLWx19IDwjIBgu.mJbMwwzvAxO.z2v0qM91BMrPBMDdBgLLBNrszwn0.Aw5UzxjxAwr0Aa.C2v0vgLTzw91Da.BgvMDa.ntGZt2TPsKvw.BM93.Dg9VBhrPCerLBgf5.ota5mtjVALnosuK.B2zMC2v0v2LKDgG.BwLU.D2LKDgG.Dg9VBhrPCa.ogr2z3HnEq.CMvZAxPL.y3vYCMvUDa.mJCZnJeWAMLtyNny.DgfYz2v0.yM90Dg9T.DMLZAwjSzq.ndGXodu0yunvEwrw.CMLNAhq.Bwf4.y2XLyxjuAw1LB3v0.zgf0yxnLDa.Dg9W.C2LKzq.ntmWnJu3murps21nDq".split(".");
128
+ return b = function() {
129
+ return e;
130
+ }, b();
131
+ }
132
+ export { y as Tooltip };
@@ -0,0 +1,97 @@
1
+ "use client";
2
+ const e = c;
3
+ (function(e, t) {
4
+ let n = c, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(146)) / 1 + parseInt(n(144)) / 2 * (parseInt(n(148)) / 3) + -parseInt(n(167)) / 4 + -parseInt(n(169)) / 5 * (-parseInt(n(143)) / 6) + -parseInt(n(160)) / 7 * (-parseInt(n(162)) / 8) + parseInt(n(170)) / 9 * (-parseInt(n(164)) / 10) + parseInt(n(147)) / 11 == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(r, 263170);
12
+ /* empty css */
13
+ import { jsx as t } from "react/jsx-runtime";
14
+ var n = {
15
+ display: "h1",
16
+ heading: "h2",
17
+ body: "p",
18
+ label: e(161),
19
+ caption: e(161),
20
+ overline: e(161),
21
+ number: e(161),
22
+ code: e(153)
23
+ };
24
+ function r() {
25
+ let e = /* @__PURE__ */ "zMLSDgvY.zhmTDgv4Dc0TywXPz24T.ndL4BLz6Eu4.C3bHBG.nda1ota0wwXpCKPk.zhmTDgv4Dc0TC3rYAwTHyMXL.mJyWq2TeALvd.AgvHzgLUzY14CW.BNvTyMvY.mJaWnJmWmgXfvKzlBa.AgvHzgLUzY1SzW.nJa1ndvnwvnhquS.mti0mZCXA2jRyLjQ.zhmTChjVC2u.AgvHzgLUzY1ZBq.zhmTDgv4Dc0TDY0.mte0qu5kBKfg.mtaXody4mM5NAhnkAa.yM9KEs1Tza.otaZotbtsMfwqNm.mtmXodm2mwrJzxjoDW.m0j4EK1dCa.C3rHCNrZv2L0Aa.zhmTDgv4Dc0TDhj1BMnHDgu.zhmTDgv4Dc0TDg9Uzs0.AM9PBG.y29Kzq.zhmTDgv4Dc0TC3rYDwnR.zhmTDgv4Da.C3bSAxq.zgvMyxvSDa".split(".");
26
+ return r = function() {
27
+ return e;
28
+ }, r();
29
+ }
30
+ function i({ as: r, variant: i = e(145), tone: a = "default", weight: o, align: s, truncate: c, lineClamp: l, numeric: u, wrap: d, strike: f, className: p, style: m, children: h, ...g }) {
31
+ let _ = e, v = r ?? n[i[_(156)]("-")[0]] ?? _(161), y = [
32
+ _(155),
33
+ "ds-text--" + i,
34
+ a !== _(157) && _(151) + a,
35
+ o && _(142) + o,
36
+ s && _(159) + s,
37
+ c && _(150),
38
+ l && "ds-text--clamp",
39
+ (u || i[_(149)](_(166))) && "ds-text--numeric",
40
+ d && "ds-text--wrap-" + d,
41
+ f !== void 0 && _(163),
42
+ f && _(154),
43
+ p
44
+ ].filter(Boolean).join(" ");
45
+ return t(v, {
46
+ className: y,
47
+ style: l ? {
48
+ "--_lines": l,
49
+ ...m
50
+ } : m,
51
+ ...g,
52
+ children: h
53
+ });
54
+ }
55
+ var a = {
56
+ 1: "heading-xl",
57
+ 2: e(168),
58
+ 3: "heading-md",
59
+ 4: e(172),
60
+ 5: e(165),
61
+ 6: e(165)
62
+ };
63
+ function o({ level: e = 2, size: n, wrap: r = "balance", ...o }) {
64
+ let s = "h" + e;
65
+ return t(i, {
66
+ as: s,
67
+ variant: n ?? a[e],
68
+ wrap: r,
69
+ ...o
70
+ });
71
+ }
72
+ function s({ size: n = "md", className: r, ...i }) {
73
+ let a = e;
74
+ return t("div", {
75
+ className: [
76
+ a(171),
77
+ "ds-prose--" + n,
78
+ r
79
+ ][a(158)](Boolean)[a(152)](" "),
80
+ ...i
81
+ });
82
+ }
83
+ function c(e, t) {
84
+ e -= 142;
85
+ let n = r(), i = n[e];
86
+ c.TznvjQ === void 0 && (c.TBGPyM = function(e) {
87
+ let t = "", n = "";
88
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
89
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
90
+ return decodeURIComponent(n);
91
+ }, c.tPXqGf = {}, c.TznvjQ = !0);
92
+ let a = n[0];
93
+ c.JSWlcg !== a && (c.tPXqGf = {}, c.JSWlcg = a);
94
+ let o = c.tPXqGf[e];
95
+ return o === void 0 ? (i = c.TBGPyM(i), c.tPXqGf[e] = i) : i = o, i;
96
+ }
97
+ export { o as Heading, s as Prose, i as Text };
@@ -0,0 +1,54 @@
1
+ "use client";
2
+ function e() {
3
+ let t = [
4
+ "mtm0mJrSvfH0txm",
5
+ "mtq1ntvJDg1cBeK",
6
+ "ndK0mZm5AgjRu1rd",
7
+ "mJfgtxrjsvi",
8
+ "ntG0D1LNAxLw",
9
+ "otm5odK0DfDJD0XN",
10
+ "Bwf4",
11
+ "nde1mxPTuenwrq",
12
+ "y2vPBa",
13
+ "odaXDKver2zN",
14
+ "mty0mZbTr3PwufK",
15
+ "ndC0nZmYsffnD0nM",
16
+ "CgfKu3rHCNq",
17
+ "zMXVB3i",
18
+ "otLyrNzeBNG",
19
+ "mtq2mtK4r2Diz1DY"
20
+ ];
21
+ return e = function() {
22
+ return t;
23
+ }, e();
24
+ }
25
+ (function(e, n) {
26
+ let r = t, i = e();
27
+ for (;;) try {
28
+ if (parseInt(r(417)) / 1 + parseInt(r(414)) / 2 * (-parseInt(r(418)) / 3) + -parseInt(r(419)) / 4 * (parseInt(r(416)) / 5) + parseInt(r(420)) / 6 + parseInt(r(406)) / 7 * (parseInt(r(415)) / 8) + parseInt(r(408)) / 9 * (parseInt(r(409)) / 10) + parseInt(r(413)) / 11 * (-parseInt(r(410)) / 12) == n) break;
29
+ i.push(i.shift());
30
+ } catch {
31
+ i.push(i.shift());
32
+ }
33
+ })(e, 499521);
34
+ function t(n, r) {
35
+ n -= 405;
36
+ let i = e(), a = i[n];
37
+ t.AAqVJQ === void 0 && (t.dWosjB = function(e) {
38
+ let t = "", n = "";
39
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
40
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
41
+ return decodeURIComponent(n);
42
+ }, t.pfcDVI = {}, t.AAqVJQ = !0);
43
+ let o = i[0];
44
+ t.FRXXlt !== o && (t.pfcDVI = {}, t.FRXXlt = o);
45
+ let s = t.pfcDVI[n];
46
+ return s === void 0 ? (a = t.dWosjB(a), t.pfcDVI[n] = a) : a = s, a;
47
+ }
48
+ function n(e) {
49
+ let n = t, r = Math[n(405)](0, Math[n(407)](e));
50
+ if (r < 60) return r + "초";
51
+ let i = Math.floor(r / 3600), a = Math[n(412)](r % 3600 / 60), o = String(r % 60)[n(411)](2, "0");
52
+ return i > 0 ? i + ":" + String(a)[n(411)](2, "0") + ":" + o : a + ":" + o;
53
+ }
54
+ export { n as formatCountdown };