@iamfiro/design 0.3.1 → 0.3.4

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 (161) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/avatar/AGENTS.md +29 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/agents/tooltip/AGENTS.md +1 -1
  6. package/lib/components/Accordion/Accordion2.js +92 -92
  7. package/lib/components/ActionBar/ActionBar2.js +42 -45
  8. package/lib/components/Alert/Alert2.js +77 -77
  9. package/lib/components/AppShell/AppShell2.js +70 -71
  10. package/lib/components/AreaChart/AreaChart.js +32 -35
  11. package/lib/components/BarChart/BarChart2.js +155 -155
  12. package/lib/components/BarList/BarList2.js +93 -93
  13. package/lib/components/Breadcrumb/Breadcrumb2.js +62 -64
  14. package/lib/components/Calendar/Calendar2.js +183 -182
  15. package/lib/components/Calendar/DatePicker2.js +116 -115
  16. package/lib/components/Calendar/date.js +67 -66
  17. package/lib/components/Card/Card2.js +67 -67
  18. package/lib/components/CardFrame/CardFrame2.js +34 -37
  19. package/lib/components/Chart/ChartParts.js +90 -90
  20. package/lib/components/Chart/chart2.js +62 -62
  21. package/lib/components/Chart/useChartInteraction.js +51 -51
  22. package/lib/components/ChatBubble/ChatBubble2.js +117 -117
  23. package/lib/components/ChatBubble/formatChatTime.js +37 -36
  24. package/lib/components/ChatComposer/ChatComposer2.js +55 -55
  25. package/lib/components/CodeBlock/CodeBlock2.js +60 -60
  26. package/lib/components/CodeBlock/highlight.js +72 -72
  27. package/lib/components/ColorPicker/ColorPicker2.js +232 -231
  28. package/lib/components/ColorPicker/color.js +67 -67
  29. package/lib/components/ColorPicker/presets.js +25 -24
  30. package/lib/components/Combobox/Combobox2.js +140 -140
  31. package/lib/components/CommandMenu/CommandMenu.js +135 -135
  32. package/lib/components/Comment/Comment2.js +82 -57
  33. package/lib/components/ContextMenu/ContextMenu2.js +101 -100
  34. package/lib/components/DataGrid/DataGrid2.js +872 -871
  35. package/lib/components/DataGrid/GridPopover.js +98 -98
  36. package/lib/components/DataGrid/anchor.js +34 -33
  37. package/lib/components/DataGrid/model.js +291 -290
  38. package/lib/components/DataGrid/panels.js +337 -336
  39. package/lib/components/DataGrid/typeMeta.js +49 -48
  40. package/lib/components/DataGrid/types.js +34 -33
  41. package/lib/components/DescriptionList/DescriptionList2.js +109 -109
  42. package/lib/components/Dialog/AlertDialog.js +53 -53
  43. package/lib/components/Dialog/Dialog2.js +72 -72
  44. package/lib/components/Dialog/modal.js +67 -68
  45. package/lib/components/Drawer/Drawer2.js +117 -117
  46. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -266
  47. package/lib/components/DropdownMenu/menuCore.js +68 -42
  48. package/lib/components/Dropzone/Dropzone2.js +78 -78
  49. package/lib/components/EmptyState/EmptyState2.js +58 -56
  50. package/lib/components/FileChip/FileChip2.js +72 -48
  51. package/lib/components/FileUpload/FileUpload.js +137 -138
  52. package/lib/components/FilterChips/FilterChips2.js +61 -61
  53. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  54. package/lib/components/FunnelChart/funnel.js +50 -49
  55. package/lib/components/Highlight/Highlight2.js +56 -56
  56. package/lib/components/HoverCard/HoverCard.js +73 -73
  57. package/lib/components/InlineDiff/InlineDiff2.js +129 -129
  58. package/lib/components/InlineDiff/diff.js +87 -87
  59. package/lib/components/InlineDiff/useDiffReview.js +54 -52
  60. package/lib/components/Kanban/Kanban2.js +383 -384
  61. package/lib/components/Kanban/KanbanCard.js +68 -93
  62. package/lib/components/Kanban/move.js +43 -43
  63. package/lib/components/LineChart/LineChart2.js +164 -164
  64. package/lib/components/List/List2.js +60 -60
  65. package/lib/components/Listbox/Listbox2.js +108 -108
  66. package/lib/components/Marker/Marker2.js +59 -57
  67. package/lib/components/Menubar/Menubar2.js +120 -119
  68. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  69. package/lib/components/NavigationMenu/NavigationMenu2.js +277 -279
  70. package/lib/components/NoticeStack/NoticeStack2.js +109 -109
  71. package/lib/components/NumberStepper/NumberStepper2.js +70 -70
  72. package/lib/components/OtpInput/OtpInput2.js +94 -94
  73. package/lib/components/Pagination/Pagination2.js +109 -109
  74. package/lib/components/Pagination/paginationRange.js +37 -38
  75. package/lib/components/PhoneInput/PhoneInput.js +83 -84
  76. package/lib/components/PieChart/PieChart2.js +157 -157
  77. package/lib/components/PieChart/arc.js +72 -72
  78. package/lib/components/PieChart/useArcTween.js +50 -53
  79. package/lib/components/Popover/Popover2.js +62 -61
  80. package/lib/components/ProgressTracker/ProgressTracker2.js +104 -104
  81. package/lib/components/Rating/Rating2.js +89 -88
  82. package/lib/components/Resizable/Resizable2.js +133 -134
  83. package/lib/components/Resizable/layout.js +56 -56
  84. package/lib/components/ScaledPreview/ScaledPreview2.js +64 -63
  85. package/lib/components/ScatterChart/ScatterChart2.js +252 -251
  86. package/lib/components/ScatterChart/scatter.js +50 -52
  87. package/lib/components/ScrollArea/ScrollArea2.js +122 -122
  88. package/lib/components/Select/Select2.js +84 -85
  89. package/lib/components/Sidebar/Sidebar2.js +79 -79
  90. package/lib/components/Skeleton/Skeleton2.js +56 -56
  91. package/lib/components/Slider/Slider2.js +63 -63
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -46
  93. package/lib/components/SparkChart/SparkChart2.js +129 -128
  94. package/lib/components/SparkChart/spark.js +49 -48
  95. package/lib/components/Sparkbar/Sparkbar2.js +59 -58
  96. package/lib/components/SplitView/SplitView2.js +54 -55
  97. package/lib/components/Stat/Stat2.js +59 -59
  98. package/lib/components/StepList/StepList2.js +78 -78
  99. package/lib/components/Table/Table2.js +55 -55
  100. package/lib/components/Tabs/Tabs2.js +76 -76
  101. package/lib/components/TagInput/TagInput2.js +218 -215
  102. package/lib/components/TimePicker/TimePicker2.js +204 -204
  103. package/lib/components/TimePicker/time.js +59 -58
  104. package/lib/components/Timeline/Timeline2.js +179 -179
  105. package/lib/components/Timeline/scale.js +60 -55
  106. package/lib/components/Toast/Toaster.js +103 -103
  107. package/lib/components/Toast/store.js +47 -47
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +77 -77
  109. package/lib/components/Toolbar/Toolbar2.js +138 -138
  110. package/lib/components/Tracker/Tracker2.js +99 -99
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +117 -117
  112. package/lib/components/TreeView/TreeView2.js +145 -145
  113. package/lib/hooks/timing.js +33 -33
  114. package/lib/hooks/useControllableState.js +33 -33
  115. package/lib/hooks/useCountdown.js +54 -55
  116. package/lib/hooks/useDigitInput.js +85 -84
  117. package/lib/hooks/useDismiss.js +55 -55
  118. package/lib/hooks/useElapsed.js +55 -55
  119. package/lib/hooks/useFloating.js +21 -21
  120. package/lib/hooks/useFocusTrap.js +67 -67
  121. package/lib/hooks/usePresence.js +33 -29
  122. package/lib/hooks/usePressToOpen.js +33 -33
  123. package/lib/hooks/useScrollLock.js +54 -55
  124. package/lib/hooks/useSelection.js +54 -48
  125. package/lib/index.js +67 -68
  126. package/lib/primitives/AspectRatio2.js +58 -54
  127. package/lib/primitives/BrandIcon.js +189 -158
  128. package/lib/primitives/ColorDot2.js +52 -51
  129. package/lib/primitives/CopyButton2.js +66 -64
  130. package/lib/primitives/CountBadge2.js +56 -56
  131. package/lib/primitives/Countdown2.js +36 -34
  132. package/lib/primitives/Delta2.js +41 -66
  133. package/lib/primitives/Elapsed.js +32 -32
  134. package/lib/primitives/FileIcon2.js +90 -90
  135. package/lib/primitives/Flag2.js +157 -157
  136. package/lib/primitives/IconStack2.js +60 -58
  137. package/lib/primitives/IconTile2.js +46 -48
  138. package/lib/primitives/Kbd2.js +51 -51
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +37 -35
  141. package/lib/primitives/MaskedText2.js +71 -75
  142. package/lib/primitives/Progress2.js +72 -72
  143. package/lib/primitives/RelativeTime.js +60 -64
  144. package/lib/primitives/SearchInput2.js +55 -56
  145. package/lib/primitives/SelectorButton2.js +69 -71
  146. package/lib/primitives/Spinner2.js +63 -59
  147. package/lib/primitives/StatusIcon2.js +66 -66
  148. package/lib/primitives/Swatch2.js +54 -56
  149. package/lib/primitives/Tooltip2.js +77 -77
  150. package/lib/primitives/Typography2.js +67 -67
  151. package/lib/primitives/formatCountdown.js +38 -41
  152. package/lib/primitives/formatElapsed.js +41 -40
  153. package/lib/primitives/formatRelativeTime.js +74 -48
  154. package/lib/primitives/hotkey.js +81 -81
  155. package/lib/primitives/index.js +220 -199
  156. package/lib/primitives/maskValue.js +53 -52
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/lib/types/primitives/index.d.ts +6 -2
  161. package/package.json +1 -1
