@iamfiro/design 0.3.2 → 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 (163) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/app-shell/AGENTS.md +99 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/lib/components/Accordion/Accordion2.js +74 -74
  6. package/lib/components/ActionBar/ActionBar2.js +44 -42
  7. package/lib/components/Alert/Alert2.js +67 -67
  8. package/lib/components/AppShell/AppShell2.js +72 -66
  9. package/lib/components/AreaChart/AreaChart.js +45 -45
  10. package/lib/components/BarChart/BarChart2.js +128 -128
  11. package/lib/components/BarList/BarList2.js +105 -105
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
  13. package/lib/components/Calendar/Calendar2.js +197 -197
  14. package/lib/components/Calendar/DatePicker2.js +100 -100
  15. package/lib/components/Calendar/date.js +47 -70
  16. package/lib/components/Card/Card2.js +101 -74
  17. package/lib/components/CardFrame/CardFrame2.js +52 -56
  18. package/lib/components/Chart/ChartParts.js +88 -88
  19. package/lib/components/Chart/chart2.js +63 -63
  20. package/lib/components/Chart/useChartInteraction.js +43 -43
  21. package/lib/components/ChatBubble/ChatBubble2.js +111 -111
  22. package/lib/components/ChatBubble/formatChatTime.js +38 -43
  23. package/lib/components/ChatComposer/ChatComposer2.js +96 -96
  24. package/lib/components/CodeBlock/CodeBlock2.js +65 -65
  25. package/lib/components/CodeBlock/highlight.js +84 -84
  26. package/lib/components/ColorPicker/ColorPicker2.js +263 -263
  27. package/lib/components/ColorPicker/color.js +92 -92
  28. package/lib/components/ColorPicker/presets.js +35 -39
  29. package/lib/components/Combobox/Combobox2.js +134 -134
  30. package/lib/components/CommandMenu/CommandMenu.js +130 -131
  31. package/lib/components/Comment/Comment2.js +64 -63
  32. package/lib/components/ContextMenu/ContextMenu2.js +84 -84
  33. package/lib/components/DataGrid/DataGrid2.js +1182 -1180
  34. package/lib/components/DataGrid/GridPopover.js +84 -84
  35. package/lib/components/DataGrid/anchor.js +29 -28
  36. package/lib/components/DataGrid/model.js +308 -307
  37. package/lib/components/DataGrid/panels.js +398 -399
  38. package/lib/components/DataGrid/typeMeta.js +41 -40
  39. package/lib/components/DataGrid/types.js +39 -40
  40. package/lib/components/DescriptionList/DescriptionList2.js +105 -105
  41. package/lib/components/Dialog/AlertDialog.js +90 -89
  42. package/lib/components/Dialog/Dialog2.js +71 -72
  43. package/lib/components/Dialog/modal.js +62 -60
  44. package/lib/components/Drawer/Drawer2.js +167 -166
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
  46. package/lib/components/DropdownMenu/menuCore.js +29 -28
  47. package/lib/components/Dropzone/Dropzone2.js +78 -77
  48. package/lib/components/EmptyState/EmptyState2.js +57 -57
  49. package/lib/components/FileChip/FileChip2.js +53 -77
  50. package/lib/components/FileUpload/FileUpload.js +168 -167
  51. package/lib/components/FilterChips/FilterChips2.js +60 -60
  52. package/lib/components/FunnelChart/FunnelChart2.js +174 -174
  53. package/lib/components/FunnelChart/funnel.js +44 -42
  54. package/lib/components/Highlight/Highlight2.js +55 -55
  55. package/lib/components/HoverCard/HoverCard.js +71 -96
  56. package/lib/components/InlineDiff/InlineDiff2.js +128 -129
  57. package/lib/components/InlineDiff/diff.js +79 -79
  58. package/lib/components/InlineDiff/useDiffReview.js +61 -62
  59. package/lib/components/Kanban/Kanban2.js +387 -389
  60. package/lib/components/Kanban/KanbanCard.js +84 -84
  61. package/lib/components/Kanban/move.js +32 -25
  62. package/lib/components/LineChart/LineChart2.js +228 -228
  63. package/lib/components/List/List2.js +62 -62
  64. package/lib/components/Listbox/Listbox2.js +92 -92
  65. package/lib/components/Marker/Marker2.js +50 -56
  66. package/lib/components/Menubar/Menubar2.js +117 -116
  67. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
  69. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  70. package/lib/components/NumberStepper/NumberStepper2.js +60 -60
  71. package/lib/components/OtpInput/OtpInput2.js +90 -89
  72. package/lib/components/Pagination/Pagination2.js +105 -105
  73. package/lib/components/Pagination/paginationRange.js +37 -37
  74. package/lib/components/PhoneInput/PhoneInput.js +75 -76
  75. package/lib/components/PieChart/PieChart2.js +166 -166
  76. package/lib/components/PieChart/arc.js +71 -69
  77. package/lib/components/PieChart/useArcTween.js +60 -62
  78. package/lib/components/Popover/Popover2.js +85 -86
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
  80. package/lib/components/Rating/Rating2.js +90 -89
  81. package/lib/components/Resizable/Resizable2.js +128 -129
  82. package/lib/components/Resizable/layout.js +51 -51
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
  84. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  85. package/lib/components/ScatterChart/scatter.js +49 -52
  86. package/lib/components/ScrollArea/ScrollArea2.js +115 -117
  87. package/lib/components/Select/Select2.js +82 -82
  88. package/lib/components/Sidebar/Sidebar2.js +91 -85
  89. package/lib/components/Sidebar/rail.js +43 -0
  90. package/lib/components/Skeleton/Skeleton2.js +63 -64
  91. package/lib/components/Slider/Slider2.js +65 -66
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
  93. package/lib/components/SparkChart/SparkChart2.js +126 -127
  94. package/lib/components/SparkChart/spark.js +66 -42
  95. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  96. package/lib/components/SplitView/SplitView2.js +51 -51
  97. package/lib/components/Stat/Stat2.js +79 -79
  98. package/lib/components/StepList/StepList2.js +75 -75
  99. package/lib/components/Table/Table2.js +71 -71
  100. package/lib/components/Tabs/Tabs2.js +74 -74
  101. package/lib/components/TagInput/TagInput2.js +223 -221
  102. package/lib/components/TimePicker/TimePicker2.js +197 -195
  103. package/lib/components/TimePicker/time.js +59 -56
  104. package/lib/components/Timeline/Timeline2.js +195 -195
  105. package/lib/components/Timeline/scale.js +64 -66
  106. package/lib/components/Toast/Toaster.js +139 -139
  107. package/lib/components/Toast/store.js +72 -76
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  109. package/lib/components/Toolbar/Toolbar2.js +165 -164
  110. package/lib/components/Tracker/Tracker2.js +72 -72
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
  112. package/lib/components/TreeView/TreeView2.js +152 -151
  113. package/lib/hooks/timing.js +34 -36
  114. package/lib/hooks/useControllableState.js +29 -30
  115. package/lib/hooks/useCountdown.js +51 -53
  116. package/lib/hooks/useDigitInput.js +81 -55
  117. package/lib/hooks/useDismiss.js +53 -56
  118. package/lib/hooks/useElapsed.js +48 -49
  119. package/lib/hooks/useFloating.js +36 -36
  120. package/lib/hooks/useFocusTrap.js +32 -32
  121. package/lib/hooks/usePresence.js +49 -49
  122. package/lib/hooks/usePressToOpen.js +40 -40
  123. package/lib/hooks/useScrollLock.js +50 -49
  124. package/lib/hooks/useSelection.js +42 -47
  125. package/lib/index.js +138 -139
  126. package/lib/primitives/AspectRatio2.js +58 -57
  127. package/lib/primitives/BrandIcon.js +210 -179
  128. package/lib/primitives/ColorDot2.js +42 -41
  129. package/lib/primitives/CopyButton2.js +59 -58
  130. package/lib/primitives/CountBadge2.js +58 -63
  131. package/lib/primitives/Countdown2.js +38 -37
  132. package/lib/primitives/Delta2.js +37 -37
  133. package/lib/primitives/Elapsed.js +42 -40
  134. package/lib/primitives/FileIcon2.js +102 -102
  135. package/lib/primitives/Flag2.js +124 -124
  136. package/lib/primitives/IconStack2.js +45 -23
  137. package/lib/primitives/IconTile2.js +45 -41
  138. package/lib/primitives/Kbd2.js +48 -48
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +40 -42
  141. package/lib/primitives/MaskedText2.js +50 -50
  142. package/lib/primitives/Progress2.js +78 -77
  143. package/lib/primitives/RelativeTime.js +55 -58
  144. package/lib/primitives/SearchInput2.js +72 -68
  145. package/lib/primitives/SelectorButton2.js +60 -61
  146. package/lib/primitives/Spinner2.js +48 -49
  147. package/lib/primitives/StatusIcon2.js +69 -69
  148. package/lib/primitives/Swatch2.js +65 -69
  149. package/lib/primitives/Tooltip2.js +92 -92
  150. package/lib/primitives/Typography2.js +37 -37
  151. package/lib/primitives/formatCountdown.js +38 -38
  152. package/lib/primitives/formatElapsed.js +43 -45
  153. package/lib/primitives/formatRelativeTime.js +54 -54
  154. package/lib/primitives/hotkey.js +77 -77
  155. package/lib/primitives/index.js +162 -161
  156. package/lib/primitives/maskValue.js +54 -51
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  159. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  160. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  161. package/lib/types/components/index.d.ts +1 -0
  162. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  163. package/package.json +1 -1
