@iamfiro/design 0.3.4 → 0.3.5

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/app-shell/AGENTS.md +99 -1
  2. package/lib/components/Accordion/Accordion2.js +93 -93
  3. package/lib/components/ActionBar/ActionBar2.js +44 -40
  4. package/lib/components/Alert/Alert2.js +64 -64
  5. package/lib/components/AppShell/AppShell2.js +73 -66
  6. package/lib/components/AreaChart/AreaChart.js +49 -47
  7. package/lib/components/BarChart/BarChart2.js +107 -107
  8. package/lib/components/BarList/BarList2.js +99 -99
  9. package/lib/components/Breadcrumb/Breadcrumb2.js +53 -56
  10. package/lib/components/Calendar/Calendar2.js +164 -164
  11. package/lib/components/Calendar/DatePicker2.js +76 -77
  12. package/lib/components/Calendar/date.js +49 -70
  13. package/lib/components/Card/Card2.js +104 -77
  14. package/lib/components/CardFrame/CardFrame2.js +46 -42
  15. package/lib/components/Chart/ChartParts.js +73 -73
  16. package/lib/components/Chart/chart2.js +53 -53
  17. package/lib/components/Chart/useChartInteraction.js +49 -49
  18. package/lib/components/ChatBubble/ChatBubble2.js +118 -118
  19. package/lib/components/ChatBubble/formatChatTime.js +42 -41
  20. package/lib/components/ChatComposer/ChatComposer2.js +102 -102
  21. package/lib/components/CodeBlock/CodeBlock2.js +51 -51
  22. package/lib/components/CodeBlock/highlight.js +85 -85
  23. package/lib/components/ColorPicker/ColorPicker2.js +373 -374
  24. package/lib/components/ColorPicker/color.js +94 -94
  25. package/lib/components/ColorPicker/presets.js +47 -46
  26. package/lib/components/Combobox/Combobox2.js +118 -117
  27. package/lib/components/CommandMenu/CommandMenu.js +121 -122
  28. package/lib/components/Comment/Comment2.js +56 -81
  29. package/lib/components/ContextMenu/ContextMenu2.js +91 -93
  30. package/lib/components/DataGrid/DataGrid2.js +845 -845
  31. package/lib/components/DataGrid/GridPopover.js +97 -97
  32. package/lib/components/DataGrid/anchor.js +34 -36
  33. package/lib/components/DataGrid/model.js +299 -299
  34. package/lib/components/DataGrid/panels.js +393 -393
  35. package/lib/components/DataGrid/typeMeta.js +53 -53
  36. package/lib/components/DataGrid/types.js +22 -22
  37. package/lib/components/DescriptionList/DescriptionList2.js +57 -57
  38. package/lib/components/Dialog/AlertDialog.js +56 -56
  39. package/lib/components/Dialog/Dialog2.js +68 -69
  40. package/lib/components/Dialog/modal.js +61 -57
  41. package/lib/components/Drawer/Drawer2.js +161 -161
  42. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -267
  43. package/lib/components/DropdownMenu/menuCore.js +42 -68
  44. package/lib/components/Dropzone/Dropzone2.js +81 -81
  45. package/lib/components/EmptyState/EmptyState2.js +55 -54
  46. package/lib/components/FileChip/FileChip2.js +39 -63
  47. package/lib/components/FileUpload/FileUpload.js +157 -156
  48. package/lib/components/FilterChips/FilterChips2.js +51 -51
  49. package/lib/components/FunnelChart/FunnelChart2.js +171 -171
  50. package/lib/components/FunnelChart/funnel.js +55 -57
  51. package/lib/components/Highlight/Highlight2.js +48 -48
  52. package/lib/components/HoverCard/HoverCard.js +59 -59
  53. package/lib/components/InlineDiff/InlineDiff2.js +110 -111
  54. package/lib/components/InlineDiff/diff.js +89 -89
  55. package/lib/components/InlineDiff/useDiffReview.js +63 -65
  56. package/lib/components/Kanban/Kanban2.js +424 -425
  57. package/lib/components/Kanban/KanbanCard.js +98 -73
  58. package/lib/components/Kanban/move.js +52 -49
  59. package/lib/components/LineChart/LineChart2.js +222 -222
  60. package/lib/components/List/List2.js +60 -59
  61. package/lib/components/Listbox/Listbox2.js +117 -117
  62. package/lib/components/Marker/Marker2.js +58 -59
  63. package/lib/components/Menubar/Menubar2.js +121 -123
  64. package/lib/components/MultiSelect/MultiSelect2.js +115 -115
  65. package/lib/components/NavigationMenu/NavigationMenu2.js +277 -276
  66. package/lib/components/NoticeStack/NoticeStack2.js +98 -98
  67. package/lib/components/NumberStepper/NumberStepper2.js +67 -66
  68. package/lib/components/OtpInput/OtpInput2.js +93 -93
  69. package/lib/components/Pagination/Pagination2.js +87 -87
  70. package/lib/components/Pagination/paginationRange.js +39 -37
  71. package/lib/components/PhoneInput/PhoneInput.js +78 -78
  72. package/lib/components/PieChart/PieChart2.js +117 -117
  73. package/lib/components/PieChart/arc.js +57 -58
  74. package/lib/components/PieChart/useArcTween.js +45 -40
  75. package/lib/components/Popover/Popover2.js +73 -74
  76. package/lib/components/ProgressTracker/ProgressTracker2.js +128 -128
  77. package/lib/components/Rating/Rating2.js +95 -95
  78. package/lib/components/Resizable/Resizable2.js +86 -86
  79. package/lib/components/Resizable/layout.js +73 -73
  80. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -68
  81. package/lib/components/ScatterChart/ScatterChart2.js +172 -172
  82. package/lib/components/ScatterChart/scatter.js +55 -56
  83. package/lib/components/ScrollArea/ScrollArea2.js +130 -131
  84. package/lib/components/Select/Select2.js +86 -85
  85. package/lib/components/Sidebar/Sidebar2.js +92 -86
  86. package/lib/components/Sidebar/rail.js +43 -0
  87. package/lib/components/Skeleton/Skeleton2.js +60 -61
  88. package/lib/components/Slider/Slider2.js +73 -73
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -55
  90. package/lib/components/SparkChart/SparkChart2.js +140 -141
  91. package/lib/components/SparkChart/spark.js +50 -48
  92. package/lib/components/Sparkbar/Sparkbar2.js +56 -56
  93. package/lib/components/SplitView/SplitView2.js +47 -46
  94. package/lib/components/Stat/Stat2.js +61 -61
  95. package/lib/components/StepList/StepList2.js +76 -76
  96. package/lib/components/Table/Table2.js +70 -70
  97. package/lib/components/Tabs/Tabs2.js +85 -85
  98. package/lib/components/TagInput/TagInput2.js +217 -218
  99. package/lib/components/TimePicker/TimePicker2.js +217 -216
  100. package/lib/components/TimePicker/time.js +60 -58
  101. package/lib/components/Timeline/Timeline2.js +181 -181
  102. package/lib/components/Timeline/scale.js +60 -65
  103. package/lib/components/Toast/Toaster.js +146 -148
  104. package/lib/components/Toast/store.js +85 -85
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  106. package/lib/components/Toolbar/Toolbar2.js +120 -121
  107. package/lib/components/Tracker/Tracker2.js +79 -79
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +116 -116
  109. package/lib/components/TreeView/TreeView2.js +162 -163
  110. package/lib/hooks/timing.js +32 -35
  111. package/lib/hooks/useControllableState.js +35 -35
  112. package/lib/hooks/useCountdown.js +53 -52
  113. package/lib/hooks/useDigitInput.js +82 -81
  114. package/lib/hooks/useDismiss.js +48 -48
  115. package/lib/hooks/useElapsed.js +40 -43
  116. package/lib/hooks/useFloating.js +47 -47
  117. package/lib/hooks/useFocusTrap.js +45 -69
  118. package/lib/hooks/usePresence.js +49 -50
  119. package/lib/hooks/usePressToOpen.js +43 -43
  120. package/lib/hooks/useScrollLock.js +45 -43
  121. package/lib/hooks/useSelection.js +44 -46
  122. package/lib/index.js +105 -106
  123. package/lib/primitives/AspectRatio2.js +57 -56
  124. package/lib/primitives/BrandIcon.js +177 -177
  125. package/lib/primitives/ColorDot2.js +44 -48
  126. package/lib/primitives/CopyButton2.js +54 -55
  127. package/lib/primitives/CountBadge2.js +45 -48
  128. package/lib/primitives/Countdown2.js +35 -37
  129. package/lib/primitives/Delta2.js +41 -41
  130. package/lib/primitives/Elapsed.js +43 -41
  131. package/lib/primitives/FileIcon2.js +94 -94
  132. package/lib/primitives/Flag2.js +97 -97
  133. package/lib/primitives/IconStack2.js +53 -55
  134. package/lib/primitives/IconTile2.js +45 -41
  135. package/lib/primitives/Kbd2.js +57 -57
  136. package/lib/primitives/Layout2.js +66 -66
  137. package/lib/primitives/Link2.js +42 -47
  138. package/lib/primitives/MaskedText2.js +47 -69
  139. package/lib/primitives/Progress2.js +71 -71
  140. package/lib/primitives/RelativeTime.js +47 -43
  141. package/lib/primitives/SearchInput2.js +70 -66
  142. package/lib/primitives/SelectorButton2.js +70 -67
  143. package/lib/primitives/Spinner2.js +58 -59
  144. package/lib/primitives/StatusIcon2.js +70 -70
  145. package/lib/primitives/Swatch2.js +57 -55
  146. package/lib/primitives/Tooltip2.js +78 -78
  147. package/lib/primitives/Typography2.js +54 -54
  148. package/lib/primitives/formatCountdown.js +37 -38
  149. package/lib/primitives/formatElapsed.js +46 -45
  150. package/lib/primitives/formatRelativeTime.js +43 -69
  151. package/lib/primitives/hotkey.js +66 -66
  152. package/lib/primitives/index.js +152 -152
  153. package/lib/primitives/maskValue.js +30 -32
  154. package/lib/style.css +1 -1
  155. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  156. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  157. package/lib/types/components/index.d.ts +1 -0
  158. package/package.json +1 -1
