@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,21 +1,21 @@
1
1
  "use client";
2
- var e = f;
2
+ var e = c;
3
3
  (function(e, t) {
4
- for (var n = f, r = e();;) try {
5
- if (parseInt(n(427)) / 1 * (-parseInt(n(423)) / 2) + -parseInt(n(404)) / 3 * (parseInt(n(411)) / 4) + -parseInt(n(416)) / 5 * (parseInt(n(407)) / 6) + -parseInt(n(406)) / 7 * (parseInt(n(401)) / 8) + parseInt(n(415)) / 9 * (parseInt(n(424)) / 10) + parseInt(n(410)) / 11 + parseInt(n(409)) / 12 == t) break;
4
+ for (var n = c, r = e();;) try {
5
+ if (parseInt(n(256)) / 1 * (-parseInt(n(248)) / 2) + -parseInt(n(241)) / 3 + -parseInt(n(253)) / 4 + -parseInt(n(252)) / 5 + -parseInt(n(259)) / 6 + -parseInt(n(235)) / 7 * (parseInt(n(238)) / 8) + parseInt(n(255)) / 9 * (parseInt(n(240)) / 10) == t) break;
6
6
  r.push(r.shift());
7
7
  } catch {
8
8
  r.push(r.shift());
9
9
  }
10
- })(c, 510740);
10
+ })(f, 280443);
11
11
  import { AspectRatio as t } from "../../primitives/AspectRatio2.js";
12
12
  import { cx as n } from "../../primitives/index.js";
13
13
  /* empty css */