@@ -1,100 +1,100 @@
1
1
  "use client";
2
- const e = s;
2
+ const e = _;
3
3
  (function(e, t) {
4
- let n = s, r = e();
4
+ let n = _, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(356)) / 1 + -parseInt(n(335)) / 2 * (-parseInt(n(343)) / 3) + parseInt(n(350)) / 4 * (parseInt(n(337)) / 5) + parseInt(n(359)) / 6 * (-parseInt(n(361)) / 7) + -parseInt(n(360)) / 8 * (parseInt(n(347)) / 9) + -parseInt(n(345)) / 10 + parseInt(n(362)) / 11 * (parseInt(n(342)) / 12) == t) break;
6
+ if (-parseInt(n(374)) / 1 * (parseInt(n(387)) / 2) + parseInt(n(381)) / 3 * (-parseInt(n(365)) / 4) + -parseInt(n(368)) / 5 + parseInt(n(386)) / 6 + parseInt(n(373)) / 7 + parseInt(n(375)) / 8 + parseInt(n(383)) / 9 * (parseInt(n(367)) / 10) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(i, 725798);
12
- import { Text as t } from "../../primitives/Typography2.js";
13
- import { Inline as n, Stack as r } from "../../primitives/Layout2.js";
14
- function i() {
15
- let e = /* @__PURE__ */ "zhmTAgLNAgXPz2H0x19ZCG.BwfUDwfS.mJCZmNv2vNzcEq.zhmTAgLNAgXPz2H0.mtvgre9fDhq.zhmTAgLNAgXPz2H0x190AxrSzs0T.ywX3yxLZ.zhmTAgLNAgXPz2H0ls0.zgfUz2vY.mtGZntuXmtzODK1tzNG.ntiYwLD0uhHp.zhmTAgLNAgXPz2H0x190AxrSzq.mtiWnZCYnZbdruv1ww8.B3zLCMXPBMu.mJDiAxfSCvi.B3bLBG.C3rYAw5N.ode1mtqWzvP6B1ni.BwfYAW.Ag92zxi.C3bHBG.zgL2.D2fYBMLUzW.otK3odG1DuPUt1Ps.zhmTAgLNAgXPz2H0ls1UB3rLza.ywnJzw50.nZe0DejHEwT2.mtm3ndG1nMThyNDbBG.mJCXmZjWrfLlrK0.mJjsvMvLwvO.y2XVC2vK".split(".");
16
- return i = function() {
11
+ })(t, 732562);
12
+ function t() {
13
+ let e = /* @__PURE__ */ "zgfUz2vY.mJK5mty4mxLcz1HJsW.muDowM9ftG.mte0mtG0mdH0v2DbwwO.Ag92zxi.zhmTAgLNAgXPz2H0x190AxrSzs0T.zhmTAgLNAgXPz2H0.ywnJzw50.zhmTAgLNAgXPz2H0ls0.mtvKEhvABNi.BwfUDwfS.mZi4nuvYt1bTzW.zhmTAgLNAgXPz2H0x19ZCG.B3zLCMXPBMu.nJCWoda0oe5Nq3vYrq.mtG4nJG2nMTcDxfhCq.B3bLBG.C3rYAw5N.BwfYAW.yM9KEs1ZBq.C3rHCNq.ywX3yxLZ.odm3mdC2tgPNzgXp.C3bHBG.mty0nZb3tfnkqMG.ndi1nZuZnufXCfjZAG.zhmTAgLNAgXPz2H0ls1UB3rLza.y2XVC2vK.zhmTAgLNAgXPz2H0x190AxrSzq".split(".");
14
+ return t = function() {
17
15
  return e;
18
- }, i();
16
+ }, t();
19
17
  }
