@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,128 +1,128 @@
1
1
  "use client";
2
- const e = t;
3
- function t(e, r) {
4
- e -= 147;
5
- let i = n(), a = i[e];
6
- t.jqogzh === void 0 && (t.XgZzjM = function(e) {
2
+ function e(t, n) {
3
+ t -= 189;
4
+ let r = p(), i = r[t];
5
+ e.TLYGak === void 0 && (e.EhkxRc = function(e) {
7
6
  let t = "", n = "";
8
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);
9
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
9
  return decodeURIComponent(n);
11
- }, t.jtcfwv = {}, t.jqogzh = !0);
12
- let o = i[0];
13
- t.tGykyx !== o && (t.jtcfwv = {}, t.tGykyx = o);
14
- let s = t.jtcfwv[e];
15
- return s === void 0 ? (a = t.XgZzjM(a), t.jtcfwv[e] = a) : a = s, a;
10
+ }, e.fHVnKO = {}, e.TLYGak = !0);
11
+ let a = r[0];
12
+ e.gxDkcF !== a && (e.fHVnKO = {}, e.gxDkcF = a);
13
+ let o = e.fHVnKO[t];
14
+ return o === void 0 ? (i = e.EhkxRc(i), e.fHVnKO[t] = i) : i = o, i;
16
15
  }
17
- (function(e, n) {
18
- let r = t, i = e();
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
19
  for (;;) try {
20
- if (-parseInt(r(149)) / 1 * (-parseInt(r(168)) / 2) + -parseInt(r(178)) / 3 + -parseInt(r(179)) / 4 + -parseInt(r(150)) / 5 + parseInt(r(176)) / 6 + parseInt(r(147)) / 7 * (parseInt(r(170)) / 8) + -parseInt(r(171)) / 9 * (-parseInt(r(158)) / 10) == n) break;
20
+ if (-parseInt(r(211)) / 1 * (-parseInt(r(223)) / 2) + -parseInt(r(207)) / 3 + -parseInt(r(195)) / 4 + -parseInt(r(209)) / 5 * (parseInt(r(221)) / 6) + -parseInt(r(197)) / 7 + -parseInt(r(189)) / 8 * (-parseInt(r(224)) / 9) + parseInt(r(199)) / 10 == n) break;
21
21
  i.push(i.shift());
22
22
  } catch {
23
23
  i.push(i.shift());
24
24
  }
25
- })(n, 185455);
26
- function n() {
27
- let e = /* @__PURE__ */ "yM9KEs14CW.yM9KEs1Tza.zhmTC3rLCc1SAxn0x19PDgvT.yM9KEs1ZBq.C3bHBG.mtK5nZbHqLnez2K.zhmTC3rLCc1SAxn0x19JB250zw50.Dg9bCNjHEq.C3rLCa.zhmTC3rLCc1SAxn0x19TyxjRzxi.yMfZzwXPBMu.zhmTC3rLCc1SAxn0ls1JB25Uzwn0B3iT.zgL2.yM9KEs1SzW.zhmTC3rLCc1SAxn0x19IB2r5.nZK2swX0wgLH.BwfYA2vY.ogLlDgr2ra.mta4ounPqLrqDq.ywn0AxzL.C2L6zq.zhmTC3rLCc1SAxn0x190AxrSzq.BwfW.nZuYoteWuuzwqMLn.C2vJB25Kyxj5.mtaZmJy3mMD2EfbvyG.mJe0ote2ExrAqwTs.zgvMyxvSDa.uhjVDMLKzxi.BNvTyMvY.C3rHDhvZ.mtCYntC4n3zlugLtAW.zhmTC3rLCc1SAxn0x19TzxrH.ntGZzuXQCMH3.mtmXmtq0nuvMvxzqsG.yMv0D2vLBG.zhmTC3rLCc1SAxn0ls0".split(".");
28
- return n = function() {
25
+ })(p, 870569);
26
+ import { Text as n } from "../../primitives/Typography2.js";
27
+ import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
28
+ import { StatusIcon as a } from "../../primitives/StatusIcon2.js";
29
+ import { cx as o } from "../../primitives/index.js";
30
+ /* empty css */
31
+ import { Children as s, createContext as c, isValidElement as l, useContext as u } from "react";
32
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
33
+ function p() {
34
+ let e = /* @__PURE__ */ "C3rHDhvZlw51BwjLCG.ndq4odK5nuzkuMf0yq.zhmTC3rLCc1SAxn0x190AxrSzq.mtG4nJqYmZbkyvPxvvG.ywn0AxzL.yM9KEs14CW.C3rLCa.yMfZzwXPBMu.BwfYA2vY.zgL2.C3bHBG.mJiYndyZnwvpvgXADG.zMLSDgvY.mteZmdC1vhnAqvzT.yM9KEs1Tza.mJCYmdCYAgT6vvLx.BNvTyMvY.yMv0D2vLBG.uhjVDMLKzxi.zhmTC3rLCc1SAxn0x19TyxjRzxi.C2L6zq.yM9KEs1ZBq.yM9KEs1SzW.BwfW.zhmTC3rLCc1SAxn0x19JB250zw50.mtiWzhvsvgDM.zhmTC3rLCc1SAxn0x19TzxrH.mMXQsuDqDq.mJq1nJq2ouz5zNzQtq.C3rHDhvZ.zhmTC3rLCc1SAxn0ls0.A2v5.ndbgzgT3Dg4.BwvKAxvT.DgvYDgLHCNK.zhmTC3rLCc1SAxn0x19PDgvT.zgvMyxvSDa.Dg9bCNjHEq.mZi3mdaWnePUvujTCq".split(".");
35
+ return p = function() {
29
36
  return e;
30
- }, n();
37
+ }, p();
31
38
  }
