@iamfiro/design 0.3.2 → 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 (158) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,62 +1,62 @@
1
1
  "use client";
2
- const e = F;
2
+ const e = M;
3
3
  (function(e, t) {
4
- let n = F, r = e();
4
+ let n = M, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(292)) / 1 * (-parseInt(n(359)) / 2) + parseInt(n(327)) / 3 * (-parseInt(n(313)) / 4) + parseInt(n(369)) / 5 + -parseInt(n(267)) / 6 * (-parseInt(n(338)) / 7) + -parseInt(n(372)) / 8 * (parseInt(n(366)) / 9) + -parseInt(n(383)) / 10 + -parseInt(n(342)) / 11 * (-parseInt(n(340)) / 12) == t) break;
6
+ if (parseInt(n(401)) / 1 + -parseInt(n(417)) / 2 * (-parseInt(n(412)) / 3) + parseInt(n(368)) / 4 * (parseInt(n(430)) / 5) + parseInt(n(327)) / 6 * (parseInt(n(319)) / 7) + -parseInt(n(369)) / 8 + -parseInt(n(378)) / 9 * (-parseInt(n(321)) / 10) + -parseInt(n(389)) / 11 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(t, 803188);
12
- function t() {
13
- let e = /* @__PURE__ */ "ndq5mJi1tuPSu1Lp.zhmTyxzHDgfYls1ZCxvHCMu.mtCWnZeYv3jqEwD2.zhmTAw5WDxq.mZnQzgzuEha.zMfPBgvK.yxv0BW.y2XVC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2rHDgeTDMfSDwu9iG.CgfKzgLUz1rVCa.CMvKDwnL.zhmTyMfKz2uTlq.zgvMyxvSDfbYzxzLBNrLza.zgL2.i2i2nwfKoa.zhmTy2HLy2STlwnPCMnSzq.ChjLC3nLza.Dg9vChbLCKnHC2u.C2nYB2XSsgvPz2H0.C2vJB25Kyxj5.ywrKrxzLBNrmAxn0zw5LCG.zhmTC2vN.Aw1N.i2u1ntC3yq.zhmTC3DPDgnOx190CMfJAW.zhmTyxzHDgfY.nte1nK1NwfbezG.zhmTC3DPDgnO.qxjYB3Dmzwz0.zhmTzMLLBgq.zhmTC3DPDgnOx190AhvTyG.Bg9HzgvK.zhmTAw5WDxqTlwjHCMu.BgvUz3rO.w2LUzxj0xq.zhmTyxzHDgfYx19PBwC.Dgv4DgfYzwe.C3bSAxq.zhmTyMfKz2vFx2nOzxzYB24.ChjLC3ngBgfZAa.mJe5m3HfqLvsrq.zhmTAw5WDxqTlq.zhmTyNrUx19SywjLBa.C2v0vgLTzw91Da.y291BNq.y2XPy2S.zhmTzMLLBgrFx2XHyMvS.C2vSzwn0.BwfW.CMvTB3zLrxzLBNrmAxn0zw5LCG.AgvPz2H0".split(".");
14
- return t = function() {
11
+ })(j, 181007);
12
+ import { Spinner as t } from "./Spinner2.js";
13
+ import { IconStack as n } from "./IconStack2.js";
14
+ import { Kbd as r, formatKey as i, isMac as a } from "./Kbd2.js";
15
+ import { TIMING as o } from "../hooks/timing.js";
16
+ import { Tooltip as s } from "./Tooltip2.js";
17
+ import { isTypingTarget as c, matchesHotkey as l, toAriaShortcut as u } from "./hotkey.js";
18
+ /* empty css */
19
+ import { Flag as d } from "./Flag2.js";
20
+ import { SearchInput as f } from "./SearchInput2.js";
21
+ import { Heading as p, Prose as m, Text as h } from "./Typography2.js";
22
+ import { Progress as g, ProgressCircle as _ } from "./Progress2.js";
23
+ import { FileIcon as v, fileKind as y } from "./FileIcon2.js";
24
+ import { CopyButton as b } from "./CopyButton2.js";
25
+ import { Swatch as x } from "./Swatch2.js";
26
+ import { BRAND_NAMES as S, BrandIcon as C } from "./BrandIcon.js";
27
+ import { ColorDot as w } from "./ColorDot2.js";
28
+ import { Box as T, Grid as E, Inline as D, Separator as O, Stack as ee } from "./Layout2.js";
29
+ import { AspectRatio as te } from "./AspectRatio2.js";
30
+ import { formatFullDate as ne, formatRelativeTime as re, nextRelativeTimeChange as ie } from "./formatRelativeTime.js";
31
+ import { RelativeTime as ae } from "./RelativeTime.js";
32
+ import { IconTile as oe } from "./IconTile2.js";
33
+ import { SelectorButton as se } from "./SelectorButton2.js";
34
+ import { StatusIcon as ce } from "./StatusIcon2.js";
35
+ import { Delta as k } from "./Delta2.js";
36
+ import { formatCountdown as A } from "./formatCountdown.js";
37
+ function j() {
38
+ let e = /* @__PURE__ */ "y2HLy2TIB3G.Dgv4DgfYzwe.zgf0yxnLDa.zMLUzeLUzgv4.C2vSzwn0.zMLSDgvY.zxnJyxbL.Bwf0y2HLCW.ChjLC3ngBgfZAa.iZDJnMnMzG.zhmTDgv4DgfYzweTlwf1Dg8GzhmTC2nYB2XS.Dhj1zq.zhmTy2HLy2STlwnPCMnSzq.C3rHDhvZ.B2zMC2v0tgvMDa.C2XPy2u.AgvPz2H0.CMvTB3zLrxzLBNrmAxn0zw5LCG.DMfSDwu.BwfW.A2v5q29Kzq.zhmTC2vSzwn0.Bwv0yuTLEq.C3DPDgnO.ywX0s2v5.B3zLCMzSB3Dz.y2XVC2vZDa.ChjLDMvUDerLzMf1Bhq.zgvMyxvSDfbYzxzLBNrLza.zhmTy2HLy2S.zhmTyMfKz2uTlw92zxjSAw5L.zhmTyNrUls1Py29U.zhmTy2HLy2TFx2jVEa.mJmYnfHRtw9TqW.mti4nty0ohDvvMLNyW.Aw1N.zhmTyxzHDgfY.w2rHDgeTDMfSDwu9iG.CgfKzgLUz0jVDhrVBq.zhmTyxzHDgfYx19ZDgf0Dxm.D2LKDgG.CMvKDwnL.zhmTyMfKz2uTlxnXDwfYzq.ouvXBLzlsW.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u1ntC3yq.zgL2.AM9PBG".split(".");
39
+ return j = function() {
15
40
  return e;
16
- }, t();
41
+ }, j();
17
42
  }
