@iamfiro/design 0.3.2 → 0.3.4

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/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,103 +1,103 @@
1
1
  "use client";
2
- var e = c;
3
- (function(e, t) {
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
- r.push(r.shift());
2
+ var e = t;
3
+ function t(e, n) {
4
+ e -= 467;
5
+ var r = d(), i = r[e];
6
+ t.YHrYWd === void 0 && (t.oyAVYt = function(e) {
7
+ for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
8
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
9
+ return decodeURIComponent(r);
10
+ }, t.OkAjKO = {}, t.YHrYWd = !0);
11
+ var a = r[0];
12
+ t.lgIfxd !== a && (t.OkAjKO = {}, t.lgIfxd = a);
13
+ var o = t.OkAjKO[e];
14
+ return o === void 0 ? (i = t.oyAVYt(i), t.OkAjKO[e] = i) : i = o, i;
15
+ }
16
+ (function(e, n) {
17
+ for (var r = t, i = e();;) try {
18
+ if (parseInt(r(468)) / 1 + parseInt(r(483)) / 2 * (-parseInt(r(482)) / 3) + -parseInt(r(488)) / 4 * (-parseInt(r(471)) / 5) + parseInt(r(485)) / 6 + parseInt(r(491)) / 7 + -parseInt(r(479)) / 8 + parseInt(r(492)) / 9 == n) break;
19
+ i.push(i.shift());
7
20
  } catch {
8
- r.push(r.shift());
21
+ i.push(i.shift());
9
22
  }
10
- })(f, 280443);
11
- import { AspectRatio as t } from "../../primitives/AspectRatio2.js";
12
- import { cx as n } from "../../primitives/index.js";
23
+ })(d, 876967);
24
+ import { AspectRatio as n } from "../../primitives/AspectRatio2.js";
25
+ import { cx as r } from "../../primitives/index.js";
13
26
  /* empty css */