18
+ import { Text as n } from "../../primitives/Typography2.js";
19
+ import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
20
20
  import { useControllableState as a } from "../../hooks/useControllableState.js";
21
21
  import { cx as o } from "../../primitives/index.js";
22
- function s(e, t) {
23
- e -= 335;
24
- let n = i(), r = n[e];
25
- s.NIytHh === void 0 && (s.BUYDTA = function(e) {
22
+ import { Popover as s } from "../Popover/Popover2.js";
23
+ /* empty css */
24
+ import { useId as c } from "react";
25
+ import { CircleAlert as l, Info as u, TriangleAlert as d } from "lucide-react";
26
+ import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
27
+ var h = {
28
+ warning: "warning",
29
+ accent: e(379),
30
+ danger: e(372)
31
+ }, g = {
32
+ warning: p(d, {}),
33
+ danger: p(l, {}),
34
+ accent: p(u, {})
35
+ };
36
+ function _(e, n) {
37
+ e -= 362;
38
+ let r = t(), i = r[e];
39
+ _.yWSNNY === void 0 && (_.pvnyVW = function(e) {
26
40
  let t = "", n = "";
27
41
  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);
28
42
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
29
43
  return decodeURIComponent(n);
30
- }, s.msQdkZ = {}, s.NIytHh = !0);
31
- let a = n[0];
32
- s.MXWPwW !== a && (s.msQdkZ = {}, s.MXWPwW = a);
33
- let o = s.msQdkZ[e];
34
- return o === void 0 ? (r = s.BUYDTA(r), s.msQdkZ[e] = r) : r = o, r;
44
+ }, _.pOhKPB = {}, _.yWSNNY = !0);
45
+ let a = r[0];
46
+ _.uOcksh !== a && (_.pOhKPB = {}, _.uOcksh = a);
47
+ let o = _.pOhKPB[e];
48
+ return o === void 0 ? (i = _.pvnyVW(i), _.pOhKPB[e] = i) : i = o, i;
35
49
  }