18
- import { Spinner as n } from "./Spinner2.js";
19
- import { IconStack as r } from "./IconStack2.js";
20
- import { Kbd as i, formatKey as a, isMac as o } from "./Kbd2.js";
21
- import { TIMING as s } from "../hooks/timing.js";
22
- import { Tooltip as c } from "./Tooltip2.js";
23
- import { isTypingTarget as l, matchesHotkey as u, toAriaShortcut as d } from "./hotkey.js";
24
- /* empty css */
25
- import { Flag as f } from "./Flag2.js";
26
- import { SearchInput as p } from "./SearchInput2.js";
27
- import { Heading as m, Prose as h, Text as g } from "./Typography2.js";
28
- import { Progress as _, ProgressCircle as v } from "./Progress2.js";
29
- import { FileIcon as y, fileKind as b } from "./FileIcon2.js";
30
- import { CopyButton as x } from "./CopyButton2.js";
31
- import { Swatch as S } from "./Swatch2.js";
32
- import { BRAND_NAMES as C, BrandIcon as w } from "./BrandIcon.js";
33
- import { ColorDot as T } from "./ColorDot2.js";
34
- import { Box as E, Grid as ee, Inline as D, Separator as te, Stack as ne } from "./Layout2.js";
35
- import { AspectRatio as re } from "./AspectRatio2.js";
36
- import { formatFullDate as ie, formatRelativeTime as ae, nextRelativeTimeChange as oe } from "./formatRelativeTime.js";
37
- import { RelativeTime as se } from "./RelativeTime.js";
38
- import { IconTile as ce } from "./IconTile2.js";
39
- import { SelectorButton as O } from "./SelectorButton2.js";
40
- import { StatusIcon as k } from "./StatusIcon2.js";
41
- import { Delta as A } from "./Delta2.js";
42
- import { formatCountdown as j } from "./formatCountdown.js";
43
- import { Countdown as M } from "./Countdown2.js";
44
- import { formatElapsed as N } from "./formatElapsed.js";
45
- import { Elapsed as P } from "./Elapsed.js";
46
- function F(e, n) {
47
- e -= 262;
48
- let r = t(), i = r[e];
49
- F.PWGZva === void 0 && (F.VJWbBX = function(e) {
43
+ function M(e, t) {
44
+ e -= 308;
45
+ let n = j(), r = n[e];
46
+ M.GpcFyI === void 0 && (M.gukIqD = function(e) {
50
47
  let t = "", n = "";
51
48
  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);
52
49
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
53
50
  return decodeURIComponent(n);
54
- }, F.gYTYls = {}, F.PWGZva = !0);
55
- let a = r[0];
56
- F.GevAgh !== a && (F.gYTYls = {}, F.GevAgh = a);
57
- let o = F.gYTYls[e];
58
- return o === void 0 ? (i = F.VJWbBX(i), F.gYTYls[e] = i) : i = o, i;
51
+ }, M.NLzdfj = {}, M.GpcFyI = !0);
52
+ let i = n[0];
53
+ M.CByKjD !== i && (M.NLzdfj = {}, M.CByKjD = i);
54
+ let a = M.NLzdfj[e];
55
+ return a === void 0 ? (r = M.gukIqD(r), M.NLzdfj[e] = r) : r = a, r;
59
56
  }