14
- import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
15
- function o({ as: t, variant: r = e(244), padding: a = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
27
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
28
+ function s({ as: t, variant: n = e(481), padding: i = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
16
29
  var d = e;
17
- return i(t ?? d(250), {
18
- className: n(d(254), "ds-card--" + r, d(236) + a, o && d(242), c),
30
+ return a(t ?? d(474), {
31
+ className: r(d(480), d(487) + n, d(484) + i, o && "ds-card--interactive", c),
19
32
  "data-selectable": s !== void 0 || void 0,
20
33
  "data-selected": s || void 0,
21
34
  ...u,
22
35
  children: l
23
36
  });
24
37
  }
25
- function s({ title: t, description: o, eyebrow: s, icon: c, actions: l, children: u, className: d }) {
38
+ function c({ title: t, description: n, eyebrow: s, icon: c, actions: l, children: u, className: d }) {
26
39
  var f = e;
27
- return a(f(250), {
28
- className: n(f(258), d),
40
+ return o("div", {
41
+ className: r(f(489), d),
29
42
  children: [
30
- c && i("div", {
43
+ c && a(f(474), {
31
44
  className: "ds-card__icon",
32
45
  children: c
33
46
  }),
34
- i(f(250), {
35
- className: f(237),
36
- children: u ?? a(r, { children: [
37
- s && i(f(250), {
38
- className: f(251),
47
+ a("div", {
48
+ className: f(486),
49
+ children: u ?? o(i, { children: [
50
+ s && a(f(474), {
51
+ className: f(472),
39
52
  children: s
40
53
  }),
41
- t && i(f(250), {
42
- className: f(249),
54
+ t && a(f(474), {
55
+ className: f(470),
43
56
  children: t
44
57
  }),
45
- o && i(f(250), {
46
- className: f(239),
47
- children: o
58
+ n && a(f(474), {
59
+ className: f(473),
60
+ children: n
48
61
  })
49
62
  ] })
50
63
  }),
51
- l && i(f(250), {
52
- className: f(243),
64
+ l && a("div", {
65
+ className: f(478),
53
66
  children: l
54
67
  })
55
68
  ]
56
69
  });
57
70
  }
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;
70
- }
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
71
+ function l({ children: e, className: t, style: n }) {
72
+ return a("div", {
73
+ className: r("ds-card__body", t),
74
+ style: n,
75
+ children: e
77
76
  });
78
77
  }
79
- function u({ children: t, align: r = "end", divided: a, band: o, className: s }) {
78
+ function u({ children: t, align: n = e(476), divided: i, band: o, className: s }) {
80
79
  var c = e;
81
- return i(c(250), {
82
- className: n(c(247), "ds-card__footer--" + r, a && c(232), o && c(234), s),
80
+ return a("div", {
81
+ className: r(c(490), c(477) + n, i && c(475), o && c(494), s),
83
82
  children: t
84
83
  });
85
84
  }
86
- function d({ children: r, ratio: a, className: o }) {
87
- return a === void 0 ? i("div", {
88
- className: n("ds-card__media", o),
89
- children: r
90
- }) : i(t, {
91
- ratio: a,
92
- className: n(e(245), o),
93
- children: r
94
- });
95
- }
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() {
85
+ function d() {
86
+ var e = /* @__PURE__ */ "rM9VDgvY.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.zhmTy2fYzf9FBwvKAwe.nJiYndeYrun0reTA.twvKAwe.zhmTy2fYzf9FDgL0Bgu.nxDOD3DusG.zhmTy2fYzf9FzxLLyNjVDW.zhmTy2fYzf9FzgvZy3jPChrPB24.zgL2.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.zw5K.zhmTy2fYzf9FzM9VDgvYls0.zhmTy2fYzf9Fywn0Aw9UCW.odG1mti4mhzJt1zMCG.zhmTy2fYza.zgvMyxvSDa.mZeWnZe1nhLivvvOCG.mLHYAuPSvG.zhmTy2fYzc0TCgfKlq.mtq2mJK0neDKwg9utW.zhmTy2fYzf9FAgvHzgLUzW.zhmTy2fYzc0T.mtq0nZK5nKz6zMfPCG.zhmTy2fYzf9FAgvHzgvY.zhmTy2fYzf9FzM9VDgvY.otu0mdm0ouTxAurfsa.mZG1mtu3n2jMs3Hita".split(".");
87
+ return d = function() {
100
88
  return e;
101
- }, f();
89
+ }, d();
90
+ }
91
+ function f({ children: t, ratio: i, className: o }) {
92
+ var s = e;
93
+ return i === void 0 ? a(s(474), {
94
+ className: r(s(467), o),
95
+ children: t
96
+ }) : a(n, {
97
+ ratio: i,
98
+ className: r(s(467), o),
99
+ children: t
100
+ });
102
101
  }
103
- export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, d as CardMedia };
102
+ s.Header = c, s.Body = l, s[e(493)] = u, s[e(469)] = f;
103
+ export { s as Card, l as CardBody, u as CardFooter, c as CardHeader, f as CardMedia };
@@ -1,72 +1,64 @@
1
1
  "use client";
2
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;
3
+ for (var r = n, i = e();;) try {
4
+ if (parseInt(r(416)) / 1 + parseInt(r(421)) / 2 + -parseInt(r(417)) / 3 + parseInt(r(422)) / 4 + -parseInt(r(415)) / 5 * (parseInt(r(420)) / 6) + parseInt(r(419)) / 7 + -parseInt(r(414)) / 8 == t) break;
5
5
  i.push(i.shift());
6
6
  } catch {
7
7
  i.push(i.shift());
8
8
  }
9
- })(a, 980048);
10
- import { cx as e } from "../../primitives/index.js";
9
+ })(e, 719928);
10
+ function e() {
11
+ var t = [
12
+ "zgL2",
13
+ "nJaXntyWogzRCLnPAq",
14
+ "mZi4nun3qMrmrq",
15
+ "mtiYndGYn2HWsu1Hsq",
16
+ "ndiYmti0m0XbsMzvuq",
17
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TAgvHzgvY",
18
+ "ntK2ntqWmhnjs25ftG",
19
+ "mti0ntb5DxzOrfy",
20
+ "mJu5mJa2nMfjz1Hesq",
21
+ "mZq3nJCWmeDLrwjxua"
22
+ ];
23
+ return e = function() {
24
+ return t;
25
+ }, e();
26
+ }
27
+ import { cx as t } from "../../primitives/index.js";
11
28
  /* 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) {
29
+ function n(t, r) {
30
+ t -= 413;
31
+ var i = e(), a = i[t];
32
+ n.PbSOjB === void 0 && (n.OcbzVZ = function(e) {
17
33
  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);
18
34
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
19
35
  return decodeURIComponent(r);
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;
36
+ }, n.FYBmnS = {}, n.PbSOjB = !0);
37
+ var o = i[0];
38
+ n.TrgQPn !== o && (n.FYBmnS = {}, n.TrgQPn = o);
39
+ var s = n.FYBmnS[t];
40
+ return s === void 0 ? (a = n.OcbzVZ(a), n.FYBmnS[t] = a) : a = s, a;
25
41
  }
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),
42
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
43
+ function a({ header: e, footer: a, children: o, className: s, ...c }) {
44
+ var l = n;
45
+ return i(l(413), {
46
+ className: t("ds-card-frame", s),
30
47
  ...c,
31
48
  children: [
32
- i != null && t(l(276), {
33
- className: l(281),
34
- children: i
49
+ e != null && r("div", {
50
+ className: l(418),
51
+ children: e
35
52
  }),
36
- t(l(276), {
37
- className: l(277),
53
+ r(l(413), {
54
+ className: "ds-card-frame__content",
38
55
  children: o
39
56
  }),
40
- a != null && t("div", {
41
- className: l(273),
57
+ a != null && r(l(413), {
58
+ className: "ds-card-frame__bar ds-card-frame__bar--footer",
42
59
  children: a
43
60
  })
44
61
  ]
45
62
  });
46
63
  }
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
- }
64
+ export { a as CardFrame };
@@ -1,66 +1,52 @@
1
1
  "use client";
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) {
7
- let t = "", n = "";
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);
9
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
- return decodeURIComponent(n);
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;
16
- }
17
- (function(e, n) {
18
- let r = t, i = e();
2
+ const e = m;
3
+ (function(e, t) {
4
+ let n = m, r = e();
19
5
  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());
6
+ if (parseInt(n(315)) / 1 * (-parseInt(n(334)) / 2) + -parseInt(n(325)) / 3 + -parseInt(n(314)) / 4 * (parseInt(n(327)) / 5) + -parseInt(n(321)) / 6 + parseInt(n(328)) / 7 + parseInt(n(317)) / 8 + parseInt(n(316)) / 9 == t) break;
7
+ r.push(r.shift());
22
8
  } catch {
23
- i.push(i.shift());
9
+ r.push(r.shift());
24
10
  }
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";
11
+ })(p, 500888);
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";
30
16
  /* empty css */
31
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
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),
17
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
18
+ function d({ title: e, leading: n, value: d, rows: p, footer: h }) {
19
+ let g = m;
20
+ return l(o, {
21
+ variant: g(319),
36
22
  padding: "sm",
37
- children: u(c, { children: d(o, {
23
+ children: l(s, { children: u(a, {
38
24
  gap: 2,
39
25
  children: [
40
- (e != null || r != null || f != null) && d(l, { children: [d(i, {
41
- justify: g(357),
26
+ (e != null || n != null || d != null) && u(c, { children: [u(r, {
27
+ justify: g(329),
42
28
  gap: 6,
43
29
  wrap: !1,
44
- children: [d(i, {
30
+ children: [u(r, {
45
31
  gap: 2,
46
32
  wrap: !1,
47
- children: [r, e != null && u(n, {
33
+ children: [n, e != null && l(t, {
48
34
  variant: "heading-xs",
49
- as: g(368),
35
+ as: "div",
50
36
  children: e
51
37
  })]
52
- }), f != null && u(n, {
53
- variant: g(364),
54
- as: g(368),
38
+ }), d != null && l(t, {
39
+ variant: g(326),
40
+ as: "div",
55
41
  numeric: !0,
56
- children: f
42
+ children: d
57
43
  })]
58
- }), u(a, {})] }),
59
- u(o, {
44
+ }), l(i, {})] }),
45
+ l(a, {
60
46
  gap: 1,
61
- children: m[g(344)]((e) => u(p, { row: e }, e[g(367)]))
47
+ children: p.map((e) => l(f, { row: e }, e.key))
62
48
  }),
63
- h && d(l, { children: [u(a, {}), u(p, {
49
+ h && u(c, { children: [l(i, {}), l(f, {
64
50
  row: h,
65
51
  strong: !0
66
52
  })] })
@@ -68,83 +54,97 @@ function f({ title: e, leading: r, value: f, rows: m, footer: h }) {
68
54
  }) })
69
55
  });
70
56
  }
71
- function p({ row: e, strong: a }) {
72
- let o = t;
73
- return d(i, {
74
- justify: o(357),
57
+ function f({ row: e, strong: i }) {
58
+ let a = m;
59
+ return u(r, {
60
+ justify: a(329),
75
61
  gap: 6,
76
62
  wrap: !1,
77
- children: [d(i, {
63
+ children: [u(r, {
78
64
  gap: 2,
79
65
  wrap: !1,
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)]
66
+ children: [!i && l(n, { color: e[a(323)] }), l(t, {
67
+ variant: a(313),
68
+ tone: i ? "default" : a(332),
69
+ children: e[a(320)]
84
70
  })]
85
- }), u(n, {
86
- variant: "label-sm",
71
+ }), l(t, {
72
+ variant: a(311),
87
73
  numeric: !0,
88
- children: e.value
74
+ children: e[a(336)]
89
75
  })]
90
76
  });
91
77
  }
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, {
78
+ function p() {
79
+ let e = /* @__PURE__ */ "mZK5AuzhBur0.mJaZmdm1mZjstKT4wNC.ntm1mJyWmeXlAuPTAG.A2v5.CMfPC2vK.BgfIzwW.ndC3oteWmNHfsLjgta.zw5K.y29SB3i.zgvMyxvSDa.mJe0mZaXngvYB2DkCa.AgvHzgLUzY14CW.ndGXmhz4y3LiuW.mZy1nJuYn1j0yxbOsG.yMv0D2vLBG.Aw5SAw5L.BgLZDa.C2vJB25Kyxj5.BwfW.mZiXogTTA0T3za.zgv0ywLS.DMfSDwu.BgfIzwWTC20.DgvYDgLHCNK.yM9KEs1ZBq.mZmWmfDLA3Hptq".split(".");
80
+ return p = function() {
81
+ return e;
82
+ }, p();
83
+ }
84
+ function m(e, t) {
85
+ e -= 311;
86
+ let n = p(), r = n[e];
87
+ m.tAKmiN === void 0 && (m.hVomOJ = function(e) {
88
+ let t = "", n = "";
89
+ 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);
90
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
91
+ return decodeURIComponent(n);
92
+ }, m.XmAPBS = {}, m.tAKmiN = !0);
93
+ let i = n[0];
94
+ m.vDEVdU !== i && (m.XmAPBS = {}, m.vDEVdU = i);
95
+ let a = m.XmAPBS[e];
96
+ return a === void 0 ? (r = m.hVomOJ(r), m.XmAPBS[e] = r) : r = a, r;
97
+ }
98
+ function h({ items: i, layout: o = e(330), focused: s = null, onFocusChange: c }) {
99
+ let d = e, f = (e) => d(s === null || s === e ? 332 : 312);
100
+ return o === d(331) ? l(a, {
95
101
  gap: 2,
96
102
  onPointerLeave: () => c?.(null),
97
- children: t[l(344)]((e) => d(i, {
98
- justify: l(357),
103
+ children: i[d(333)]((e) => u(r, {
104
+ justify: d(329),
99
105
  gap: 6,
100
106
  wrap: !1,
101
- onPointerEnter: () => c?.(e[l(367)]),
102
- children: [d(i, {
107
+ onPointerEnter: () => c?.(e[d(318)]),
108
+ children: [u(r, {
103
109
  gap: 2,
104
110
  wrap: !1,
105
- children: [u(r, { color: e.color }), u(n, {
106
- variant: l(366),
107
- tone: f(e[l(367)]),
108
- children: e[l(351)]
111
+ children: [l(n, { color: e[d(323)] }), l(t, {
112
+ variant: d(313),
113
+ tone: f(e[d(318)]),
114
+ children: e[d(320)]
109
115
  })]
110
- }), (e.value != null || e[l(347)] != null) && d(i, {
116
+ }), (e.value != null || e[d(335)] != null) && u(r, {
111
117
  gap: 4,
112
118
  wrap: !1,
113
- children: [e.value != null && u(n, {
114
- variant: l(341),
119
+ children: [e.value != null && l(t, {
120
+ variant: "label-sm",
115
121
  numeric: !0,
116
- tone: s === null || s === e[l(367)] ? l(359) : l(356),
117
- children: e[l(355)]
118
- }), e[l(347)] != null && u(n, {
122
+ tone: s === null || s === e[d(318)] ? d(324) : d(312),
123
+ children: e[d(336)]
124
+ }), e[d(335)] != null && l(t, {
119
125
  as: "span",
120
- variant: l(366),
126
+ variant: d(313),
121
127
  numeric: !0,
122
- align: "end",
123
- tone: "tertiary",
124
- className: l(343),
125
- children: e[l(347)]
128
+ align: d(322),
129
+ tone: d(312),
130
+ className: "ds-chart-legend__detail",
131
+ children: e[d(335)]
126
132
  })]
127
133
  })]
128
- }, e[l(367)]))
129
- }) : u(i, {
134
+ }, e.key))
135
+ }) : l(r, {
130
136
  gap: 4,
131
137
  onPointerLeave: () => c?.(null),
132
- children: t.map((e) => d(i, {
138
+ children: i[d(333)]((e) => u(r, {
133
139
  gap: 2,
134
140
  wrap: !1,
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)]
141
+ onPointerEnter: () => c?.(e.key),
142
+ children: [l(n, { color: e[d(323)] }), l(t, {
143
+ variant: d(313),
144
+ tone: f(e[d(318)]),
145
+ children: e[d(320)]
140
146
  })]
141
- }, e[l(367)]))
147
+ }, e[d(318)]))
142
148
  });
143
149
  }
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
- }
150
+ export { h as ChartLegend, d as ChartTooltip };