@@ -1,76 +1,76 @@
1
1
  "use client";
2
- var e = c;
3
- (function(e, t) {
4
- for (var n = c, r = e();;) try {
5
- if (-parseInt(n(236)) / 1 + parseInt(n(234)) / 2 * (parseInt(n(232)) / 3) + parseInt(n(241)) / 4 + parseInt(n(239)) / 5 + parseInt(n(240)) / 6 + -parseInt(n(235)) / 7 * (parseInt(n(231)) / 8) + -parseInt(n(237)) / 9 * (parseInt(n(238)) / 10) == t) break;
6
- r.push(r.shift());
7
- } catch {
8
- r.push(r.shift());
9
- }
10
- })(d, 357082);
11
- import { Calendar as t, CircleChevronDown as n, Hash as r, Link as i, SquareCheck as a, Tags as o, Type as s } from "lucide-react";
12
- function c(e, t) {
13
- e -= 230;
14
- var n = d(), r = n[e];
15
- c.JsZXIO === void 0 && (c.lCDxhR = function(e) {
2
+ var e = t;
3
+ function t(e, n) {
4
+ e -= 224;
5
+ var r = l(), i = r[e];
6
+ t.tOvLoC === void 0 && (t.RfOkxG = function(e) {
16
7
  for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
17
8
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
18
9
  return decodeURIComponent(r);
19
- }, c.HaPItx = {}, c.JsZXIO = !0);
20
- var i = n[0];
21
- c.TuZjLB !== i && (c.HaPItx = {}, c.TuZjLB = i);
22
- var a = c.HaPItx[e];
23
- return a === void 0 ? (r = c.lCDxhR(r), c.HaPItx[e] = r) : r = a, r;
10
+ }, t.WbYhhA = {}, t.tOvLoC = !0);
11
+ var a = r[0];
12
+ t.ltEEOL !== a && (t.WbYhhA = {}, t.ltEEOL = a);
13
+ var o = t.WbYhhA[e];
14
+ return o === void 0 ? (i = t.RfOkxG(i), t.WbYhhA[e] = i) : i = o, i;
15
+ }
16
+ (function(e, n) {
17
+ for (var r = t, i = e();;) try {
18
+ if (parseInt(r(225)) / 1 + parseInt(r(236)) / 2 + -parseInt(r(233)) / 3 + parseInt(r(224)) / 4 + -parseInt(r(228)) / 5 * (-parseInt(r(232)) / 6) + parseInt(r(227)) / 7 + parseInt(r(226)) / 8 * (-parseInt(r(231)) / 9) == n) break;
19
+ i.push(i.shift());
20
+ } catch {
21
+ i.push(i.shift());
22
+ }
23
+ })(l, 370654);
24
+ import { Calendar as n, CircleChevronDown as r, Hash as i, Link as a, SquareCheck as o, Tags as s, Type as c } from "lucide-react";
25
+ function l() {
26
+ var e = [
27
+ "vvjm",
28
+ "7lk07ygS67cv7iQK",
29
+ "mtqZmdK4rfjOCvzt",
30
+ "mtmWmZu2nfHUu2vera",
31
+ "nti0ntaXzhjjwMjo",
32
+ "ndu2v1HKrhv2",
33
+ "mtG1ntC0owL6wgzPzq",
34
+ "ndv4CeffBMe",
35
+ "7ywn7iQK7yQ4",
36
+ "64UK7ksrioYeOo2dNq",
37
+ "mtm4ndm4yM55werZ",
38
+ "ntK3otzgu2zwt2m",
39
+ "odC5ndjSzhz2zuO"
40
+ ];
41
+ return l = function() {
42
+ return e;
43
+ }, l();
24
44
  }
25
- import { jsx as l } from "react/jsx-runtime";
26
- var u = {
45
+ import { jsx as u } from "react/jsx-runtime";
46
+ var d = {
27
47
  text: {
28
- label: e(230),
29
- icon: l(s, {})
48
+ label: e(229),
49
+ icon: u(c, {})
30
50
  },
31
51
  number: {
32
52
  label: "숫자",
33
- icon: l(r, {})
53
+ icon: u(i, {})
34
54
  },
35
55
  select: {
36
56
  label: "선택",
37
- icon: l(n, {})
57
+ icon: u(r, {})
38
58
  },
39
59
  multiSelect: {
40
- label: e(233),
41
- icon: l(o, {})
60
+ label: e(230),
61
+ icon: u(s, {})
42
62
  },
43
63
  checkbox: {
44
- label: "체크박스",
45
- icon: l(a, {})
64
+ label: e(235),
65
+ icon: u(o, {})
46
66
  },
47
67
  date: {
48
68
  label: "날짜",
49
- icon: l(t, {})
69
+ icon: u(n, {})
50
70
  },
51
71
  url: {
52
- label: e(242),
53
- icon: l(i, {})
72
+ label: e(234),
73
+ icon: u(a, {})
54
74
  }
55
75
  };
56
- export { u as TYPE_META };
57
- function d() {
58
- var e = [
59
- "oduZmZDmt09dBxi",
60
- "nde1mtaYCvzhCefh",
61
- "mtq0mJC1neDhEundtW",
62
- "mtbQBK5LD00",
63
- "mtqWmJeXmhLeCu9HyG",
64
- "mJeWnJC2mNLpvMHYta",
65
- "mJq4nZmWofDptujWrq",
66
- "vvjm",
67
- "7ywn7iQK7yQ4",
68
- "mJi0vvfgz3b0",
69
- "mZLlCuTvyxK",
70
- "64UK7ksrioYeOo2dNq",
71
- "mZe0oe10BK1RBq"
72
- ];
73
- return d = function() {
74
- return e;
75
- }, d();
76
- }
76
+ export { d as TYPE_META };
@@ -2,53 +2,53 @@
2
2
  function e(t, n) {
3
3
  t -= 163;
4
4
  var i = r(), a = i[t];
5
- e.WvfvKO === void 0 && (e.qnPOqF = function(e) {
5
+ e.eFXtPY === void 0 && (e.naCTUq = function(e) {
6
6
  for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
7
7
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
8
8
  return decodeURIComponent(r);
9
- }, e.KYZwrz = {}, e.WvfvKO = !0);
9
+ }, e.wxytmG = {}, e.eFXtPY = !0);
10
10
  var o = i[0];
11
- e.zhotQm !== o && (e.KYZwrz = {}, e.zhotQm = o);
12
- var s = e.KYZwrz[t];
13
- return s === void 0 ? (a = e.qnPOqF(a), e.KYZwrz[t] = a) : a = s, a;
11
+ e.LPkBQi !== o && (e.wxytmG = {}, e.LPkBQi = o);
12
+ var s = e.wxytmG[t];
13
+ return s === void 0 ? (a = e.naCTUq(a), e.wxytmG[t] = a) : a = s, a;
14
14
  }
15
15
  var t = e;
16
16
  (function(t, n) {
17
17
  for (var r = e, i = t();;) try {
18
- if (parseInt(r(172)) / 1 + -parseInt(r(173)) / 2 + parseInt(r(168)) / 3 + parseInt(r(169)) / 4 * (parseInt(r(174)) / 5) + parseInt(r(163)) / 6 * (parseInt(r(171)) / 7) + parseInt(r(164)) / 8 + parseInt(r(165)) / 9 * (-parseInt(r(167)) / 10) == n) break;
18
+ if (parseInt(r(174)) / 1 * (parseInt(r(168)) / 2) + -parseInt(r(167)) / 3 + -parseInt(r(163)) / 4 * (parseInt(r(173)) / 5) + -parseInt(r(172)) / 6 + parseInt(r(171)) / 7 * (parseInt(r(164)) / 8) + -parseInt(r(170)) / 9 * (parseInt(r(165)) / 10) + parseInt(r(166)) / 11 == n) break;
19
19
  i.push(i.shift());
20
20
  } catch {
21
21
  i.push(i.shift());
22
22
  }
23
- })(r, 115638);
23
+ })(r, 162026);
24
24
  var n = {
25
25
  sorts: [],
26
26
  filters: [],
27
- filterMode: t(166),
27
+ filterMode: t(169),
28
28
  groupBy: null,
29
29
  collapsed: [],
30
30
  search: "",
31
- density: t(170),
31
+ density: "default",
32
32
  rowNumbers: !0,
33
33
  gridlines: !1
34
34
  };
