@iamfiro/design 0.3.0 → 0.3.2

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 (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +76 -76
  4. package/lib/components/ActionBar/ActionBar2.js +43 -43
  5. package/lib/components/Alert/Alert2.js +46 -46
  6. package/lib/components/AppShell/AppShell2.js +58 -58
  7. package/lib/components/AreaChart/AreaChart.js +39 -40
  8. package/lib/components/BarChart/BarChart2.js +169 -169
  9. package/lib/components/BarList/BarList2.js +99 -99
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
  11. package/lib/components/Calendar/Calendar2.js +172 -171
  12. package/lib/components/Calendar/DatePicker2.js +101 -102
  13. package/lib/components/Calendar/date.js +71 -71
  14. package/lib/components/Card/Card2.js +55 -56
  15. package/lib/components/CardFrame/CardFrame2.js +52 -52
  16. package/lib/components/Chart/ChartParts.js +90 -90
  17. package/lib/components/Chart/chart2.js +52 -52
  18. package/lib/components/Chart/useChartInteraction.js +44 -44
  19. package/lib/components/ChatBubble/ChatBubble2.js +112 -112
  20. package/lib/components/ChatBubble/formatChatTime.js +44 -42
  21. package/lib/components/ChatComposer/ChatComposer2.js +94 -94
  22. package/lib/components/CodeBlock/CodeBlock2.js +66 -66
  23. package/lib/components/CodeBlock/highlight.js +67 -70
  24. package/lib/components/ColorPicker/ColorPicker2.js +404 -405
  25. package/lib/components/ColorPicker/color.js +81 -81
  26. package/lib/components/ColorPicker/presets.js +44 -43
  27. package/lib/components/Combobox/Combobox2.js +128 -128
  28. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  29. package/lib/components/Comment/Comment2.js +55 -80
  30. package/lib/components/ContextMenu/ContextMenu2.js +93 -94
  31. package/lib/components/DataGrid/DataGrid2.js +1181 -1180
  32. package/lib/components/DataGrid/GridPopover.js +112 -112
  33. package/lib/components/DataGrid/anchor.js +23 -25
  34. package/lib/components/DataGrid/model.js +274 -275
  35. package/lib/components/DataGrid/panels.js +423 -423
  36. package/lib/components/DataGrid/typeMeta.js +21 -22
  37. package/lib/components/DataGrid/types.js +38 -37
  38. package/lib/components/DescriptionList/DescriptionList2.js +107 -107
  39. package/lib/components/Dialog/AlertDialog.js +53 -53
  40. package/lib/components/Dialog/Dialog2.js +71 -70
  41. package/lib/components/Dialog/modal.js +59 -58
  42. package/lib/components/Drawer/Drawer2.js +123 -124
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
  44. package/lib/components/DropdownMenu/menuCore.js +46 -47
  45. package/lib/components/Dropzone/Dropzone2.js +77 -77
  46. package/lib/components/EmptyState/EmptyState2.js +57 -56
  47. package/lib/components/FileChip/FileChip2.js +71 -71
  48. package/lib/components/FileUpload/FileUpload.js +119 -119
  49. package/lib/components/FilterChips/FilterChips2.js +61 -61
  50. package/lib/components/FunnelChart/FunnelChart2.js +141 -141
  51. package/lib/components/FunnelChart/funnel.js +51 -51
  52. package/lib/components/Highlight/Highlight2.js +54 -54
  53. package/lib/components/HoverCard/HoverCard.js +108 -83
  54. package/lib/components/InlineDiff/InlineDiff2.js +126 -126
  55. package/lib/components/InlineDiff/diff.js +82 -82
  56. package/lib/components/InlineDiff/useDiffReview.js +62 -60
  57. package/lib/components/Kanban/Kanban2.js +382 -382
  58. package/lib/components/Kanban/KanbanCard.js +92 -92
  59. package/lib/components/Kanban/move.js +45 -49
  60. package/lib/components/LineChart/LineChart2.js +207 -207
  61. package/lib/components/List/List2.js +71 -71
  62. package/lib/components/Listbox/Listbox2.js +115 -115
  63. package/lib/components/Marker/Marker2.js +67 -60
  64. package/lib/components/Menubar/Menubar2.js +130 -133
  65. package/lib/components/MultiSelect/MultiSelect2.js +104 -104
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
  67. package/lib/components/NoticeStack/NoticeStack2.js +105 -105
  68. package/lib/components/NumberStepper/NumberStepper2.js +67 -67
  69. package/lib/components/OtpInput/OtpInput2.js +66 -67
  70. package/lib/components/Pagination/Pagination2.js +90 -90
  71. package/lib/components/Pagination/paginationRange.js +24 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +74 -74
  73. package/lib/components/PieChart/PieChart2.js +119 -119
  74. package/lib/components/PieChart/arc.js +63 -42
  75. package/lib/components/PieChart/useArcTween.js +56 -54
  76. package/lib/components/Popover/Popover2.js +61 -61
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
  78. package/lib/components/Rating/Rating2.js +81 -81
  79. package/lib/components/Resizable/Resizable2.js +112 -110
  80. package/lib/components/Resizable/layout.js +50 -50
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
  82. package/lib/components/ScatterChart/ScatterChart2.js +226 -227
  83. package/lib/components/ScatterChart/scatter.js +59 -57
  84. package/lib/components/ScrollArea/ScrollArea2.js +112 -112
  85. package/lib/components/Select/Select2.js +79 -79
  86. package/lib/components/Sidebar/Sidebar2.js +79 -79
  87. package/lib/components/Skeleton/Skeleton2.js +68 -68
  88. package/lib/components/Slider/Slider2.js +78 -77
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
  90. package/lib/components/SparkChart/SparkChart2.js +146 -145
  91. package/lib/components/SparkChart/spark.js +41 -67
  92. package/lib/components/Sparkbar/Sparkbar2.js +61 -60
  93. package/lib/components/SplitView/SplitView2.js +53 -53
  94. package/lib/components/Stat/Stat2.js +94 -94
  95. package/lib/components/StepList/StepList2.js +70 -70
  96. package/lib/components/Table/Table2.js +63 -63
  97. package/lib/components/Tabs/Tabs2.js +70 -70
  98. package/lib/components/TagInput/TagInput2.js +236 -239
  99. package/lib/components/TimePicker/TimePicker2.js +231 -232
  100. package/lib/components/TimePicker/time.js +63 -65
  101. package/lib/components/Timeline/Timeline2.js +167 -167
  102. package/lib/components/Timeline/scale.js +55 -55
  103. package/lib/components/Toast/Toaster.js +151 -152
  104. package/lib/components/Toast/store.js +90 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
  106. package/lib/components/Toolbar/Toolbar2.js +145 -145
  107. package/lib/components/Tracker/Tracker2.js +76 -76
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
  109. package/lib/components/TreeView/TreeView2.js +124 -124
  110. package/lib/hooks/timing.js +30 -29
  111. package/lib/hooks/useControllableState.js +37 -36
  112. package/lib/hooks/useCountdown.js +56 -59
  113. package/lib/hooks/useDigitInput.js +52 -78
  114. package/lib/hooks/useDismiss.js +58 -57
  115. package/lib/hooks/useElapsed.js +54 -54
  116. package/lib/hooks/useFloating.js +26 -26
  117. package/lib/hooks/useFocusTrap.js +42 -42
  118. package/lib/hooks/usePresence.js +49 -48
  119. package/lib/hooks/usePressToOpen.js +42 -41
  120. package/lib/hooks/useScrollLock.js +45 -44
  121. package/lib/hooks/useSelection.js +45 -39
  122. package/lib/index.js +71 -71
  123. package/lib/primitives/AspectRatio2.js +60 -60
  124. package/lib/primitives/BrandIcon.js +161 -161
  125. package/lib/primitives/ColorDot2.js +42 -45
  126. package/lib/primitives/CopyButton2.js +57 -56
  127. package/lib/primitives/CountBadge2.js +55 -51
  128. package/lib/primitives/Countdown2.js +41 -46
  129. package/lib/primitives/Delta2.js +36 -36
  130. package/lib/primitives/Elapsed.js +49 -49
  131. package/lib/primitives/FileIcon2.js +96 -96
  132. package/lib/primitives/Flag2.js +135 -135
  133. package/lib/primitives/IconStack2.js +38 -60
  134. package/lib/primitives/IconTile2.js +28 -29
  135. package/lib/primitives/Kbd2.js +50 -50
  136. package/lib/primitives/Layout2.js +71 -71
  137. package/lib/primitives/Link2.js +32 -31
  138. package/lib/primitives/MaskedText2.js +49 -74
  139. package/lib/primitives/Progress2.js +65 -66
  140. package/lib/primitives/RelativeTime.js +58 -57
  141. package/lib/primitives/SearchInput2.js +65 -65
  142. package/lib/primitives/SelectorButton2.js +74 -73
  143. package/lib/primitives/Spinner2.js +50 -50
  144. package/lib/primitives/StatusIcon2.js +68 -68
  145. package/lib/primitives/Swatch2.js +59 -55
  146. package/lib/primitives/Tooltip2.js +81 -81
  147. package/lib/primitives/Typography2.js +53 -53
  148. package/lib/primitives/formatCountdown.js +21 -22
  149. package/lib/primitives/formatElapsed.js +43 -42
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +82 -82
  152. package/lib/primitives/index.js +193 -174
  153. package/lib/primitives/maskValue.js +28 -28
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,70 +1,65 @@
1
1
  "use client";
2
- function e() {
3
- let t = /* @__PURE__ */ "zgL2.z2v0qM91BMrPBMDdBgLLBNrszwn0.BNvTyMvY.zhmTC2XPzgvYx19Yyw5Nzq.odmYmty3zKfitgPq.C29Tzq.CM91BMq.BwLU.zhmTC2XPzgvYx192ywX1zq.ntCXnwvSqMLiyq.yxv0BW.zhmTC2XPzgvYx190AhvTyG.mJiXnZe4Evbxtfrv.zhmTC2XPzgvYx19TyxjR.nJC0odu4n094y1fcAa.BgvUz3rO.ChjLDMvUDerLzMf1Bhq.zhmTC2XPzgvY.BMv2zxi.y3vYCMvUDa.rxnJyxbL.BgfIzwW.C3bHBG.BwfW.DMfSDwu.BgvMDa.ywjZ.mJG3yNPevLfz.mtG2mZG1A3PPrLno.otC4otzXC0TPCha.mJaZoda4mg1cu3LluW.Cg9PBNrLCKLK.zM9JDxm.yNv0Dg9U.y3vYCMvUDfrHCMDLDa.zhmTC2XPzgvYx19YywLS.C3bSAxq.AxnbCNjHEq.A2v5.C2XPzgvY.y2XPzw50wa.nZy0Bur0uhDj.Dg9gAxHLza.zhmTC2XPzgvYls0.sg9Tzq.Bwf4.zhmTC2XPzgvYx190CMfJAW.mtHZturSALu".split(".");
4
- return e = function() {
5
- return t;
6
- }, e();
2
+ function e(t, n) {
3
+ t -= 213;
4
+ let r = d(), i = r[t];
5
+ e.pXiTfj === void 0 && (e.ZrfgqV = 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.XAVCoR = {}, e.pXiTfj = !0);
11
+ let a = r[0];
12
+ e.AeoImS !== a && (e.XAVCoR = {}, e.AeoImS = a);
13
+ let o = e.XAVCoR[t];
14
+ return o === void 0 ? (i = e.ZrfgqV(i), e.XAVCoR[t] = i) : i = o, i;
7
15
  }
8
- const t = n;
9
- (function(e, t) {
10
- let r = n, i = e();
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
11
19
  for (;;) try {
12
- if (parseInt(r(156)) / 1 + parseInt(r(164)) / 2 + parseInt(r(161)) / 3 * (-parseInt(r(145)) / 4) + parseInt(r(132)) / 5 * (-parseInt(r(151)) / 6) + parseInt(r(131)) / 7 * (parseInt(r(133)) / 8) + -parseInt(r(166)) / 9 + parseInt(r(134)) / 10 == t) break;
20
+ if (-parseInt(r(227)) / 1 + -parseInt(r(243)) / 2 * (-parseInt(r(254)) / 3) + parseInt(r(247)) / 4 + -parseInt(r(237)) / 5 * (-parseInt(r(239)) / 6) + -parseInt(r(221)) / 7 + -parseInt(r(233)) / 8 * (parseInt(r(248)) / 9) + -parseInt(r(242)) / 10 == n) break;
13
21
  i.push(i.shift());
14
22
  } catch {
15
23
  i.push(i.shift());
16
24
  }
17
- })(e, 423022);
18
- function n(t, r) {
19
- t -= 126;
20
- let i = e(), a = i[t];
21
- n.lwPCEz === void 0 && (n.ksytRP = function(e) {
22
- let t = "", n = "";
23
- 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);
24
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
25
- return decodeURIComponent(n);
26
- }, n.CjFQxg = {}, n.lwPCEz = !0);
27
- let o = i[0];
28
- n.axMVqQ !== o && (n.CjFQxg = {}, n.axMVqQ = o);
29
- let s = n.CjFQxg[t];
30
- return s === void 0 ? (a = n.ksytRP(a), n.CjFQxg[t] = a) : a = s, a;
31
- }
32
- import { useControllableState as r } from "../../hooks/useControllableState.js";
33
- import { cx as i } from "../../primitives/index.js";
25
+ })(d, 360291);
26
+ import { useControllableState as n } from "../../hooks/useControllableState.js";
27
+ import { cx as r } from "../../primitives/index.js";
34
28
  /* empty css */