14
14
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
15
- function o({ as: t, variant: r = e(425), padding: a = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
15
+ function o({ as: t, variant: r = e(244), padding: a = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
16
16
  var d = e;
17
- return i(t ?? d(418), {
18
- className: n(d(426), "ds-card--" + r, "ds-card--pad-" + a, o && "ds-card--interactive", c),
17
+ return i(t ?? d(250), {
18
+ className: n(d(254), "ds-card--" + r, d(236) + a, o && d(242), c),
19
19
  "data-selectable": s !== void 0 || void 0,
20
20
  "data-selected": s || void 0,
21
21
  ...u,
@@ -24,80 +24,80 @@ function o({ as: t, variant: r = e(425), padding: a = "md", interactive: o, sele
24
24
  }
25
25
  function s({ title: t, description: o, eyebrow: s, icon: c, actions: l, children: u, className: d }) {
26
26
  var f = e;
27
- return a(f(418), {
28
- className: n(f(421), d),
27
+ return a(f(250), {
28
+ className: n(f(258), d),
29
29
  children: [
30
- c && i(f(418), {
31
- className: f(403),
30
+ c && i("div", {
31
+ className: "ds-card__icon",
32
32
  children: c
33
33
  }),
34
- i(f(418), {
35
- className: "ds-card__heading",
34
+ i(f(250), {
35
+ className: f(237),
36
36
  children: u ?? a(r, { children: [
37
- s && i("div", {
38
- className: f(417),
37
+ s && i(f(250), {
38
+ className: f(251),
39
39
  children: s
40
40
  }),
41
- t && i(f(418), {
42
- className: f(412),
41
+ t && i(f(250), {
42
+ className: f(249),
43
43
  children: t
44
44
  }),
45
- o && i(f(418), {
46
- className: "ds-card__description",
45
+ o && i(f(250), {
46
+ className: f(239),
47
47
  children: o
48
48
  })
49
49
  ] })
50
50
  }),
51
- l && i(f(418), {
52
- className: f(405),
51
+ l && i(f(250), {
52
+ className: f(243),
53
53
  children: l
54
54
  })
55
55
  ]
56
56
  });
57
57
  }
58
- function c() {
59
- var e = /* @__PURE__ */ "zhmTy2fYzf9FAwnVBG.nda1ChPQALLL.zhmTy2fYzf9Fywn0Aw9UCW.mta1n0jRquTXwG.nZmYshvQvLbL.zhmTy2fYzf9FyM9KEq.mJq2nZK5mdHwsg9AzfC.nta4otK2nezUsuDzyG.mJu2mZzlwxfjr3C.zhmTy2fYzf9FDgL0Bgu.sgvHzgvY.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.nJeZotm3n0TUuufJqW.nJKYnwHPs3zcBG.zhmTy2fYzf9FzxLLyNjVDW.zgL2.zhmTy2fYzf9FzM9VDgvYls0.twvKAwe.zhmTy2fYzf9FAgvHzgvY.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.mtyYody2nMz1rerjDa.mtbWrNDyBwm.zgvMyxvSDa.zhmTy2fYza.munewwrbvW.zhmTy2fYzf9FzM9VDgvY.ndq2mJrjtg9eyNi.zhmTy2fYzf9FBwvKAwe".split(".");
60
- return c = function() {
61
- return e;
62
- }, c();
58
+ function c(e, t) {
59
+ e -= 232;
60
+ var n = f(), r = n[e];
61
+ c.gIMHVu === void 0 && (c.YZRfQL = function(e) {
62
+ 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);
63
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
64
+ return decodeURIComponent(r);
65
+ }, c.rTANkV = {}, c.gIMHVu = !0);
66
+ var i = n[0];
67
+ c.FTdGxn !== i && (c.rTANkV = {}, c.FTdGxn = i);
68
+ var a = c.rTANkV[e];
69
+ return a === void 0 ? (r = c.YZRfQL(r), c.rTANkV[e] = r) : r = a, r;
63
70
  }
64
71
  function l({ children: t, className: r, style: a }) {
65
- return i("div", {
66
- className: n(e(408), r),
72
+ var o = e;
73
+ return i(o(250), {
74
+ className: n(o(246), r),
67
75
  style: a,
68
76
  children: t
69
77
  });
70
78
  }
71
79
  function u({ children: t, align: r = "end", divided: a, band: o, className: s }) {
72
80
  var c = e;
73
- return i(c(418), {
74
- className: n(c(400), c(419) + r, a && c(414), o && c(422), s),
81
+ return i(c(250), {
82
+ className: n(c(247), "ds-card__footer--" + r, a && c(232), o && c(234), s),
75
83
  children: t
76
84
  });
77
85
  }
78
86
  function d({ children: r, ratio: a, className: o }) {
79
- var s = e;
80
- return a === void 0 ? i(s(418), {
81
- className: n(s(402), o),
87
+ return a === void 0 ? i("div", {
88
+ className: n("ds-card__media", o),
82
89
  children: r
83
90
  }) : i(t, {
84
91
  ratio: a,
85
- className: n(s(402), o),
92
+ className: n(e(245), o),
86
93
  children: r
87
94
  });
88
95
  }
89
- o[e(413)] = s, o.Body = l, o.Footer = u, o[e(420)] = d;
90
- function f(e, t) {
91
- e -= 400;
92
- var n = c(), r = n[e];
93
- f.jPvfxX === void 0 && (f.qTtTez = function(e) {
94
- 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);
95
- for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
96
- return decodeURIComponent(r);
97
- }, f.CmDcAK = {}, f.jPvfxX = !0);
98
- var i = n[0];
99
- f.wVFmnp !== i && (f.CmDcAK = {}, f.wVFmnp = i);
100
- var a = f.CmDcAK[e];
101
- return a === void 0 ? (r = f.qTtTez(r), f.CmDcAK[e] = r) : r = a, r;
96
+ o.Header = s, o[e(257)] = l, o.Footer = u, o[e(233)] = d;
97
+ function f() {
98
+ var e = /* @__PURE__ */ "zhmTy2fYzf9FAgvHzgLUzW.mJmYvLrMvLfh.zhmTy2fYzf9FzgvZy3jPChrPB24.mJy1odaWzMDHC0LS.mtqYnti2mwvcre9ssa.zhmTy2fYzc0TAw50zxjHy3rPDMu.zhmTy2fYzf9Fywn0Aw9UCW.zgvMyxvSDa.zhmTy2fYzf9FBwvKAwe.zhmTy2fYzf9FyM9KEq.zhmTy2fYzf9FzM9VDgvY.nhvVze9sta.zhmTy2fYzf9FDgL0Bgu.zgL2.zhmTy2fYzf9FzxLLyNjVDW.mteXmdmYnuXktejnDa.nJqWotjTCgfywvu.zhmTy2fYza.ntqWt09iyvHu.nZeZmJzQqK95vwy.qM9KEq.zhmTy2fYzf9FAgvHzgvY.ntyZmZa0qu15DfDy.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.twvKAwe.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.odGWmtHuvgvRB08.zhmTy2fYzc0TCgfKlq".split(".");
99
+ return f = function() {
100
+ return e;
101
+ }, f();
102
102
  }
103
103
  export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, d as CardMedia };
@@ -1,67 +1,72 @@
1
1
  "use client";
2
2
  (function(e, t) {
3
- for (var r = n, i = e();;) try {
4
- if (-parseInt(r(483)) / 1 + -parseInt(r(488)) / 2 + -parseInt(r(479)) / 3 * (-parseInt(r(490)) / 4) + -parseInt(r(484)) / 5 + parseInt(r(486)) / 6 * (parseInt(r(481)) / 7) + -parseInt(r(478)) / 8 + parseInt(r(489)) / 9 == t) break;
3
+ for (var n = r, i = e();;) try {
4
+ if (-parseInt(n(270)) / 1 * (parseInt(n(269)) / 2) + -parseInt(n(283)) / 3 * (parseInt(n(279)) / 4) + parseInt(n(275)) / 5 * (-parseInt(n(274)) / 6) + parseInt(n(271)) / 7 * (parseInt(n(285)) / 8) + -parseInt(n(280)) / 9 * (parseInt(n(286)) / 10) + -parseInt(n(282)) / 11 * (-parseInt(n(284)) / 12) + parseInt(n(278)) / 13 == t) break;
5
5
  i.push(i.shift());
6
6
  } catch {
7
7
  i.push(i.shift());
8
8
  }
9
- })(t, 376860);
9
+ })(a, 980048);
10
10
  import { cx as e } from "../../primitives/index.js";
11
11
  /* empty css */
12
- function t() {
13
- var e = [
14
- "nZKWnJe3r09vALj4",
15
- "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
16
- "n212BM9iAa",
17
- "zgL2",
18
- "mZy0otu4swXmy1Hm",
19
- "nJy4mtu1EM9rvgDX",
20
- "zhmTy2fYzc1MCMfTzq",
21
- "nJu5mJy4ve9bD2r6",
22
- "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TAgvHzgvY",
23
- "ndG1nti2BwLfEwPO",
24
- "odCXota3nfveEezwta",
25
- "nhnRA0LcCq",
26
- "mtC5mtKYohPiDMHsua"
27
- ];
28
- return t = function() {
29
- return e;
30
- }, t();
31
- }
32
- function n(e, r) {
33
- e -= 478;
34
- var i = t(), a = i[e];
35
- n.yFaMnL === void 0 && (n.YkNXRQ = function(e) {
12
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
13
+ function r(e, t) {
14
+ e -= 269;
15
+ var n = a(), i = n[e];
16
+ r.NYpDYL === void 0 && (r.UcwCnl = function(e) {
36
17
  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);
37
18
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
38
19
  return decodeURIComponent(r);
39
- }, n.itTtHM = {}, n.yFaMnL = !0);
40
- var o = i[0];
41
- n.JAmKhz !== o && (n.itTtHM = {}, n.JAmKhz = o);
42
- var s = n.itTtHM[e];
43
- return s === void 0 ? (a = n.YkNXRQ(a), n.itTtHM[e] = a) : a = s, a;
20
+ }, r.mcdUKi = {}, r.NYpDYL = !0);
21
+ var o = n[0];
22
+ r.OPZRlE !== o && (r.mcdUKi = {}, r.OPZRlE = o);
23
+ var s = r.mcdUKi[e];
24
+ return s === void 0 ? (i = r.UcwCnl(i), r.mcdUKi[e] = i) : i = s, i;
44
25
  }
45
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
46
- function a({ header: t, footer: a, children: o, className: s, ...c }) {
47
- var l = n;
48
- return i(l(482), {
49
- className: e(l(485), s),
26
+ function i({ header: i, footer: a, children: o, className: s, ...c }) {
27
+ var l = r;
28
+ return n("div", {
29
+ className: e(l(272), s),
50
30
  ...c,
51
31
  children: [
52
- t != null && r(l(482), {
53
- className: l(487),
54
- children: t
32
+ i != null && t(l(276), {
33
+ className: l(281),
34
+ children: i
55
35
  }),
56
- r(l(482), {
57
- className: "ds-card-frame__content",
36
+ t(l(276), {
37
+ className: l(277),
58
38
  children: o
59
39
  }),
60
- a != null && r(l(482), {
61
- className: l(480),
40
+ a != null && t("div", {
41
+ className: l(273),
62
42
  children: a
63
43
  })
64
44
  ]
65
45
  });
66
46
  }
67
- export { a as CardFrame };
47
+ export { i as CardFrame };
48
+ function a() {
49
+ var e = [
50
+ "zgL2",
51
+ "zhmTy2fYzc1MCMfTzv9Fy29UDgvUDa",
52
+ "ntm3mdG0otLLuKvWAee",
53
+ "mtGWsfzHu29R",
54
+ "mJi5mdmYmhLIuMvAza",
55
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TAgvHzgvY",
56
+ "mZaWm0jfBu5SyW",
57
+ "nZC2mdfID3jbrKG",
58
+ "ndCYnJHKD0jnyue",
59
+ "mJrRsfLnB0y",
60
+ "ntbOzejPywe",
61
+ "mLDqqwTWEa",
62
+ "mtG4mdG4n1vvEvzHDG",
63
+ "mtC4ntC0ovHpBxDzza",
64
+ "zhmTy2fYzc1MCMfTzq",
65
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
66
+ "nda0odq0nKTPtvrtsq",
67
+ "nxHouKjxtG"
68
+ ];
69
+ return a = function() {
70
+ return e;
71
+ }, a();
72
+ }
@@ -1,72 +1,66 @@
1
1
  "use client";
2
- const e = r;
3
- (function(e, t) {
4
- let n = r, i = e();
5
- for (;;) try {
6
- if (parseInt(n(255)) / 1 + -parseInt(n(270)) / 2 * (parseInt(n(266)) / 3) + -parseInt(n(254)) / 4 + -parseInt(n(250)) / 5 + -parseInt(n(246)) / 6 * (parseInt(n(252)) / 7) + parseInt(n(260)) / 8 * (-parseInt(n(245)) / 9) + -parseInt(n(262)) / 10 * (-parseInt(n(267)) / 11) == t) break;
7
- i.push(i.shift());
8
- } catch {
9
- i.push(i.shift());
10
- }
11
- })(f, 815482);
12
- import { Text as t } from "../../primitives/Typography2.js";
13
- import { ColorDot as n } from "../../primitives/ColorDot2.js";
14
- function r(e, t) {
15
- e -= 245;
16
- let n = f(), i = n[e];
17
- r.PlCcor === void 0 && (r.ZHhYSb = function(e) {
2
+ const e = t;
3
+ function t(e, n) {
4
+ e -= 341;
5
+ let r = h(), i = r[e];
6
+ t.CECGKt === void 0 && (t.vjcNqU = function(e) {
18
7
  let t = "", n = "";
19
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);
20
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
10
  return decodeURIComponent(n);
22
- }, r.EsjXhP = {}, r.PlCcor = !0);
23
- let a = n[0];
24
- r.foGdLX !== a && (r.EsjXhP = {}, r.foGdLX = a);
25
- let o = r.EsjXhP[e];
26
- return o === void 0 ? (i = r.ZHhYSb(i), r.EsjXhP[e] = i) : i = o, i;
11
+ }, t.BrKgkm = {}, t.CECGKt = !0);
12
+ let a = r[0];
13
+ t.YPUiRr !== a && (t.BrKgkm = {}, t.YPUiRr = a);
14
+ let o = t.BrKgkm[e];
15
+ return o === void 0 ? (i = t.vjcNqU(i), t.BrKgkm[e] = i) : i = o, i;
27
16
  }
17
+ (function(e, n) {
18
+ let r = t, i = e();
19
+ for (;;) try {
20
+ if (-parseInt(r(361)) / 1 + parseInt(r(345)) / 2 + -parseInt(r(349)) / 3 * (-parseInt(r(348)) / 4) + parseInt(r(342)) / 5 * (-parseInt(r(354)) / 6) + parseInt(r(358)) / 7 * (parseInt(r(350)) / 8) + parseInt(r(362)) / 9 * (-parseInt(r(360)) / 10) + parseInt(r(353)) / 11 == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(h, 734618);
26
+ import { Text as n } from "../../primitives/Typography2.js";
27
+ import { ColorDot as r } from "../../primitives/ColorDot2.js";
28
28
  import { Inline as i, Separator as a, Stack as o } from "../../primitives/Layout2.js";
29
29
  import { Card as s, CardBody as c } from "../Card/Card2.js";
30
30
  /* empty css */
31
31
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
32
- function f() {
33
- let e = /* @__PURE__ */ "otC1ntK5ne1nzKjgzW.BgfIzwWTC20.yMv0D2vLBG.Aw5SAw5L.mJy1mdmZnufisxffwG.DMfSDwu.n3r4EMHVCq.zgL2.mZC1mZe4neDst0rmDG.ndGYnJqZyw9juNDA.C2vJB25Kyxj5.zgvMyxvSDa.CMfPC2vK.BwfW.mJu2B0H0Bevx.BgLZDa.mJG2mtbMuKfYAKu.zgv0ywLS.AgvHzgLUzY14CW.y29SB3i.nKHNtMnuAa.mJeZntfkzwzotw0.BgfIzwW.yM9KEs1ZBq.mtqZnJe3nM1oBxfXDW.DgvYDgLHCNK.A2v5.mtK0mdeZDuTiEhrq".split(".");
34
- return f = function() {
35
- return e;
36
- }, f();
37
- }
38
- function p({ title: e, leading: n, value: f, rows: p, footer: h }) {
39
- let g = r;
32
+ function f({ title: e, leading: r, value: f, rows: m, footer: h }) {
33
+ let g = t;
40
34
  return u(s, {
41
- variant: g(258),
35
+ variant: g(352),
42
36
  padding: "sm",
43
37
  children: u(c, { children: d(o, {
44
38
  gap: 2,
45
39
  children: [
46
- (e != null || n != null || f != null) && d(l, { children: [d(i, {
47
- justify: g(248),
40
+ (e != null || r != null || f != null) && d(l, { children: [d(i, {
41
+ justify: g(357),
48
42
  gap: 6,
49
43
  wrap: !1,
50
44
  children: [d(i, {
51
45
  gap: 2,
52
46
  wrap: !1,
53
- children: [n, e != null && u(t, {
54
- variant: g(264),
55
- as: g(253),
47
+ children: [r, e != null && u(n, {
48
+ variant: "heading-xs",
49
+ as: g(368),
56
50
  children: e
57
51
  })]
58
- }), f != null && u(t, {
59
- variant: "heading-xs",
60
- as: g(253),
52
+ }), f != null && u(n, {
53
+ variant: g(364),
54
+ as: g(368),
61
55
  numeric: !0,
62
56
  children: f
63
57
  })]
64
58
  }), u(a, {})] }),
65
59
  u(o, {
66
60
  gap: 1,
67
- children: p[g(259)]((e) => u(m, { row: e }, e[g(272)]))
61
+ children: m[g(344)]((e) => u(p, { row: e }, e[g(367)]))
68
62
  }),
69
- h && d(l, { children: [u(a, {}), u(m, {
63
+ h && d(l, { children: [u(a, {}), u(p, {
70
64
  row: h,
71
65
  strong: !0
72
66
  })] })
@@ -74,77 +68,83 @@ function p({ title: e, leading: n, value: f, rows: p, footer: h }) {
74
68
  }) })
75
69
  });
76
70
  }
77
- function m({ row: e, strong: a }) {
78
- let o = r;
71
+ function p({ row: e, strong: a }) {
72
+ let o = t;
79
73
  return d(i, {
80
- justify: o(248),
74
+ justify: o(357),
81
75
  gap: 6,
82
76
  wrap: !1,
83
77
  children: [d(i, {
84
78
  gap: 2,
85
79
  wrap: !1,
86
- children: [!a && u(n, { color: e.color }), u(t, {
87
- variant: o(269),
88
- tone: a ? o(257) : "secondary",
89
- children: e[o(268)]
80
+ children: [!a && u(r, { color: e[o(346)] }), u(n, {
81
+ variant: "body-sm",
82
+ tone: o(a ? 359 : 365),
83
+ children: e[o(351)]
90
84
  })]
91
- }), u(t, {
92
- variant: o(247),
85
+ }), u(n, {
86
+ variant: "label-sm",
93
87
  numeric: !0,
94
- children: e[o(251)]
88
+ children: e.value
95
89
  })]
96
90
  });
97
91
  }
98
- function h({ items: r, layout: a = e(249), focused: s = null, onFocusChange: c }) {
99
- let l = e, f = (e) => s === null || s === e ? l(256) : "tertiary";
100
- return a === l(261) ? u(o, {
92
+ function m({ items: t, layout: a = e(369), focused: s = null, onFocusChange: c }) {
93
+ let l = e, f = (e) => s === null || s === e ? "secondary" : "tertiary";
94
+ return a === l(363) ? u(o, {
101
95
  gap: 2,
102
96
  onPointerLeave: () => c?.(null),
103
- children: r[l(259)]((e) => d(i, {
104
- justify: "between",
97
+ children: t[l(344)]((e) => d(i, {
98
+ justify: l(357),
105
99
  gap: 6,
106
100
  wrap: !1,
107
- onPointerEnter: () => c?.(e[l(272)]),
101
+ onPointerEnter: () => c?.(e[l(367)]),
108
102
  children: [d(i, {
109
103
  gap: 2,
110
104
  wrap: !1,
111
- children: [u(n, { color: e[l(265)] }), u(t, {
112
- variant: l(269),
113
- tone: f(e.key),
114
- children: e[l(268)]
105
+ children: [u(r, { color: e.color }), u(n, {
106
+ variant: l(366),
107
+ tone: f(e[l(367)]),
108
+ children: e[l(351)]
115
109
  })]
116
- }), (e[l(251)] != null || e[l(263)] != null) && d(i, {
110
+ }), (e.value != null || e[l(347)] != null) && d(i, {
117
111
  gap: 4,
118
112
  wrap: !1,
119
- children: [e[l(251)] != null && u(t, {
120
- variant: l(247),
113
+ children: [e.value != null && u(n, {
114
+ variant: l(341),
121
115
  numeric: !0,
122
- tone: s === null || s === e.key ? l(257) : l(271),
123
- children: e.value
124
- }), e.detail != null && u(t, {
116
+ tone: s === null || s === e[l(367)] ? l(359) : l(356),
117
+ children: e[l(355)]
118
+ }), e[l(347)] != null && u(n, {
125
119
  as: "span",
126
- variant: l(269),
120
+ variant: l(366),
127
121
  numeric: !0,
128
122
  align: "end",
129
123
  tone: "tertiary",
130
- className: "ds-chart-legend__detail",
131
- children: e[l(263)]
124
+ className: l(343),
125
+ children: e[l(347)]
132
126
  })]
133
127
  })]
134
- }, e[l(272)]))
128
+ }, e[l(367)]))
135
129
  }) : u(i, {
136
130
  gap: 4,
137
131
  onPointerLeave: () => c?.(null),
138
- children: r[l(259)]((e) => d(i, {
132
+ children: t.map((e) => d(i, {
139
133
  gap: 2,
140
134
  wrap: !1,
141
- onPointerEnter: () => c?.(e.key),
142
- children: [u(n, { color: e[l(265)] }), u(t, {
143
- variant: l(269),
144
- tone: f(e.key),
145
- children: e[l(268)]
135
+ onPointerEnter: () => c?.(e[l(367)]),
136
+ children: [u(r, { color: e[l(346)] }), u(n, {
137
+ variant: "body-sm",
138
+ tone: f(e[l(367)]),
139
+ children: e[l(351)]
146
140
  })]
147
- }, e[l(272)]))
141
+ }, e[l(367)]))
148
142
  });
149
143
  }
150
- export { h as ChartLegend, p as ChartTooltip };
144
+ export { m as ChartLegend, f as ChartTooltip };
145
+ function h() {
146
+ let e = /* @__PURE__ */ "mtqZnJe0mdjzsMHfsw4.mtm5ofP3rLzrDa.DMfSDwu.DgvYDgLHCNK.yMv0D2vLBG.mtqXodK2m1DtvxLKBa.zgvMyxvSDa.ntq4ntuXmhnpA0Ltuq.nZG2mtbotvDnu0C.mtHRtffHD0S.BgLZDa.AgvHzgLUzY14CW.C2vJB25Kyxj5.yM9KEs1ZBq.A2v5.zgL2.Aw5SAw5L.BgfIzwWTC20.mtC4mdvqBxnPrxm.zhmTy2HHCNqTBgvNzw5Kx19KzxrHAwW.BwfW.oteXntqYAeLJwuPg.y29SB3i.zgv0ywLS.mtC4ogfLCLLnEG.mJq4n2nuDe91wa.mJrhD0DSug0.BgfIzwW.CMfPC2vK".split(".");
147
+ return h = function() {
148
+ return e;
149
+ }, h();
150
+ }