@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
@@ -1,111 +1,112 @@
1
1
  "use client";
2
+ const e = n;
2
3
  (function(e, t) {
3
- let n = o, r = e();
4
+ let r = n, i = e();
4
5
  for (;;) try {
5
- if (parseInt(n(275)) / 1 + parseInt(n(283)) / 2 * (parseInt(n(301)) / 3) + parseInt(n(290)) / 4 * (parseInt(n(298)) / 5) + parseInt(n(269)) / 6 * (-parseInt(n(303)) / 7) + -parseInt(n(276)) / 8 + -parseInt(n(289)) / 9 * (parseInt(n(279)) / 10) + -parseInt(n(291)) / 11 * (-parseInt(n(278)) / 12) == t) break;
6
- r.push(r.shift());
6
+ if (parseInt(r(211)) / 1 + parseInt(r(209)) / 2 * (-parseInt(r(225)) / 3) + parseInt(r(224)) / 4 * (parseInt(r(240)) / 5) + -parseInt(r(218)) / 6 * (parseInt(r(212)) / 7) + -parseInt(r(208)) / 8 * (-parseInt(r(238)) / 9) + parseInt(r(229)) / 10 + parseInt(r(235)) / 11 * (-parseInt(r(241)) / 12) == t) break;
7
+ i.push(i.shift());
7
8
  } catch {
8
- r.push(r.shift());
9
+ i.push(i.shift());
9
10
  }
10
- })(i, 260737);
11
- import { cx as e } from "../../primitives/index.js";
11
+ })(i, 553425);
12
+ import { cx as t } from "../../primitives/index.js";
12
13
  /* empty css */
13
- import { ChartTooltip as t } from "../Chart/ChartParts.js";
14
- import { formatNumber as n } from "../Chart/chart2.js";
15
- import { useChartInteraction as r } from "../Chart/useChartInteraction.js";
14
+ function n(e, t) {
15
+ e -= 208;
16
+ let r = i(), a = r[e];
17
+ n.UCsoZn === void 0 && (n.aOUpBf = function(e) {
18
+ let t = "", n = "";
19
+ 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);
20
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
+ return decodeURIComponent(n);
22
+ }, n.YAVvhi = {}, n.UCsoZn = !0);
23
+ let o = r[0];
24
+ n.AuPWBp !== o && (n.YAVvhi = {}, n.AuPWBp = o);
25
+ let s = n.YAVvhi[e];
26
+ return s === void 0 ? (a = n.aOUpBf(a), n.YAVvhi[e] = a) : a = s, a;
27
+ }
28
+ import { ChartTooltip as r } from "../Chart/ChartParts.js";
16
29
  function i() {
17
- let e = /* @__PURE__ */ "mJq5mJGWohP4AwjqCW.mtbwrM5vD24.zhmTy2HHCNrFx3rPCa.y2XVC2vK.Bwf4.mKXlB2PVBq.zgL2.zhmTy2HHCNrFx3nY.D2LKDgG.Cg9SAxrL.6RIW66gDioYxHUYDJa.mJmYnJGXnu9pzMjXzq.mtm5nNzzru5qsa.mJj3sxL6wMK.DhjHBNnSyxrLka.BgvMDa.BgvUz3rO.C3bHBG.zMXVB3i.ChGSidaP.mZvmDNDQDg0.DMfSDwu.BwfW.odCYmZq2zxf4z3Pn.zhmTy2HHCNq.ndG2odm2Dg5Wq2De.zhmTC3bHCMTIyxi.BgfZDa.zhmTC3bHCMTIyxjFx2jHCG.mZb3vvzLB24.BwLU.lwXPDMu.66Ej64YaioQ3UoUEMo2uHa.y2XPzw50wa.z2v0qM91BMrPBMDdBgLLBNrszwn0.ndq5nJi4wxj0qNfQ.mJmZmdq3mKX3wLDrwq.Bwf4kdjWEcWG".split(".");
30
+ let e = /* @__PURE__ */ "z2v0qM91BMrPBMDdBgLLBNrszwn0.Cg9SAxrL.mtjkEerjq04.otnpt0PwAgS.zhmTy2HHCNrFx3rPCa.66Ej64YaioQ3UoUEMo2uHa.DMfYkc0TBJyP.ntmXodmYmeXABKDMBG.C3bHBG.zhmTy2HHCNrFx3nY.BgfZDa.zhmTC3bHCMTIyxjFx2jHCNm.BwfW.mJe1odu2m1Hwt2D1AG.DMfSDwu.zgL2.nZK4oteYowfjyMHszW.DhjHBNnSyxrLka.mtGYodi3mePKAxnmwq.mZzRwLngvhi.y2XPzw50wa.oe5nDLPesa.mZaZmdj1Cvrfveu.lwXPDMu.mZq0otbWwfnPsMi.mZCXmfrXA0nXBW.zhmTC3bHCMTIyxi.Bwf4.BgvUz3rO.y3vYCMvUDfrHCMDLDa.B3bLBG.mta2mZjgAMnfveW.zMXVB3i.BwLU.ChGSidaP".split(".");
18
31
  return i = function() {
19
32
  return e;
20
33
  }, i();
21
34
  }
