@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.
- package/agents/INDEX.md +1 -1
- package/agents/app-shell/AGENTS.md +99 -1
- package/agents/brand-icon/AGENTS.md +1 -1
- package/agents/social-login-button/AGENTS.md +4 -3
- package/lib/components/Accordion/Accordion2.js +74 -74
- package/lib/components/ActionBar/ActionBar2.js +44 -42
- package/lib/components/Alert/Alert2.js +67 -67
- package/lib/components/AppShell/AppShell2.js +72 -66
- package/lib/components/AreaChart/AreaChart.js +45 -45
- package/lib/components/BarChart/BarChart2.js +128 -128
- package/lib/components/BarList/BarList2.js +105 -105
- package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
- package/lib/components/Calendar/Calendar2.js +197 -197
- package/lib/components/Calendar/DatePicker2.js +100 -100
- package/lib/components/Calendar/date.js +47 -70
- package/lib/components/Card/Card2.js +101 -74
- package/lib/components/CardFrame/CardFrame2.js +52 -56
- package/lib/components/Chart/ChartParts.js +88 -88
- package/lib/components/Chart/chart2.js +63 -63
- package/lib/components/Chart/useChartInteraction.js +43 -43
- package/lib/components/ChatBubble/ChatBubble2.js +111 -111
- package/lib/components/ChatBubble/formatChatTime.js +38 -43
- package/lib/components/ChatComposer/ChatComposer2.js +96 -96
- package/lib/components/CodeBlock/CodeBlock2.js +65 -65
- package/lib/components/CodeBlock/highlight.js +84 -84
- package/lib/components/ColorPicker/ColorPicker2.js +263 -263
- package/lib/components/ColorPicker/color.js +92 -92
- package/lib/components/ColorPicker/presets.js +35 -39
- package/lib/components/Combobox/Combobox2.js +134 -134
- package/lib/components/CommandMenu/CommandMenu.js +130 -131
- package/lib/components/Comment/Comment2.js +64 -63
- package/lib/components/ContextMenu/ContextMenu2.js +84 -84
- package/lib/components/DataGrid/DataGrid2.js +1182 -1180
- package/lib/components/DataGrid/GridPopover.js +84 -84
- package/lib/components/DataGrid/anchor.js +29 -28
- package/lib/components/DataGrid/model.js +308 -307
- package/lib/components/DataGrid/panels.js +398 -399
- package/lib/components/DataGrid/typeMeta.js +41 -40
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +105 -105
- package/lib/components/Dialog/AlertDialog.js +90 -89
- package/lib/components/Dialog/Dialog2.js +71 -72
- package/lib/components/Dialog/modal.js +62 -60
- package/lib/components/Drawer/Drawer2.js +167 -166
- package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
- package/lib/components/DropdownMenu/menuCore.js +29 -28
- package/lib/components/Dropzone/Dropzone2.js +78 -77
- package/lib/components/EmptyState/EmptyState2.js +57 -57
- package/lib/components/FileChip/FileChip2.js +53 -77
- package/lib/components/FileUpload/FileUpload.js +168 -167
- package/lib/components/FilterChips/FilterChips2.js +60 -60
- package/lib/components/FunnelChart/FunnelChart2.js +174 -174
- package/lib/components/FunnelChart/funnel.js +44 -42
- package/lib/components/Highlight/Highlight2.js +55 -55
- package/lib/components/HoverCard/HoverCard.js +71 -96
- package/lib/components/InlineDiff/InlineDiff2.js +128 -129
- package/lib/components/InlineDiff/diff.js +79 -79
- package/lib/components/InlineDiff/useDiffReview.js +61 -62
- package/lib/components/Kanban/Kanban2.js +387 -389
- package/lib/components/Kanban/KanbanCard.js +84 -84
- package/lib/components/Kanban/move.js +32 -25
- package/lib/components/LineChart/LineChart2.js +228 -228
- package/lib/components/List/List2.js +62 -62
- package/lib/components/Listbox/Listbox2.js +92 -92
- package/lib/components/Marker/Marker2.js +50 -56
- package/lib/components/Menubar/Menubar2.js +117 -116
- package/lib/components/MultiSelect/MultiSelect2.js +111 -111
- package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
- package/lib/components/NoticeStack/NoticeStack2.js +99 -99
- package/lib/components/NumberStepper/NumberStepper2.js +60 -60
- package/lib/components/OtpInput/OtpInput2.js +90 -89
- package/lib/components/Pagination/Pagination2.js +105 -105
- package/lib/components/Pagination/paginationRange.js +37 -37
- package/lib/components/PhoneInput/PhoneInput.js +75 -76
- package/lib/components/PieChart/PieChart2.js +166 -166
- package/lib/components/PieChart/arc.js +71 -69
- package/lib/components/PieChart/useArcTween.js +60 -62
- package/lib/components/Popover/Popover2.js +85 -86
- package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
- package/lib/components/Rating/Rating2.js +90 -89
- package/lib/components/Resizable/Resizable2.js +128 -129
- package/lib/components/Resizable/layout.js +51 -51
- package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
- package/lib/components/ScatterChart/ScatterChart2.js +214 -213
- package/lib/components/ScatterChart/scatter.js +49 -52
- package/lib/components/ScrollArea/ScrollArea2.js +115 -117
- package/lib/components/Select/Select2.js +82 -82
- package/lib/components/Sidebar/Sidebar2.js +91 -85
- package/lib/components/Sidebar/rail.js +43 -0
- package/lib/components/Skeleton/Skeleton2.js +63 -64
- package/lib/components/Slider/Slider2.js +65 -66
- package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
- package/lib/components/SparkChart/SparkChart2.js +126 -127
- package/lib/components/SparkChart/spark.js +66 -42
- package/lib/components/Sparkbar/Sparkbar2.js +60 -60
- package/lib/components/SplitView/SplitView2.js +51 -51
- package/lib/components/Stat/Stat2.js +79 -79
- package/lib/components/StepList/StepList2.js +75 -75
- package/lib/components/Table/Table2.js +71 -71
- package/lib/components/Tabs/Tabs2.js +74 -74
- package/lib/components/TagInput/TagInput2.js +223 -221
- package/lib/components/TimePicker/TimePicker2.js +197 -195
- package/lib/components/TimePicker/time.js +59 -56
- package/lib/components/Timeline/Timeline2.js +195 -195
- package/lib/components/Timeline/scale.js +64 -66
- package/lib/components/Toast/Toaster.js +139 -139
- package/lib/components/Toast/store.js +72 -76
- package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
- package/lib/components/Toolbar/Toolbar2.js +165 -164
- package/lib/components/Tracker/Tracker2.js +72 -72
- package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
- package/lib/components/TreeView/TreeView2.js +152 -151
- package/lib/hooks/timing.js +34 -36
- package/lib/hooks/useControllableState.js +29 -30
- package/lib/hooks/useCountdown.js +51 -53
- package/lib/hooks/useDigitInput.js +81 -55
- package/lib/hooks/useDismiss.js +53 -56
- package/lib/hooks/useElapsed.js +48 -49
- package/lib/hooks/useFloating.js +36 -36
- package/lib/hooks/useFocusTrap.js +32 -32
- package/lib/hooks/usePresence.js +49 -49
- package/lib/hooks/usePressToOpen.js +40 -40
- package/lib/hooks/useScrollLock.js +50 -49
- package/lib/hooks/useSelection.js +42 -47
- package/lib/index.js +138 -139
- package/lib/primitives/AspectRatio2.js +58 -57
- package/lib/primitives/BrandIcon.js +210 -179
- package/lib/primitives/ColorDot2.js +42 -41
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +58 -63
- package/lib/primitives/Countdown2.js +38 -37
- package/lib/primitives/Delta2.js +37 -37
- package/lib/primitives/Elapsed.js +42 -40
- package/lib/primitives/FileIcon2.js +102 -102
- package/lib/primitives/Flag2.js +124 -124
- package/lib/primitives/IconStack2.js +45 -23
- package/lib/primitives/IconTile2.js +45 -41
- package/lib/primitives/Kbd2.js +48 -48
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +40 -42
- package/lib/primitives/MaskedText2.js +50 -50
- package/lib/primitives/Progress2.js +78 -77
- package/lib/primitives/RelativeTime.js +55 -58
- package/lib/primitives/SearchInput2.js +72 -68
- package/lib/primitives/SelectorButton2.js +60 -61
- package/lib/primitives/Spinner2.js +48 -49
- package/lib/primitives/StatusIcon2.js +69 -69
- package/lib/primitives/Swatch2.js +65 -69
- package/lib/primitives/Tooltip2.js +92 -92
- package/lib/primitives/Typography2.js +37 -37
- package/lib/primitives/formatCountdown.js +38 -38
- package/lib/primitives/formatElapsed.js +43 -45
- package/lib/primitives/formatRelativeTime.js +54 -54
- package/lib/primitives/hotkey.js +77 -77
- package/lib/primitives/index.js +162 -161
- package/lib/primitives/maskValue.js +54 -51
- package/lib/style.css +1 -1
- package/lib/types/components/AppShell/AppShell.d.ts +9 -2
- package/lib/types/components/Sidebar/rail.d.ts +4 -0
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
- package/lib/types/components/index.d.ts +1 -0
- package/lib/types/primitives/BrandIcon.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = _;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = _, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (-parseInt(n(
|
|
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
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function
|
|
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
|
-
},
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
},
|
|
31
|
-
let a =
|
|
32
|
-
|
|
33
|
-
let o =
|
|
34
|
-
return o === void 0 ? (
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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 ?
|
|
56
|
+
"data-state": j ? D(M || k ? 388 : 370) : void 0,
|
|
57
57
|
onClick: j && !M && !k ? () => A(!0) : void 0,
|
|
58
|
-
children:
|
|
58
|
+
children: t
|
|
59
59
|
});
|
|
60
60
|
if (!j) return N;
|
|
61
|
-
let P =
|
|
61
|
+
let P = m(i, {
|
|
62
62
|
gap: 2,
|
|
63
|
-
children: [
|
|
63
|
+
children: [m(i, {
|
|
64
64
|
gap: 1,
|
|
65
|
-
children: [
|
|
65
|
+
children: [m(r, {
|
|
66
66
|
gap: 1,
|
|
67
67
|
wrap: !1,
|
|
68
|
-
className: o(D(
|
|
69
|
-
children: [
|
|
70
|
-
variant: D(
|
|
71
|
-
tone:
|
|
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
|
-
}),
|
|
75
|
-
as:
|
|
76
|
-
variant:
|
|
74
|
+
}), p(n, {
|
|
75
|
+
as: "div",
|
|
76
|
+
variant: D(362),
|
|
77
77
|
children: u
|
|
78
78
|
})]
|
|
79
|
-
}), v != null &&
|
|
79
|
+
}), v != null && p(r, {
|
|
80
80
|
gap: 1,
|
|
81
81
|
children: v
|
|
82
82
|
})]
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return m(f, { children: [p(s, {
|
|
85
85
|
trigger: N,
|
|
86
|
-
openOn: D(M ?
|
|
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(
|
|
92
|
+
"aria-label": typeof d === D(389) ? d : "메모",
|
|
93
93
|
children: P
|
|
94
|
-
}),
|
|
94
|
+
}), m(D(366), {
|
|
95
95
|
id: O,
|
|
96
|
-
className: D(
|
|
97
|
-
children: [d != null &&
|
|
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 =
|
|
2
|
+
const e = n;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let
|
|
4
|
+
let r = n, i = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (parseInt(
|
|
7
|
-
|
|
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
|
-
|
|
9
|
+
i.push(i.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
},
|
|
54
|
-
let
|
|
55
|
-
|
|
56
|
-
let
|
|
57
|
-
return
|
|
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 {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
|
|
65
|
-
|
|
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(
|
|
68
|
-
}, F = (m || h || g) &&
|
|
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,
|
|
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 &&
|
|
78
|
-
variant:
|
|
46
|
+
children: [h && d(t, {
|
|
47
|
+
variant: A(247),
|
|
79
48
|
truncate: !0,
|
|
80
49
|
children: h
|
|
81
|
-
}), g &&
|
|
82
|
-
variant:
|
|
83
|
-
tone: A(
|
|
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(
|
|
57
|
+
}), I = v != null && (Array[A(232)](v) ? d(r, {
|
|
89
58
|
gap: 3,
|
|
90
|
-
children: v[A(
|
|
91
|
-
as:
|
|
92
|
-
variant:
|
|
93
|
-
tone:
|
|
94
|
-
children:
|
|
95
|
-
as:
|
|
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
|
|
67
|
+
children: [e[A(233)], e[A(246)]]
|
|
99
68
|
})
|
|
100
|
-
},
|
|
69
|
+
}, n))
|
|
101
70
|
}) : v);
|
|
102
|
-
return
|
|
103
|
-
style: { display:
|
|
104
|
-
onPointerDown: (e) => N[A(
|
|
71
|
+
return d(A(245), {
|
|
72
|
+
style: { display: A(249) },
|
|
73
|
+
onPointerDown: (e) => N.current = e[A(255)],
|
|
105
74
|
onClickCapture: P,
|
|
106
|
-
children:
|
|
107
|
-
openOn: A(
|
|
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(
|
|
82
|
+
"aria-label": O ?? (typeof h === A(248) ? h : void 0),
|
|
114
83
|
className: k,
|
|
115
|
-
trigger:
|
|
116
|
-
children: x ?
|
|
84
|
+
trigger: n,
|
|
85
|
+
children: x ? f(i, {
|
|
117
86
|
gap: 3,
|
|
118
|
-
"aria-busy":
|
|
119
|
-
children: [
|
|
87
|
+
"aria-busy": A(226),
|
|
88
|
+
children: [f(r, {
|
|
120
89
|
gap: 3,
|
|
121
90
|
wrap: !1,
|
|
122
|
-
children: [
|
|
91
|
+
children: [d(s, { size: 40 }), f(i, {
|
|
123
92
|
gap: 2,
|
|
124
93
|
style: { flex: 1 },
|
|
125
|
-
children: [
|
|
126
|
-
width:
|
|
94
|
+
children: [d(o, {
|
|
95
|
+
width: "45%",
|
|
127
96
|
height: 14
|
|
128
|
-
}),
|
|
129
|
-
width:
|
|
97
|
+
}), d(o, {
|
|
98
|
+
width: A(253),
|
|
130
99
|
height: 12
|
|
131
100
|
})]
|
|
132
101
|
})]
|
|
133
|
-
}),
|
|
102
|
+
}), d(c, {
|
|
134
103
|
lines: 2,
|
|
135
|
-
variant: A(
|
|
104
|
+
variant: A(251)
|
|
136
105
|
})]
|
|
137
|
-
}) :
|
|
106
|
+
}) : f(i, {
|
|
138
107
|
gap: 3,
|
|
139
108
|
children: [
|
|
140
|
-
|
|
109
|
+
p,
|
|
141
110
|
F,
|
|
142
|
-
_ &&
|
|
143
|
-
variant:
|
|
144
|
-
tone: A(
|
|
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 &&
|
|
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 {
|
|
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
|
+
}
|