35
+ export { n as DEFAULT_VIEW };
35
36
  function r() {
36
37
  var e = [
37
- "nJnxrMf0seW",
38
- "yw5K",
39
- "mZuZmZmWyxjxA1Le",
40
- "mJmYmtqZq3L0rwze",
41
- "nJmYotjluwj0Bw8",
42
- "zgvMyxvSDa",
43
- "nZm0mdLHvvLuqK4",
44
- "otG4mJntCLzgzLu",
45
- "mJKWntyYsLf0wxv6",
46
- "mtbQwwvXuMS",
47
- "nZjZyvjYDuG",
48
- "mtm5nJq0ohvvsfLSrG"
38
+ "ouPdC3HIra",
39
+ "mZa2nZC1s1HcuKr0",
40
+ "mtC5ntq4ohrrA2PtuW",
41
+ "ntC2mgHSzhHWCW",
42
+ "nZi0mdnpvKHiCuG",
43
+ "nZuYBgjpv0vT",
44
+ "ofDHsMD0BW",
45
+ "mJG0ndeXmevSv3b0ta",
46
+ "mta2otq0mJbWr25rs2C",
47
+ "odeYotC5CuPyD0rT",
48
+ "nLH2A0XXAG",
49
+ "yw5K"
49
50
  ];
50
51
  return r = function() {
51
52
  return e;
52
53
  }, r();
53
54
  }
