@iamfiro/design 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +81 -81
  4. package/lib/components/ActionBar/ActionBar2.js +38 -39
  5. package/lib/components/Alert/Alert2.js +79 -79
  6. package/lib/components/AppShell/AppShell2.js +45 -45
  7. package/lib/components/AreaChart/AreaChart.js +45 -46
  8. package/lib/components/BarChart/BarChart2.js +166 -166
  9. package/lib/components/BarList/BarList2.js +83 -83
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -72
  11. package/lib/components/Calendar/Calendar2.js +166 -165
  12. package/lib/components/Calendar/DatePicker2.js +139 -139
  13. package/lib/components/Calendar/date.js +61 -58
  14. package/lib/components/Card/Card2.js +47 -47
  15. package/lib/components/CardFrame/CardFrame2.js +50 -45
  16. package/lib/components/Chart/ChartParts.js +78 -78
  17. package/lib/components/Chart/chart2.js +62 -62
  18. package/lib/components/Chart/useChartInteraction.js +56 -56
  19. package/lib/components/ChatBubble/ChatBubble2.js +116 -116
  20. package/lib/components/ChatBubble/formatChatTime.js +46 -39
  21. package/lib/components/ChatComposer/ChatComposer2.js +43 -43
  22. package/lib/components/CodeBlock/CodeBlock2.js +57 -57
  23. package/lib/components/CodeBlock/highlight.js +74 -74
  24. package/lib/components/ColorPicker/ColorPicker2.js +357 -357
  25. package/lib/components/ColorPicker/color.js +83 -83
  26. package/lib/components/ColorPicker/presets.js +47 -41
  27. package/lib/components/Combobox/Combobox2.js +143 -142
  28. package/lib/components/CommandMenu/CommandMenu.js +100 -100
  29. package/lib/components/Comment/Comment2.js +59 -60
  30. package/lib/components/ContextMenu/ContextMenu2.js +95 -96
  31. package/lib/components/DataGrid/DataGrid2.js +1202 -1203
  32. package/lib/components/DataGrid/GridPopover.js +87 -87
  33. package/lib/components/DataGrid/anchor.js +17 -19
  34. package/lib/components/DataGrid/model.js +261 -261
  35. package/lib/components/DataGrid/panels.js +397 -395
  36. package/lib/components/DataGrid/typeMeta.js +51 -51
  37. package/lib/components/DataGrid/types.js +38 -36
  38. package/lib/components/DescriptionList/DescriptionList2.js +74 -74
  39. package/lib/components/Dialog/AlertDialog.js +81 -82
  40. package/lib/components/Dialog/Dialog2.js +63 -63
  41. package/lib/components/Dialog/modal.js +70 -69
  42. package/lib/components/Drawer/Drawer2.js +122 -123
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +257 -258
  44. package/lib/components/DropdownMenu/menuCore.js +43 -44
  45. package/lib/components/Dropzone/Dropzone2.js +76 -77
  46. package/lib/components/EmptyState/EmptyState2.js +59 -56
  47. package/lib/components/FileChip/FileChip2.js +73 -49
  48. package/lib/components/FileUpload/FileUpload.js +149 -150
  49. package/lib/components/FilterChips/FilterChips2.js +59 -59
  50. package/lib/components/FunnelChart/FunnelChart2.js +123 -123
  51. package/lib/components/FunnelChart/funnel.js +44 -47
  52. package/lib/components/Highlight/Highlight2.js +48 -48
  53. package/lib/components/HoverCard/HoverCard.js +89 -64
  54. package/lib/components/InlineDiff/InlineDiff2.js +123 -123
  55. package/lib/components/InlineDiff/diff.js +76 -76
  56. package/lib/components/InlineDiff/useDiffReview.js +69 -68
  57. package/lib/components/Kanban/Kanban2.js +366 -366
  58. package/lib/components/Kanban/KanbanCard.js +67 -67
  59. package/lib/components/Kanban/move.js +41 -45
  60. package/lib/components/LineChart/LineChart2.js +196 -196
  61. package/lib/components/List/List2.js +60 -59
  62. package/lib/components/Listbox/Listbox2.js +94 -94
  63. package/lib/components/Marker/Marker2.js +59 -52
  64. package/lib/components/Menubar/Menubar2.js +110 -112
  65. package/lib/components/MultiSelect/MultiSelect2.js +112 -112
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +239 -240
  67. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  68. package/lib/components/NumberStepper/NumberStepper2.js +66 -65
  69. package/lib/components/OtpInput/OtpInput2.js +87 -88
  70. package/lib/components/Pagination/Pagination2.js +81 -81
  71. package/lib/components/Pagination/paginationRange.js +25 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +77 -77
  73. package/lib/components/PieChart/PieChart2.js +101 -101
  74. package/lib/components/PieChart/arc.js +73 -76
  75. package/lib/components/PieChart/useArcTween.js +61 -57
  76. package/lib/components/Popover/Popover2.js +65 -64
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +119 -119
  78. package/lib/components/Rating/Rating2.js +85 -85
  79. package/lib/components/Resizable/Resizable2.js +139 -139
  80. package/lib/components/Resizable/layout.js +68 -68
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +55 -55
  82. package/lib/components/ScatterChart/ScatterChart2.js +249 -249
  83. package/lib/components/ScatterChart/scatter.js +55 -55
  84. package/lib/components/ScrollArea/ScrollArea2.js +132 -131
  85. package/lib/components/Select/Select2.js +81 -81
  86. package/lib/components/Sidebar/Sidebar2.js +61 -61
  87. package/lib/components/Skeleton/Skeleton2.js +46 -46
  88. package/lib/components/Slider/Slider2.js +74 -73
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +70 -70
  90. package/lib/components/SparkChart/SparkChart2.js +138 -137
  91. package/lib/components/SparkChart/spark.js +40 -61
  92. package/lib/components/Sparkbar/Sparkbar2.js +60 -59
  93. package/lib/components/SplitView/SplitView2.js +42 -42
  94. package/lib/components/Stat/Stat2.js +88 -88
  95. package/lib/components/StepList/StepList2.js +71 -71
  96. package/lib/components/Table/Table2.js +70 -70
  97. package/lib/components/Tabs/Tabs2.js +89 -89
  98. package/lib/components/TagInput/TagInput2.js +154 -154
  99. package/lib/components/TimePicker/TimePicker2.js +225 -226
  100. package/lib/components/TimePicker/time.js +50 -50
  101. package/lib/components/Timeline/Timeline2.js +201 -201
  102. package/lib/components/Timeline/scale.js +55 -53
  103. package/lib/components/Toast/Toaster.js +90 -92
  104. package/lib/components/Toast/store.js +91 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +84 -84
  106. package/lib/components/Toolbar/Toolbar2.js +166 -168
  107. package/lib/components/Tracker/Tracker2.js +89 -89
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +126 -125
  109. package/lib/components/TreeView/TreeView2.js +154 -156
  110. package/lib/hooks/timing.js +35 -36
  111. package/lib/hooks/useControllableState.js +40 -39
  112. package/lib/hooks/useCountdown.js +57 -55
  113. package/lib/hooks/useDigitInput.js +59 -83
  114. package/lib/hooks/useDismiss.js +49 -46
  115. package/lib/hooks/useElapsed.js +53 -55
  116. package/lib/hooks/useFloating.js +44 -44
  117. package/lib/hooks/useFocusTrap.js +46 -70
  118. package/lib/hooks/usePresence.js +32 -29
  119. package/lib/hooks/usePressToOpen.js +50 -50
  120. package/lib/hooks/useScrollLock.js +51 -51
  121. package/lib/hooks/useSelection.js +55 -46
  122. package/lib/index.js +34 -35
  123. package/lib/primitives/AspectRatio2.js +59 -55
  124. package/lib/primitives/BrandIcon.js +160 -160
  125. package/lib/primitives/ColorDot2.js +38 -42
  126. package/lib/primitives/CopyButton2.js +56 -56
  127. package/lib/primitives/CountBadge2.js +66 -64
  128. package/lib/primitives/Countdown2.js +31 -32
  129. package/lib/primitives/Delta2.js +46 -71
  130. package/lib/primitives/Elapsed.js +44 -44
  131. package/lib/primitives/FileIcon2.js +82 -82
  132. package/lib/primitives/Flag2.js +134 -134
  133. package/lib/primitives/IconStack2.js +31 -53
  134. package/lib/primitives/IconTile2.js +46 -48
  135. package/lib/primitives/Kbd2.js +57 -57
  136. package/lib/primitives/Layout2.js +78 -78
  137. package/lib/primitives/Link2.js +29 -30
  138. package/lib/primitives/MaskedText2.js +47 -73
  139. package/lib/primitives/Progress2.js +77 -78
  140. package/lib/primitives/RelativeTime.js +49 -46
  141. package/lib/primitives/SearchInput2.js +58 -59
  142. package/lib/primitives/SelectorButton2.js +76 -74
  143. package/lib/primitives/Spinner2.js +62 -58
  144. package/lib/primitives/StatusIcon2.js +56 -56
  145. package/lib/primitives/Swatch2.js +69 -65
  146. package/lib/primitives/Tooltip2.js +92 -92
  147. package/lib/primitives/Typography2.js +68 -68
  148. package/lib/primitives/formatCountdown.js +39 -43
  149. package/lib/primitives/formatElapsed.js +43 -39
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +76 -76
  152. package/lib/primitives/index.js +201 -181
  153. package/lib/primitives/maskValue.js +35 -39
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,111 +1,112 @@
1
1
  "use client";