57
+ import { Countdown as N } from "./Countdown2.js";
58
+ import { formatElapsed as P } from "./formatElapsed.js";
59
+ import { Elapsed as F } from "./Elapsed.js";
60
60
  import { CountBadge as I } from "./CountBadge2.js";
61
61
  import { Link as L } from "./Link2.js";
62
62
  import { maskParts as R, maskValue as z } from "./maskValue.js";
@@ -64,41 +64,41 @@ import { MaskedText as B } from "./MaskedText2.js";
64
64
  import { forwardRef as V, useCallback as H, useEffect as U, useImperativeHandle as W, useLayoutEffect as G, useRef as K, useState as q } from "react";
65
65
  import { Check as le, ChevronDown as ue, ChevronRight as de } from "lucide-react";
66
66
  import { jsx as J, jsxs as Y } from "react/jsx-runtime";
67
- var X = (...t) => t.filter(Boolean)[e(348)](" "), fe = V(function({ variant: t = e(306), size: r = "md", icon: a, iconRight: o, iconOnly: c, loading: f, block: p, shortcut: m, hotkey: h, className: g, children: _, disabled: v, ...y }, b) {
67
+ var X = (...t) => t[e(340)](Boolean)[e(334)](" "), fe = V(function({ variant: n = "secondary", size: i = "md", icon: a, iconRight: s, iconOnly: d, loading: f, block: p, shortcut: m, hotkey: h, className: g, children: _, disabled: v, ...y }, b) {
68
68
  let x = e, S = K(null);
69
- W(b, () => S[x(281)]);
70
- let C = m == null ? void 0 : Array.isArray(m) ? m : [m], w = C?.[x(348)]("\n");
69
+ W(b, () => S[x(402)]);
70
+ let C = m == null ? void 0 : Array[x(329)](m) ? m : [m], w = C?.[x(334)]("\n");
71
71
  return U(() => {
72
72
  let e = x;
73
73
  if (!h || !w) return;
74
- let t = w[e(324)]("\n"), n = 0, r = (r) => {
75
- let i = e, a = S[i(281)];
76
- !a || r[i(299)] || r[i(385)] || r[i(362)] || r[i(276)] === 229 || u(r, t) && (r[i(350)] || r.ctrlKey || r.altKey || !l(r[i(275)])) && (a.matches(":disabled") || a[i(345)](i(321)) || a.getClientRects()[i(320)] === 0 || (r[i(289)](), a[i(375)][i(303)] = i(265), window[i(364)](n), n = window[i(330)](() => delete a[i(375)].pressed, s[i(326)]), a[i(332)]()));
74
+ let t = w[e(400)]("\n"), n = 0, r = (r) => {
75
+ let i = e, a = S[i(402)];
76
+ !a || r[i(363)] || r.repeat || r.isComposing || r[i(355)] === 229 || l(r, t) && (r[i(357)] || r[i(422)] || r[i(359)] || !c(r[i(380)])) && (a[i(342)](i(386)) || a[i(361)](i(409)) || a[i(325)]()[i(405)] === 0 || (r[i(362)](), a[i(337)][i(394)] = i(346), window[i(421)](n), n = window[i(381)](() => delete a[i(337)][i(394)], o[i(343)]), a[i(384)]()));
77
77
  };
78
- return document[e(307)](e(263), r), () => {
78
+ return document.addEventListener("keydown", r), () => {
79
79
  let t = e;
80
- document[t(336)](t(263), r), window[t(364)](n);
80
+ document[t(352)](t(429), r), window[t(421)](n);
81
81
  };
82
- }, [h, w]), Y(x(283), {
82
+ }, [h, w]), Y(x(425), {
83
83
  ref: S,
84
- type: x(283),
85
- className: X(x(274), x(346) + t, r !== "md" && x(346) + r, c && x(272), p && x(360), g),
84
+ type: x(425),
85
+ className: X(x(416), x(317) + n, i !== "md" && "ds-btn--" + i, d && x(366), p && x(324), g),
86
86
  "data-loading": f || void 0,
87
87
  disabled: v || f,
88
88
  "aria-busy": f || void 0,
89
- "aria-keyshortcuts": h && C ? d(C) : void 0,
89
+ "aria-keyshortcuts": h && C ? u(C) : void 0,
90
90
  ...y,
91
91
  children: [
92
- f ? J(n, { size: r === "sm" ? 12 : 14 }) : a,
93
- !c && _ != null && J(x(271), {
94
- className: x(329),
92
+ f ? J(t, { size: i === "sm" ? 12 : 14 }) : a,
93
+ !d && _ != null && J(x(310), {
94
+ className: x(408),
95
95
  children: _
96
96
  }),
97
- o,
98
- C && !c && J(x(271), {
97
+ s,
98
+ C && !d && J(x(310), {
99
99
  className: "ds-btn__kbd",
100
100
  "aria-hidden": !0,
101
- children: J(i, {
101
+ children: J(r, {
102
102
  keys: C,
103
103
  size: "sm"
104
104
  })
@@ -108,18 +108,18 @@ var X = (...t) => t.filter(Boolean)[e(348)](" "), fe = V(function({ variant: t =
108
108
  });
109
109
  function pe({ label: t, hint: n, invalid: r, children: i, htmlFor: a }) {
110
110
  let o = e;
111
- return Y(o(300), {
112
- className: o(316),
111
+ return Y(o(333), {
112
+ className: o(309),
113
113
  "data-invalid": r || void 0,
114
114
  children: [
115
- t && J(o(361), {
116
- className: o(333),
115
+ t && J(o(407), {
116
+ className: o(393),
117
117
  htmlFor: a,
118
118
  children: t
119
119
  }),
120
120
  i,
121
- n && J(o(271), {
122
- className: o(380),
121
+ n && J("span", {
122
+ className: o(322),
123
123
  children: n
124
124
  })
125
125
  ]
@@ -127,15 +127,15 @@ function pe({ label: t, hint: n, invalid: r, children: i, htmlFor: a }) {
127
127
  }
128
128
  var me = V(function({ size: t = "md", leading: n, trailing: r, invalid: i, bare: a, disabled: o, wrapperClassName: s, wrapperStyle: c, wrapperRef: l, ...u }, d) {
129
129
  let f = e;
130
- return Y(f(300), {
130
+ return Y(f(333), {
131
131
  ref: l,
132
- className: X(f(341), t !== "md" && f(328) + t, a && f(319), s),
132
+ className: X("ds-input", t !== "md" && f(414) + t, a && f(390), s),
133
133
  style: c,
134
134
  "data-invalid": i || void 0,
135
135
  "data-disabled": o || void 0,
136
136
  children: [
137
137
  n,
138
- J(f(381), {
138
+ J(f(308), {
139
139
  ref: d,
140
140
  disabled: o,
141
141
  "aria-invalid": i || void 0,
@@ -146,18 +146,18 @@ var me = V(function({ size: t = "md", leading: n, trailing: r, invalid: i, bare:
146
146
  });
147
147
  }), he = V(function({ autoResize: t, maxRows: n, bare: r, className: i, onInput: a, ...o }, s) {
148
148
  let c = e, l = K(null);
149
- W(s, () => l[c(281)]);
149
+ W(s, () => l[c(402)]);
150
150
  let u = H(() => {
151
- let e = c, r = l[e(281)];
151
+ let e = c, r = l[e(402)];
152
152
  if (!r || !t) return;
153
- r[e(266)][e(337)] = e(344);
154
- let i = getComputedStyle(r), a = parseFloat(i[e(296)]) + parseFloat(i[e(349)]), o = n ? parseFloat(i[e(278)]) * n + a : Infinity;
155
- r.style[e(337)] = Math[e(347)](r[e(305)], o) + "px", r.style[e(290)] = r.scrollHeight > o ? "auto" : e(377);
153
+ r[e(318)][e(351)] = e(387);
154
+ let i = getComputedStyle(r), a = parseFloat(i[e(399)]) + parseFloat(i[e(373)]), o = n ? parseFloat(i[e(320)]) * n + a : Infinity;
155
+ r.style.height = Math[e(395)](r[e(382)], o) + "px", r[e(318)][e(360)] = r.scrollHeight > o ? "auto" : "hidden";
156
156
  }, [t, n]);
157
- return G(u, [u, o[c(370)]]), J(c(323), {
157
+ return G(u, [u, o[c(353)]]), J(c(336), {
158
158
  ref: l,
159
159
  rows: t ? 1 : void 0,
160
- className: X(c(280), t && c(371), r && c(368), i),
160
+ className: X(c(426), t && c(345), r && "ds-textarea--bare", i),
161
161
  onInput: (e) => {
162
162
  u(), a?.(e);
163
163
  },
@@ -165,26 +165,27 @@ var me = V(function({ size: t = "md", leading: n, trailing: r, invalid: i, bare:
165
165
  });
166
166
  });
167
167
  function Z({ children: t, style: n, ...r }) {
168
- return Y("span", {
169
- className: "ds-select",
168
+ let i = e;
169
+ return Y(i(310), {
170
+ className: i(356),
170
171
  style: n,
171
- children: [J(e(334), {
172
+ children: [J(i(339), {
172
173
  ...r,
173
174
  children: t
174
175
  }), J(ue, {})]
175
176
  });
176
177
  }
177
- function ge({ label: t, shape: n = e(291), className: r, ...i }) {
178
+ function ge({ label: t, shape: n = e(383), className: r, ...i }) {
178
179
  let a = e;
179
- return Y(a(361), {
180
- className: X(a(277), n === a(384) && a(302), r),
180
+ return Y(a(407), {
181
+ className: X(a(364), n === a(326) && a(347), r),
181
182
  children: [
182
- J(a(381), {
183
- type: a(288),
183
+ J(a(308), {
184
+ type: a(335),
184
185
  ...i
185
186
  }),
186
- J(a(271), {
187
- className: a(262),
187
+ J("span", {
188
+ className: a(367),
188
189
  children: J(le, {})
189
190
  }),
190
191
  t
@@ -193,49 +194,49 @@ function ge({ label: t, shape: n = e(291), className: r, ...i }) {
193
194
  }
194
195
  function _e({ label: t, className: n, ...r }) {
195
196
  let i = e;
196
- return Y("label", {
197
- className: X(i(357), n),
197
+ return Y(i(407), {
198
+ className: X("ds-check ds-check--radio", n),
198
199
  children: [
199
- J(i(381), {
200
- type: i(378),
200
+ J(i(308), {
201
+ type: "radio",
201
202
  ...r
202
203
  }),
203
- J("span", { className: i(262) }),
204
+ J("span", { className: i(367) }),
204
205
  t
205
206
  ]
206
207
  });
207
208
  }
208
209
  function ve({ label: t, className: n, ...r }) {
209
210
  let i = e;
210
- return Y("label", {
211
- className: X(i(314), n),
211
+ return Y(i(407), {
212
+ className: X(i(410), n),
212
213
  children: [
213
- J(i(381), {
214
- type: i(288),
215
- role: "switch",
214
+ J(i(308), {
215
+ type: i(335),
216
+ role: i(358),
216
217
  ...r
217
218
  }),
218
- J(i(271), {
219
- className: i(311),
220
- children: J(i(271), { className: i(317) })
219
+ J("span", {
220
+ className: i(411),
221
+ children: J(i(310), { className: i(403) })
221
222
  }),
222
223
  t
223
224
  ]
224
225
  });
225
226
  }
226
- function ye({ tone: t = "neutral", dot: r, pulse: i, spinner: a, square: o, icon: s, iconRight: c, chevron: l, size: u = "md", overline: d, as: f = "span", disabled: p, className: m, children: h, ...g }) {
227
- let _ = e, v = f, y = f === _(283);
227
+ function ye({ tone: n = e(413), dot: r, pulse: i, spinner: a, square: o, icon: s, iconRight: c, chevron: l, size: u = "md", overline: d, as: f = e(310), disabled: p, className: m, children: h, ...g }) {
228
+ let _ = e, v = f, y = f === "button";
228
229
  return Y(v, {
229
- type: y ? _(283) : void 0,
230
+ type: y ? _(425) : void 0,
230
231
  disabled: y ? p : void 0,
231
- className: X(_(354), t !== _(294) && "ds-badge--" + t, o && _(386), u !== "md" && _(298) + u, d && _(293), y && _(355), m),
232
+ className: X(_(330), n !== "neutral" && _(415) + n, o && _(377), u !== "md" && "ds-badge--" + u, d && _(365), y && _(312), m),
232
233
  ...g,
233
234
  children: [
234
- a ? J(_(271), {
235
- className: _(373),
235
+ a ? J(_(310), {
236
+ className: _(418),
236
237
  "aria-hidden": !0,
237
- children: J(n, { size: u === "sm" || d ? 9 : 10 })
238
- }) : (r || i) && J(_(271), {
238
+ children: J(t, { size: u === "sm" || d ? 9 : 10 })
239
+ }) : (r || i) && J(_(310), {
239
240
  className: "ds-badge__dot",
240
241
  "data-pulse": i || void 0
241
242
  }),
@@ -243,129 +244,129 @@ function ye({ tone: t = "neutral", dot: r, pulse: i, spinner: a, square: o, icon
243
244
  h,
244
245
  c,
245
246
  l && J(de, {
246
- className: _(325),
247
+ className: _(406),
247
248
  "aria-hidden": !0
248
249
  })
249
250
  ]
250
251
  });
251
252
  }
252
253
  var Q = [
253
- e(279),
254
- e(310),
255
- e(285),
256
- e(282),
257
- e(353),
258
- e(301),
259
- e(367)
254
+ e(344),
255
+ e(332),
256
+ "#2fb48a",
257
+ "#e8963a",
258
+ "#3f9be8",
259
+ e(314),
260
+ e(398)
260
261
  ];
261
- function $({ name: t, src: n, size: r = 28, square: i, online: a, color: o, tooltip: s = !0 }) {
262
- let l = e, u = t[l(363)]("+") ? t : /^[가-힣]{3,4}$/.test(t) ? t.slice(-2) : t[l(324)](/\s+/)[l(335)]((e) => e[0])[l(269)](0, 2).join("")[l(304)](), d = [...t][l(297)]((e, t) => e + t[l(286)](0), 0), f = o ?? Q[d % Q[l(320)]], [p, m] = q({ status: l(343) }), h = n && p.src === n ? p[l(268)] : void 0, g = Y(l(271), {
263
- className: X(l(312), i && l(339)),
262
+ function $({ name: t, src: n, size: r = 28, square: i, online: a, color: o, tooltip: c = !0 }) {
263
+ let l = e, u = t.startsWith("+") ? t : /^[가-힣]{3,4}$/.test(t) ? t.slice(-2) : t[l(400)](/\s+/).map((e) => e[0])[l(350)](0, 2)[l(334)]("")[l(379)](), d = [...t][l(376)]((e, t) => e + t.charCodeAt(0), 0), f = o ?? Q[d % Q[l(405)]], [p, m] = q({ status: l(428) }), h = n && p[l(423)] === n ? p[l(348)] : void 0, g = Y(l(310), {
264
+ className: X(l(371), i && l(323)),
264
265
  style: {
265
266
  "--_s": r + "px",
266
267
  "--_c": f
267
268
  },
268
- "data-image": h === l(318) || void 0,
269
- role: l(309),
269
+ "data-image": h === "loaded" || void 0,
270
+ role: l(370),
270
271
  "aria-label": t,
271
272
  children: [
272
- J(l(271), {
273
+ J(l(310), {
273
274
  "aria-hidden": !0,
274
275
  children: u
275
276
  }),
276
- n && h !== l(343) && J(l(309), {
277
- className: l(322),
277
+ n && h !== l(428) && J("img", {
278
+ className: l(311),
278
279
  src: n,
279
280
  alt: "",
280
281
  draggable: !1,
281
282
  decoding: "async",
282
283
  onLoad: () => m({
283
284
  src: n,
284
- status: l(318)
285
+ status: l(316)
285
286
  }),
286
287
  onError: () => m({
287
288
  src: n,
288
- status: l(343)
289
+ status: l(428)
289
290
  })
290
291
  }),
291
292
  a && J("span", { className: l(374) })
292
293
  ]
293
294
  });
294
- return s === !1 ? g : J(c, {
295
- content: s === !0 ? t : s,
295
+ return c === !1 ? g : J(s, {
296
+ content: c === !0 ? t : c,
296
297
  children: g
297
298
  });
298
299
  }
299
- function be({ names: t, srcs: n, size: i = 24, max: a = 4 }) {
300
+ function be({ names: t, srcs: r, size: i = 24, max: a = 4 }) {
300
301
  let o = e;
301
- return J(r, {
302
- className: o(358),
303
- icons: t.map((e, t) => J($, {
302
+ return J(n, {
303
+ className: o(331),
304
+ icons: t[o(354)]((e, t) => J($, {
304
305
  name: e,
305
- src: n?.[t],
306
+ src: r?.[t],
306
307
  size: i
307
308
  }, e)),
308
309
  size: i,
309
310
  max: a,
310
311
  overlap: 8,
311
- label: t[o(348)](", "),
312
+ label: t.join(", "),
312
313
  renderOverflow: (e) => J($, {
313
314
  name: "+" + e,
314
315
  size: i,
315
- color: o(284),
316
- tooltip: t[o(269)](-e)[o(348)](", ")
316
+ color: o(328),
317
+ tooltip: t[o(350)](-e)[o(334)](", ")
317
318
  })
318
319
  });
319
320
  }
320
- function xe({ options: t, value: n, onChange: r, variant: i = e(273), ariaLabel: a }) {
321
+ function xe({ options: t, value: n, onChange: r, variant: i = e(419), ariaLabel: a }) {
321
322
  let o = e, s = K(null), [c, l] = q(null);
322
323
  G(() => {
323
- let e = F, t = s[e(281)], r = t?.querySelector(e(295) + CSS.escape(n) + "\"]");
324
+ let e = M, t = s[e(402)], r = t?.[e(392)](e(372) + CSS[e(341)](n) + "\"]");
324
325
  if (!t || !r) return;
325
326
  let i = () => l({
326
- left: r.offsetLeft,
327
- width: r[e(264)]
327
+ left: r[e(349)],
328
+ width: r.offsetWidth
328
329
  });
329
330
  i();
330
331
  let a = new ResizeObserver(i);
331
- return a[e(356)](t), () => a[e(376)]();
332
- }, [n, t[o(320)]]);
332
+ return a[e(313)](t), () => a[e(385)]();
333
+ }, [n, t[o(405)]]);
333
334
  let u = (e) => {
334
- let i = o, a = t[(t.findIndex((e) => e[i(370)] === n) + e + t[i(320)]) % t[i(320)]];
335
- r(a[i(370)]);
335
+ let i = o, a = t[(t[i(338)]((e) => e[i(353)] === n) + e + t[i(405)]) % t.length];
336
+ r(a.value);
336
337
  };
337
- return Y(o(300), {
338
+ return Y("div", {
338
339
  ref: s,
339
- className: X(o(308), i !== o(273) && o(351) + i),
340
- role: o(270),
340
+ className: X("ds-seg", i !== o(419) && "ds-seg--" + i),
341
+ role: "tablist",
341
342
  "aria-label": a,
342
343
  onKeyDown: (e) => {
343
344
  let t = o;
344
- e[t(287)] === t(365) && u(1), e[t(287)] === t(315) && u(-1);
345
+ e.key === t(388) && u(1), e.key === t(315) && u(-1);
345
346
  },
346
- children: [c && i !== "chip" && J(o(271), {
347
- className: "ds-seg__thumb",
347
+ children: [c && i !== o(404) && J(o(310), {
348
+ className: o(391),
348
349
  style: {
349
- left: c[o(352)],
350
- width: c.width
350
+ left: c[o(420)],
351
+ width: c[o(375)]
351
352
  }
352
- }), t[o(335)]((e) => Y("button", {
353
- type: "button",
354
- role: "tab",
355
- "data-value": e.value,
356
- "aria-selected": e[o(370)] === n,
357
- tabIndex: e[o(370)] === n ? 0 : -1,
358
- className: o(379),
359
- onClick: () => r(e[o(370)]),
353
+ }), t[o(354)]((e) => Y(o(425), {
354
+ type: o(425),
355
+ role: o(396),
356
+ "data-value": e[o(353)],
357
+ "aria-selected": e[o(353)] === n,
358
+ tabIndex: e[o(353)] === n ? 0 : -1,
359
+ className: o(424),
360
+ onClick: () => r(e[o(353)]),
360
361
  children: [
361
362
  e.icon,
362
- e[o(361)],
363
- e[o(331)] != null && J(o(271), {
364
- className: o(382),
365
- children: e[o(331)]
363
+ e[o(407)],
364
+ e[o(397)] != null && J(o(310), {
365
+ className: o(427),
366
+ children: e[o(397)]
366
367
  })
367
368
  ]
368
- }, e[o(370)]))]
369
+ }, e.value))]
369
370
  });
370
371
  }
371
- export { re as AspectRatio, $ as Avatar, be as AvatarGroup, C as BRAND_NAMES, ye as Badge, E as Box, w as BrandIcon, fe as Button, ge as Checkbox, T as ColorDot, x as CopyButton, I as CountBadge, M as Countdown, A as Delta, P as Elapsed, pe as Field, y as FileIcon, f as Flag, ee as Grid, m as Heading, r as IconStack, ce as IconTile, D as Inline, me as Input, i as Kbd, L as Link, B as MaskedText, Z as NativeSelect, _ as Progress, v as ProgressCircle, h as Prose, _e as Radio, se as RelativeTime, p as SearchInput, xe as SegmentedControl, O as SelectorButton, te as Separator, n as Spinner, ne as Stack, k as StatusIcon, S as Swatch, ve as Switch, g as Text, he as Textarea, c as Tooltip, X as cx, b as fileKind, j as formatCountdown, N as formatElapsed, ie as formatFullDate, a as formatKey, ae as formatRelativeTime, o as isMac, l as isTypingTarget, R as maskParts, z as maskValue, u as matchesHotkey, oe as nextRelativeTimeChange, d as toAriaShortcut };
372
+ export { te as AspectRatio, $ as Avatar, be as AvatarGroup, S as BRAND_NAMES, ye as Badge, T as Box, C as BrandIcon, fe as Button, ge as Checkbox, w as ColorDot, b as CopyButton, I as CountBadge, N as Countdown, k as Delta, F as Elapsed, pe as Field, v as FileIcon, d as Flag, E as Grid, p as Heading, n as IconStack, oe as IconTile, D as Inline, me as Input, r as Kbd, L as Link, B as MaskedText, Z as NativeSelect, g as Progress, _ as ProgressCircle, m as Prose, _e as Radio, ae as RelativeTime, f as SearchInput, xe as SegmentedControl, se as SelectorButton, O as Separator, t as Spinner, ee as Stack, ce as StatusIcon, x as Swatch, ve as Switch, h as Text, he as Textarea, s as Tooltip, X as cx, y as fileKind, A as formatCountdown, P as formatElapsed, ne as formatFullDate, i as formatKey, re as formatRelativeTime, a as isMac, c as isTypingTarget, R as maskParts, z as maskValue, l as matchesHotkey, ie as nextRelativeTimeChange, u as toAriaShortcut };