54
- export { n as DEFAULT_VIEW };
@@ -3,29 +3,29 @@ const e = t;
3
3
  (function(e, n) {
4
4
  let r = t, i = e();
5
5
  for (;;) try {
6
- if (parseInt(r(151)) / 1 * (parseInt(r(149)) / 2) + -parseInt(r(182)) / 3 * (parseInt(r(175)) / 4) + -parseInt(r(155)) / 5 * (parseInt(r(143)) / 6) + -parseInt(r(172)) / 7 + -parseInt(r(158)) / 8 * (parseInt(r(142)) / 9) + parseInt(r(148)) / 10 + parseInt(r(188)) / 11 == n) break;
6
+ if (-parseInt(r(288)) / 1 + -parseInt(r(295)) / 2 * (-parseInt(r(271)) / 3) + -parseInt(r(266)) / 4 + parseInt(r(289)) / 5 * (-parseInt(r(261)) / 6) + parseInt(r(298)) / 7 * (-parseInt(r(282)) / 8) + -parseInt(r(263)) / 9 * (parseInt(r(301)) / 10) + -parseInt(r(291)) / 11 * (-parseInt(r(259)) / 12) == n) break;
7
7
  i.push(i.shift());
8
8
  } catch {
9
9
  i.push(i.shift());
10
10
  }
11
- })(r, 336376);
11
+ })(r, 330912);
12
12
  function t(e, n) {
13
- e -= 142;
13
+ e -= 259;
14
14
  let i = r(), a = i[e];
15
- t.MoTKfA === void 0 && (t.iIPwxX = function(e) {
15
+ t.BtBAkc === void 0 && (t.sselMS = function(e) {
16
16
  let t = "", n = "";
17
17
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
18
18
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
19
  return decodeURIComponent(n);
20
- }, t.MsuMZS = {}, t.MoTKfA = !0);
20
+ }, t.glzNoD = {}, t.BtBAkc = !0);
21
21
  let o = i[0];
22
- t.uncRHS !== o && (t.MsuMZS = {}, t.uncRHS = o);
23
- let s = t.MsuMZS[e];
24
- return s === void 0 ? (a = t.iIPwxX(a), t.MsuMZS[e] = a) : a = s, a;
22
+ t.NtQiMU !== o && (t.glzNoD = {}, t.NtQiMU = o);
23
+ let s = t.glzNoD[e];
24
+ return s === void 0 ? (a = t.sselMS(a), t.glzNoD[e] = a) : a = s, a;
25
25
  }