@@ -3,68 +3,69 @@ const e = t;
3
3
  (function(e, n) {
4
4
  let r = t, i = e();
5
5
  for (;;) try {
6
- if (parseInt(r(215)) / 1 * (parseInt(r(259)) / 2) + parseInt(r(245)) / 3 * (parseInt(r(244)) / 4) + -parseInt(r(238)) / 5 * (parseInt(r(251)) / 6) + parseInt(r(240)) / 7 * (-parseInt(r(252)) / 8) + -parseInt(r(247)) / 9 * (-parseInt(r(213)) / 10) + parseInt(r(261)) / 11 * (-parseInt(r(214)) / 12) + parseInt(r(227)) / 13 == n) break;
6
+ if (-parseInt(r(470)) / 1 * (-parseInt(r(513)) / 2) + -parseInt(r(480)) / 3 * (parseInt(r(512)) / 4) + -parseInt(r(499)) / 5 * (-parseInt(r(509)) / 6) + -parseInt(r(486)) / 7 * (-parseInt(r(482)) / 8) + -parseInt(r(490)) / 9 + -parseInt(r(491)) / 10 + parseInt(r(498)) / 11 == n) break;
7
7
  i.push(i.shift());
8
8
  } catch {
9
9
  i.push(i.shift());
10
10
  }
11
- })(i, 829267);
11
+ })(s, 993818);
12
12
  function t(e, n) {
13
- e -= 212;
14
- let r = i(), a = r[e];
15
- t.AGnWfP === void 0 && (t.jpkHwj = function(e) {
13
+ e -= 469;
14
+ let r = s(), i = r[e];
15
+ t.DJCiRK === void 0 && (t.MxeviW = function(e) {
16
16
  let t = "", n = "";
17
17
  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);
18
18
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
19
  return decodeURIComponent(n);
20
- }, t.lbuVip = {}, t.AGnWfP = !0);
21
- let o = r[0];
22
- t.APdyDU !== o && (t.lbuVip = {}, t.APdyDU = o);
23
- let s = t.lbuVip[e];
24
- return s === void 0 ? (a = t.jpkHwj(a), t.lbuVip[e] = a) : a = s, a;
20
+ }, t.pqVLzF = {}, t.DJCiRK = !0);
21
+ let a = r[0];
22
+ t.sXgJdu !== a && (t.pqVLzF = {}, t.sXgJdu = a);
23
+ let o = t.pqVLzF[e];
24
+ return o === void 0 ? (i = t.MxeviW(i), t.pqVLzF[e] = i) : i = o, i;
25
25
  }