22
- import { sparkColor as a } from "../SparkChart/spark.js";
35
+ import { formatNumber as a } from "../Chart/chart2.js";
36
+ import { useChartInteraction as o } from "../Chart/useChartInteraction.js";
37
+ import { sparkColor as s } from "../SparkChart/spark.js";
23
38
  /* empty css */
24
- function o(e, t) {
25
- e -= 269;
26
- let n = i(), r = n[e];
27
- o.KujFsB === void 0 && (o.ayMnHh = function(e) {
28
- let t = "", n = "";
29
- 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);
30
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
- return decodeURIComponent(n);
32
- }, o.cFobSy = {}, o.KujFsB = !0);
33
- let a = n[0];
34
- o.SdOPBm !== a && (o.cFobSy = {}, o.SdOPBm = a);
35
- let s = o.cFobSy[e];
36
- return s === void 0 ? (r = o.ayMnHh(r), o.cFobSy[e] = r) : r = s, r;
37
- }
38
- import { useId as s } from "react";
39
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
40
- var u = 8;
41
- function d({ data: i, height: d = 48, max: f, color: p, tone: m, higherIs: h, worseTone: g, formatLabel: _ = (e) => e + 1 + "일", formatValue: v = n, valueLabel: y = "값", tooltip: b = !0, activeIndex: x, defaultActiveIndex: S, onActiveIndexChange: C, "aria-label": w = "막대 그래프", className: T, style: E }) {
42
- let D = o, O = i[D(294)], { open: k, shown: A, settled: j, width: M, tipRef: N, tipSize: P, hover: F, leave: I, plotProps: L } = r({
39
+ import { useId as c } from "react";
40
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
41
+ var d = 8;
42
+ function f({ data: n, height: i = 48, max: f, color: p, tone: m, higherIs: h, worseTone: g, formatLabel: _ = (e) => e + 1 + "일", formatValue: v = a, valueLabel: y = "값", tooltip: b = !0, activeIndex: x, defaultActiveIndex: S, onActiveIndexChange: C, "aria-label": w = e(227), className: T, style: E }) {
43
+ let D = e, O = n[D(215)], { open: k, shown: A, settled: j, width: M, tipRef: N, tipSize: P, hover: F, leave: I, plotProps: L } = o({
43
44
  count: O,
44
45
  activeIndex: x,
45
46
  defaultActiveIndex: S,
46
47
  onActiveIndexChange: C,
47
- initialKeyboardIndex: D(305)
48
- }), R = s(), z = f ?? Math[D(282)](0, ...i[D(300)]((e) => e ?? 0)), B = (e) => z > 0 ? Math[D(282)](0, Math[D(270)](100, e / z * 100)) : 0, V = O ? M / O : 0, H = A === null ? void 0 : i[A], U = A === null ? 0 : A * V, W = U + V + u + P.w > M ? Math.max(0, U - u - P.w) : U + V + u, G = H == null ? D(288) : v(H), K = (e) => {
49
- let t = D, n = e.currentTarget[t(274)]();
50
- F(Math[t(270)](O - 1, Math[t(282)](0, Math[t(296)]((e[t(273)] - n[t(293)]) / n[t(286)] * O))));
51
- }, q = a(i, {
48
+ initialKeyboardIndex: D(232)
49
+ }), R = c(), z = f ?? Math.max(0, ...n[D(234)]((e) => e ?? 0)), B = (e) => z > 0 ? Math[D(214)](0, Math[D(220)](100, e / z * 100)) : 0, V = O ? M / O : 0, H = A === null ? void 0 : n[A], U = A === null ? 0 : A * V, W = U + V + d + P.w > M ? Math[D(214)](0, U - d - P.w) : U + V + d, G = H == null ? "기록 없음" : v(H), K = (e) => {
50
+ let t = D, n = e[t(216)][t(222)]();
51
+ F(Math.min(O - 1, Math.max(0, Math[t(219)]((e[t(242)] - n.left) / n.width * O))));
52
+ }, q = s(n, {
52
53
  color: p,
53
54
  tone: m,
54
55
  higherIs: h,
55
56
  worseTone: g
56
57
  });
57
- return l("div", {
58
+ return u(D(237), {
58
59
  ...L,
59
- className: e(D(302), "ds-chart__plot", D(304), T),
60
+ className: t("ds-chart", "ds-chart__plot", D(213), T),
60
61
  style: {
61
- height: d,
62
+ height: i,
62
63
  ...q && { "--_c": q },
63
64
  ...E
64
65
  },
65
- "aria-roledescription": D(272),
66
+ "aria-roledescription": D(227),
66
67
  "aria-label": w,
67
- "aria-describedby": R + D(271),
68
+ "aria-describedby": R + "-live",
68
69
  children: [
69
- c("div", {
70
- className: "ds-sparkbar__bars",
70
+ l(D(237), {
71
+ className: D(233),
71
72
  onPointerMove: K,
72
73
  onPointerDown: K,
73
74
  onPointerLeave: I,
74
75
  "aria-hidden": !0,
75
- children: i[D(300)]((e, t) => c(D(295), {
76
+ children: n.map((e, t) => l(D(230), {
76
77
  className: "ds-sparkbar__slot",
77
- children: c("span", {
78
- className: D(306),
78
+ children: l(D(230), {
79
+ className: "ds-sparkbar__bar",
79
80
  "data-empty": e === null || void 0,
80
81
  "data-active": k && A === t || void 0,
81
- style: e === null ? void 0 : { height: D(277) + B(e) + "%)" }
82
+ style: e === null ? void 0 : { height: "max(2px, " + B(e) + "%)" }
82
83
  })
83
84
  }, t))
84
85
  }),
85
- b && c(D(284), {
86
+ b && l("div", {
86
87
  ref: N,
87
- className: D(280),
88
- "data-state": k ? "open" : D(281),
88
+ className: D(226),
89
+ "data-state": k ? D(217) : "closed",
89
90
  "data-settled": j || void 0,
90
- style: { transform: D(292) + W + D(297) },
91
+ style: { transform: D(239) + W + D(221) },
91
92
  "aria-hidden": !0,
92
- children: c(t, {
93
+ children: l(r, {
93
94
  title: A === null ? null : _(A),
94
95
  rows: [{
95
- key: D(299),
96
+ key: D(236),
96
97
  label: y,
97
- color: q ?? "var(--n6)",
98
+ color: q ?? D(228),
98
99
  value: G
99
100
  }]
100
101
  })
101
102
  }),
102
- c(D(295), {
103
- id: R + D(271),
104
- className: D(285),
105
- "aria-live": D(287),
103
+ l(D(230), {
104
+ id: R + D(210),
105
+ className: D(231),
106
+ "aria-live": D(223),
106
107
  children: k && A !== null ? _(A) + ": " + G : ""
107
108
  })
108
109
  ]
109
110
  });
110
111
  }
111
- export { d as Sparkbar };
112
+ export { f as Sparkbar };
@@ -1,81 +1,80 @@
1
1
  "use client";
2
- const e = l;
3
- (function(e, t) {
4
- let n = l, r = e();
2
+ const e = t;
3
+ function t(e, n) {
4
+ e -= 496;
5
+ let r = c(), i = r[e];
6
+ t.qkEaqQ === void 0 && (t.GMGBnK = function(e) {
7
+ let t = "", n = "";
8
+ 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);
9
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
+ return decodeURIComponent(n);
11
+ }, t.wJdKYH = {}, t.qkEaqQ = !0);
12
+ let a = r[0];
13
+ t.mvyGnu !== a && (t.wJdKYH = {}, t.mvyGnu = a);
14
+ let o = t.wJdKYH[e];
15
+ return o === void 0 ? (i = t.GMGBnK(i), t.wJdKYH[e] = i) : i = o, i;
16
+ }
17
+ (function(e, n) {
18
+ let r = t, i = e();
5
19
  for (;;) try {
6
- if (-parseInt(n(437)) / 1 * (parseInt(n(428)) / 2) + parseInt(n(429)) / 3 * (parseInt(n(442)) / 4) + parseInt(n(418)) / 5 + -parseInt(n(425)) / 6 + -parseInt(n(421)) / 7 + parseInt(n(450)) / 8 + parseInt(n(431)) / 9 == t) break;
7
- r.push(r.shift());
20
+ if (parseInt(r(500)) / 1 * (parseInt(r(506)) / 2) + -parseInt(r(524)) / 3 + parseInt(r(512)) / 4 * (parseInt(r(509)) / 5) + parseInt(r(523)) / 6 + -parseInt(r(510)) / 7 + -parseInt(r(520)) / 8 + parseInt(r(496)) / 9 == n) break;
21
+ i.push(i.shift());
8
22
  } catch {
9
- r.push(r.shift());
23
+ i.push(i.shift());
10
24
  }
11
- })(a, 262873);
12
- import { useControllableState as t } from "../../hooks/useControllableState.js";
13
- import { cx as n } from "../../primitives/index.js";
25
+ })(c, 223773);
26
+ import { useControllableState as n } from "../../hooks/useControllableState.js";
27
+ import { cx as r } from "../../primitives/index.js";
14
28
  /* empty css */
15
- import { useRef as r, useState as i } from "react";
16
- function a() {
17
- let e = /* @__PURE__ */ "A2v5.C2HPzNrlzxK.C2vJDgLVBG.mZu2odmYze1Sy1jk.DMvYDgLJywW.C29MDa.mZq2ntjbyMHQBLC.ntiXmZfiteXnvM0.C2v0ug9PBNrLCKnHChr1CMu.mte2ndK4n2H6BgH1yG.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2XPC3qGzhmTC2nYB2XS.sg9Tzq.rxnJyxbL.rw50zxi.zhmTC3bSAxrFx2rPDMLKzxi.ohL4suHMtq.qxjYB3Dmzwz0.y2XPzw50wa.zM9JDxm.rw5K.mZjjuujRExm.qxjYB3DsAwDODa.zgL2.Bwf4.Cg9PBNrLCKLK.ioUeIoU5HcdSOBdSOiG.y3vYCMvUDfrHCMDLDa.ChjLDMvUDerLzMf1Bhq.nJmZndGWrKfxC2Ph.y3vYCMvUDa.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2rLDgfPBcbKCY1Zy3jVBgW.ntK5mtK1uuXItejv.zhmTC3bSAxqTlq.yNv0Dg9U.ndu3mtb1zMzVtKS".split(".");
18
- return a = function() {
19
- return e;
20
- }, a();
21
- }
29
+ import { useRef as i, useState as a } from "react";
22
30
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
23
- var c = 16;
24
- function l(e, t) {
25
- e -= 416;
26
- let n = a(), r = n[e];
27
- l.nKWjJo === void 0 && (l.qyFhRO = function(e) {
28
- let t = "", n = "";
29
- 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);
30
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
- return decodeURIComponent(n);
32
- }, l.tpXSnO = {}, l.nKWjJo = !0);
33
- let i = n[0];
34
- l.hHkrMg !== i && (l.tpXSnO = {}, l.hHkrMg = i);
35
- let o = l.tpXSnO[e];
36
- return o === void 0 ? (r = l.qyFhRO(r), l.tpXSnO[e] = r) : r = o, r;
31
+ function c() {
32
+ let e = /* @__PURE__ */ "m29buxPoBa.DMvYDgLJywW.C2vWyxjHDg9Y.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2XPC3qGzhmTC2nYB2XS.C2vJDgLVBG.C29MDa.nZaXntbus01oy04.zhmTC3bSAxq.yNv0Dg9U.mtGWuLbHuufT.mJiXndmXn3ffEe15DW.zhmTC3bSAxqTlq.mZK2ndHAzw9ir1e.rw50zxi.rw5K.zgL2.y3vYCMvUDa.sg9Tzq.y3vYCMvUDfrHCMDLDa.CM91BMq.mJy3mJCXmNPJAMPryq.C2HPzNrlzxK.qxjYB3Dmzwz0.mti0mtGWog5YtLrSCG.ndi1nJe5vKvNs3jg.A2v5.rxnJyxbL.mZeYmZm2ourYr3vgsG.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2rLDgfPBcbKCY1Zy3jVBgW.y2XPzw50wa.ChjLDMvUDerLzMf1Bhq".split(".");
33
+ return c = function() {
34
+ return e;
35
+ }, c();
37
36
  }
38
- function u({ list: a, children: l, listWidth: u, defaultListWidth: d = 300, onListWidthChange: f, minListWidth: p = 220, maxListWidth: m = 520, resizable: h, listTone: g = e(427), listLabel: _ = "목록", detailLabel: v = "상세", className: y, style: b }) {
39
- let x = e, [S, C] = t(u, d, f), [w, T] = i(!1), E = r(null), D = (e) => Math.round(Math.min(m, Math[x(445)](p, e))), O = D(S), k = (e) => {
37
+ var l = 16;
38
+ function u({ list: t, children: c, listWidth: u, defaultListWidth: d = 300, onListWidthChange: f, minListWidth: p = 220, maxListWidth: m = 520, resizable: h, listTone: g = e(505), listLabel: _ = "목록", detailLabel: v = "상세", className: y, style: b }) {
39
+ let x = e, [S, C] = n(u, d, f), [w, T] = a(!1), E = i(null), D = (e) => Math[x(519)](Math.min(m, Math.max(p, e))), O = D(S), k = (e) => {
40
40
  let t = x;
41
- e[t(420)] === 0 && (e[t(449)](), e[t(448)][t(430)](e[t(446)]), e[t(448)][t(440)](), E[t(416)] = {
42
- x: e[t(439)],
41
+ e[t(508)] === 0 && (e[t(499)](), e[t(518)].setPointerCapture(e.pointerId), e[t(518)].focus(), E[t(516)] = {
42
+ x: e[t(498)],
43
43
  start: O
44
44
  }, T(!0));
45
45
  }, A = (e) => {
46
- let t = E[x(416)];
47
- if (!t) return;
48
- let n = D(t.start + e.clientX - t.x);
49
- n !== O && C(n);
46
+ let t = x, n = E[t(516)];
47
+ if (!n) return;
48
+ let r = D(n.start + e[t(498)] - n.x);
49
+ r !== O && C(r);
50
50
  }, j = () => {
51
- let e = x;
52
- E[e(416)] = null, T(!1);
51
+ E.current = null, T(!1);
53
52
  }, M = (e) => {
54
- let t = x, n = e[t(423)] ? 64 : c, r = null;
55
- e.key === t(438) ? r = O - n : e[t(422)] === t(443) ? r = O + n : e[t(422)] === t(433) ? r = p : e.key === t(441) ? r = m : e[t(422)] === t(435) ? r = d : e.key === t(434) && E[t(416)] && (r = E[t(416)].start, j()), r !== null && (e.preventDefault(), C(D(r)));
53
+ let t = x, n = e[t(521)] ? 64 : l, r = null;
54
+ e.key === t(522) ? r = O - n : e[t(525)] === "ArrowRight" ? r = O + n : e.key === t(517) ? r = p : e.key === t(514) ? r = m : e[t(525)] === t(513) ? r = d : e[t(525)] === t(526) && E[t(516)] && (r = E[t(516)].start, j()), r !== null && (e.preventDefault(), C(D(r)));
56
55
  };
57
- return s(x(444), {
58
- className: n("ds-split", x(419) + g, y),
56
+ return s(x(515), {
57
+ className: r(x(507), x(511) + g, y),
59
58
  "data-dragging": w || void 0,
60
59
  style: {
61
60
  "--_list": O + "px",
62
61
  ...b
63
62
  },
64
63
  children: [
65
- o(x(424), {
66
- className: x(432),
64
+ o(x(504), {
65
+ className: x(503),
67
66
  "aria-label": _,
68
- children: a
67
+ children: t
69
68
  }),
70
- h && o(x(444), {
71
- role: "separator",
69
+ h && o("div", {
70
+ role: x(502),
72
71
  tabIndex: 0,
73
- "aria-orientation": x(426),
74
- "aria-label": _ + x(447),
72
+ "aria-orientation": x(501),
73
+ "aria-label": _ + " 너비 조절",
75
74
  "aria-valuenow": O,
76
75
  "aria-valuemin": p,
77
76
  "aria-valuemax": m,
78
- className: x(436),
77
+ className: "ds-split__divider",
79
78
  onPointerDown: k,
80
79
  onPointerMove: A,
81
80
  onPointerUp: j,
@@ -84,10 +83,10 @@ function u({ list: a, children: l, listWidth: u, defaultListWidth: d = 300, onLi
84
83
  onDoubleClick: () => C(D(d)),
85
84
  onKeyDown: M
86
85
  }),
87
- o("section", {
88
- className: x(417),
86
+ o(x(504), {
87
+ className: x(497),
89
88
  "aria-label": v,
90
- children: l
89
+ children: c
91
90
  })
92
91
  ]
93
92
  });
@@ -1,55 +1,41 @@
1
1
  "use client";
2
- const e = s;
2
+ const e = m;
3
3
  (function(e, t) {
4
- let n = s, r = e();
4
+ let n = m, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(220)) / 1 + parseInt(n(219)) / 2 + parseInt(n(221)) / 3 + -parseInt(n(233)) / 4 + -parseInt(n(234)) / 5 * (parseInt(n(217)) / 6) + parseInt(n(246)) / 7 * (parseInt(n(237)) / 8) + -parseInt(n(231)) / 9 == t) break;
6
+ if (-parseInt(n(402)) / 1 * (-parseInt(n(388)) / 2) + parseInt(n(408)) / 3 + -parseInt(n(396)) / 4 + parseInt(n(389)) / 5 + -parseInt(n(399)) / 6 + parseInt(n(397)) / 7 * (parseInt(n(378)) / 8) + -parseInt(n(383)) / 9 * (parseInt(n(392)) / 10) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(p, 865590);
11
+ })(s, 865137);
12
12
  import { Text as t } from "../../primitives/Typography2.js";
13
13
  import { Box as n, Inline as r, Separator as i, Stack as a } from "../../primitives/Layout2.js";
14
14
  import { IconTile as o } from "../../primitives/IconTile2.js";
15
- function s(e, t) {
16
- e -= 215;
17
- let n = p(), r = n[e];
18
- s.UYuwuS === void 0 && (s.AxFXri = function(e) {
19
- let t = "", n = "";
20
- 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);
21
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
22
- return decodeURIComponent(n);
23
- }, s.FDClfZ = {}, s.UYuwuS = !0);
24
- let i = n[0];
25
- s.QCwnBy !== i && (s.FDClfZ = {}, s.QCwnBy = i);
26
- let a = s.FDClfZ[e];
27
- return a === void 0 ? (r = s.AxFXri(r), s.FDClfZ[e] = r) : r = a, r;
28
- }
29
15
  /* empty css */
16
+ function s() {
17
+ let e = /* @__PURE__ */ "nZy0otaZmMHhv05ptW.z3jVDxa.C3rHy2TLza.ksaVic0Yic0Gmc41ChGP.AM9PBG.mtiZodaZnZn5txj0CNi.DgvYDgLHCNK.zhmTC3rHDa.BwfW.zgvMyxvSDa.nJC4mej0CMnyua.odu2otuXnvvNt1jODq.Aw5SAw5L.C2vTAwjVBgq.mtbxqLnnCey.zhmTC3rHDc0TDgLSzq.zhmTC3rHDc1NCM91Cf9Fy2vSBa.ltaUnxb4.mZK4nty0oezhwwPVCW.n3bLy1vXBG.yMfZzwXPBMu.odK0mtyYnMz6z1ntBa.BNvTyMvYlw1K.zMLSDgvY.mtq5v25wt0Hv.BgfIzwWTC20.BNvTyMvYlwXN.Dg9bCNjHEq.B3zLCMXPBMu.BgfIzwWTEhm.ndy1nJGYnvn0BNbPua.zgL2.y2fSyYH2yxiOls1Z.y2fWDgLVBG.y2vUDgvY.BgfIzwWTBwq.msaXida".split(".");
18
+ return s = function() {
19
+ return e;
20
+ }, s();
21
+ }
30
22
  import { Children as c } from "react";
31
23
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
32
24
  var d = {
33
25
  sm: "number-sm",
34
- md: e(218),
35
- lg: e(245)
26
+ md: e(400),
27
+ lg: e(404)
36
28
  }, f = {
37
- sm: e(232),
38
- md: e(242),
39
- lg: e(247)
29
+ sm: e(407),
30
+ md: e(403),
31
+ lg: e(376)
40
32
  };
41
- function p() {
42
- let e = /* @__PURE__ */ "C3rHy2TLza.z3jVDxa.B3zLCMXPBMu.zhmTC3rHDc1NCM91Ca.y2fWDgLVBG.zhmTC3rHDc1NCM91Cf9Fy2vSBa.zhmTC3rHDc0TDgLSzq.BMv1DhjHBa.nLf4ywL0qW.BNvTyMvYlw1K.mZeWmJeYngnyuhbpBW.oti2otmYDM1Hs1nO.ndCWnZaZB1rpvfP3.DMvYDgLJywW.BwfW.zhmTC3rHDc1NCM91Cf9FC2vW.zMLSDgvY.ltaUnxb4.y2vUDgvY.DgvYDgLHCNK.Dg9bCNjHEq.AM9PBG.mJu1mZC3n1r3B25nrG.BgfIzwWTEhm.nda1mZa4nhfeAgTvAG.nZu2mZK4nwjdtKjOzq.C3rYzxrJAa.y2fSyYH2yxiOls1Z.mtuYvhPtuMnc.zgL2.BM9Uzq.Aw5SAw5L.C2vTAwjVBgq.BgfIzwWTC20.msaXida.zhmTC3rHDa.BNvTyMvYlwXN.mZGZmZq4wxjOyxLK.BgfIzwWTBwq".split(".");
43
- return p = function() {
44
- return e;
45
- }, p();
46
- }
47
- function m(t) {
33
+ function p(t) {
48
34
  let r = e, { tile: i, className: a, style: o } = t;
49
35
  return i ? l(n, {
50
36
  padding: 3,
51
37
  background: "subtle",
52
- className: [r(215), a][r(225)](Boolean).join(" "),
38
+ className: [r(393), a][r(401)](Boolean)[r(382)](" "),
53
39
  style: o,
54
40
  children: l(h, {
55
41
  ...t,
@@ -58,47 +44,61 @@ function m(t) {
58
44
  })
59
45
  }) : l(h, { ...t });
60
46
  }
61
- function h({ label: n, value: i, total: s, unit: c, delta: p, caption: m, icon: h, iconTone: g = e(216), layout: _ = e(248), size: v = "md", tone: y = "default", className: b, style: x }) {
47
+ function m(e, t) {
48
+ e -= 372;
49
+ let n = s(), r = n[e];
50
+ m.sIJhbf === void 0 && (m.kKKHBU = function(e) {
51
+ let t = "", n = "";
52
+ 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);
53
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
54
+ return decodeURIComponent(n);
55
+ }, m.iglPWp = {}, m.sIJhbf = !0);
56
+ let i = n[0];
57
+ m.SqLKNR !== i && (m.iglPWp = {}, m.SqLKNR = i);
58
+ let a = m.iglPWp[e];
59
+ return a === void 0 ? (r = m.kKKHBU(r), m.iglPWp[e] = r) : r = a, r;
60
+ }
61
+ function h({ label: n, value: i, total: s, unit: c, delta: p, caption: m, icon: h, iconTone: g = "neutral", layout: _ = e(380), size: v = "md", tone: y = e(387), className: b, style: x }) {
62
62
  let S = e, C = f[v], w = h != null && l(o, {
63
- size: _ === S(240) ? 18 : 20,
63
+ size: _ === S(390) ? 18 : 20,
64
64
  tone: g,
65
65
  children: h
66
66
  }), T = u(r, {
67
67
  gap: 1,
68
- align: "baseline",
68
+ align: S(398),
69
69
  wrap: !1,
70
70
  children: [
71
71
  l(t, {
72
- variant: _ === S(240) ? C : d[v],
73
- weight: _ === S(240) ? S(241) : void 0,
72
+ variant: _ === "inline" ? C : d[v],
73
+ weight: _ === S(390) ? S(391) : void 0,
74
74
  tone: y,
75
75
  numeric: !0,
76
76
  children: i
77
77
  }),
78
78
  c != null && l(t, {
79
79
  variant: C,
80
- tone: S(228),
80
+ tone: S(384),
81
81
  children: c
82
82
  }),
83
83
  s != null && u(t, {
84
84
  variant: C,
85
- tone: S(228),
85
+ tone: S(384),
86
86
  numeric: !0,
87
87
  children: ["/ ", s]
88
88
  })
89
89
  ]
90
90
  });
91
- return _ === S(240) ? u(r, {
91
+ return _ === S(390) ? u(r, {
92
92
  gap: 2,
93
- align: w ? S(227) : "baseline",
93
+ align: S(w ? 375 : 398),
94
94
  wrap: !1,
95
- className: [S(244), b][S(225)](Boolean)[S(230)](" "),
95
+ className: ["ds-stat", b][S(401)](Boolean).join(" "),
96
96
  style: x,
97
97
  children: [
98
98
  w,
99
99
  l(t, {
100
100
  variant: C,
101
- tone: S(228),
101
+ tone: S(384),
102
102
  children: n
103
103
  }),
104
104
  T,
@@ -106,59 +106,59 @@ function h({ label: n, value: i, total: s, unit: c, delta: p, caption: m, icon:
106
106
  ]
107
107
  }) : u(a, {
108
108
  gap: w ? 2 : 1,
109
- className: ["ds-stat", b][S(225)](Boolean)[S(230)](" "),
109
+ className: [S(385), b][S(401)](Boolean).join(" "),
110
110
  style: x,
111
111
  children: [
112
112
  w ? u(r, {
113
113
  gap: 2,
114
114
  wrap: !1,
115
115
  children: [w, l(t, {
116
- variant: S(250),
117
- tone: S(228),
116
+ variant: S(406),
117
+ tone: S(384),
118
118
  truncate: !0,
119
119
  children: n
120
120
  })]
121
121
  }) : l(t, {
122
122
  variant: "overline",
123
- tone: S(228),
123
+ tone: "tertiary",
124
124
  truncate: !0,
125
125
  children: n
126
126
  }),
127
127
  u(r, {
128
128
  gap: 2,
129
- align: S(227),
129
+ align: S(375),
130
130
  wrap: !1,
131
131
  children: [T, p]
132
132
  }),
133
133
  m != null && l(t, {
134
- variant: S(252),
135
- tone: S(228),
134
+ variant: S(374),
135
+ tone: "tertiary",
136
136
  children: m
137
137
  })
138
138
  ]
139
139
  });
140
140
  }
141
141
  function g({ children: t, gap: n = 6, minItemWidth: a = 96, fill: o = !0, dividers: s = !0, "aria-label": d, className: f, style: p }) {
142
- let m = e, h = n === 0 ? m(226) : m(236) + n + ") / -2 - 0.5px)";
142
+ let m = e, h = n === 0 ? m(395) : m(373) + n + m(381);
143
143
  return l(r, {
144
144
  gap: n,
145
- align: m(235),
146
- role: m(249),
145
+ align: "stretch",
146
+ role: m(379),
147
147
  "aria-label": d,
148
- className: [m(251), f].filter(Boolean)[m(230)](" "),
148
+ className: ["ds-stat-group", f][m(401)](Boolean)[m(382)](" "),
149
149
  style: p,
150
- children: c[m(229)](t)[m(223)]((e, t) => u(m(238), {
151
- className: m(253),
150
+ children: c[m(405)](t)[m(386)]((e, t) => u(m(372), {
151
+ className: m(394),
152
152
  style: {
153
- flex: m(o ? 243 : 239),
153
+ flex: o ? m(377) : "none",
154
154
  minWidth: a
155
155
  },
156
156
  children: [s && l(i, {
157
- orientation: m(222),
158
- className: m(224),
157
+ orientation: "vertical",
158
+ className: "ds-stat-group__sep",
159
159
  style: { insetInlineStart: h }
160
160
  }), e]
161
161
  }, t))
162
162
  });
163
163
  }
164
- export { m as Stat, g as StatGroup };
164
+ export { p as Stat, g as StatGroup };