2
- (function(e, t) {
3
- let n = o, r = e();
4
- 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());
7
- } catch {
8
- r.push(r.shift());
9
- }
10
- })(i, 260737);
11
- import { cx as e } from "../../primitives/index.js";
12
- /* 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";
16
- 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(".");
18
- return i = function() {
19
- return e;
20
- }, i();
21
- }
22
- import { sparkColor as a } from "../SparkChart/spark.js";
23
- /* 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) {
2
+ const e = t;
3
+ function t(e, n) {
4
+ e -= 123;
5
+ let r = d(), i = r[e];
6
+ t.PbGjdY === void 0 && (t.oLMyYq = function(e) {
28
7
  let t = "", n = "";
29
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);
30
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
10
  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;
11
+ }, t.YQTUnt = {}, t.PbGjdY = !0);
12
+ let a = r[0];
13
+ t.CAFHPV !== a && (t.YQTUnt = {}, t.CAFHPV = a);
14
+ let o = t.YQTUnt[e];
15
+ return o === void 0 ? (i = t.oLMyYq(i), t.YQTUnt[e] = i) : i = o, i;
37
16
  }
17
+ (function(e, n) {
18
+ let r = t, i = e();
19
+ for (;;) try {
20
+ if (-parseInt(r(131)) / 1 + -parseInt(r(141)) / 2 + parseInt(r(124)) / 3 * (parseInt(r(157)) / 4) + parseInt(r(133)) / 5 * (parseInt(r(127)) / 6) + parseInt(r(123)) / 7 + -parseInt(r(128)) / 8 * (parseInt(r(154)) / 9) + -parseInt(r(134)) / 10 * (-parseInt(r(148)) / 11) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(d, 501712);
26
+ import { cx as n } from "../../primitives/index.js";
27
+ /* empty css */
28
+ import { ChartTooltip as r } from "../Chart/ChartParts.js";
29
+ import { formatNumber as i } from "../Chart/chart2.js";
30
+ import { useChartInteraction as a } from "../Chart/useChartInteraction.js";
31
+ import { sparkColor as o } from "../SparkChart/spark.js";
32
+ /* empty css */
38
33
  import { useId as s } from "react";