32
- import { Text as r } from "../../primitives/Typography2.js";
33
- import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
34
- import { StatusIcon as o } from "../../primitives/StatusIcon2.js";
35
- import { cx as s } from "../../primitives/index.js";
36
- /* empty css */
37
- import { Children as c, createContext as l, isValidElement as u, useContext as d } from "react";
38
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
39
39
  var m = {
40
40
  sm: 16,
41
41
  md: 18,
42
42
  lg: 22
43
43
  }, h = {
44
- sm: e(156),
45
- md: e(154),
46
- lg: e(166)
44
+ sm: t(217),
45
+ md: t(210),
46
+ lg: t(218)
47
47
  }, g = {
48
- sm: e(153),
49
- md: "body-sm",
50
- lg: "body-md"
51
- }, _ = l({
52
- marker: "status",
48
+ sm: t(201),
49
+ md: t(217),
50
+ lg: t(210)
51
+ }, _ = c({
52
+ marker: t(225),
53
53
  size: "md"
54
- }), v = l(void 0);
55
- function y({ steps: t, children: n, marker: r = e(183), connector: i = e(180), size: a = "md", density: o = e(180), start: l = 1, "aria-label": d, className: p, style: h }) {
56
- let g = e, y = t ? t[g(175)](({ id: e, ...t }) => f(b, { ...t }, e)) : c[g(160)](n).filter((e) => u(e));
57
- return f(_[g(181)], {
54
+ }), v = c(void 0);
55
+ function y({ steps: e, children: n, marker: r = t(225), connector: i = t(193), size: a = "md", density: c = t(193), start: u = 1, "aria-label": f, className: p, style: h }) {
56
+ let g = t, y = e ? e[g(219)](({ id: e, ...t }) => d(b, { ...t }, e)) : s[g(194)](n)[g(208)]((e) => l(e));
57
+ return d(_[g(214)], {
58
58
  value: {
59
59
  marker: r,
60
60
  size: a
61
61
  },
62
- children: f("ol", {
63
- className: s("ds-step-list", g(152) + a, g(152) + o, g(164) + i, p),
62
+ children: d("ol", {
63
+ className: o("ds-step-list", g(226) + a, g(226) + c, "ds-step-list--connector-" + i, p),
64
64
  style: {
65
65
  "--_m": m[a] + "px",
66
66
  ...h
67
67
  },
68
- "aria-label": d,
69
- children: y[g(175)]((e, t) => f(v[g(181)], {
70
- value: l + t,
68
+ "aria-label": f,
69
+ children: y[g(219)]((e, t) => d(v[g(214)], {
70
+ value: u + t,
71
71
  children: e
72
- }, e.key ?? t))
72
+ }, e[g(227)] ?? t))
73
73
  })
74
74
  });
75
75
  }
76
- function b({ status: t, title: n, description: c, meta: l, children: u, marker: y, number: b, progress: x, className: S, style: C }) {
77
- let w = e, T = d(_), E = d(v), D = y ?? T[w(169)], O = b ?? E, k = m[T[w(173)]], A;
78
- return A = D === w(183) || D === "number" || D === "status-number" ? f(o, {
79
- status: t,
76
+ function b({ status: e, title: s, description: c, meta: l, children: p, marker: y, number: b, progress: x, className: S, style: C }) {
77
+ let w = t, T = u(_), E = u(v), D = y ?? T[w(204)], O = b ?? E, k = m[T[w(216)]], A;
78
+ return A = D === "status" || D === w(212) || D === w(196) ? d(a, {
79
+ status: e,
80
80
  size: k,
81
81
  progress: x,
82
- number: D === w(183) ? void 0 : O,
83
- persistNumber: D === w(182)
84
- }) : D, p("li", {
85
- className: s(w(155), S),
82
+ number: D === w(225) ? void 0 : O,
83
+ persistNumber: D === w(212)
84
+ }) : D, f("li", {
85
+ className: o(w(192), S),
86
86
  style: C,
87
- "data-status": t,
88
- "aria-current": t === w(172) ? w(161) : void 0,
89
- children: [f("span", {
90
- className: w(162),
87
+ "data-status": e,
88
+ "aria-current": e === w(200) ? w(202) : void 0,
89
+ children: [d(w(206), {
90
+ className: w(215),
91
91
  children: A
92
- }), p(a, {
92
+ }), f(i, {
93
93
  gap: 1,
94
- className: w(167),
94
+ className: "ds-step-list__body",
95
95
  children: [
96
- p(i, {
96
+ f(r, {
97
97
  gap: 3,
98
- justify: w(151),
99
- align: w(163),
98
+ justify: w(213),
99
+ align: w(203),
100
100
  wrap: !1,
101
- children: [f(r, {
102
- as: w(157),
103
- variant: h[T[w(173)]],
104
- weight: "medium",
105
- className: w(174),
106
- children: n
107
- }), l != null && f(r, {
101
+ children: [d(n, {
102
+ as: w(206),
103
+ variant: h[T[w(216)]],
104
+ weight: w(190),
105
+ className: w(198),
106
+ children: s
107
+ }), l != null && d(n, {
108
108
  as: "span",
109
109
  variant: "caption",
110
- tone: "tertiary",
110
+ tone: w(191),
111
111
  numeric: !0,
112
- className: w(148),
112
+ className: w(222),
113
113
  children: l
114
114
  })]
115
115
  }),
116
- c != null && f(r, {
117
- as: w(165),
118
- variant: g[T[w(173)]],
119
- tone: w(177),
116
+ c != null && d(n, {
117
+ as: w(205),
118
+ variant: g[T[w(216)]],
119
+ tone: "secondary",
120
120
  children: c
121
121
  }),
122
- u != null && f(a, {
122
+ p != null && d(i, {
123
123
  gap: 1,
124
- className: w(159),
125
- children: u
124
+ className: w(220),
125
+ children: p
126
126
  })
127
127
  ]
128
128
  })]
@@ -1,101 +1,101 @@
1
1
  "use client";
2
- const e = a;
3
- (function(e, t) {
4
- let n = a, r = e();
5
- for (;;) try {
6
- if (parseInt(n(510)) / 1 + parseInt(n(508)) / 2 + -parseInt(n(485)) / 3 * (-parseInt(n(479)) / 4) + -parseInt(n(490)) / 5 * (-parseInt(n(506)) / 6) + parseInt(n(493)) / 7 + parseInt(n(498)) / 8 + -parseInt(n(511)) / 9 == t) break;
7
- r.push(r.shift());
8
- } catch {
9
- r.push(r.shift());
10
- }
11
- })(o, 914261);
12
- import { Inline as t } from "../../primitives/Layout2.js";
13
- import { cx as n } from "../../primitives/index.js";
14
- /* empty css */
15
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
16
- function a(e, t) {
17
- e -= 476;
18
- let n = o(), r = n[e];
19
- a.bLswmi === void 0 && (a.neCFOM = function(e) {
2
+ function e(t, n) {
3
+ t -= 373;
4
+ let r = i(), a = r[t];
5
+ e.HjvkNa === void 0 && (e.dPEZNJ = function(e) {
20
6
  let t = "", n = "";
21
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);
22
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
23
9
  return decodeURIComponent(n);
24
- }, a.XcGICC = {}, a.bLswmi = !0);
25
- let i = n[0];
26
- a.EMlJbS !== i && (a.XcGICC = {}, a.EMlJbS = i);
27
- let s = a.XcGICC[e];
28
- return s === void 0 ? (r = a.neCFOM(r), a.XcGICC[e] = r) : r = s, r;
10
+ }, e.QRGKdM = {}, e.HjvkNa = !0);
11
+ let o = r[0];
12
+ e.pqNIhv !== o && (e.QRGKdM = {}, e.pqNIhv = o);
13
+ let s = e.QRGKdM[t];
14
+ return s === void 0 ? (a = e.dPEZNJ(a), e.QRGKdM[t] = a) : a = s, a;
29
15
  }
30
- function o() {
31
- let e = /* @__PURE__ */ "DgjVzhK.otqZnZu5mKfYqLLTAq.zhmTDgfIBguTlw92zxjSAw5L.A2v5.rw50zxi.BgvUz3rO.zhmTDgfIBguTD3jHCa.ChjLDMvUDerLzMf1Bhq.zhmTDgfIBgvFx251Bq.otyXnta1nhHpD0j4wq.BgfIzwW.mty1ndm0nerQwfjOua.C3rHCNq.nZm5mde2DMDoC2rZ.ndyYote2mJz5C0zZEKS.zgL2.AgvHzgvY.y29S.ne9kvwnYwG.zgvMyxvSDa.y2vUDgvY.CMLNAhq.C3bHBG.ywXPz24.mJe0nZK5n3DAzgTIzW.D2LKDgG.zw5K.AgvHzgvYtgvHzgLUzW.zhmTC2nYB2XS.nurHDxHAuq.B3zLCMXPBMu.BwfW.nJK1mZy2mgDHEw5IsG.DgHLywq.CMvUzgvY.BNvTzxjPyW".split(".");
32
- return o = function() {
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
+ for (;;) try {
20
+ if (parseInt(r(412)) / 1 + parseInt(r(402)) / 2 + parseInt(r(393)) / 3 + -parseInt(r(373)) / 4 * (parseInt(r(376)) / 5) + -parseInt(r(390)) / 6 + -parseInt(r(391)) / 7 + -parseInt(r(406)) / 8 * (-parseInt(r(404)) / 9) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(i, 119304);
26
+ import { Inline as n } from "../../primitives/Layout2.js";
27
+ import { cx as r } from "../../primitives/index.js";
28
+ function i() {
29
+ let e = /* @__PURE__ */ "zhmTDgfIBguTD3jHCa.B3zLCMXPBMu.CMLNAhq.BwfW.y2vUDgvY.nZy2ntz0weXOveS.otC2nJbcCez5uw8.BNvTzxjPyW.zhmTDgfIBguTlq.mJvNAwrRzwW.rw50zxi.zhmTDgfIBguTlwLUDgvYywn0AxzL.AgvHzgvYtgvHzgLUzW.zhmTDgfIBgu.A2v5.BgvUz3rO.DgHLywq.zhmTDgfIBguTlxn0CMLWzwq.zhmTDgfIBgvFx2vTChr5.C3bHBG.CMvUzgvY.y2fWDgLVBG.C3rHCNq.mta0mtmZmhDwtLjYtW.nZa2mZqYy2PbsMjl.ywXPz24.ndmXndmWq3P6rxPH.ChjLDMvUDerLzMf1Bhq.zgvMyxvSDa.DgfYz2v0.zhmTC2nYB2XS.y29S.D2LKDgG.zhmTDgfIBguTlw92zxjSAw5L.zw5K.mJi3odq0CLDwAxHX.zgL2.owfpD2nHEa.AgvHzgvY.mtq1mtyXnLLSELPbrq".split(".");
30
+ return i = function() {
33
31
  return e;
34
- }, o();
32
+ }, i();
35
33
  }
34
+ /* empty css */
35
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
36
36
  var s = {
37
- start: e(509),
38
- center: e(481),
39
- end: e(487)
37
+ start: t(389),
38
+ center: "center",
39
+ end: "end"
40
40
  }, c = {
41
41
  start: void 0,
42
- center: e(481),
43
- end: e(482)
42
+ center: t(411),
43
+ end: t(409)
44
44
  };
45
- function l({ columns: o, rows: l, rowKey: u, density: d = e(480), striped: f = !0, headerVariant: p = e(507), selectedKey: m, onRowClick: h, empty: g, caption: _, className: v, style: y }) {
46
- let b = e, x = (e) => e[b(484)] ?? (e[b(496)] ? b(487) : b(509)), S = !!h, C = (e, t, n) => {
47
- let r = b;
48
- e.target !== e.currentTarget || e[r(500)] !== r(501) && e[r(500)] !== " " || (e[r(504)](), h?.(t, n));
45
+ function l({ columns: e, rows: i, rowKey: l, density: u = t(395), striped: d = !0, headerVariant: f = "label", selectedKey: p, onRowClick: m, empty: h, caption: g, className: _, style: v }) {
46
+ let y = t, b = (e) => e[y(392)] ?? (e.numeric ? y(401) : y(389)), x = !!m, S = (e, t, n) => {
47
+ let r = y;
48
+ e[r(396)] !== e.currentTarget || e[r(381)] !== r(377) && e[r(381)] !== " " || (e[r(394)](), m?.(t, n));
49
49
  };
50
- return r(b(476), {
51
- className: n(b(503), b(489), v),
52
- style: y,
53
- children: i("table", {
54
- className: n("ds-table", "ds-table--" + d, f && "ds-table--striped", p === b(491) && b(499), S && "ds-table--interactive"),
50
+ return a(y(403), {
51
+ className: r(y(407), y(397), _),
52
+ style: v,
53
+ children: o("table", {
54
+ className: r(y(380), y(375) + u, d && y(384), f === y(408) && y(400), x && y(378)),
55
55
  children: [
56
- _ && r("caption", { children: _ }),
57
- r(b(494), { children: r("tr", { children: o[b(492)]((e) => {
58
- let n = b, a = x(e);
59
- return r("th", {
60
- scope: n(478),
56
+ g && a(y(388), { children: g }),
57
+ a(y(383), { children: a("tr", { children: e[y(410)]((e) => {
58
+ let t = y, r = b(e);
59
+ return a("th", {
60
+ scope: t(398),
61
61
  style: {
62
- width: e[n(486)],
63
- textAlign: c[a]
62
+ width: e[t(399)],
63
+ textAlign: c[r]
64
64
  },
65
- children: e[n(488)] == null ? e[n(477)] : i(t, {
65
+ children: e.headerLeading == null ? e[t(405)] : o(n, {
66
66
  gap: 2,
67
67
  wrap: !1,
68
- justify: s[a],
69
- children: [e[n(488)], r("span", { children: e.header })]
68
+ justify: s[r],
69
+ children: [e[t(379)], a(t(386), { children: e[t(405)] })]
70
70
  })
71
- }, e[n(500)]);
71
+ }, e[t(381)]);
72
72
  }) }) }),
73
- i(b(497), { children: [l.map((e, n) => {
74
- let l = u ? u(e, n) : n, d = m != null && m === l;
75
- return r("tr", {
73
+ o("tbody", { children: [i[y(410)]((t, r) => {
74
+ let i = y, u = l ? l(t, r) : r, d = p != null && p === u;
75
+ return a("tr", {
76
76
  "data-selected": d || void 0,
77
77
  "aria-current": d || void 0,
78
- tabIndex: S ? 0 : void 0,
79
- onClick: h ? () => h(e, n) : void 0,
80
- onKeyDown: S ? (t) => C(t, e, n) : void 0,
81
- children: o.map((o) => {
82
- let l = a, u = x(o), d = o[l(495)] ? o[l(495)](e, n) : e[o[l(500)]] ?? null, f = o.leading?.(e, n);
83
- return r("td", {
84
- className: o[l(496)] ? l(505) : void 0,
78
+ tabIndex: x ? 0 : void 0,
79
+ onClick: m ? () => m(t, r) : void 0,
80
+ onKeyDown: x ? (e) => S(e, t, r) : void 0,
81
+ children: e[i(410)]((e) => {
82
+ let l = i, u = b(e), d = e.render ? e[l(387)](t, r) : t[e[l(381)]] ?? null, f = e.leading?.(t, r);
83
+ return a("td", {
84
+ className: e[l(374)] ? "ds-table__num" : void 0,
85
85
  style: { textAlign: c[u] },
86
- children: f == null ? d : i(t, {
86
+ children: f == null ? d : o(n, {
87
87
  gap: 3,
88
88
  wrap: !1,
89
89
  justify: s[u],
90
- children: [f, r(l(483), { children: d })]
90
+ children: [f, a(l(386), { children: d })]
91
91
  })
92
- }, o[l(500)]);
92
+ }, e[l(381)]);
93
93
  })
94
- }, l);
95
- }), !l[b(502)] && g && r("tr", { children: r("td", {
96
- colSpan: o[b(502)],
97
- className: "ds-table__empty",
98
- children: g
94
+ }, u);
95
+ }), !i.length && h && a("tr", { children: a("td", {
96
+ colSpan: e[y(382)],
97
+ className: y(385),
98
+ children: h
99
99
  }) })] })
100
100
  ]
101
101
  })
@@ -1,131 +1,131 @@
1
1
  "use client";
2
- const e = i;
2
+ const e = v;
3
3
  (function(e, t) {
4
- let n = i, r = e();
4
+ let n = v, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(235)) / 1 * (parseInt(n(251)) / 2) + parseInt(n(242)) / 3 + -parseInt(n(218)) / 4 + parseInt(n(249)) / 5 * (parseInt(n(215)) / 6) + -parseInt(n(214)) / 7 * (-parseInt(n(250)) / 8) + -parseInt(n(229)) / 9 * (-parseInt(n(247)) / 10) + -parseInt(n(236)) / 11 == t) break;
6
+ if (-parseInt(n(226)) / 1 * (-parseInt(n(225)) / 2) + -parseInt(n(211)) / 3 + -parseInt(n(245)) / 4 * (-parseInt(n(233)) / 5) + parseInt(n(238)) / 6 + -parseInt(n(218)) / 7 * (-parseInt(n(214)) / 8) + -parseInt(n(224)) / 9 + -parseInt(n(207)) / 10 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(n, 485115);
11
+ })(y, 748281);
12
12
  import { useControllableState as t } from "../../hooks/useControllableState.js";
13
- function n() {
14
- let e = /* @__PURE__ */ "A2v5.odKXnwLRAvH4AW.otq5odmYzvDZA0zL.ndaYseHTru16.yxv0BW.ywn0AxzLrwXLBwvUDa.DgfICgfUzwW.CMvWBgfJzq.DMfSDwu.ChjLDMvUDerLzMf1Bhq.DgfIBgLZDa.CxvLCNLtzwXLy3rVCG.zgf0yxnLDa.y3vYCMvUDa.mJfsDwHmtuC.nMXWvu9esa.sg9Tzq.zgLZy29UBMvJDa.mJiYntu3mM9UvNfvuG.ugfUzwW.rw5K.zhmTDgfIBgLZDf9FDgH1Bwi.zhmTDgfIBgLZDa.qxjYB3Dmzwz0.CxvLCNLtzwXLy3rVCKfSBa.lxbHBMvSlq.zgL2.C3bHBG.B2jZzxj2zq.ndC2mtK5DLriEujb.BgvMDa.lxrHyI0.DgfI.qxjYB3DsAwDODa.w3jVBgu9iNrHyIjDw2fYAweTC2vSzwn0zwq9iNrYDwuIxq.mZG1nKT2AwLqAa.mtuXndaZodLyrMfJwM4.w3jVBgu9iNrHyIjDoM5VDcG6zgLZywjSzwqP.zM9JDxm.tgLZDa.D2LKDgG.BgvUz3rO.mte1nJe4mNfwsKv2uW.zhmTDgfIBgLZDc0T.B2zMC2v0v2LKDgG.vgfIihbHCNrZig11C3qGyMuGDxnLzcbPBNnPzguGpfrHyNm+.zhmTDgfIx19JB3vUDa.mtCWrMfVs3Dq".split(".");
15
- return n = function() {
16
- return e;
17
- }, n();
18
- }
19
- import { cx as r } from "../../primitives/index.js";
20
- function i(e, t) {
21
- e -= 214;
22
- let r = n(), a = r[e];
23
- i.mMkfPh === void 0 && (i.VWnmRg = function(e) {
24
- let t = "", n = "";
25
- 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);
26
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
27
- return decodeURIComponent(n);
28
- }, i.nuAucc = {}, i.mMkfPh = !0);
29
- let o = r[0];
30
- i.CqbWBB !== o && (i.nuAucc = {}, i.CqbWBB = o);
31
- let s = i.nuAucc[e];
32
- return s === void 0 ? (a = i.VWnmRg(a), i.nuAucc[e] = a) : a = s, a;
33
- }
13
+ import { cx as n } from "../../primitives/index.js";
34
14
  /* empty css */
35
- import { createContext as a, useContext as o, useId as s, useLayoutEffect as c, useRef as l, useState as u } from "react";
36
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
37
- var p = a(null), m = () => {
38
- let e = i, t = o(p);
39
- if (!t) throw Error(e(245));
40
- return t;
41
- }, h = (t) => t[e(255)](/[^\w-]/g, "_");
42
- function g({ value: e, defaultValue: n = "", onValueChange: i, activation: a = "auto", children: o, className: c }) {
43
- let [l, u] = t(e, n, i), f = s();
44
- return d(p.Provider, {
15
+ import { createContext as r, useContext as i, useId as a, useLayoutEffect as o, useRef as s, useState as c } from "react";
16
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
17
+ var d = r(null), f = () => {
18
+ let e = i(d);
19
+ if (!e) throw Error("Tab parts must be used inside <Tabs>");
20
+ return e;
21
+ }, p = (e) => e.replace(/[^\w-]/g, "_");
22
+ function m({ value: r, defaultValue: i = "", onValueChange: o, activation: s = e(215), children: c, className: u }) {
23
+ let f = e, [p, m] = t(r, i, o), h = a();
24
+ return l(d.Provider, {
45
25
  value: {
46
- value: l,
47
- select: u,
48
- baseId: f,
49
- activation: a
26
+ value: p,
27
+ select: m,
28
+ baseId: h,
29
+ activation: s
50
30
  },
51
- children: d("div", {
52
- className: r("ds-tabs", c),
53
- children: o
31
+ children: l(f(241), {
32
+ className: n(f(242), u),
33
+ children: c
54
34
  })
55
35
  });
56
36
  }
57
- function _({ children: t, variant: n = "underline", size: a = "md", fitted: o, "aria-label": s, className: p }) {
58
- let h = e, { value: g, select: _, activation: v } = m(), y = l(null), [b, x] = u(null);
59
- return c(() => {
60
- let e = i, t = y[e(261)];
37
+ function h({ children: t, variant: r = "underline", size: i = "md", fitted: a, "aria-label": d, className: p }) {
38
+ let m = e, { value: h, select: g, activation: _ } = f(), y = s(null), [b, x] = c(null);
39
+ return o(() => {
40
+ let e = v, t = y[e(250)];
61
41
  if (!t) return;
62
- if (!t.querySelector(e(234))) {
63
- let n = t[e(259)]("[role=\"tab\"]:not(:disabled)")?.[e(260)].value;
64
- n !== void 0 && _(n);
42
+ if (!t[e(235)](e(221))) {
43
+ let n = t[e(235)](e(206))?.dataset[e(234)];
44
+ n !== void 0 && g(n);
65
45
  }
66
46
  let n = () => {
67
- let n = e, r = t[n(259)](n(234));
47
+ let n = e, r = t[n(235)](n(221));
68
48
  x(r ? {
69
49
  left: r.offsetLeft,
70
- width: r[n(244)]
50
+ width: r[n(212)]
71
51
  } : null);
72
52
  };
73
53
  n();
74
54
  let r = new ResizeObserver(n);
75
- return r[e(228)](t), () => r[e(217)]();
76
- }, [g, _]), f(h(226), {
55
+ return r[e(248)](t), () => r[e(246)]();
56
+ }, [h, g]), u(m(241), {
77
57
  ref: y,
78
- role: h(258),
79
- "aria-label": s,
80
- className: r(h(222), h(243) + n, h(243) + a, o && "ds-tablist--fitted", p),
58
+ role: m(247),
59
+ "aria-label": d,
60
+ className: n(m(209), m(251) + r, "ds-tablist--" + i, a && m(229), p),
81
61
  onKeyDown: (e) => {
82
- let t = i, n = [...y.current?.[t(224)](t(237)) ?? []], r = n.indexOf(document[t(253)]), a;
83
- e[t(248)] === t(233) ? a = n[(r + 1) % n[t(241)]] : e.key === t(223) ? a = n[(r - 1 + n[t(241)]) % n[t(241)]] : e[t(248)] === t(216) ? a = n[0] : e.key === t(220) && (a = n[n[t(241)] - 1]), a && (e[t(257)](), a[t(238)](), v === t(252) && a[t(260)].value && _(a[t(260)][t(256)]));
62
+ let t = v, n = [...y.current?.[t(249)](t(206)) ?? []], r = n[t(219)](document[t(205)]), i;
63
+ e[t(239)] === t(213) ? i = n[(r + 1) % n[t(217)]] : e.key === t(244) ? i = n[(r - 1 + n[t(217)]) % n[t(217)]] : e.key === t(222) ? i = n[0] : e.key === "End" && (i = n[n.length - 1]), i && (e.preventDefault(), i[t(216)](), _ === t(215) && i[t(210)][t(234)] && g(i[t(210)][t(234)]));
84
64
  },
85
- children: [b && d(h(227), {
86
- className: h(221),
65
+ children: [b && l(m(232), {
66
+ className: m(240),
87
67
  "aria-hidden": !0,
88
68
  style: {
89
- left: b[h(230)],
90
- width: b[h(240)]
69
+ left: b[m(243)],
70
+ width: b.width
91
71
  }
92
72
  }), t]
93
73
  });
94
74
  }
95
- function v({ value: t, children: n, icon: r, count: i, disabled: a }) {
96
- let o = e, { value: s, select: c, baseId: l } = m(), u = s === t;
97
- return f("button", {
98
- type: "button",
99
- role: o(232),
100
- id: l + o(231) + h(t),
101
- "aria-controls": l + o(225) + h(t),
102
- "aria-selected": u,
103
- tabIndex: u ? 0 : -1,
75
+ function g({ value: t, children: n, icon: r, count: i, disabled: a }) {
76
+ let o = e, { value: s, select: c, baseId: d } = f(), m = s === t;
77
+ return u(o(252), {
78
+ type: o(252),
79
+ role: o(228),
80
+ id: d + "-tab-" + p(t),
81
+ "aria-controls": d + o(208) + p(t),
82
+ "aria-selected": m,
83
+ tabIndex: m ? 0 : -1,
104
84
  disabled: a,
105
85
  "data-value": t,
106
- className: "ds-tab",
86
+ className: o(223),
107
87
  onClick: () => c(t),
108
88
  children: [
109
89
  r,
110
90
  n,
111
- i != null && d(o(227), {
112
- className: o(246),
91
+ i != null && l("span", {
92
+ className: o(237),
113
93
  children: i
114
94
  })
115
95
  ]
116
96
  });
117
97
  }
118
- function y({ value: t, children: n, keepMounted: i, className: a }) {
119
- let o = e, { value: s, baseId: c } = m(), l = s === t;
120
- return !l && !i ? null : d("div", {
121
- role: o(254),
122
- id: c + o(225) + h(t),
123
- "aria-labelledby": c + o(231) + h(t),
98
+ function _({ value: t, children: r, keepMounted: i, className: a }) {
99
+ let o = e, { value: s, baseId: c } = f(), u = s === t;
100
+ return !u && !i ? null : l(o(241), {
101
+ role: o(236),
102
+ id: c + o(208) + p(t),
103
+ "aria-labelledby": c + o(230) + p(t),
124
104
  tabIndex: 0,
125
- hidden: !l,
126
- className: r("ds-tabpanel", a),
127
- children: n
105
+ hidden: !u,
106
+ className: n(o(227), a),
107
+ children: r
128
108
  });
129
109
  }
130
- g[e(239)] = _, g.Tab = v, g[e(219)] = y;
131
- export { v as Tab, _ as TabList, y as TabPanel, g as Tabs };
110
+ function v(e, t) {
111
+ e -= 205;
112
+ let n = y(), r = n[e];
113
+ v.BYNygx === void 0 && (v.kQflLY = function(e) {
114
+ let t = "", n = "";
115
+ 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);
116
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
117
+ return decodeURIComponent(n);
118
+ }, v.BTAGgO = {}, v.BYNygx = !0);
119
+ let i = n[0];
120
+ v.GlomNm !== i && (v.BTAGgO = {}, v.GlomNm = i);
121
+ let a = v.BTAGgO[e];
122
+ return a === void 0 ? (r = v.kQflLY(r), v.BTAGgO[e] = r) : r = a, r;
123
+ }
124
+ m[e(231)] = h, m[e(220)] = g, m.Panel = _;
125
+ export { g as Tab, h as TabList, _ as TabPanel, m as Tabs };
126
+ function y() {
127
+ let e = /* @__PURE__ */ "DgfIBgLZDa.B2jZzxj2zq.CxvLCNLtzwXLy3rVCKfSBa.y3vYCMvUDa.zhmTDgfIBgLZDc0T.yNv0Dg9U.ywn0AxzLrwXLBwvUDa.w3jVBgu9iNrHyIjDoM5VDcG6zgLZywjSzwqP.mte2nJG4ntb6re1QDe8.lxbHBMvSlq.zhmTDgfIBgLZDa.zgf0yxnLDa.mZy2nde5n3ziAfb3ra.B2zMC2v0v2LKDgG.qxjYB3DsAwDODa.mJKZodqWqwjeCeDk.yxv0BW.zM9JDxm.BgvUz3rO.mtyXueDWt2Lk.Aw5KzxHpzG.vgfI.w3jVBgu9iNrHyIjDw2fYAweTC2vSzwn0zwq9iNrYDwuIxq.sg9Tzq.zhmTDgfI.mJuWmJiYnuvhtufYuq.mLLOChbdyG.ntC3nZy3Cgnlzhf1.zhmTDgfICgfUzwW.DgfI.zhmTDgfIBgLZDc0TzML0DgvK.lxrHyI0.tgLZDa.C3bHBG.mZe3otCYmg1sv2nrzG.DMfSDwu.CxvLCNLtzwXLy3rVCG.DgfICgfUzwW.zhmTDgfIx19JB3vUDa.ndmYmdG3mfHNvgjqtq.A2v5.zhmTDgfIBgLZDf9FDgH1Bwi.zgL2.zhmTDgfICW.BgvMDa.qxjYB3Dmzwz0.oenfCujArG.zgLZy29UBMvJDa".split(".");
128
+ return y = function() {
129
+ return e;
130
+ }, y();
131
+ }