@iamfiro/design 0.3.0 → 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 +76 -76
  4. package/lib/components/ActionBar/ActionBar2.js +43 -43
  5. package/lib/components/Alert/Alert2.js +46 -46
  6. package/lib/components/AppShell/AppShell2.js +58 -58
  7. package/lib/components/AreaChart/AreaChart.js +39 -40
  8. package/lib/components/BarChart/BarChart2.js +169 -169
  9. package/lib/components/BarList/BarList2.js +99 -99
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
  11. package/lib/components/Calendar/Calendar2.js +172 -171
  12. package/lib/components/Calendar/DatePicker2.js +101 -102
  13. package/lib/components/Calendar/date.js +71 -71
  14. package/lib/components/Card/Card2.js +55 -56
  15. package/lib/components/CardFrame/CardFrame2.js +52 -52
  16. package/lib/components/Chart/ChartParts.js +90 -90
  17. package/lib/components/Chart/chart2.js +52 -52
  18. package/lib/components/Chart/useChartInteraction.js +44 -44
  19. package/lib/components/ChatBubble/ChatBubble2.js +112 -112
  20. package/lib/components/ChatBubble/formatChatTime.js +44 -42
  21. package/lib/components/ChatComposer/ChatComposer2.js +94 -94
  22. package/lib/components/CodeBlock/CodeBlock2.js +66 -66
  23. package/lib/components/CodeBlock/highlight.js +67 -70
  24. package/lib/components/ColorPicker/ColorPicker2.js +404 -405
  25. package/lib/components/ColorPicker/color.js +81 -81
  26. package/lib/components/ColorPicker/presets.js +44 -43
  27. package/lib/components/Combobox/Combobox2.js +128 -128
  28. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  29. package/lib/components/Comment/Comment2.js +55 -80
  30. package/lib/components/ContextMenu/ContextMenu2.js +93 -94
  31. package/lib/components/DataGrid/DataGrid2.js +1181 -1180
  32. package/lib/components/DataGrid/GridPopover.js +112 -112
  33. package/lib/components/DataGrid/anchor.js +23 -25
  34. package/lib/components/DataGrid/model.js +274 -275
  35. package/lib/components/DataGrid/panels.js +423 -423
  36. package/lib/components/DataGrid/typeMeta.js +21 -22
  37. package/lib/components/DataGrid/types.js +38 -37
  38. package/lib/components/DescriptionList/DescriptionList2.js +107 -107
  39. package/lib/components/Dialog/AlertDialog.js +53 -53
  40. package/lib/components/Dialog/Dialog2.js +71 -70
  41. package/lib/components/Dialog/modal.js +59 -58
  42. package/lib/components/Drawer/Drawer2.js +123 -124
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
  44. package/lib/components/DropdownMenu/menuCore.js +46 -47
  45. package/lib/components/Dropzone/Dropzone2.js +77 -77
  46. package/lib/components/EmptyState/EmptyState2.js +57 -56
  47. package/lib/components/FileChip/FileChip2.js +71 -71
  48. package/lib/components/FileUpload/FileUpload.js +119 -119
  49. package/lib/components/FilterChips/FilterChips2.js +61 -61
  50. package/lib/components/FunnelChart/FunnelChart2.js +141 -141
  51. package/lib/components/FunnelChart/funnel.js +51 -51
  52. package/lib/components/Highlight/Highlight2.js +54 -54
  53. package/lib/components/HoverCard/HoverCard.js +108 -83
  54. package/lib/components/InlineDiff/InlineDiff2.js +126 -126
  55. package/lib/components/InlineDiff/diff.js +82 -82
  56. package/lib/components/InlineDiff/useDiffReview.js +62 -60
  57. package/lib/components/Kanban/Kanban2.js +382 -382
  58. package/lib/components/Kanban/KanbanCard.js +92 -92
  59. package/lib/components/Kanban/move.js +45 -49
  60. package/lib/components/LineChart/LineChart2.js +207 -207
  61. package/lib/components/List/List2.js +71 -71
  62. package/lib/components/Listbox/Listbox2.js +115 -115
  63. package/lib/components/Marker/Marker2.js +67 -60
  64. package/lib/components/Menubar/Menubar2.js +130 -133
  65. package/lib/components/MultiSelect/MultiSelect2.js +104 -104
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
  67. package/lib/components/NoticeStack/NoticeStack2.js +105 -105
  68. package/lib/components/NumberStepper/NumberStepper2.js +67 -67
  69. package/lib/components/OtpInput/OtpInput2.js +66 -67
  70. package/lib/components/Pagination/Pagination2.js +90 -90
  71. package/lib/components/Pagination/paginationRange.js +24 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +74 -74
  73. package/lib/components/PieChart/PieChart2.js +119 -119
  74. package/lib/components/PieChart/arc.js +63 -42
  75. package/lib/components/PieChart/useArcTween.js +56 -54
  76. package/lib/components/Popover/Popover2.js +61 -61
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
  78. package/lib/components/Rating/Rating2.js +81 -81
  79. package/lib/components/Resizable/Resizable2.js +112 -110
  80. package/lib/components/Resizable/layout.js +50 -50
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
  82. package/lib/components/ScatterChart/ScatterChart2.js +226 -227
  83. package/lib/components/ScatterChart/scatter.js +59 -57
  84. package/lib/components/ScrollArea/ScrollArea2.js +112 -112
  85. package/lib/components/Select/Select2.js +79 -79
  86. package/lib/components/Sidebar/Sidebar2.js +79 -79
  87. package/lib/components/Skeleton/Skeleton2.js +68 -68
  88. package/lib/components/Slider/Slider2.js +78 -77
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
  90. package/lib/components/SparkChart/SparkChart2.js +146 -145
  91. package/lib/components/SparkChart/spark.js +41 -67
  92. package/lib/components/Sparkbar/Sparkbar2.js +61 -60
  93. package/lib/components/SplitView/SplitView2.js +53 -53
  94. package/lib/components/Stat/Stat2.js +94 -94
  95. package/lib/components/StepList/StepList2.js +70 -70
  96. package/lib/components/Table/Table2.js +63 -63
  97. package/lib/components/Tabs/Tabs2.js +70 -70
  98. package/lib/components/TagInput/TagInput2.js +236 -239
  99. package/lib/components/TimePicker/TimePicker2.js +231 -232
  100. package/lib/components/TimePicker/time.js +63 -65
  101. package/lib/components/Timeline/Timeline2.js +167 -167
  102. package/lib/components/Timeline/scale.js +55 -55
  103. package/lib/components/Toast/Toaster.js +151 -152
  104. package/lib/components/Toast/store.js +90 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
  106. package/lib/components/Toolbar/Toolbar2.js +145 -145
  107. package/lib/components/Tracker/Tracker2.js +76 -76
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
  109. package/lib/components/TreeView/TreeView2.js +124 -124
  110. package/lib/hooks/timing.js +30 -29
  111. package/lib/hooks/useControllableState.js +37 -36
  112. package/lib/hooks/useCountdown.js +56 -59
  113. package/lib/hooks/useDigitInput.js +52 -78
  114. package/lib/hooks/useDismiss.js +58 -57
  115. package/lib/hooks/useElapsed.js +54 -54
  116. package/lib/hooks/useFloating.js +26 -26
  117. package/lib/hooks/useFocusTrap.js +42 -42
  118. package/lib/hooks/usePresence.js +49 -48
  119. package/lib/hooks/usePressToOpen.js +42 -41
  120. package/lib/hooks/useScrollLock.js +45 -44
  121. package/lib/hooks/useSelection.js +45 -39
  122. package/lib/index.js +71 -71
  123. package/lib/primitives/AspectRatio2.js +60 -60
  124. package/lib/primitives/BrandIcon.js +161 -161
  125. package/lib/primitives/ColorDot2.js +42 -45
  126. package/lib/primitives/CopyButton2.js +57 -56
  127. package/lib/primitives/CountBadge2.js +55 -51
  128. package/lib/primitives/Countdown2.js +41 -46
  129. package/lib/primitives/Delta2.js +36 -36
  130. package/lib/primitives/Elapsed.js +49 -49
  131. package/lib/primitives/FileIcon2.js +96 -96
  132. package/lib/primitives/Flag2.js +135 -135
  133. package/lib/primitives/IconStack2.js +38 -60
  134. package/lib/primitives/IconTile2.js +28 -29
  135. package/lib/primitives/Kbd2.js +50 -50
  136. package/lib/primitives/Layout2.js +71 -71
  137. package/lib/primitives/Link2.js +32 -31
  138. package/lib/primitives/MaskedText2.js +49 -74
  139. package/lib/primitives/Progress2.js +65 -66
  140. package/lib/primitives/RelativeTime.js +58 -57
  141. package/lib/primitives/SearchInput2.js +65 -65
  142. package/lib/primitives/SelectorButton2.js +74 -73
  143. package/lib/primitives/Spinner2.js +50 -50
  144. package/lib/primitives/StatusIcon2.js +68 -68
  145. package/lib/primitives/Swatch2.js +59 -55
  146. package/lib/primitives/Tooltip2.js +81 -81
  147. package/lib/primitives/Typography2.js +53 -53
  148. package/lib/primitives/formatCountdown.js +21 -22
  149. package/lib/primitives/formatElapsed.js +43 -42
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +82 -82
  152. package/lib/primitives/index.js +193 -174
  153. package/lib/primitives/maskValue.js +28 -28
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -2,103 +2,102 @@
2
2
  var e = c;