26
26
  import { Text as n } from "../../primitives/Typography2.js";
27
27
  function r() {
28
- let e = /* @__PURE__ */ "zhmTzgXFx2L0zw0TlwnVBNrLBNrZ.BgfIzwWTBwq.zhmTzgXFx2L0zw0.C3vIDgXL.yMv0D2vLBG.m1jovMLTrW.Bwf4lwnVBNrLBNqGBwLUBwf4kdaSidfMCIK.Dg9Uzq.zhmTzgXFx2L0zw0Tlxn0ywnRzwq.zhmTzgWTCgfUzwW.C3bHBIa.mtm1ntK4ndnkzhnPzNG.mty4mdy2BNHjz3jW.ntq2yMLnwMv4.C2vJB25Kyxj5.zgvMyxvSDa.DgvYDgLHCNK.uhjVDMLKzxi.mJqZndKWzwzuyLnO.ndz3uw1cwxO.yMfZzwXPBMu.mJe1mZnesgnWt1y.yM9KEs1ZBq.BNvTyMvYlwXN.zhmTzgXFx2LJB24.mtu1ndv3C3n2Evy.Aw5SAw5L.y2vUDgvY.mJaWCNbpA1rU.y2fWDgLVBG.C3rHy2TLza.CgXHAw4.C2vJDgLVBG.B3zLCMXPBMu.C3rHCNq.zw5K.BNvTyMvYlw1K.BgfIzwW.zhmTzgW.zgL2.zhmTzgXFx3rLCM0.C3bHBG.mZq2nZiZm3n2uNbjqW.yM9KEs1Tza.BNvTyMvYlxnT.nJGZndi4DhHABMHm.DMfSDwu".split(".");
28
+ let e = /* @__PURE__ */ "zhmTzgWTCgfUzwW.BgfIzwWTC20.BNvTyMvYlwXN.C3bHBG.zgvMyxvSDa.C2vJDgLVBG.BNvTyMvYlxnT.CgXHAw4.ntC4mdbxzejivfe.C3rHy2TLza.yMfZzwXPBMu.C3bHBIa.BNvTyMvYlw1K.Bwf4lwnVBNrLBNqGBwLUBwf4kdaSidfMCIK.nJa2mta5zhLky0Xk.mtmZotmWrKjPwxb0.BgfIzwWTBgC.nJy3n0rKAKnADG.BgfIzwWTBwq.zw5K.zhmTzgXFx2L0zw0Tlxn0ywnRzwq.mJaYohDPvhPcqG.uhjVDMLKzxi.Dg9Uzq.mte5EgjLrNv5.zhmTzgXFx3rLCM0.zhmTzgW.nZbiq2Tlr1K.BgfIzwW.yM9KEs1ZBq.DgvYDgLHCNK.mJC5ndHvtuPSAeS.zgL2.mtHqA3D2C3G.zhmTzgXFx2L0zw0TlwnVBNrLBNrZ.nZa0nJf4CenoD2e.Aw5SAw5L.AwnVBG.mJeXntKYmfbPBxDiEa.zhmTzgXFx2L0zw0.y2fWDgLVBG.BwfW.B3zLCMXPBMu.ote4CMr4Cuvz.DMfSDwu.C2vJB25Kyxj5".split(".");
29
29
  return r = function() {
30
30
  return e;
31
31
  }, r();
@@ -36,63 +36,63 @@ import { cx as c } from "../../primitives/index.js";
36
36
  import { createContext as l, useContext as u, useId as d } from "react";
37
37
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
38
38
  var m = l({
39
- layout: e(160),
40
- labelStyle: e(163),
39
+ layout: e(283),
40
+ labelStyle: "overline",
41
41
  size: "md",
42
- align: e(165)
42
+ align: e(293)
43
43
  }), h = {
44
- sm: e(174),
45
- md: e(166),
46
- lg: e(153)
44
+ sm: e(280),
45
+ md: e(286),
46
+ lg: e(276)
47
47
  }, g = {
48
- sm: "label-sm",
49
- md: e(178),
50
- lg: "label-lg"
48
+ sm: e(275),
49
+ md: e(292),
50
+ lg: e(290)
51
51
  }, _ = {
52
- sm: e(152),
52
+ sm: e(303),
53
53
  md: "body-sm",
54
- lg: e(173)
54
+ lg: "body-md"
55
55
  };
56
- function v({ items: t, children: n, layout: r = e(160), columns: o, minItemWidth: s, variant: l = e(161), labelStyle: u = e(163), size: d = "md", align: h = e(165), gap: g, rowGap: _, "aria-label": v, className: b, style: x }) {
57
- let S = e, C = r === S(156), w = C && h === "start", T = f(a, {
56
+ function v({ items: t, children: n, layout: r = e(283), columns: o, minItemWidth: s, variant: l = e(281), labelStyle: u = e(270), size: d = "md", align: h = e(293), gap: g, rowGap: _, "aria-label": v, className: b, style: x }) {
57
+ let S = e, C = r === S(264), w = C && h === "start", T = f(a, {
58
58
  as: "dl",
59
- columns: o ?? (w ? S(183) : C ? 1 : 3),
59
+ columns: o ?? (w ? S(287) : C ? 1 : 3),
60
60
  minItemWidth: w ? void 0 : s,
61
61
  gap: g ?? (w ? 4 : C ? 6 : 4),
62
62
  rowGap: _ ?? (C ? 2 : 4),
63
63
  "aria-label": v,
64
- className: c(S(168), l === S(161) && b),
65
- style: l === "plain" ? x : void 0,
66
- children: p(m[S(147)], {
64
+ className: c(S(300), l === S(281) && b),
65
+ style: l === S(281) ? x : void 0,
66
+ children: p(m[S(296)], {
67
67
  value: {
68
68
  layout: r,
69
69
  labelStyle: u,
70
70
  size: d,
71
71
  align: h
72
72
  },
73
- children: [t?.map((e, t) => f(y, {
74
- label: e[S(167)],
75
- icon: e.icon,
76
- tone: e[S(184)],
77
- span: e[S(171)],
78
- children: e[S(176)]
73
+ children: [t?.[S(269)]((e, t) => f(y, {
74
+ label: e[S(302)],
75
+ icon: e[S(265)],
76
+ tone: e[S(297)],
77
+ span: e.span,
78
+ children: e[S(272)]
79
79
  }, e.id ?? t)), n]
80
80
  })
81
81
  });
82
- return l === S(161) ? T : f(i, {
82
+ return l === S(281) ? T : f(i, {
83
83
  padding: 3,
84
- background: S(180),
85
- className: c(S(186), b),
84
+ background: "subtle",
85
+ className: c(S(274), b),
86
86
  style: x,
87
87
  children: T
88
88
  });
89
89
  }
90
- function y({ label: t, icon: r, children: i, tone: a = e(145), span: l, className: d }) {
91
- let v = e, { layout: y, labelStyle: x, size: S, align: C } = u(m), w = l && l > 1 ? v(187) + l : void 0;
92
- if (y === "inline") {
90
+ function y({ label: t, icon: r, children: i, tone: a = e(278), span: l, className: d }) {
91
+ let v = e, { layout: y, labelStyle: x, size: S, align: C } = u(m), w = l && l > 1 ? v(285) + l : void 0;
92
+ if (y === v(264)) {
93
93
  let e = f(b, {
94
94
  icon: r,
95
- variant: x === v(163) ? v(163) : _[S],
95
+ variant: x === "overline" ? v(270) : _[S],
96
96
  children: t
97
97
  }), s = f(n, {
98
98
  as: "dd",
@@ -102,26 +102,26 @@ function y({ label: t, icon: r, children: i, tone: a = e(145), span: l, classNam
102
102
  numeric: !0,
103
103
  children: i
104
104
  });
105
- return C === v(164) ? p(v(169), {
106
- className: c(v(179), v(177), d),
105
+ return C === "start" ? p("div", {
106
+ className: c(v(267), v(262), d),
107
107
  children: [e, s]
108
108
  }) : p(o, {
109
109
  gap: 4,
110
- justify: v(181),
111
- align: v(r == null ? 150 : 157),
110
+ justify: "between",
111
+ align: r == null ? v(284) : "center",
112
112
  wrap: !1,
113
- className: c(v(179), d),
113
+ className: c(v(267), d),
114
114
  style: { gridColumn: w },
115
115
  children: [e, s]
116
116
  });
117
117
  }
118
118
  return p(s, {
119
119
  gap: 1,
120
- className: c(v(179), v(185), d),
120
+ className: c(v(267), v(294), d),
121
121
  style: { gridColumn: w },
122
122
  children: [f(b, {
123
123
  icon: r,
124
- variant: x === v(163) ? v(163) : v(159),
124
+ variant: x === "overline" ? "overline" : v(268),
125
125
  children: t
126
126
  }), f(n, {
127
127
  as: "dd",
@@ -136,21 +136,21 @@ function b({ icon: t, variant: r, children: i }) {
136
136
  return t == null ? f(n, {
137
137
  as: "dt",
138
138
  variant: r,
139
- tone: a(146),
139
+ tone: a(304),
140
140
  truncate: !0,
141
141
  children: i
142
142
  }) : p(o, {
143
143
  as: "dt",
144
144
  gap: 2,
145
145
  wrap: !1,
146
- className: a(170),
147
- children: [f("span", {
148
- className: a(154),
146
+ className: a(299),
147
+ children: [f(a(277), {
148
+ className: "ds-dl__icon",
149
149
  "aria-hidden": !0,
150
150
  children: t
151
151
  }), f(n, {
152
152
  variant: r,
153
- tone: a(146),
153
+ tone: a(304),
154
154
  truncate: !0,
155
155
  children: i
156
156
  })]
@@ -159,20 +159,20 @@ function b({ icon: t, variant: r, children: i }) {
159
159
  function x({ title: t, children: r, className: i, style: a }) {
160
160
  let o = e, c = d();
161
161
  return p(s, {
162
- as: o(162),
162
+ as: o(279),
163
163
  gap: 1,
164
164
  "aria-labelledby": c,
165
165
  className: i,
166
166
  style: a,
167
167
  children: [f(n, {
168
168
  id: c,
169
- variant: o(163),
170
- tone: o(146),
169
+ variant: o(270),
170
+ tone: o(304),
171
171
  children: t
172
172
  }), f(n, {
173
- as: o(169),
174
- variant: o(152),
175
- tone: o(144),
173
+ as: o(260),
174
+ variant: o(303),
175
+ tone: o(273),
176
176
  children: r
177
177
  })]
178
178
  });
@@ -1,49 +1,35 @@
1
1
  "use client";
2
- const e = o;
2
+ const e = h;
3
3
  (function(e, t) {
4
- let n = o, r = e();
4
+ let n = h, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(208)) / 1 + -parseInt(n(200)) / 2 + -parseInt(n(198)) / 3 + parseInt(n(202)) / 4 + -parseInt(n(192)) / 5 * (-parseInt(n(213)) / 6) + parseInt(n(218)) / 7 + -parseInt(n(204)) / 8 == t) break;
6
+ if (parseInt(n(455)) / 1 * (-parseInt(n(433)) / 2) + -parseInt(n(447)) / 3 * (-parseInt(n(445)) / 4) + parseInt(n(453)) / 5 * (parseInt(n(443)) / 6) + -parseInt(n(444)) / 7 + -parseInt(n(441)) / 8 + -parseInt(n(449)) / 9 + parseInt(n(436)) / 10 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(h, 686211);
11
+ })(m, 310793);
12
12
  import { useControllableState as t } from "../../hooks/useControllableState.js";
13
13
  import { Button as n, Field as r, Input as i } from "../../primitives/index.js";
14
14
  import { Dialog as a } from "./Dialog2.js";
15
- function o(e, t) {
16
- e -= 190;
17
- let n = h(), r = n[e];
18
- o.HVeOSG === void 0 && (o.TSMtfQ = 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
- }, o.lkDFrc = {}, o.HVeOSG = !0);
24
- let i = n[0];
25
- o.urRvGZ !== i && (o.lkDFrc = {}, o.urRvGZ = i);
26
- let a = o.lkDFrc[e];
27
- return a === void 0 ? (r = o.TSMtfQ(r), o.lkDFrc[e] = r) : r = a, r;
28
- }
29
- import { useId as s, useRef as c, useState as l } from "react";
30
- import { AlertTriangle as u } from "lucide-react";
31
- import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
32
- function m({ open: m, defaultOpen: h = !1, onOpenChange: g, trigger: _, title: v, description: y, tone: b = e(210), confirmLabel: x, cancelLabel: S = "취소", onConfirm: C, confirmationText: w, children: T }) {
33
- let E = e, [D, O] = t(m, h, g), [k, A] = l(!1), [j, M] = l(null), [N, P] = l(""), F = c(null), I = c(null), L = c(null), R = s(), z = (e) => {
15
+ import { useId as o, useRef as s, useState as c } from "react";
16
+ import { AlertTriangle as l } from "lucide-react";
17
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
18
+ function p({ open: p, defaultOpen: m = !1, onOpenChange: g, trigger: _, title: v, description: y, tone: b = e(451), confirmLabel: x, cancelLabel: S = "취소", onConfirm: C, confirmationText: w, children: T }) {
19
+ let E = e, [D, O] = t(p, m, g), [k, A] = c(!1), [j, M] = c(null), [N, P] = c(""), F = s(null), I = s(null), L = s(null), R = o(), z = (e) => {
34
20
  e && (M(null), P("")), O(e);
35
21
  }, B = async () => {
36
- let e = o;
22
+ let e = h;
37
23
  M(null), A(!0);
38
24
  try {
39
25
  await C(), O(!1);
40
26
  } catch (t) {
41
- M(t instanceof Error ? t[e(199)] : e(196));
27
+ M(t instanceof Error ? t.message : e(437));
42
28
  } finally {
43
29
  A(!1);
44
30
  }
45
- }, V = w != null && N !== w, H = b === E(197);
46
- return f(a, {
31
+ }, V = w != null && N !== w, H = b === "danger";
32
+ return d(a, {
47
33
  open: D,
48
34
  onOpenChange: z,
49
35
  trigger: _,
@@ -51,69 +37,83 @@ function m({ open: m, defaultOpen: h = !1, onOpenChange: g, trigger: _, title: v
51
37
  dismissible: !k,
52
38
  showClose: !1,
53
39
  initialFocus: w == null ? H ? F : I : L,
54
- className: E(214),
55
- title: p(E(211), {
56
- className: E(207),
57
- children: [H && f(E(211), {
58
- className: E(201),
40
+ className: E(448),
41
+ title: f(E(450), {
42
+ className: E(452),
43
+ children: [H && d(E(450), {
44
+ className: E(457),
59
45
  "aria-hidden": !0,
60
- children: f(u, {})
46
+ children: d(l, {})
61
47
  }), v]
62
48
  }),
63
49
  description: y,
64
- footer: p(d, { children: [f(n, {
50
+ footer: f(u, { children: [d(n, {
65
51
  ref: F,
66
- variant: E(205),
52
+ variant: E(454),
67
53
  disabled: k,
68
54
  onClick: () => z(!1),
69
55
  children: S
70
- }), f(n, {
56
+ }), d(n, {
71
57
  ref: I,
72
- variant: E(H ? 197 : 193),
58
+ variant: H ? "danger" : "primary",
73
59
  loading: k,
74
60
  disabled: V || k,
75
61
  onClick: B,
76
62
  "data-tone": b,
77
63
  children: x
78
64
  })] }),
79
- children: (T || w != null || j) && p(E(206), {
80
- className: E(212),
65
+ children: (T || w != null || j) && f(E(439), {
66
+ className: E(434),
81
67
  children: [
82
68
  T,
83
- w != null && f(r, {
69
+ w != null && d(r, {
84
70
  htmlFor: R,
85
- label: p(d, { children: [
86
- E(191),
87
- f(E(209), { children: w }),
88
- E(215)
71
+ label: f(u, { children: [
72
+ "계속하려면 ",
73
+ d(E(431), { children: w }),
74
+ E(440)
89
75
  ] }),
90
- children: f(i, {
76
+ children: d(i, {
91
77
  ref: L,
92
78
  id: R,
93
79
  value: N,
94
- onChange: (e) => P(e[E(190)].value),
80
+ onChange: (e) => P(e[E(438)].value),
95
81
  onKeyDown: (e) => {
96
82
  let t = E;
97
- e[t(217)] !== "Enter" || V || k || e.nativeEvent[t(203)] || B();
83
+ e[t(435)] !== t(456) || V || k || e[t(442)].isComposing || B();
98
84
  },
99
85
  disabled: k,
100
- autoComplete: E(195),
86
+ autoComplete: E(446),
101
87
  spellCheck: !1
102
88
  })
103
89
  }),
104
- j && f("p", {
105
- role: E(216),
106
- className: E(194),
90
+ j && d("p", {
91
+ role: E(432),
92
+ className: "ds-alert-dialog__error",
107
93
  children: j
108
94
  })
109
95
  ]
110
96
  })
111
97
  });
112
98
  }
113
- function h() {
114
- let e = /* @__PURE__ */ "B2zM.7lky66AS7zwy7kEaioUQU+2wIoYwToYALc4G64UK7iUCioYlNoUpHo2vTcdSO7ZSHlJSMPqU.zgfUz2vY.mZyZmJKZnerKuNvIta.BwvZC2fNzq.ndq2otm0Cgfhtvf1.zhmTywXLCNqTzgLHBg9Nx19Py29U.mJa5mJKYnhf0DxPSsG.AxndB21WB3nPBMC.mtq5ndaZnJbTrfrpEuC.C2vJB25Kyxj5.zgL2.zhmTywXLCNqTzgLHBg9Nx190AxrSzq.mte4mtq1m3L0rNbMBG.C3rYB25N.zgvMyxvSDa.C3bHBG.zhmTywXLCNqTzgLHBg9Nx19IB2r5.mZqWmKH3twHpuW.zhmTywXLCNqTzgLHBg9N.7j2ekoULVcKG7j6f66cL7zwy7is47jQu.ywXLCNq.A2v5.nZi3nJyZm2LwC2HkBG.DgfYz2v0.6Roe7iAn7zwy66cK66M0ia.mta5nZbgtfbyvu0.ChjPBwfYEq.zhmTywXLCNqTzgLHBg9Nx19LCNjVCG".split(".");
115
- return h = function() {
99
+ function m() {
100
+ let e = /* @__PURE__ */ "7j2ekoULVcKG7j6f66cL7zwy7is47jQu.mZiYmty4ogHnz1H3wa.BMf0AxzLrxzLBNq.ndK1mhzJtePvDa.mZaWmtC0uK5jBhzs.mZy2mJyWAePfBfrZ.B2zM.nMfbEffvzq.zhmTywXLCNqTzgLHBg9N.ndiYmti5n3rPA1joDq.C3bHBG.zgvMyxvSDa.zhmTywXLCNqTzgLHBg9Nx190AxrSzq.mZa4nxvyB0XAuq.C2vJB25Kyxj5.ntG0owHAuMjxua.rw50zxi.zhmTywXLCNqTzgLHBg9Nx19Py29U.C3rYB25N.ywXLCNq.nezXtwTsEq.zhmTywXLCNqTzgLHBg9Nx19IB2r5.A2v5.ntq0otyYmevgBhrgzq.7lky66AS7zwy7kEaioUQU+2wIoYwToYALc4G64UK7iUCioYlNoUpHo2vTcdSO7ZSHlJSMPqU.DgfYz2v0.zgL2".split(".");
101
+ return m = function() {
116
102
  return e;
117
- }, h();
103
+ }, m();
104
+ }
105
+ function h(e, t) {
106
+ e -= 431;
107
+ let n = m(), r = n[e];
108
+ h.CcQFTZ === void 0 && (h.KdlOdM = function(e) {
109
+ let t = "", n = "";
110
+ 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);
111
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
112
+ return decodeURIComponent(n);
113
+ }, h.GJYJpb = {}, h.CcQFTZ = !0);
114
+ let i = n[0];
115
+ h.RVYBSR !== i && (h.GJYJpb = {}, h.RVYBSR = i);
116
+ let a = h.GJYJpb[e];
117
+ return a === void 0 ? (r = h.KdlOdM(r), h.GJYJpb[e] = r) : r = a, r;
118
118
  }
119
- export { m as AlertDialog };
119
+ export { p as AlertDialog };