26
26
  import { useControllableState as n } from "../../hooks/useControllableState.js";
27
27
  import { cx as r } from "../../primitives/index.js";
28
- function i() {
29
- let e = /* @__PURE__ */ "rxnJyxbL.AxnbCNjHEq.y2XPzw50wa.zhmTC2XPzgvYx190AhvTyG.nJG4ndy1nxr5z1bAra.C29Tzq.mZaZoteWnKn4vMTiCG.D2LKDgG.C3bSAxq.Aw5WDxq.nhzRqvLvza.ndm1ntqWm3beuK5csq.Dg9gAxHLza.mZy2nZvUy0vvtK8.zgL2.Ag9YAxPVBNrHBa.rw5K.nMr1BM51BW.oeXVuvvMtq.ChjLDMvUDerLzMf1Bhq.Cg9PBNrLCKLK.zhmTC2XPzgvYx19TyxjR.BwfW.BgvUz3rO.zhmTC2XPzgvYx19TyxjRlwXHyMvS.mKfeB1P5Ca.sg9Tzq.mtflBhbcB1q.yxv0BW.mZa3me1SvhHgDa.mtyXmJi5ndHssvjWtKu.mZK0nJyYq01SrffT.C2v0ug9PBNrLCKnHChr1CMu.y3vYCMvUDa.zhmTC2XPzgvYx19Yyw5Nzq.C3bHBG.A2v5.BMv2zxi.CM91BMq.BNvTyMvY.zhmTC2XPzgvYx192ywX1zq.zhmTC2XPzgvYx19YywLS.zhmTC2XPzgvYls1SywjLBgvK.mte1mJm4mtfyuuLPrw0.Bwf4.BwLU.yNv0Dg9U.BgfIzwW.DMfSDwu.ywjZ".split(".");
30
- return i = function() {
28
+ /* empty css */
29
+ import { useLayoutEffect as i, useRef as a, useState as o } from "react";
30
+ function s() {
31
+ let e = /* @__PURE__ */ "y3vYCMvUDa.ndCXnte2nezuBfrWra.mtzLsND0Cha.C3bHBG.BgvUz3rO.BgfIzwW.mtCXnZy3qLfQvxju.zhmTC2XPzgvYx190AhvTyG.AxnbCNjHEq.BwLU.zhmTC2XPzgvYls1SywjLBgvK.Ag9YAxPVBNrHBa.AgLKzgvU.ywjZ.ChjLDMvUDerLzMf1Bhq.DMfSDwu.m0XyAgrJCG.zhmTC2XPzgvYls0.ndmYoe9QrKvXrW.BwfW.y2XPzw50wa.y3vYCMvUDfrHCMDLDa.mZm1m05vrhjurW.zhmTC2XPzgvYx190CMfJAW.rxnJyxbL.C2v0ug9PBNrLCKnHChr1CMu.nZm2nZmZn0HVre9HDq.mte0otCZndbYr3z1seu.D2LKDgG.zhmTC2XPzgvYx19YywLS.zhmTC2XPzgvYx19TyxjRlwXHyMvS.zhmTC2XPzgvYx192ywX1zq.zM9JDxm.z2v0qM91BMrPBMDdBgLLBNrszwn0.mJa1otKXodnzr0HztNq.odboq2DbBei.C3bSAxq.Cg9PBNrLCKLK.Dg9gAxHLza.Bwf4.CM91BMq.BNvTyMvY.zhmTC2XPzgvY.zhmTC2XPzgvYx19TyxjR.zgL2.mJm4mti4q3nWAe9J.A2v5".split(".");
32
+ return s = function() {
31
33
  return e;
32
- }, i();
34
+ }, s();
33
35
  }
34
- /* empty css */
35
- import { useLayoutEffect as a, useRef as o, useState as s } from "react";
36
36
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
37
- var u = (t, n, r) => Math[e(229)](r, Math[e(228)](n, t));
38
- function d({ value: t, defaultValue: i, onValueChange: d, onValueCommit: f, min: p = 0, max: m = 100, step: h = 1, minDistance: g = 0, marks: _, formatValue: v = String, showValue: y = e(212), size: b = "md", disabled: x, name: S, id: C, className: w, "aria-label": T, getThumbLabel: E }) {
39
- let D = e, O = Array.isArray(t ?? i), [k, A] = n(t, i ?? p, d), j = Array[D(235)](k) ? k : [k], M = o(j);
40
- a(() => {
37
+ var u = (t, n, r) => Math[e(473)](r, Math[e(503)](n, t));
38
+ function d({ value: t, defaultValue: s, 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 }) {
39
+ let D = e, O = Array[D(472)](t ?? s), [k, A] = n(t, s ?? p, d), j = Array[D(472)](k) ? k : [k], M = a(j);
40
+ i(() => {
41
41
  let e = D;
42
- M[e(217)] = j;
42
+ M[e(511)] = j;
43
43
  });
44
- let N = o(null), P = o([]), [F, I] = s(null), L = o(j), R = (String(h)[D(242)](".")[1] ?? "")[D(257)], z = (e) => u(Number((Math[D(222)]((e - p) / h) * h + p)[D(246)](R)), p, m), B = (e) => (e - p) / (m - p) * 100, V = (e) => O ? [e[0], e[1]] : e[0], H = (e, t) => {
45
- let n = D, r = [...M[n(217)]], i = z(t);
46
- O && (i = e === 0 ? Math[n(229)](i, r[1] - g) : Math.max(i, r[0] + g)), i !== r[e] && (r[e] = i, M[n(217)] = r, A(V(r)));
44
+ let N = a(null), P = a([]), [F, I] = o(null), L = a(j), R = (String(h)[D(500)](".")[1] ?? "")[D(515)], z = (e) => u(Number((Math[D(504)]((e - p) / h) * h + p)[D(502)](R)), p, m), B = (e) => (e - p) / (m - p) * 100, V = (e) => O ? [e[0], e[1]] : e[0], H = (e, t) => {
45
+ let n = D, r = [...M[n(511)]], i = z(t);
46
+ O && (i = e === 0 ? Math.min(i, r[1] - g) : Math[n(503)](i, r[0] + g)), i !== r[e] && (r[e] = i, M[n(511)] = r, A(V(r)));
47
47
  }, U = (e) => {
48
- let t = D, n = N[t(217)].getBoundingClientRect();
49
- return p + u((e - n.left) / n[t(241)], 0, 1) * (m - p);
48
+ let t = D, n = N[t(511)][t(497)]();
49
+ return p + u((e - n.left) / n[t(492)], 0, 1) * (m - p);
50
50
  }, W = (e) => {
51
51
  let t = D;
52
- if (x || e[t(230)] !== 0) return;
53
- e[t(253)]();
54
- let n = U(e.clientX), r = O ? Math[t(233)](n - j[0]) < Math[t(233)](n - j[1]) ? 0 : Math[t(233)](n - j[0]) > Math[t(233)](n - j[1]) ? 1 : n < j[0] ? 0 : 1 : 0;
55
- e.currentTarget[t(216)](e[t(254)]), L[t(217)] = M.current, I(r), H(r, n), P[t(217)][r]?.focus();
52
+ if (x || e.button !== 0) return;
53
+ e[t(478)]();
54
+ let n = U(e[t(484)]), r = O ? Math[t(477)](n - j[0]) < Math[t(477)](n - j[1]) ? 0 : Math[t(477)](n - j[0]) > Math[t(477)](n - j[1]) ? 1 : n < j[0] ? 0 : 1 : 0;
55
+ e[t(485)][t(489)](e[t(501)]), L[t(511)] = M.current, I(r), H(r, n), P[t(511)][r]?.[t(496)]();
56
56
  }, G = (e) => {
57
- F !== null && H(F, U(e[D(236)]));
57
+ F !== null && H(F, U(e[D(484)]));
58
58
  }, K = () => {
59
- F !== null && (I(null), f?.(V(M.current)));
59
+ let e = D;
60
+ F !== null && (I(null), f?.(V(M[e(511)])));
60
61
  }, q = (e) => (t) => {
61
62
  let n = D;
62
- if (t[n(220)] === n(234) && F !== null) {
63
- t[n(253)](), I(null), M.current = L[n(217)], A(V(L[n(217)]));
63
+ if (t[n(510)] === n(488) && F !== null) {
64
+ t[n(478)](), I(null), M.current = L[n(511)], A(V(L[n(511)]));
64
65
  return;
65
66
  }
66
67
  if (F !== null) return;
67
- let r = h * Math[n(228)](1, Math.round((m - p) / h / 10)), i = {
68
+ let r = h * Math[n(503)](1, Math[n(504)]((m - p) / h / 10)), i = {
68
69
  ArrowRight: h,
69
70
  ArrowUp: h,
70
71
  ArrowLeft: -h,
@@ -72,40 +73,39 @@ function d({ value: t, defaultValue: i, onValueChange: d, onValueCommit: f, min:
72
73
  PageUp: r,
73
74
  PageDown: -r
74
75
  }, a;
75
- t[n(220)] in i ? a = j[e] + i[t[n(220)]] : t[n(220)] === n(260) ? a = p : t[n(220)] === n(250) && (a = m), a !== void 0 && (t[n(253)](), H(e, a), f?.(V(M[n(217)])));
76
- }, J = (_ ?? [])[D(256)]((e) => typeof e === D(223) ? { value: e } : e), Y = J[D(239)]((e) => e[D(231)] != null), X = O ? j[0] : p, Z = j[j[D(257)] - 1];
77
- return l(D(248), {
76
+ t.key in i ? a = j[e] + i[t.key] : t[n(510)] === "Home" ? a = p : t.key === "End" && (a = m), a !== void 0 && (t[n(478)](), H(e, a), f?.(V(M[n(511)])));
77
+ }, J = (_ ?? [])[D(483)]((e) => typeof e === D(505) ? { value: e } : e), Y = J.some((e) => e.label != null), X = O ? j[0] : p, Z = j[j.length - 1];
78
+ return l(D(508), {
78
79
  id: C,
79
- className: r("ds-slider", "ds-slider--" + b, Y && D(226), w),
80
+ className: r(D(506), D(481) + b, Y && D(474), w),
80
81
  "data-disabled": x || void 0,
81
82
  "data-dragging": F !== null || void 0,
82
83
  onPointerDown: W,
83
84
  onPointerMove: G,
84
85
  onPointerUp: K,
85
86
  onPointerCancel: K,
86
- children: [l(D(248), {
87
+ children: [l(D(508), {
87
88
  ref: N,
88
- className: D(225),
89
+ className: D(493),
89
90
  children: [
90
- c(D(248), {
91
- className: "ds-slider__track",
92
- children: c(D(248), {
93
- className: D(218),
91
+ c("div", {
92
+ className: D(487),
93
+ children: c(D(508), {
94
+ className: "ds-slider__range",
94
95
  style: {
95
96
  left: B(X) + "%",
96
97
  right: 100 - B(Z) + "%"
97
98
  }
98
99
  })
99
100
  }),
100
- J[D(256)]((e) => c(D(219), {
101
- className: D(255),
102
- "data-in-range": e[D(232)] >= X && e[D(232)] <= Z || void 0,
103
- style: { left: B(e[D(232)]) + "%" }
104
- }, e[D(232)])),
105
- j[D(256)]((e, t) => c(D(219), {
101
+ J.map((e) => c("span", {
102
+ className: D(507),
103
+ "data-in-range": e[D(479)] >= X && e[D(479)] <= Z || void 0,
104
+ style: { left: B(e.value) + "%" }
105
+ }, e[D(479)])),
106
+ j[D(483)]((e, t) => c(D(514), {
106
107
  ref: (e) => {
107
- let n = D;
108
- P[n(217)][t] = e;
108
+ P.current[t] = e;
109
109
  },
110
110
  role: "slider",
111
111
  tabIndex: x ? -1 : 0,
@@ -114,26 +114,26 @@ function d({ value: t, defaultValue: i, onValueChange: d, onValueCommit: f, min:
114
114
  "aria-valuenow": e,
115
115
  "aria-valuetext": v(e),
116
116
  "aria-label": E?.(t) ?? T,
117
- "aria-orientation": D(249),
117
+ "aria-orientation": D(475),
118
118
  "aria-disabled": x || void 0,
119
- className: D(237),
119
+ className: D(471),
120
120
  "data-active": F === t || void 0,
121
121
  style: { left: B(e) + "%" },
122
122
  onKeyDown: q(t),
123
- children: y !== D(221) && c(D(219), {
124
- className: D(224),
123
+ children: y !== "never" && c(D(514), {
124
+ className: D(495),
125
125
  "data-show": y,
126
126
  children: v(e)
127
127
  })
128
128
  }, t)),
129
- Y && J[D(256)]((e) => e[D(231)] != null && c(D(219), {
130
- className: D(258),
131
- style: { left: B(e.value) + "%" },
132
- children: e[D(231)]
129
+ Y && J.map((e) => e[D(469)] != null && c(D(514), {
130
+ className: D(494),
131
+ style: { left: B(e[D(479)]) + "%" },
132
+ children: e[D(469)]
133
133
  }, "l-" + e.value))
134
134
  ]
135
- }), S && j[D(256)]((e, t) => c(D(243), {
136
- type: "hidden",
135
+ }), S && j.map((e, t) => c("input", {
136
+ type: D(476),
137
137
  name: O ? S + "[" + t + "]" : S,
138
138
  value: e
139
139
  }, t))]
@@ -1,82 +1,90 @@
1
1
  "use client";
2
- var e = t;
3
- (function(e, n) {
4
- for (var r = t, i = e();;) try {
5
- if (-parseInt(r(375)) / 1 + -parseInt(r(382)) / 2 + -parseInt(r(385)) / 3 + parseInt(r(381)) / 4 * (-parseInt(r(376)) / 5) + parseInt(r(380)) / 6 + -parseInt(r(379)) / 7 + parseInt(r(389)) / 8 * (parseInt(r(387)) / 9) == n) break;
2
+ function e() {
3
+ var t = [
4
+ "qxbWBgu",
5
+ "C2vJB25Kyxj5",
6
+ "mtu4nZu1nKDzDLrlvq",
7
+ "ntGYwg9utwXL",
8
+ "ovvyqxjOwG",
9
+ "mtvzAfvuuwS",
10
+ "odC4ntC2oenwu05gra",
11
+ "mJC5otG2mtLOvvvXswK",
12
+ "twLJCM9ZB2z0",
13
+ "mZm5odqWvfnvDu5z",
14
+ "r29Vz2XL",
15
+ "mti5mJi5ndbutw1TCva",
16
+ "mJy3nZqZuMvZufbo",
17
+ "ndG4ogPAy2H4CG",
18
+ "mtG2vLLIvNbM",
19
+ "y29UDgLUDwu",
20
+ "66gCioQWGoYEHE2vMoQ4Sa",
21
+ "66gCioQZHoYgJE2vMoQ4Sa",
22
+ "66gCioUHNoQ3UoYDUa"
23
+ ];
24
+ return e = function() {
25
+ return t;
26
+ }, e();
27
+ }
28
+ var t = r;
29
+ (function(e, t) {
30
+ for (var n = r, i = e();;) try {
31
+ if (parseInt(n(486)) / 1 + parseInt(n(490)) / 2 * (parseInt(n(499)) / 3) + -parseInt(n(498)) / 4 * (parseInt(n(482)) / 5) + parseInt(n(491)) / 6 * (-parseInt(n(489)) / 7) + -parseInt(n(483)) / 8 * (-parseInt(n(500)) / 9) + -parseInt(n(488)) / 10 + parseInt(n(484)) / 11 == t) break;
6
32
  i.push(i.shift());
7
33
  } catch {
8
34
  i.push(i.shift());
9
35
  }
10
- })(r, 498480);
11
- function t(e, n) {
12
- e -= 375;
13
- var i = r(), a = i[e];
14
- t.yqOfZl === void 0 && (t.oZjnnG = function(e) {
36
+ })(e, 788846);
37
+ import { BrandIcon as n } from "../../primitives/BrandIcon.js";
38
+ function r(t, n) {
39
+ t -= 482;
40
+ var i = e(), a = i[t];
41
+ r.ISRIsF === void 0 && (r.GIQiGG = function(e) {
15
42
  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);
16
43
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
17
44
  return decodeURIComponent(r);
18
- }, t.TgFFIj = {}, t.yqOfZl = !0);
45
+ }, r.RnaGkt = {}, r.ISRIsF = !0);
19
46
  var o = i[0];
20
- t.WxgRvZ !== o && (t.TgFFIj = {}, t.WxgRvZ = o);
21
- var s = t.TgFFIj[e];
22
- return s === void 0 ? (a = t.oZjnnG(a), t.TgFFIj[e] = a) : a = s, a;
23
- }
24
- import { BrandIcon as n } from "../../primitives/BrandIcon.js";
25
- function r() {
26
- var e = [
27
- "C2vJB25Kyxj5",
28
- "ofPMruDZrG",
29
- "nJi4nZCXD2H2y3ny",
30
- "ntuWqM1QAMfT",
31
- "r29Vz2XL",
32
- "y29UDgLUDwu",
33
- "nJe3ndqYn3vYugrkza",
34
- "mJy5otm0mgn3D1PYqW",
35
- "mJK3ndHrzNnStxO",
36
- "mteZmZC4ogPirfP0sa",
37
- "66gCioUHNoQ3UoYDUa",
38
- "66gCioQWGoYEHE2vMoQ4Sa",
39
- "mtGWodC2owPitMXTwG",
40
- "qxbWBgu",
41
- "mZe5mJu3odfQBeLbwMW"
42
- ];
43
- return r = function() {
44
- return e;
45
- }, r();
47
+ r.FgIgeO !== o && (r.RnaGkt = {}, r.FgIgeO = o);
48
+ var s = r.RnaGkt[t];
49
+ return s === void 0 ? (a = r.GIQiGG(a), r.RnaGkt[t] = a) : a = s, a;
46
50
  }
47
51
  import { Button as i } from "../../primitives/index.js";
48
52
  import { forwardRef as a } from "react";
49
53
  import { jsx as o } from "react/jsx-runtime";
50
54
  var s = {
51
55
  google: {
52
- name: e(377),
53
- variant: e(388)
56
+ name: t(487),
57
+ variant: t(497)
54
58
  },
55
59
  apple: {
56
- name: e(386),
60
+ name: t(496),
57
61
  variant: "primary"
62
+ },
63
+ microsoft: {
64
+ name: t(485),
65
+ variant: t(497)
58
66
  }
59
67
  }, c = {
60
- continue: "로 계속하기",
61
- signin: e(383),
62
- signup: e(384)
68
+ continue: t(494),
69
+ signin: t(495),
70
+ signup: t(493)
63
71
  }, l = {
64
72
  sm: 14,
65
73
  md: 16,
66
74
  lg: 18
67
- }, u = a(function({ provider: t, action: r = e(378), size: a = "md", iconOnly: u, children: d, ...f }, p) {
68
- let { name: m, variant: h } = s[t], g = m + c[r];
75
+ }, u = a(function({ provider: e, action: r = t(492), size: a = "md", iconOnly: u, children: d, ...f }, p) {
76
+ let { name: m, variant: h } = s[e], g = m + c[r];
69
77
  return o(i, {
70
78
  ref: p,
71
79
  variant: h,
72
80
  size: a,
73
81
  iconOnly: u,
74
82
  icon: o(n, {
75
- name: t,
83
+ name: e,
76
84
  size: l[a]
77
85
  }),
78
86
  "aria-label": u ? g : void 0,
79
- "data-provider": t,
87
+ "data-provider": e,
80
88
  ...f,
81
89
  children: d ?? g
82
90
  });