3
3
  (function(e, t) {
4
4
  for (var n = c, r = e();;) try {
5
- if (parseInt(n(341)) / 1 + parseInt(n(352)) / 2 * (-parseInt(n(349)) / 3) + -parseInt(n(339)) / 4 * (-parseInt(n(332)) / 5) + parseInt(n(351)) / 6 + -parseInt(n(353)) / 7 + -parseInt(n(348)) / 8 + -parseInt(n(354)) / 9 * (-parseInt(n(355)) / 10) == t) break;
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
- })(d, 475930);
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: e, variant: t = "default", padding: r = "md", interactive: a, selected: o, className: s, children: l, ...u }) {
16
- var d = c;
17
- return i(e ?? "div", {
18
- className: n("ds-card", "ds-card--" + t, d(338) + r, a && d(340), s),
19
- "data-selectable": o !== void 0 || void 0,
20
- "data-selected": o || void 0,
15
+ function o({ as: t, variant: r = e(244), padding: a = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
16
+ var d = e;
17
+ return i(t ?? d(250), {
18
+ className: n(d(254), "ds-card--" + r, d(236) + a, o && d(242), c),
19
+ "data-selectable": s !== void 0 || void 0,
20
+ "data-selected": s || void 0,
21
21
  ...u,
22
22
  children: l
23
23
  });
24
24
  }
25
- function s({ title: e, description: t, eyebrow: o, icon: s, actions: l, children: u, className: d }) {
26
- var f = c;
27
- return a(f(337), {
28
- className: n(f(344), d),
25
+ function s({ title: t, description: o, eyebrow: s, icon: c, actions: l, children: u, className: d }) {
26
+ var f = e;
27
+ return a(f(250), {
28
+ className: n(f(258), d),
29
29
  children: [
30
- s && i("div", {
30
+ c && i("div", {
31
31
  className: "ds-card__icon",
32
- children: s
32
+ children: c
33
33
  }),
34
- i("div", {
35
- className: f(343),
34
+ i(f(250), {
35
+ className: f(237),
36
36
  children: u ?? a(r, { children: [
37
- o && i("div", {
38
- className: f(342),
39
- children: o
40
- }),
41
- e && i(f(337), {
42
- className: "ds-card__title",
43
- children: e
37
+ s && i(f(250), {
38
+ className: f(251),
39
+ children: s
44
40
  }),
45
- t && i(f(337), {
46
- className: f(356),
41
+ t && i(f(250), {
42
+ className: f(249),
47
43
  children: t
44
+ }),
45
+ o && i(f(250), {
46
+ className: f(239),
47
+ children: o
48
48
  })
49
49
  ] })
50
50
  }),
51
- l && i(f(337), {
52
- className: f(331),
51
+ l && i(f(250), {
52
+ className: f(243),
53
53
  children: l
54
54
  })
55
55
  ]
56
56
  });
57
57
  }
58
58
  function c(e, t) {
59
- e -= 331;
60
- var n = d(), r = n[e];
61
- c.hHXqyN === void 0 && (c.foswYD = function(e) {
59
+ e -= 232;
60
+ var n = f(), r = n[e];
61
+ c.gIMHVu === void 0 && (c.YZRfQL = function(e) {
62
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
63
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
64
64
  return decodeURIComponent(r);
65
- }, c.jcLUnf = {}, c.hHXqyN = !0);
65
+ }, c.rTANkV = {}, c.gIMHVu = !0);
66
66
  var i = n[0];
67
- c.iidrhW !== i && (c.jcLUnf = {}, c.iidrhW = i);
68
- var a = c.jcLUnf[e];
69
- return a === void 0 ? (r = c.foswYD(r), c.jcLUnf[e] = r) : r = a, r;
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;
70
70
  }
71
- function l({ children: e, className: t, style: r }) {
72
- var a = c;
73
- return i(a(337), {
74
- className: n(a(350), t),
75
- style: r,
76
- children: e
71
+ function l({ children: t, className: r, style: a }) {
72
+ var o = e;
73
+ return i(o(250), {
74
+ className: n(o(246), r),
75
+ style: a,
76
+ children: t
77
77
  });
78
78
  }
79
- function u({ children: t, align: r = e(334), divided: a, band: o, className: s }) {
79
+ function u({ children: t, align: r = "end", divided: a, band: o, className: s }) {
80
80
  var c = e;
81
- return i(c(337), {
82
- className: n(c(346), c(347) + r, a && c(333), o && c(336), s),
81
+ return i(c(250), {
82
+ className: n(c(247), "ds-card__footer--" + r, a && c(232), o && c(234), s),
83
83
  children: t
84
84
  });
85
85
  }
86
- function d() {
87
- var e = /* @__PURE__ */ "mJbHEhnNsgu.zhmTy2fYzf9FzgvZy3jPChrPB24.twvKAwe.zhmTy2fYzf9FBwvKAwe.zhmTy2fYzf9Fywn0Aw9UCW.mte5otvOrwHOB1i.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.zw5K.qM9KEq.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.zgL2.zhmTy2fYzc0TCgfKlq.mti0nenHuwDwyW.zhmTy2fYzc0TAw50zxjHy3rPDMu.mZq4mtyWwK1WA1zA.zhmTy2fYzf9FzxLLyNjVDW.zhmTy2fYzf9FAgvHzgLUzW.zhmTy2fYzf9FAgvHzgvY.sgvHzgvY.zhmTy2fYzf9FzM9VDgvY.zhmTy2fYzf9FzM9VDgvYls0.ndu5odyWmfDHCgP6tG.nJLbCfb1A1y.zhmTy2fYzf9FyM9KEq.mtaXoda2ofP4rvP0DW.oda5nZrZuMPNs1a.mJyYota4mxz1Dfvuzq.ndKYmti1neDxyNHktq".split(".");
88
- return d = function() {
89
- return e;
90
- }, d();
91
- }
92
- function f({ children: r, ratio: a, className: o }) {
93
- var s = e;
94
- return a === void 0 ? i(s(337), {
95
- className: n(s(358), o),
86
+ function d({ children: r, ratio: a, className: o }) {
87
+ return a === void 0 ? i("div", {
88
+ className: n("ds-card__media", o),
96
89
  children: r
97
90
  }) : i(t, {
98
91
  ratio: a,
99
- className: n(s(358), o),
92
+ className: n(e(245), o),
100
93
  children: r
101
94
  });
102
95
  }
103
- o[e(345)] = s, o[e(335)] = l, o.Footer = u, o[e(357)] = f;
104
- export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, f as CardMedia };
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
+ }
103
+ export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, d as CardMedia };
@@ -1,72 +1,72 @@
1
1
  "use client";
2
- (function(e, n) {
3
- for (var r = t, i = e();;) try {
4
- if (parseInt(r(222)) / 1 * (-parseInt(r(226)) / 2) + parseInt(r(234)) / 3 * (parseInt(r(218)) / 4) + -parseInt(r(228)) / 5 * (parseInt(r(225)) / 6) + parseInt(r(230)) / 7 * (-parseInt(r(219)) / 8) + parseInt(r(223)) / 9 * (-parseInt(r(229)) / 10) + -parseInt(r(221)) / 11 * (parseInt(r(235)) / 12) + parseInt(r(220)) / 13 * (parseInt(r(233)) / 14) == n) break;
2
+ (function(e, t) {
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
- })(n, 403677);
9
+ })(a, 980048);
10
10
  import { cx as e } from "../../primitives/index.js";
11
- function t(e, r) {
12
- e -= 218;
13
- var i = n(), a = i[e];
14
- t.rokZlj === void 0 && (t.PqfiWB = function(e) {
11
+ /* empty css */
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) {
15
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);
16
18
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
17
19
  return decodeURIComponent(r);
18
- }, t.PJpIQR = {}, t.rokZlj = !0);
19
- var o = i[0];
20
- t.ESVpBA !== o && (t.PJpIQR = {}, t.ESVpBA = o);
21
- var s = t.PJpIQR[e];
22
- return s === void 0 ? (a = t.PqfiWB(a), t.PJpIQR[e] = a) : a = s, a;
23
- }
24
- function n() {
25
- var e = [
26
- "mtm1nurrDLjfsG",
27
- "mtb5yNnmuK8",
28
- "mJi0mZiZngfPsNP4uG",
29
- "zhmTy2fYzc1MCMfTzv9Fy29UDgvUDa",
30
- "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
31
- "mJHcwerQA2C",
32
- "m2HADgXjyW",
33
- "mtjbBxziuMW",
34
- "mta0ntCXmNrJwxzRzW",
35
- "mtzLr091y1e",
36
- "mta1ndCYmZHvyujvANm",
37
- "mJaYodGXohLsywXlqq",
38
- "ndu3C2viyxPx",
39
- "ndu3nJC2mu9VCLLXva",
40
- "zhmTy2fYzc1MCMfTzq",
41
- "mJiZmMrMtM5ACa",
42
- "mJaWrxDkAgfz",
43
- "zgL2"
44
- ];
45
- return n = function() {
46
- return e;
47
- }, n();
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;
48
25
  }
49
- /* empty css */
50
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
51
- function a({ header: n, footer: a, children: o, className: s, ...c }) {
52
- var l = t;
53
- return i(l(227), {
54
- className: e(l(224), 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),
55
30
  ...c,
56
31
  children: [
57
- n != null && r("div", {
58
- className: "ds-card-frame__bar ds-card-frame__bar--header",
59
- children: n
32
+ i != null && t(l(276), {
33
+ className: l(281),
34
+ children: i
60
35
  }),
61
- r(l(227), {
62
- className: l(231),
36
+ t(l(276), {
37
+ className: l(277),
63
38
  children: o
64
39
  }),
65
- a != null && r(l(227), {
66
- className: l(232),
40
+ a != null && t("div", {
41
+ className: l(273),
67
42
  children: a
68
43
  })
69
44
  ]
70
45
  });
71
46
  }
72
- 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,66 +1,66 @@
1
1
  "use client";
2
- const e = c;
3
- (function(e, t) {
4
- let n = c, r = e();
5
- for (;;) try {
6
- if (-parseInt(n(258)) / 1 * (parseInt(n(255)) / 2) + parseInt(n(267)) / 3 + -parseInt(n(256)) / 4 * (parseInt(n(265)) / 5) + -parseInt(n(249)) / 6 * (parseInt(n(270)) / 7) + parseInt(n(263)) / 8 * (-parseInt(n(262)) / 9) + -parseInt(n(259)) / 10 * (parseInt(n(260)) / 11) + -parseInt(n(276)) / 12 * (-parseInt(n(261)) / 13) == t) break;
7
- r.push(r.shift());
8
- } catch {
9
- r.push(r.shift());
10
- }
11
- })(p, 971091);
12
- import { Text as t } from "../../primitives/Typography2.js";
13
- import { ColorDot as n } from "../../primitives/ColorDot2.js";
14
- import { Inline as r, Separator as i, Stack as a } from "../../primitives/Layout2.js";
15
- import { Card as o, CardBody as s } from "../Card/Card2.js";
16
- /* empty css */
17
- function c(e, t) {
18
- e -= 248;
19
- let n = p(), r = n[e];
20
- c.ATPdkx === void 0 && (c.lVFlRD = 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) {
21
7
  let t = "", n = "";
22
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);
23
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
24
10
  return decodeURIComponent(n);
25
- }, c.PZCXRw = {}, c.ATPdkx = !0);
26
- let i = n[0];
27
- c.MaeYyI !== i && (c.PZCXRw = {}, c.MaeYyI = i);
28
- let a = c.PZCXRw[e];
29
- return a === void 0 ? (r = c.lVFlRD(r), c.PZCXRw[e] = r) : r = a, r;
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;
30
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
+ import { Inline as i, Separator as a, Stack as o } from "../../primitives/Layout2.js";
29
+ import { Card as s, CardBody as c } from "../Card/Card2.js";
30
+ /* empty css */
31
31
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
32
- function f({ title: e, leading: n, value: f, rows: p, footer: h }) {
33
- let g = c;
34
- return u(o, {
35
- variant: g(272),
32
+ function f({ title: e, leading: r, value: f, rows: m, footer: h }) {
33
+ let g = t;
34
+ return u(s, {
35
+ variant: g(352),
36
36
  padding: "sm",
37
- children: u(s, { children: d(a, {
37
+ children: u(c, { children: d(o, {
38
38
  gap: 2,
39
39
  children: [
40
- (e != null || n != null || f != null) && d(l, { children: [d(r, {
41
- justify: g(257),
40
+ (e != null || r != null || f != null) && d(l, { children: [d(i, {
41
+ justify: g(357),
42
42
  gap: 6,
43
43
  wrap: !1,
44
- children: [d(r, {
44
+ children: [d(i, {
45
45
  gap: 2,
46
46
  wrap: !1,
47
- children: [n, e != null && u(t, {
48
- variant: g(251),
49
- as: "div",
47
+ children: [r, e != null && u(n, {
48
+ variant: "heading-xs",
49
+ as: g(368),
50
50
  children: e
51
51
  })]
52
- }), f != null && u(t, {
53
- variant: "heading-xs",
54
- as: "div",
52
+ }), f != null && u(n, {
53
+ variant: g(364),
54
+ as: g(368),
55
55
  numeric: !0,
56
56
  children: f
57
57
  })]
58
- }), u(i, {})] }),
59
- u(a, {
58
+ }), u(a, {})] }),
59
+ u(o, {
60
60
  gap: 1,
61
- children: p[g(271)]((e) => u(m, { row: e }, e[g(274)]))
61
+ children: m[g(344)]((e) => u(p, { row: e }, e[g(367)]))
62
62
  }),
63
- h && d(l, { children: [u(i, {}), u(m, {
63
+ h && d(l, { children: [u(a, {}), u(p, {
64
64
  row: h,
65
65
  strong: !0
66
66
  })] })
@@ -68,83 +68,83 @@ function f({ title: e, leading: n, value: f, rows: p, footer: h }) {
68
68
  }) })
69
69
  });
70
70
  }
71
- function p() {
72
- let e = /* @__PURE__ */ "ndyYD3Lzu3nH.zw5K.AgvHzgLUzY14CW.Aw5SAw5L.DgvYDgLHCNK.BgfIzwWTC20.mtGYmJi2mMPUBNL6zq.mZiZndiWvev0werR.yMv0D2vLBG.mw5py0zWqW.mJiXmhDSr0XsrG.mZq0nJnhBxryvxi.mtnetKjIrMi.nZjKz21dsuu.mtq5ntq3mLbrvwDAEq.yM9KEs1ZBq.otvgugjTuMG.y29SB3i.nty2mdG3murusfnoDG.zgvMyxvSDa.C2vJB25Kyxj5.nZeYntnQs1zhqwK.BwfW.CMfPC2vK.zgv0ywLS.A2v5.DMfSDwu.ntqWmZC4otzADNHYrKy.BgfIzwW".split(".");
73
- return p = function() {
74
- return e;
75
- }, p();
76
- }
77
- function m({ row: e, strong: i }) {
78
- let a = c;
79
- return d(r, {
80
- justify: a(257),
71
+ function p({ row: e, strong: a }) {
72
+ let o = t;
73
+ return d(i, {
74
+ justify: o(357),
81
75
  gap: 6,
82
76
  wrap: !1,
83
- children: [d(r, {
77
+ children: [d(i, {
84
78
  gap: 2,
85
79
  wrap: !1,
86
- children: [!i && u(n, { color: e[a(266)] }), u(t, {
87
- variant: a(264),
88
- tone: i ? a(268) : "secondary",
89
- children: e[a(248)]
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: a(254),
85
+ }), u(n, {
86
+ variant: "label-sm",
93
87
  numeric: !0,
94
88
  children: e.value
95
89
  })]
96
90
  });
97
91
  }
98
- function h({ items: i, layout: o = e(252), focused: s = null, onFocusChange: c }) {
99
- let l = e, f = (e) => l(s === null || s === e ? 269 : 253);
100
- return o === "list" ? u(a, {
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: i[l(271)]((e) => d(r, {
104
- justify: l(257),
97
+ children: t[l(344)]((e) => d(i, {
98
+ justify: l(357),
105
99
  gap: 6,
106
100
  wrap: !1,
107
- onPointerEnter: () => c?.(e.key),
108
- children: [d(r, {
101
+ onPointerEnter: () => c?.(e[l(367)]),
102
+ children: [d(i, {
109
103
  gap: 2,
110
104
  wrap: !1,
111
- children: [u(n, { color: e[l(266)] }), u(t, {
112
- variant: l(264),
113
- tone: f(e[l(274)]),
114
- children: e[l(248)]
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.value != null || e.detail != null) && d(r, {
110
+ }), (e.value != null || e[l(347)] != null) && d(i, {
117
111
  gap: 4,
118
112
  wrap: !1,
119
- children: [e[l(275)] != null && u(t, {
120
- variant: "label-sm",
113
+ children: [e.value != null && u(n, {
114
+ variant: l(341),
121
115
  numeric: !0,
122
- tone: s === null || s === e[l(274)] ? l(268) : l(253),
123
- children: e[l(275)]
124
- }), e[l(273)] != 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(264),
120
+ variant: l(366),
127
121
  numeric: !0,
128
- align: l(250),
122
+ align: "end",
129
123
  tone: "tertiary",
130
- className: "ds-chart-legend__detail",
131
- children: e.detail
124
+ className: l(343),
125
+ children: e[l(347)]
132
126
  })]
133
127
  })]
134
- }, e[l(274)]))
135
- }) : u(r, {
128
+ }, e[l(367)]))
129
+ }) : u(i, {
136
130
  gap: 4,
137
131
  onPointerLeave: () => c?.(null),
138
- children: i[l(271)]((e) => d(r, {
132
+ children: t.map((e) => d(i, {
139
133
  gap: 2,
140
134
  wrap: !1,
141
- onPointerEnter: () => c?.(e[l(274)]),
142
- children: [u(n, { color: e[l(266)] }), u(t, {
143
- variant: l(264),
144
- tone: f(e[l(274)]),
145
- children: e[l(248)]
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(274)]))
141
+ }, e[l(367)]))
148
142
  });
149
143
  }
150
- export { h as ChartLegend, f 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
+ }