39
34
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
40
35
  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({
36
+ function d() {
37
+ let e = /* @__PURE__ */ "mtf2qxDUrvq.zhmTC3bHCMTIyxjFx2jHCG.BwLU.Bwf4.BwfW.66Ej64YaioQ3UoUEMo2uHa.ndC5mtmZr0H4yvDg.ChGSidaP.zhmTy2HHCNrFx3rPCa.nJq2nJrZD0r3r1G.Cg9SAxrL.DhjHBNnSyxrLka.nteZntqXmgXHt1bfuq.otnIEvnZvei.BgvUz3rO.6RIW66gDioYxHUYDJa.nMHkuLj1va.mti4CwnZywLr.y2XVC2vK.lwXPDMu.nZm0ote0wurYuK5X.zhmTy2HHCNq.mtiXmZmXnvvuz3zRvG.otG1ntCXmfbrENDiwG.DMfYkc0TBJyP.z2v0qM91BMrPBMDdBgLLBNrszwn0.Bwf4kdjWEcWG.C3bHBG.BgfZDa.D2LKDgG.nZq5mtG0tunbvvvv.zgL2.zMXVB3i.DMfSDwu.zhmTy2HHCNrFx3nY.y2XPzw50wa.zhmTy2HHCNrFx3bSB3q".split(".");
38
+ return d = function() {
39
+ return e;
40
+ }, d();
41
+ }
42
+ function f({ data: t, height: d = 48, max: f, color: p, tone: m, higherIs: h, worseTone: g, formatLabel: _ = (e) => e + 1 + "일", formatValue: v = i, valueLabel: y = "값", tooltip: b = !0, activeIndex: x, defaultActiveIndex: S, onActiveIndexChange: C, "aria-label": w = e(153), className: T, style: E }) {
43
+ let D = e, O = t[D(125)], { open: k, shown: A, settled: j, width: M, tipRef: N, tipSize: P, hover: F, leave: I, plotProps: L } = a({
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(139)
49
+ }), R = s(), z = f ?? Math[D(151)](0, ...t[D(152)]((e) => e ?? 0)), B = (e) => z > 0 ? Math[D(151)](0, Math.min(100, e / z * 100)) : 0, V = O ? M / O : 0, H = A === null ? void 0 : t[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(126) : v(H), K = (e) => {
50
+ let t = D, n = e.currentTarget[t(136)]();
51
+ F(Math[t(150)](O - 1, Math[t(151)](0, Math[t(143)]((e[t(146)] - n.left) / n[t(140)] * O))));
52
+ }, q = o(t, {
52
53
  color: p,
53
54
  tone: m,
54
55
  higherIs: h,
55
56
  worseTone: g
56
57
  });
57
- return l("div", {
58
+ return l(D(142), {
58
59
  ...L,
59
- className: e(D(302), "ds-chart__plot", D(304), T),
60
+ className: n(D(132), D(147), "ds-sparkbar", T),
60
61
  style: {
61
62
  height: d,
62
63
  ...q && { "--_c": q },
63
64
  ...E
64
65
  },
65
- "aria-roledescription": D(272),
66
+ "aria-roledescription": "막대 그래프",
66
67
  "aria-label": w,
67
- "aria-describedby": R + D(271),
68
+ "aria-describedby": R + D(130),
68
69
  children: [
69
- c("div", {
70
+ c(D(142), {
70
71
  className: "ds-sparkbar__bars",
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: t[D(152)]((e, t) => c(D(138), {
76
77
  className: "ds-sparkbar__slot",
77
- children: c("span", {
78
- className: D(306),
78
+ children: c(D(138), {
79
+ className: D(149),
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: D(137) + B(e) + "%)" }
82
83
  })
83
84
  }, t))
84
85
  }),
85
- b && c(D(284), {
86
+ b && c("div", {
86
87
  ref: N,
87
- className: D(280),
88
- "data-state": k ? "open" : D(281),
88
+ className: D(156),
89
+ "data-state": k ? "open" : D(129),
89
90
  "data-settled": j || void 0,
90
- style: { transform: D(292) + W + D(297) },
91
+ style: { transform: D(159) + W + D(155) },
91
92
  "aria-hidden": !0,
92
- children: c(t, {
93
+ children: c(r, {
93
94
  title: A === null ? null : _(A),
94
95
  rows: [{
95
- key: D(299),
96
+ key: D(144),
96
97
  label: y,
97
- color: q ?? "var(--n6)",
98
+ color: q ?? D(135),
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
+ c(D(138), {
104
+ id: R + "-live",
105
+ className: D(145),
106
+ "aria-live": D(158),
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,81 @@
1
1
  "use client";
2
- const e = l;
2
+ const e = c;
3
3
  (function(e, t) {
4
- let n = l, r = e();
4
+ let n = c, r = e();
5
5
  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;
6
+ if (parseInt(n(378)) / 1 + parseInt(n(381)) / 2 + -parseInt(n(386)) / 3 + -parseInt(n(377)) / 4 + parseInt(n(375)) / 5 + -parseInt(n(397)) / 6 * (-parseInt(n(388)) / 7) + parseInt(n(398)) / 8 * (-parseInt(n(376)) / 9) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(a, 262873);
11
+ })(l, 510898);
12
12
  import { useControllableState as t } from "../../hooks/useControllableState.js";
13
13
  import { cx as n } from "../../primitives/index.js";
14
14
  /* empty css */
15
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
- }
22
- 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) {
16
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
17
+ var s = 16;
18
+ function c(e, t) {
19
+ e -= 367;
20
+ let n = l(), r = n[e];
21
+ c.waqeeF === void 0 && (c.zstZtn = function(e) {
28
22
  let t = "", n = "";
29
23
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
30
24
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
25
  return decodeURIComponent(n);
32
- }, l.tpXSnO = {}, l.nKWjJo = !0);
26
+ }, c.BQNhzy = {}, c.waqeeF = !0);
33
27
  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;
28
+ c.jYBHNh !== i && (c.BQNhzy = {}, c.jYBHNh = i);
29
+ let a = c.BQNhzy[e];
30
+ return a === void 0 ? (r = c.zstZtn(r), c.BQNhzy[e] = r) : r = a, r;
31
+ }
32
+ function l() {
33
+ let e = /* @__PURE__ */ "C2vJDgLVBG.rxnJyxbL.zgL2.nMjZDNDKtW.mtaZnta0yxjbz0XV.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2XPC3qGzhmTC2nYB2XS.C3rHCNq.sg9Tzq.zhmTC3bSAxrFx2rPDMLKzxi.y2XPzw50wa.C2v0ug9PBNrLCKnHChr1CMu.zM9JDxm.rw5K.zhmTC3bSAxq.mtq0otKWnxfpCK5IvW.mZyWBNnwCgTs.mJeZnta0nhvmzgDyuW.ntG3mJGWsgzmEMD1.yNv0Dg9U.ioUeIoU5HcdSOBdSOiG.odCZnZCYAwDqrez4.qxjYB3Dmzwz0.A2v5.zhmTC3bSAxrFx3bHBMuGzhmTC3bSAxrFx2rLDgfPBcbKCY1Zy3jVBgW.BwLU.mJaYntu4nu1ruM1YDW.y3vYCMvUDa.nJq2mJu4ouvdy1LzEG.Cg9PBNrLCKLK.C29MDa.rw50zxi.C2HPzNrlzxK.ChjLDMvUDerLzMf1Bhq".split(".");
34
+ return l = function() {
35
+ return e;
36
+ }, l();
37
37
  }
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) => {
38
+ function u({ list: c, children: l, listWidth: u, defaultListWidth: d = 300, onListWidthChange: f, minListWidth: p = 220, maxListWidth: m = 520, resizable: h, listTone: g = e(390), 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[x(385)](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(379)] === 0 && (e[t(393)](), e.currentTarget[t(371)](e[t(389)]), e.currentTarget[t(372)](), E[t(387)] = {
42
+ x: e[t(370)],
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(387)];
47
+ if (!n) return;
48
+ let r = D(n[t(367)] + e[t(370)] - n.x);
49
+ r !== O && C(r);
50
50
  }, j = () => {
51
51
  let e = x;
52
- E[e(416)] = null, T(!1);
52
+ E[e(387)] = null, T(!1);
53
53
  }, 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)));
54
+ let t = x, n = e[t(392)] ? 64 : s, r = null;
55
+ e[t(383)] === t(382) ? r = O - n : e[t(383)] === "ArrowRight" ? r = O + n : e[t(383)] === t(368) ? r = p : e[t(383)] === t(373) ? r = m : e.key === t(391) ? r = d : e[t(383)] === t(395) && E[t(387)] && (r = E[t(387)][t(367)], j()), r !== null && (e[t(393)](), C(D(r)));
56
56
  };
57
- return s(x(444), {
58
- className: n("ds-split", x(419) + g, y),
57
+ return o(x(396), {
58
+ className: n(x(374), "ds-split--" + g, y),
59
59
  "data-dragging": w || void 0,
60
60
  style: {
61
61
  "--_list": O + "px",
62
62
  ...b
63
63
  },
64
64
  children: [
65
- o(x(424), {
66
- className: x(432),
65
+ a(x(394), {
66
+ className: x(399),
67
67
  "aria-label": _,
68
- children: a
68
+ children: c
69
69
  }),
70
- h && o(x(444), {
70
+ h && a(x(396), {
71
71
  role: "separator",
72
72
  tabIndex: 0,
73
- "aria-orientation": x(426),
74
- "aria-label": _ + x(447),
73
+ "aria-orientation": "vertical",
74
+ "aria-label": _ + x(380),
75
75
  "aria-valuenow": O,
76
76
  "aria-valuemin": p,
77
77
  "aria-valuemax": m,
78
- className: x(436),
78
+ className: x(369),
79
79
  onPointerDown: k,
80
80
  onPointerMove: A,
81
81
  onPointerUp: j,
@@ -84,8 +84,8 @@ function u({ list: a, children: l, listWidth: u, defaultListWidth: d = 300, onLi
84
84
  onDoubleClick: () => C(D(d)),
85
85
  onKeyDown: M
86
86
  }),
87
- o("section", {
88
- className: x(417),
87
+ a(x(394), {
88
+ className: x(384),
89
89
  "aria-label": v,
90
90
  children: l
91
91
  })
@@ -1,164 +1,164 @@
1
1
  "use client";
2
- const e = s;
3
- (function(e, t) {
4
- let n = s, r = e();
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;
7
- r.push(r.shift());
8
- } catch {
9
- r.push(r.shift());
10
- }
11
- })(p, 865590);
12
- import { Text as t } from "../../primitives/Typography2.js";
13
- import { Box as n, Inline as r, Separator as i, Stack as a } from "../../primitives/Layout2.js";
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) {
2
+ function e(t, n) {
3
+ t -= 210;
4
+ let r = g(), i = r[t];
5
+ e.SCzXQP === void 0 && (e.ugCKVE = function(e) {
19
6
  let t = "", n = "";
20
7
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
21
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
22
9
  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;
10
+ }, e.GUCFqh = {}, e.SCzXQP = !0);
11
+ let a = r[0];
12
+ e.KtAZCg !== a && (e.GUCFqh = {}, e.KtAZCg = a);
13
+ let o = e.GUCFqh[t];
14
+ return o === void 0 ? (i = e.ugCKVE(i), e.GUCFqh[t] = i) : i = o, i;
28
15
  }
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
+ for (;;) try {
20
+ if (-parseInt(r(237)) / 1 * (parseInt(r(241)) / 2) + parseInt(r(227)) / 3 * (-parseInt(r(242)) / 4) + parseInt(r(232)) / 5 * (-parseInt(r(229)) / 6) + parseInt(r(219)) / 7 + -parseInt(r(243)) / 8 + parseInt(r(225)) / 9 * (parseInt(r(220)) / 10) + -parseInt(r(222)) / 11 * (-parseInt(r(233)) / 12) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(g, 848970);
26
+ import { Text as n } from "../../primitives/Typography2.js";
27
+ import { Box as r, Inline as i, Separator as a, Stack as o } from "../../primitives/Layout2.js";
28
+ import { IconTile as s } from "../../primitives/IconTile2.js";
29
29
  /* empty css */
30
30
  import { Children as c } from "react";
31
31
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
32
32
  var d = {
33
- sm: "number-sm",
34
- md: e(218),
35
- lg: e(245)
33
+ sm: t(218),
34
+ md: "number-md",
35
+ lg: "number-lg"
36
36
  }, f = {
37
- sm: e(232),
38
- md: e(242),
39
- lg: e(247)
37
+ sm: "label-xs",
38
+ md: t(212),
39
+ lg: "label-md"
40
40
  };
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) {
48
- let r = e, { tile: i, className: a, style: o } = t;
49
- return i ? l(n, {
41
+ function p(e) {
42
+ let n = t, { tile: i, className: a, style: o } = e;
43
+ return i ? l(r, {
50
44
  padding: 3,
51
- background: "subtle",
52
- className: [r(215), a][r(225)](Boolean).join(" "),
45
+ background: n(236),
46
+ className: [n(231), a].filter(Boolean)[n(226)](" "),
53
47
  style: o,
54
- children: l(h, {
55
- ...t,
48
+ children: l(m, {
49
+ ...e,
56
50
  className: void 0,
57
51
  style: void 0
58
52
  })
59
- }) : l(h, { ...t });
53
+ }) : l(m, { ...e });
60
54
  }
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 }) {
62
- let S = e, C = f[v], w = h != null && l(o, {
63
- size: _ === S(240) ? 18 : 20,
55
+ function m({ label: e, value: r, total: a, unit: c, delta: p, caption: m, icon: h, iconTone: g = "neutral", layout: _ = t(214), size: v = "md", tone: y = t(234), className: b, style: x }) {
56
+ let S = t, C = f[v], w = h != null && l(s, {
57
+ size: _ === S(216) ? 18 : 20,
64
58
  tone: g,
65
59
  children: h
66
- }), T = u(r, {
60
+ }), T = u(i, {
67
61
  gap: 1,
68
- align: "baseline",
62
+ align: S(211),
69
63
  wrap: !1,
70
64
  children: [
71
- l(t, {
72
- variant: _ === S(240) ? C : d[v],
73
- weight: _ === S(240) ? S(241) : void 0,
65
+ l(n, {
66
+ variant: _ === "inline" ? C : d[v],
67
+ weight: _ === S(216) ? "semibold" : void 0,
74
68
  tone: y,
75
69
  numeric: !0,
76
- children: i
70
+ children: r
77
71
  }),
78
- c != null && l(t, {
72
+ c != null && l(n, {
79
73
  variant: C,
80
- tone: S(228),
74
+ tone: "tertiary",
81
75
  children: c
82
76
  }),
83
- s != null && u(t, {
77
+ a != null && u(n, {
84
78
  variant: C,
85
79
  tone: S(228),
86
80
  numeric: !0,
87
- children: ["/ ", s]
81
+ children: ["/ ", a]
88
82
  })
89
83
  ]
90
84
  });
91
- return _ === S(240) ? u(r, {
85
+ return _ === "inline" ? u(i, {
92
86
  gap: 2,
93
- align: w ? S(227) : "baseline",
87
+ align: w ? "center" : S(211),
94
88
  wrap: !1,
95
- className: [S(244), b][S(225)](Boolean)[S(230)](" "),
89
+ className: [S(235), b].filter(Boolean)[S(226)](" "),
96
90
  style: x,
97
91
  children: [
98
92
  w,
99
- l(t, {
93
+ l(n, {
100
94
  variant: C,
101
- tone: S(228),
102
- children: n
95
+ tone: "tertiary",
96
+ children: e
103
97
  }),
104
98
  T,
105
99
  p
106
100
  ]
107
- }) : u(a, {
101
+ }) : u(o, {
108
102
  gap: w ? 2 : 1,
109
- className: ["ds-stat", b][S(225)](Boolean)[S(230)](" "),
103
+ className: [S(235), b].filter(Boolean)[S(226)](" "),
110
104
  style: x,
111
105
  children: [
112
- w ? u(r, {
106
+ w ? u(i, {
113
107
  gap: 2,
114
108
  wrap: !1,
115
- children: [w, l(t, {
116
- variant: S(250),
109
+ children: [w, l(n, {
110
+ variant: "overline",
117
111
  tone: S(228),
118
112
  truncate: !0,
119
- children: n
113
+ children: e
120
114
  })]
121
- }) : l(t, {
115
+ }) : l(n, {
122
116
  variant: "overline",
123
- tone: S(228),
117
+ tone: "tertiary",
124
118
  truncate: !0,
125
- children: n
119
+ children: e
126
120
  }),
127
- u(r, {
121
+ u(i, {
128
122
  gap: 2,
129
- align: S(227),
123
+ align: "center",
130
124
  wrap: !1,
131
125
  children: [T, p]
132
126
  }),
133
- m != null && l(t, {
134
- variant: S(252),
127
+ m != null && l(n, {
128
+ variant: S(213),
135
129
  tone: S(228),
136
130
  children: m
137
131
  })
138
132
  ]
139
133
  });
140
134
  }
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)";
143
- return l(r, {
135
+ function h({ children: e, gap: n = 6, minItemWidth: r = 96, fill: o = !0, dividers: s = !0, "aria-label": d, className: f, style: p }) {
136
+ let m = t, h = n === 0 ? "-0.5px" : m(221) + n + ") / -2 - 0.5px)";
137
+ return l(i, {
144
138
  gap: n,
145
- align: m(235),
146
- role: m(249),
139
+ align: m(224),
140
+ role: "group",
147
141
  "aria-label": d,
148
- className: [m(251), f].filter(Boolean)[m(230)](" "),
142
+ className: [m(210), f][m(238)](Boolean)[m(226)](" "),
149
143
  style: p,
150
- children: c[m(229)](t)[m(223)]((e, t) => u(m(238), {
151
- className: m(253),
144
+ children: c[m(230)](e)[m(240)]((e, t) => u(m(217), {
145
+ className: m(239),
152
146
  style: {
153
- flex: m(o ? 243 : 239),
154
- minWidth: a
147
+ flex: o ? "1 1 0" : m(223),
148
+ minWidth: r
155
149
  },
156
- children: [s && l(i, {
157
- orientation: m(222),
158
- className: m(224),
150
+ children: [s && l(a, {
151
+ orientation: "vertical",
152
+ className: m(215),
159
153
  style: { insetInlineStart: h }
160
154
  }), e]
161
155
  }, t))
162
156
  });
163
157
  }
164
- export { m as Stat, g as StatGroup };
158
+ function g() {
159
+ let e = /* @__PURE__ */ "nfPuAvHWyG.mtiXnty0oe1dthf5Aq.zhmTC3rHDc1NCM91Ca.yMfZzwXPBMu.BgfIzwWTC20.y2fWDgLVBG.C3rHy2TLza.zhmTC3rHDc1NCM91Cf9FC2vW.Aw5SAw5L.zgL2.BNvTyMvYlxnT.nJK4mZu1n0vvDwnezG.mte5mJb5BgL1vue.y2fSyYH2yxiOls1Z.mtqWoeHmqxbLrW.BM9Uzq.C3rYzxrJAa.mti1nZnXv09YvhO.AM9PBG.mZKWmdndBgHIDgy.DgvYDgLHCNK.mZyZmZbmA0v2tKm.Dg9bCNjHEq.zhmTC3rHDc0TDgLSzq.ody1zxPiBuvN.odC2D3POCMXr.zgvMyxvSDa.zhmTC3rHDa.C3vIDgXL.nJeWnZC3vgv2svDf.zMLSDgvY.zhmTC3rHDc1NCM91Cf9Fy2vSBa.BwfW.mNjvs2nYCG".split(".");
160
+ return g = function() {
161
+ return e;
162
+ }, g();
163
+ }
164
+ export { p as Stat, h as StatGroup };