36
- import { Popover as c } from "../Popover/Popover2.js";
37
- /* empty css */
38
- import { useId as l } from "react";
39
- import { CircleAlert as u, Info as d, TriangleAlert as f } from "lucide-react";
40
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
41
- var g = {
42
- warning: e(355),
43
- accent: e(358),
44
- danger: e(341)
45
- }, _ = {
46
- warning: m(f, {}),
47
- danger: m(u, {}),
48
- accent: m(d, {})
49
- };
50
- function v({ children: i, tone: s = e(355), note: u, noteTitle: d, noteIcon: f, noteFooter: v, openOn: y = "hover", open: b, defaultOpen: x = !1, onOpenChange: S, noteWidth: C = 280, align: w = "start", className: T, style: E }) {
51
- let D = e, O = l(), [k, A] = a(b, x, S), j = u != null, M = y === D(339), N = m(D(351), {
52
- className: o(D(336), D(340) + s, j && D(357), T),
50
+ function v({ children: t, tone: l = "warning", note: u, noteTitle: d, noteIcon: _, noteFooter: v, openOn: y = "hover", open: b, defaultOpen: x = !1, onOpenChange: S, noteWidth: C = 280, align: w = e(363), className: T, style: E }) {
51
+ let D = e, O = c(), [k, A] = a(b, x, S), j = u != null, M = y === D(364), N = p(D(390), {
52
+ className: o(D(378), D(380) + l, j && D(369), T),
53
53
  style: E,
54
54
  tabIndex: j ? 0 : void 0,
55
55
  "aria-describedby": j ? O : void 0,
56
- "data-state": j ? D(M || k ? 348 : 363) : void 0,
56
+ "data-state": j ? D(M || k ? 388 : 370) : void 0,
57
57
  onClick: j && !M && !k ? () => A(!0) : void 0,
58
- children: i
58
+ children: t
59
59
  });
60
60
  if (!j) return N;
61
- let P = h(r, {
61
+ let P = m(i, {
62
62
  gap: 2,
63
- children: [h(r, {
63
+ children: [m(i, {
64
64
  gap: 1,
65
- children: [h(n, {
65
+ children: [m(r, {
66
66
  gap: 1,
67
67
  wrap: !1,
68
- className: o(D(344), D(338) + s),
69
- children: [f ?? _[s], d != null && m(t, {
70
- variant: D(346),
71
- tone: g[s],
68
+ className: o(D(371), D(377) + l),
69
+ children: [_ ?? g[l], d != null && p(n, {
70
+ variant: D(385),
71
+ tone: h[l],
72
72
  children: d
73
73
  })]
74
- }), m(t, {
75
- as: D(354),
76
- variant: "body-sm",
74
+ }), p(n, {
75
+ as: "div",
76
+ variant: D(362),
77
77
  children: u
78
78
  })]
79
- }), v != null && m(n, {
79
+ }), v != null && p(r, {
80
80
  gap: 1,
81
81
  children: v
82
82
  })]
83
83
  });
84
- return h(p, { children: [m(c, {
84
+ return m(f, { children: [p(s, {
85
85
  trigger: N,
86
- openOn: D(M ? 365 : 352),
86
+ openOn: D(M ? 382 : 376),
87
87
  open: M ? !0 : k,
88
88
  onOpenChange: M ? void 0 : A,
89
89
  width: C,
90
90
  align: w,
91
91
  autoFocus: !1,
92
- "aria-label": typeof d === D(349) ? d : "메모",
92
+ "aria-label": typeof d === D(389) ? d : "메모",
93
93
  children: P
94
- }), h(D(353), {
94
+ }), m(D(366), {
95
95
  id: O,
96
- className: D(364),
97
- children: [d != null && h(p, { children: [d, ": "] }), u]
96
+ className: D(384),
97
+ children: [d != null && m(f, { children: [d, ": "] }), u]
98
98
  })] });
99
99
  }
100
100
  export { v as Highlight };
@@ -1,153 +1,122 @@
1
1
  "use client";
2
- const e = a;
2
+ const e = n;
3
3
  (function(e, t) {
4
- let n = a, r = e();
4
+ let r = n, i = e();
5
5
  for (;;) try {
6
- if (parseInt(n(376)) / 1 + parseInt(n(359)) / 2 + -parseInt(n(357)) / 3 + parseInt(n(356)) / 4 * (parseInt(n(374)) / 5) + -parseInt(n(358)) / 6 + -parseInt(n(369)) / 7 * (-parseInt(n(373)) / 8) + parseInt(n(361)) / 9 == t) break;
7
- r.push(r.shift());
6
+ if (-parseInt(r(240)) / 1 * (-parseInt(r(234)) / 2) + parseInt(r(237)) / 3 * (-parseInt(r(242)) / 4) + parseInt(r(235)) / 5 * (parseInt(r(256)) / 6) + parseInt(r(225)) / 7 * (-parseInt(r(230)) / 8) + -parseInt(r(238)) / 9 + -parseInt(r(231)) / 10 * (parseInt(r(229)) / 11) + parseInt(r(227)) / 12 * (parseInt(r(241)) / 13) == t) break;
7
+ i.push(i.shift());
8
8
  } catch {
9
- r.push(r.shift());
9
+ i.push(i.shift());
10
10
  }
11
- })(t, 648803);
12
- function t() {
13
- let e = [
14
- "nJGYodm1AufWEw5J",
15
- "Ag92zxi",
16
- "mZm4ndu5EuDXyMPx",
17
- "y2fWDgLVBG",
18
- "y3vYCMvUDa",
19
- "nduL",
20
- "mtjMC1DLBge",
21
- "mJi3mtmXmNPYBu1VBG",
22
- "nJi1nJe1mKrLBgDqtG",
23
- "mtC1nJGWoezpt0zdrq",
24
- "AxnbCNjHEq",
25
- "mtaXnJKXtu9ozvDx",
26
- "C2vJB25Kyxj5",
27
- "yM9KEs1ZBq",
28
- "BgfIzwW",
29
- "BwfW",
30
- "DgfW",
31
- "ChjLDMvUDerLzMf1Bhq",
32
- "C3rHCNq",
33
- "nZa5mZK0EKHZEvP5",
34
- "Bw91C2u",
35
- "Dg91y2G",
36
- "C3rYAw5N",
37
- "nJrxrNzIqvO"
38
- ];
39
- return t = function() {
40
- return e;
41
- }, t();
42
- }
43
- import { Text as n } from "../../primitives/Typography2.js";
44
- import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
45
- function a(e, n) {
46
- e -= 353;
47
- let r = t(), i = r[e];
48
- a.mnAeHJ === void 0 && (a.dmTFZM = function(e) {
11
+ })(m, 441509);
12
+ import { Text as t } from "../../primitives/Typography2.js";
13
+ function n(e, t) {
14
+ e -= 225;
15
+ let r = m(), i = r[e];
16
+ n.jUYeDf === void 0 && (n.HnfaEj = function(e) {
49
17
  let t = "", n = "";
50
18
  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);
51
19
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
52
20
  return decodeURIComponent(n);
53
- }, a.vBudpy = {}, a.mnAeHJ = !0);
54
- let o = r[0];
55
- a.wKzRZp !== o && (a.vBudpy = {}, a.wKzRZp = o);
56
- let s = a.vBudpy[e];
57
- return s === void 0 ? (i = a.dmTFZM(i), a.vBudpy[e] = i) : i = s, i;
21
+ }, n.VrVVIA = {}, n.jUYeDf = !0);
22
+ let a = r[0];
23
+ n.OAOQJu !== a && (n.VrVVIA = {}, n.OAOQJu = a);
24
+ let o = n.VrVVIA[e];
25
+ return o === void 0 ? (i = n.HnfaEj(i), n.VrVVIA[e] = i) : i = o, i;
58
26
  }
59
- import { useControllableState as o } from "../../hooks/useControllableState.js";
60
- import { Skeleton as s, SkeletonCircle as c, SkeletonText as l } from "../Skeleton/Skeleton2.js";
61
- import { Popover as u } from "../Popover/Popover2.js";
62
- import { useRef as d } from "react";
63
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
64
- function m({ trigger: t, media: a, leading: m, title: h, subtitle: g, description: _, meta: v, children: y, actions: b, loading: x = !1, open: S, defaultOpen: C = !1, onOpenChange: w, align: T = e(368), width: E = 320, touch: D = "tap", "aria-label": O, className: k }) {
65
- let A = e, [j, M] = o(S, C, w), N = d(A(370)), P = (e) => {
27
+ import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
28
+ import { useControllableState as a } from "../../hooks/useControllableState.js";
29
+ import { Skeleton as o, SkeletonCircle as s, SkeletonText as c } from "../Skeleton/Skeleton2.js";
30
+ import { Popover as l } from "../Popover/Popover2.js";
31
+ import { useRef as u } from "react";
32
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
33
+ function p({ trigger: n, media: p, leading: m, title: h, subtitle: g, description: _, meta: v, children: y, actions: b, loading: x = !1, open: S, defaultOpen: C = !1, onOpenChange: w, align: T = "start", width: E = 320, touch: D = e(243), "aria-label": O, className: k }) {
34
+ let A = e, [j, M] = a(S, C, w), N = u(A(254)), P = (e) => {
66
35
  let t = A;
67
- D !== t(366) || N.current !== t(371) || j || (e[t(367)](), e.stopPropagation(), M(!0));
68
- }, F = (m || h || g) && p(r, {
36
+ D !== t(243) || N[t(228)] !== t(236) || j || (e[t(257)](), e[t(252)](), M(!0));
37
+ }, F = (m || h || g) && f(r, {
69
38
  gap: 3,
70
39
  wrap: !1,
71
- children: [m, p(i, {
40
+ children: [m, f(i, {
72
41
  gap: 0,
73
42
  style: {
74
43
  minWidth: 0,
75
44
  flex: 1
76
45
  },
77
- children: [h && f(n, {
78
- variant: "label-lg",
46
+ children: [h && d(t, {
47
+ variant: A(247),
79
48
  truncate: !0,
80
49
  children: h
81
- }), g && f(n, {
82
- variant: A(363),
83
- tone: A(362),
50
+ }), g && d(t, {
51
+ variant: "body-sm",
52
+ tone: A(239),
84
53
  truncate: !0,
85
54
  children: g
86
55
  })]
87
56
  })]
88
- }), I = v != null && (Array[A(360)](v) ? f(r, {
57
+ }), I = v != null && (Array[A(232)](v) ? d(r, {
89
58
  gap: 3,
90
- children: v[A(365)]((e, t) => f(n, {
91
- as: "span",
92
- variant: A(353),
93
- tone: "secondary",
94
- children: p(r, {
95
- as: "span",
59
+ children: v[A(250)]((e, n) => d(t, {
60
+ as: A(245),
61
+ variant: "caption",
62
+ tone: A(239),
63
+ children: f(r, {
64
+ as: A(245),
96
65
  gap: 1,
97
66
  wrap: !1,
98
- children: [e.icon, e[A(364)]]
67
+ children: [e[A(233)], e[A(246)]]
99
68
  })
100
- }, t))
69
+ }, n))
101
70
  }) : v);
102
- return f("span", {
103
- style: { display: "contents" },
104
- onPointerDown: (e) => N[A(354)] = e.pointerType,
71
+ return d(A(245), {
72
+ style: { display: A(249) },
73
+ onPointerDown: (e) => N.current = e[A(255)],
105
74
  onClickCapture: P,
106
- children: f(u, {
107
- openOn: A(375),
75
+ children: d(l, {
76
+ openOn: A(244),
108
77
  open: j,
109
78
  onOpenChange: M,
110
79
  align: T,
111
80
  width: E,
112
81
  autoFocus: !1,
113
- "aria-label": O ?? (typeof h === A(372) ? h : void 0),
82
+ "aria-label": O ?? (typeof h === A(248) ? h : void 0),
114
83
  className: k,
115
- trigger: t,
116
- children: x ? p(i, {
84
+ trigger: n,
85
+ children: x ? f(i, {
117
86
  gap: 3,
118
- "aria-busy": "true",
119
- children: [p(r, {
87
+ "aria-busy": A(226),
88
+ children: [f(r, {
120
89
  gap: 3,
121
90
  wrap: !1,
122
- children: [f(c, { size: 40 }), p(i, {
91
+ children: [d(s, { size: 40 }), f(i, {
123
92
  gap: 2,
124
93
  style: { flex: 1 },
125
- children: [f(s, {
126
- width: A(355),
94
+ children: [d(o, {
95
+ width: "45%",
127
96
  height: 14
128
- }), f(s, {
129
- width: "70%",
97
+ }), d(o, {
98
+ width: A(253),
130
99
  height: 12
131
100
  })]
132
101
  })]
133
- }), f(l, {
102
+ }), d(c, {
134
103
  lines: 2,
135
- variant: A(363)
104
+ variant: A(251)
136
105
  })]
137
- }) : p(i, {
106
+ }) : f(i, {
138
107
  gap: 3,
139
108
  children: [
140
- a,
109
+ p,
141
110
  F,
142
- _ && f(n, {
143
- variant: A(363),
144
- tone: A(362),
111
+ _ && d(t, {
112
+ variant: "body-sm",
113
+ tone: A(239),
145
114
  lineClamp: 3,
146
115
  children: _
147
116
  }),
148
117
  I,
149
118
  y,
150
- b && f(r, {
119
+ b && d(r, {
151
120
  gap: 2,
152
121
  children: b
153
122
  })
@@ -156,4 +125,10 @@ function m({ trigger: t, media: a, leading: m, title: h, subtitle: g, descriptio
156
125
  })
157
126
  });
158
127
  }
159
- export { m as HoverCard };
128
+ export { p as HoverCard };
129
+ function m() {
130
+ let e = /* @__PURE__ */ "Cg9PBNrLCLr5Cgu.nte2Agvjt2L2.ChjLDMvUDerLzMf1Bhq.mtmWmde2nMHXENDSyG.Dhj1zq.odrWv0DZuMe.y3vYCMvUDa.mtf1B3PiD04.mZjJsKjzChK.mZa0ntm5mfnVzffTBG.AxnbCNjHEq.AwnVBG.nJyYvNjtyNHH.ndmYnZb1t1HTDgW.Dg91y2G.ouLoAvP2Cq.nda0otu0mwfvu1DTrq.C2vJB25Kyxj5.mJq1ouHJDhnuva.mJm0mZK5murnr0joAW.mte3nte2neLbtKj0BG.DgfW.Ag92zxi.C3bHBG.BgfIzwW.BgfIzwWTBgC.C3rYAw5N.y29UDgvUDhm.BwfW.yM9KEs1ZBq.C3rVCfbYB3bHz2f0Aw9U.nZaL.Bw91C2u".split(".");
131
+ return m = function() {
132
+ return e;
133
+ }, m();
134
+ }