35
- import { useLayoutEffect as a, useRef as o, useState as s } from "react";
36
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
37
- var u = (e, n, r) => Math[t(159)](r, Math.max(n, e));
38
- function d({ value: e, defaultValue: n, onValueChange: d, onValueCommit: f, min: p = 0, max: m = 100, step: h = 1, minDistance: g = 0, marks: _, formatValue: v = String, showValue: y = t(162), size: b = "md", disabled: x, name: S, id: C, className: w, "aria-label": T, getThumbLabel: E }) {
39
- let D = t, O = Array[D(141)](e ?? n), [k, A] = r(e, n ?? p, d), j = Array[D(141)](k) ? k : [k], M = o(j);
40
- a(() => {
41
- M.current = j;
29
+ import { useLayoutEffect as i, useRef as a, useState as o } from "react";
30
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
31
+ var l = (e, n, r) => Math[t(246)](r, Math[t(216)](n, e));
32
+ function u({ value: e, defaultValue: u, onValueChange: d, onValueCommit: f, min: p = 0, max: m = 100, step: h = 1, minDistance: g = 0, marks: _, formatValue: v = String, showValue: y = "auto", size: b = "md", disabled: x, name: S, id: C, className: w, "aria-label": T, getThumbLabel: E }) {
33
+ let D = t, O = Array[D(218)](e ?? u), [k, A] = n(e, u ?? p, d), j = Array[D(218)](k) ? k : [k], M = a(j);
34
+ i(() => {
35
+ let e = D;
36
+ M[e(245)] = j;
42
37
  });
43
- let N = o(null), P = o([]), [F, I] = s(null), L = o(j), R = (String(h)[D(140)](".")[1] ?? "")[D(167)], z = (e) => u(Number((Math[D(158)]((e - p) / h) * h + p)[D(146)](R)), p, m), B = (e) => (e - p) / (m - p) * 100, V = (e) => O ? [e[0], e[1]] : e[0], H = (e, t) => {
44
- let n = D, r = [...M[n(171)]], i = z(t);
45
- O && (i = e === 0 ? Math[n(159)](i, r[1] - g) : Math[n(149)](i, r[0] + g)), i !== r[e] && (r[e] = i, M[n(171)] = r, A(V(r)));
38
+ let N = a(null), P = a([]), [F, I] = o(null), L = a(j), R = (String(h)[D(250)](".")[1] ?? "")[D(234)], z = (e) => l(Number((Math[D(240)]((e - p) / h) * h + p)[D(236)](R)), p, m), B = (e) => (e - p) / (m - p) * 100, V = (e) => O ? [e[0], e[1]] : e[0], H = (e, t) => {
39
+ let n = D, r = [...M.current], i = z(t);
40
+ O && (i = e === 0 ? Math[n(246)](i, r[1] - g) : Math[n(216)](i, r[0] + g)), i !== r[e] && (r[e] = i, M[n(245)] = r, A(V(r)));
46
41
  }, U = (e) => {
47
- let t = D, n = N[t(171)][t(153)]();
48
- return p + u((e - n[t(129)]) / n.width, 0, 1) * (m - p);
42
+ let t = D, n = N[t(245)].getBoundingClientRect();
43
+ return p + l((e - n[t(256)]) / n[t(225)], 0, 1) * (m - p);
49
44
  }, W = (e) => {
50
45
  let t = D;
51
- if (x || e[t(137)] !== 0) return;
52
- e[t(168)]();
53
- let n = U(e.clientX), r = O ? Math.abs(n - j[0]) < Math[t(130)](n - j[1]) ? 0 : Math[t(130)](n - j[0]) > Math[t(130)](n - j[1]) ? 1 : n < j[0] ? 0 : 1 : 0;
54
- e[t(138)].setPointerCapture(e[t(135)]), L[t(171)] = M.current, I(r), H(r, n), P[t(171)][r]?.[t(136)]();
46
+ if (x || e[t(257)] !== 0) return;
47
+ e[t(220)]();
48
+ let n = U(e.clientX), r = O ? Math[t(217)](n - j[0]) < Math[t(217)](n - j[1]) ? 0 : Math[t(217)](n - j[0]) > Math[t(217)](n - j[1]) ? 1 : n < j[0] ? 0 : 1 : 0;
49
+ e[t(219)][t(230)](e[t(238)]), L.current = M[t(245)], I(r), H(r, n), P[t(245)][r]?.[t(215)]();
55
50
  }, G = (e) => {
56
- F !== null && H(F, U(e[D(144)]));
51
+ F !== null && H(F, U(e[D(222)]));
57
52
  }, K = () => {
58
53
  let e = D;
59
- F !== null && (I(null), f?.(V(M[e(171)])));
54
+ F !== null && (I(null), f?.(V(M[e(245)])));
60
55
  }, q = (e) => (t) => {
61
56
  let n = D;
62
- if (t[n(142)] === n(172) && F !== null) {
63
- t[n(168)](), I(null), M[n(171)] = L.current, A(V(L[n(171)]));
57
+ if (t[n(244)] === n(258) && F !== null) {
58
+ t[n(220)](), I(null), M[n(245)] = L[n(245)], A(V(L[n(245)]));
64
59
  return;
65
60
  }
66
61
  if (F !== null) return;
67
- let r = h * Math[n(149)](1, Math.round((m - p) / h / 10)), i = {
62
+ let r = h * Math.max(1, Math[n(240)]((m - p) / h / 10)), i = {
68
63
  ArrowRight: h,
69
64
  ArrowUp: h,
70
65
  ArrowLeft: -h,
@@ -72,71 +67,77 @@ function d({ value: e, defaultValue: n, onValueChange: d, onValueCommit: f, min:
72
67
  PageUp: r,
73
68
  PageDown: -r
74
69
  }, a;
75
- t[n(142)] in i ? a = j[e] + i[t.key] : t[n(142)] === n(148) ? a = p : t[n(142)] === "End" && (a = m), a !== void 0 && (t[n(168)](), H(e, a), f?.(V(M[n(171)])));
76
- }, J = (_ ?? [])[D(127)]((e) => typeof e === D(154) ? { value: e } : e), Y = J[D(157)]((e) => e[D(173)] != null), X = O ? j[0] : p, Z = j[j.length - 1];
77
- return l(D(152), {
70
+ t.key in i ? a = j[e] + i[t[n(244)]] : t.key === n(260) ? a = p : t[n(244)] === "End" && (a = m), a !== void 0 && (t[n(220)](), H(e, a), f?.(V(M[n(245)])));
71
+ }, J = (_ ?? [])[D(251)]((e) => typeof e === D(252) ? { value: e } : e), Y = J[D(223)]((e) => e[D(231)] != null), X = O ? j[0] : p, Z = j[j[D(234)] - 1];
72
+ return c(D(224), {
78
73
  id: C,
79
- className: i(D(169), D(147) + b, Y && "ds-slider--labeled", w),
74
+ className: r(D(235), D(253) + b, Y && D(214), w),
80
75
  "data-disabled": x || void 0,
81
76
  "data-dragging": F !== null || void 0,
82
77
  onPointerDown: W,
83
78
  onPointerMove: G,
84
79
  onPointerUp: K,
85
80
  onPointerCancel: K,
86
- children: [l("div", {
81
+ children: [c("div", {
87
82
  ref: N,
88
- className: D(139),
83
+ className: "ds-slider__rail",
89
84
  children: [
90
- c(D(152), {
91
- className: D(150),
92
- children: c(D(152), {
93
- className: D(155),
85
+ s("div", {
86
+ className: "ds-slider__track",
87
+ children: s(D(224), {
88
+ className: D(228),
94
89
  style: {
95
90
  left: B(X) + "%",
96
91
  right: 100 - B(Z) + "%"
97
92
  }
98
93
  })
99
94
  }),
100
- J[D(127)]((e) => c(D(126), {
101
- className: D(165),
102
- "data-in-range": e[D(128)] >= X && e[D(128)] <= Z || void 0,
103
- style: { left: B(e[D(128)]) + "%" }
104
- }, e[D(128)])),
105
- j.map((e, t) => c(D(126), {
95
+ J[D(251)]((e) => s(D(261), {
96
+ className: D(213),
97
+ "data-in-range": e[D(241)] >= X && e[D(241)] <= Z || void 0,
98
+ style: { left: B(e[D(241)]) + "%" }
99
+ }, e[D(241)])),
100
+ j[D(251)]((e, t) => s(D(261), {
106
101
  ref: (e) => {
107
102
  let n = D;
108
- P[n(171)][t] = e;
103
+ P[n(245)][t] = e;
109
104
  },
110
- role: D(143),
105
+ role: D(226),
111
106
  tabIndex: x ? -1 : 0,
112
107
  "aria-valuemin": O && t === 1 ? j[0] : p,
113
108
  "aria-valuemax": O && t === 0 ? j[1] : m,
114
109
  "aria-valuenow": e,
115
110
  "aria-valuetext": v(e),
116
111
  "aria-label": E?.(t) ?? T,
117
- "aria-orientation": "horizontal",
112
+ "aria-orientation": D(249),
118
113
  "aria-disabled": x || void 0,
119
- className: D(163),
114
+ className: "ds-slider__thumb",
120
115
  "data-active": F === t || void 0,
121
116
  style: { left: B(e) + "%" },
122
117
  onKeyDown: q(t),
123
- children: y !== D(170) && c(D(126), {
124
- className: D(160),
118
+ children: y !== D(259) && s(D(261), {
119
+ className: "ds-slider__value",
125
120
  "data-show": y,
126
121
  children: v(e)
127
122
  })
128
123
  }, t)),
129
- Y && J[D(127)]((e) => e[D(173)] != null && c(D(126), {
130
- className: "ds-slider__mark-label",
131
- style: { left: B(e.value) + "%" },
132
- children: e[D(173)]
133
- }, "l-" + e.value))
124
+ Y && J[D(251)]((e) => e[D(231)] != null && s(D(261), {
125
+ className: D(229),
126
+ style: { left: B(e[D(241)]) + "%" },
127
+ children: e[D(231)]
128
+ }, "l-" + e[D(241)]))
134
129
  ]
135
- }), S && j.map((e, t) => c("input", {
136
- type: "hidden",
130
+ }), S && j[D(251)]((e, t) => s(D(255), {
131
+ type: D(232),
137
132
  name: O ? S + "[" + t + "]" : S,
138
133
  value: e
139
134
  }, t))]
140
135
  });
141
136
  }
142
- export { d as Slider };
137
+ export { u as Slider };
138
+ function d() {
139
+ let e = /* @__PURE__ */ "BgvMDa.yNv0Dg9U.rxnJyxbL.BMv2zxi.sg9Tzq.C3bHBG.zhmTC2XPzgvYx19TyxjR.zhmTC2XPzgvYls1SywjLBgvK.zM9JDxm.Bwf4.ywjZ.AxnbCNjHEq.y3vYCMvUDfrHCMDLDa.ChjLDMvUDerLzMf1Bhq.mZiYmZKYn0TfAK9hvG.y2XPzw50wa.C29Tzq.zgL2.D2LKDgG.C2XPzgvY.mZCXnJe1EhDfCxf3.zhmTC2XPzgvYx19Yyw5Nzq.zhmTC2XPzgvYx19TyxjRlwXHyMvS.C2v0ug9PBNrLCKnHChr1CMu.BgfIzwW.AgLKzgvU.mJi1ndrAyvrNChy.BgvUz3rO.zhmTC2XPzgvY.Dg9gAxHLza.mZeZnti5merrz0T5rG.Cg9PBNrLCKLK.nMvXDwzXzG.CM91BMq.DMfSDwu.mtq3nZy0mhbzr0vvCa.mZq1mtG4vKfAC1b6.A2v5.y3vYCMvUDa.BwLU.mJy3oda0ng5msK55ra.otyZDer0zhfd.Ag9YAxPVBNrHBa.C3bSAxq.BwfW.BNvTyMvY.zhmTC2XPzgvYls0.nKHryMzdDW.Aw5WDxq".split(".");
140
+ return d = function() {
141
+ return e;
142
+ }, d();
143
+ }
@@ -1,85 +1,84 @@
1
1
  "use client";
2
- var e = i;
2
+ var e = l;
3
3
  (function(e, t) {
4
- for (var n = i, r = e();;) try {
5
- if (-parseInt(n(486)) / 1 + parseInt(n(473)) / 2 * (parseInt(n(481)) / 3) + parseInt(n(483)) / 4 + -parseInt(n(480)) / 5 + parseInt(n(471)) / 6 * (parseInt(n(477)) / 7) + -parseInt(n(479)) / 8 + parseInt(n(472)) / 9 * (parseInt(n(474)) / 10) == t) break;
4
+ for (var n = l, r = e();;) try {
5
+ if (-parseInt(n(332)) / 1 + -parseInt(n(344)) / 2 * (parseInt(n(340)) / 3) + -parseInt(n(338)) / 4 + -parseInt(n(333)) / 5 + parseInt(n(339)) / 6 * (-parseInt(n(343)) / 7) + -parseInt(n(345)) / 8 + parseInt(n(342)) / 9 == t) break;
6
6
  r.push(r.shift());
7
7
  } catch {
8
8
  r.push(r.shift());
9
9
  }
10
- })(r, 963431);
10
+ })(u, 494943);
11
11
  import { BrandIcon as t } from "../../primitives/BrandIcon.js";
12
12
  import { Button as n } from "../../primitives/index.js";
13
- function r() {
14
- var e = [
15
- "mZy2mJu5nuTKvuHQsa",
16
- "ntCWouX4shzjAa",
17
- "y29UDgLUDwu",
18
- "ntuWmJGYofnPt1nMsa",
19
- "C2vJB25Kyxj5",
20
- "r29Vz2XL",
21
- "nZa1nJa5t1zLtxfe",
22
- "nKHlu3PLrq",
23
- "mJy0nJK4mwrIDLrpsq",
24
- "ndu4Dxj4DgjU",
25
- "mtbiAfLRr1K",
26
- "66gCioQWGoYEHE2vMoQ4Sa",
27
- "66gCioUHNoQ3UoYDUa",
28
- "nJi0ntG5n056DMvgsG",
29
- "ChjPBwfYEq",
30
- "ndC3mduYmfLvrwvLsa"
31
- ];
32
- return r = function() {
33
- return e;
34
- }, r();
35
- }
36
- function i(e, t) {
37
- e -= 471;
38
- var n = r(), a = n[e];
39
- i.xZGfyg === void 0 && (i.obCKPN = function(e) {
40
- 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);
41
- for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
42
- return decodeURIComponent(r);
43
- }, i.zwPWft = {}, i.xZGfyg = !0);
44
- var o = n[0];
45
- i.YkgLYJ !== o && (i.zwPWft = {}, i.YkgLYJ = o);
46
- var s = i.zwPWft[e];
47
- return s === void 0 ? (a = i.obCKPN(a), i.zwPWft[e] = a) : a = s, a;
48
- }
49
- import { forwardRef as a } from "react";
50
- import { jsx as o } from "react/jsx-runtime";
51
- var s = {
13
+ import { forwardRef as r } from "react";
14
+ import { jsx as i } from "react/jsx-runtime";
15
+ var a = {
52
16
  google: {
53
- name: e(485),
54
- variant: e(484)
17
+ name: e(336),
18
+ variant: e(337)
55
19
  },
56
20
  apple: {
57
- name: "Apple",
58
- variant: e(478)
21
+ name: e(335),
22
+ variant: e(334)
59
23
  }
60
- }, c = {
24
+ }, o = {
61
25
  continue: "로 계속하기",
62
- signin: e(476),
63
- signup: e(475)
64
- }, l = {
26
+ signin: e(341),
27
+ signup: e(331)
28
+ }, s = {
65
29
  sm: 14,
66
30
  md: 16,
67
31
  lg: 18
68
- }, u = a(function({ provider: r, action: i = e(482), size: a = "md", iconOnly: u, children: d, ...f }, p) {
69
- let { name: m, variant: h } = s[r], g = m + c[i];
70
- return o(n, {
71
- ref: p,
72
- variant: h,
73
- size: a,
74
- iconOnly: u,
75
- icon: o(t, {
76
- name: r,
77
- size: l[a]
32
+ }, c = r(function({ provider: e, action: r = "continue", size: c = "md", iconOnly: l, children: u, ...d }, f) {
33
+ let { name: p, variant: m } = a[e], h = p + o[r];
34
+ return i(n, {
35
+ ref: f,
36
+ variant: m,
37
+ size: c,
38
+ iconOnly: l,
39
+ icon: i(t, {
40
+ name: e,
41
+ size: s[c]
78
42
  }),
79
- "aria-label": u ? g : void 0,
80
- "data-provider": r,
81
- ...f,
82
- children: d ?? g
43
+ "aria-label": l ? h : void 0,
44
+ "data-provider": e,
45
+ ...d,
46
+ children: u ?? h
83
47
  });
84
48
  });
85
- export { u as SocialLoginButton };
49
+ function l(e, t) {
50
+ e -= 331;
51
+ var n = u(), r = n[e];
52
+ l.PhhOZv === void 0 && (l.SDRRVS = function(e) {
53
+ 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);
54
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
55
+ return decodeURIComponent(r);
56
+ }, l.uyqRPO = {}, l.PhhOZv = !0);
57
+ var i = n[0];
58
+ l.GKowEt !== i && (l.uyqRPO = {}, l.GKowEt = i);
59
+ var a = l.uyqRPO[e];
60
+ return a === void 0 ? (r = l.SDRRVS(r), l.uyqRPO[e] = r) : r = a, r;
61
+ }
62
+ export { c as SocialLoginButton };
63
+ function u() {
64
+ var e = [
65
+ "mZbiEezlzxO",
66
+ "ntDXr1Hbs2m",
67
+ "66gCioUHNoQ3UoYDUa",
68
+ "mJm3mZy0odnIvwXoDNO",
69
+ "nJeWnZK5vM5vCezW",
70
+ "mtGWotH5EvbQzw4",
71
+ "mte3odm3nNDvzNbNvW",
72
+ "66gCioQWGoYEHE2vMoQ4Sa",
73
+ "mJC1mZuYBurdBe16",
74
+ "ndu4mJe2nxHcAu9HqW",
75
+ "ChjPBwfYEq",
76
+ "qxbWBgu",
77
+ "r29Vz2XL",
78
+ "C2vJB25Kyxj5",
79
+ "nZGWntG0tgDlr1nb"
80
+ ];
81
+ return u = function() {
82
+ return e;
83
+ }, u();
84
+ }