@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.
- package/agents/INDEX.md +1 -1
- package/agents/brand-icon/AGENTS.md +1 -1
- package/agents/social-login-button/AGENTS.md +4 -3
- package/lib/components/Accordion/Accordion2.js +87 -87
- package/lib/components/ActionBar/ActionBar2.js +42 -44
- package/lib/components/Alert/Alert2.js +61 -61
- package/lib/components/AppShell/AppShell2.js +70 -71
- package/lib/components/AreaChart/AreaChart.js +38 -40
- package/lib/components/BarChart/BarChart2.js +126 -126
- package/lib/components/BarList/BarList2.js +95 -95
- package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
- package/lib/components/Calendar/Calendar2.js +164 -164
- package/lib/components/Calendar/DatePicker2.js +103 -102
- package/lib/components/Calendar/date.js +64 -66
- package/lib/components/Card/Card2.js +67 -67
- package/lib/components/CardFrame/CardFrame2.js +43 -51
- package/lib/components/Chart/ChartParts.js +94 -94
- package/lib/components/Chart/chart2.js +52 -52
- package/lib/components/Chart/useChartInteraction.js +54 -54
- package/lib/components/ChatBubble/ChatBubble2.js +92 -92
- package/lib/components/ChatBubble/formatChatTime.js +35 -41
- package/lib/components/ChatComposer/ChatComposer2.js +63 -63
- package/lib/components/CodeBlock/CodeBlock2.js +61 -61
- package/lib/components/CodeBlock/highlight.js +84 -84
- package/lib/components/ColorPicker/ColorPicker2.js +387 -386
- package/lib/components/ColorPicker/color.js +71 -71
- package/lib/components/ColorPicker/presets.js +41 -46
- package/lib/components/Combobox/Combobox2.js +117 -118
- package/lib/components/CommandMenu/CommandMenu.js +127 -127
- package/lib/components/Comment/Comment2.js +86 -60
- package/lib/components/ContextMenu/ContextMenu2.js +77 -75
- package/lib/components/DataGrid/DataGrid2.js +1192 -1190
- package/lib/components/DataGrid/GridPopover.js +94 -94
- package/lib/components/DataGrid/anchor.js +34 -31
- package/lib/components/DataGrid/model.js +284 -283
- package/lib/components/DataGrid/panels.js +398 -399
- package/lib/components/DataGrid/typeMeta.js +51 -50
- package/lib/components/DataGrid/types.js +38 -39
- package/lib/components/DescriptionList/DescriptionList2.js +103 -103
- package/lib/components/Dialog/AlertDialog.js +79 -78
- package/lib/components/Dialog/Dialog2.js +59 -59
- package/lib/components/Dialog/modal.js +44 -46
- package/lib/components/Drawer/Drawer2.js +130 -129
- package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
- package/lib/components/DropdownMenu/menuCore.js +69 -42
- package/lib/components/Dropzone/Dropzone2.js +79 -78
- package/lib/components/EmptyState/EmptyState2.js +34 -35
- package/lib/components/FileChip/FileChip2.js +73 -73
- package/lib/components/FileUpload/FileUpload.js +159 -159
- package/lib/components/FilterChips/FilterChips2.js +61 -61
- package/lib/components/FunnelChart/FunnelChart2.js +161 -161
- package/lib/components/FunnelChart/funnel.js +48 -44
- package/lib/components/Highlight/Highlight2.js +43 -43
- package/lib/components/HoverCard/HoverCard.js +59 -84
- package/lib/components/InlineDiff/InlineDiff2.js +112 -112
- package/lib/components/InlineDiff/diff.js +90 -90
- package/lib/components/InlineDiff/useDiffReview.js +64 -63
- package/lib/components/Kanban/Kanban2.js +386 -387
- package/lib/components/Kanban/KanbanCard.js +70 -95
- package/lib/components/Kanban/move.js +50 -46
- package/lib/components/LineChart/LineChart2.js +211 -211
- package/lib/components/List/List2.js +53 -54
- package/lib/components/Listbox/Listbox2.js +115 -115
- package/lib/components/Marker/Marker2.js +56 -61
- package/lib/components/Menubar/Menubar2.js +144 -141
- package/lib/components/MultiSelect/MultiSelect2.js +108 -108
- package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
- package/lib/components/NoticeStack/NoticeStack2.js +84 -84
- package/lib/components/NumberStepper/NumberStepper2.js +65 -66
- package/lib/components/OtpInput/OtpInput2.js +70 -69
- package/lib/components/Pagination/Pagination2.js +106 -106
- package/lib/components/Pagination/paginationRange.js +37 -39
- package/lib/components/PhoneInput/PhoneInput.js +87 -88
- package/lib/components/PieChart/PieChart2.js +160 -160
- package/lib/components/PieChart/arc.js +65 -62
- package/lib/components/PieChart/useArcTween.js +53 -60
- package/lib/components/Popover/Popover2.js +62 -62
- package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
- package/lib/components/Rating/Rating2.js +82 -81
- package/lib/components/Resizable/Resizable2.js +126 -127
- package/lib/components/Resizable/layout.js +73 -73
- package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
- package/lib/components/ScatterChart/ScatterChart2.js +214 -213
- package/lib/components/ScatterChart/scatter.js +47 -49
- package/lib/components/ScrollArea/ScrollArea2.js +117 -118
- package/lib/components/Select/Select2.js +78 -79
- package/lib/components/Sidebar/Sidebar2.js +69 -69
- package/lib/components/Skeleton/Skeleton2.js +57 -57
- package/lib/components/Slider/Slider2.js +73 -74
- package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
- package/lib/components/SparkChart/SparkChart2.js +145 -145
- package/lib/components/SparkChart/spark.js +64 -42
- package/lib/components/Sparkbar/Sparkbar2.js +60 -60
- package/lib/components/SplitView/SplitView2.js +51 -52
- package/lib/components/Stat/Stat2.js +90 -90
- package/lib/components/StepList/StepList2.js +70 -70
- package/lib/components/Table/Table2.js +70 -70
- package/lib/components/Tabs/Tabs2.js +81 -81
- package/lib/components/TagInput/TagInput2.js +220 -217
- package/lib/components/TimePicker/TimePicker2.js +187 -186
- package/lib/components/TimePicker/time.js +63 -62
- package/lib/components/Timeline/Timeline2.js +199 -199
- package/lib/components/Timeline/scale.js +67 -64
- package/lib/components/Toast/Toaster.js +100 -98
- package/lib/components/Toast/store.js +90 -94
- package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
- package/lib/components/Toolbar/Toolbar2.js +163 -161
- package/lib/components/Tracker/Tracker2.js +82 -82
- package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
- package/lib/components/TreeView/TreeView2.js +154 -152
- package/lib/hooks/timing.js +31 -30
- package/lib/hooks/useControllableState.js +37 -38
- package/lib/hooks/useCountdown.js +53 -56
- package/lib/hooks/useDigitInput.js +66 -41
- package/lib/hooks/useDismiss.js +55 -58
- package/lib/hooks/useElapsed.js +57 -55
- package/lib/hooks/useFloating.js +44 -44
- package/lib/hooks/useFocusTrap.js +70 -46
- package/lib/hooks/usePresence.js +23 -22
- package/lib/hooks/usePressToOpen.js +51 -51
- package/lib/hooks/useScrollLock.js +57 -58
- package/lib/hooks/useSelection.js +49 -52
- package/lib/index.js +65 -65
- package/lib/primitives/AspectRatio2.js +57 -57
- package/lib/primitives/BrandIcon.js +189 -158
- package/lib/primitives/ColorDot2.js +50 -45
- package/lib/primitives/CopyButton2.js +52 -50
- package/lib/primitives/CountBadge2.js +53 -55
- package/lib/primitives/Countdown2.js +28 -25
- package/lib/primitives/Delta2.js +41 -41
- package/lib/primitives/Elapsed.js +47 -47
- package/lib/primitives/FileIcon2.js +86 -86
- package/lib/primitives/Flag2.js +122 -122
- package/lib/primitives/IconStack2.js +55 -31
- package/lib/primitives/IconTile2.js +43 -43
- package/lib/primitives/Kbd2.js +55 -55
- package/lib/primitives/Layout2.js +78 -78
- package/lib/primitives/Link2.js +39 -36
- package/lib/primitives/MaskedText2.js +74 -52
- package/lib/primitives/Progress2.js +67 -66
- package/lib/primitives/RelativeTime.js +54 -61
- package/lib/primitives/SearchInput2.js +45 -45
- package/lib/primitives/SelectorButton2.js +72 -76
- package/lib/primitives/Spinner2.js +56 -56
- package/lib/primitives/StatusIcon2.js +63 -63
- package/lib/primitives/Swatch2.js +55 -61
- package/lib/primitives/Tooltip2.js +78 -78
- package/lib/primitives/Typography2.js +53 -53
- package/lib/primitives/formatCountdown.js +30 -29
- package/lib/primitives/formatElapsed.js +46 -49
- package/lib/primitives/formatRelativeTime.js +76 -50
- package/lib/primitives/hotkey.js +80 -80
- package/lib/primitives/index.js +169 -168
- package/lib/primitives/maskValue.js +55 -50
- package/lib/style.css +1 -1
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
- 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 = h;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = h, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (
|
|
6
|
+
if (parseInt(n(183)) / 1 + -parseInt(n(179)) / 2 + -parseInt(n(165)) / 3 + -parseInt(n(190)) / 4 + parseInt(n(185)) / 5 * (parseInt(n(176)) / 6) + -parseInt(n(186)) / 7 + -parseInt(n(170)) / 8 * (-parseInt(n(177)) / 9) == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(i,
|
|
11
|
+
})(i, 950576);
|
|
12
12
|
import { Text as t } from "../../primitives/Typography2.js";
|
|
13
13
|
import { Inline as n, Stack as r } from "../../primitives/Layout2.js";
|
|
14
14
|
function i() {
|
|
15
|
-
let e = /* @__PURE__ */ "
|
|
15
|
+
let e = /* @__PURE__ */ "C3bHBG.B3zLCMXPBMu.mZuYnJqXmMfmD2fUEG.nda4mZC5mMPgy0XlCq.B3bLBG.Ag92zxi.zhmTAgLNAgXPz2H0ls0.zhmTAgLNAgXPz2H0ls1UB3rLza.odKXnJiXnM5sqLPAEG.ywnJzw50.zhmTAgLNAgXPz2H0x19ZCG.zgfUz2vY.zhmTAgLNAgXPz2H0.zhmTAgLNAgXPz2H0x190AxrSzq.nte3oeDAswHiDW.mJDcq1HRrhG.zhmTAgLNAgXPz2H0x190AxrSzs0T.otG4odK4txnArwDU.zgL2.D2fYBMLUzW.BwfYAW.mta2otG1m2jmAgn1DG.C3rHCNq.ntu3mezxtxbzEq.mte4mdG0nJHLuKPoswW.y2XVC2vK".split(".");
|
|
16
16
|
return i = function() {
|
|
17
17
|
return e;
|
|
18
18
|
}, i();
|
|
19
19
|
}
|
|
20
20
|
import { useControllableState as a } from "../../hooks/useControllableState.js";
|
|
21
21
|
import { cx as o } from "../../primitives/index.js";
|
|
22
|
-
|
|
23
|
-
|
|
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
|
+
function h(e, t) {
|
|
28
|
+
e -= 165;
|
|
24
29
|
let n = i(), r = n[e];
|
|
25
|
-
|
|
30
|
+
h.ASCkwW === void 0 && (h.lxXoKE = function(e) {
|
|
26
31
|
let t = "", n = "";
|
|
27
32
|
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
33
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
29
34
|
return decodeURIComponent(n);
|
|
30
|
-
},
|
|
35
|
+
}, h.BXiSif = {}, h.ASCkwW = !0);
|
|
31
36
|
let a = n[0];
|
|
32
|
-
|
|
33
|
-
let o =
|
|
34
|
-
return o === void 0 ? (r =
|
|
37
|
+
h.JvVteT !== a && (h.BXiSif = {}, h.JvVteT = a);
|
|
38
|
+
let o = h.BXiSif[e];
|
|
39
|
+
return o === void 0 ? (r = h.lxXoKE(r), h.BXiSif[e] = r) : r = o, r;
|
|
35
40
|
}
|
|
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
41
|
var g = {
|
|
42
|
-
warning: e(
|
|
43
|
-
accent: e(
|
|
44
|
-
danger: e(
|
|
42
|
+
warning: e(181),
|
|
43
|
+
accent: e(171),
|
|
44
|
+
danger: e(173)
|
|
45
45
|
}, _ = {
|
|
46
|
-
warning:
|
|
47
|
-
danger:
|
|
48
|
-
accent:
|
|
46
|
+
warning: p(d, {}),
|
|
47
|
+
danger: p(l, {}),
|
|
48
|
+
accent: p(u, {})
|
|
49
49
|
};
|
|
50
|
-
function v({ children: i, tone:
|
|
51
|
-
let D = e, O =
|
|
52
|
-
className: o(D(
|
|
50
|
+
function v({ children: i, tone: l = e(181), note: u, noteTitle: d, noteIcon: h, noteFooter: v, openOn: y = e(167), open: b, defaultOpen: x = !1, onOpenChange: S, noteWidth: C = 280, align: w = e(184), className: T, style: E }) {
|
|
51
|
+
let D = e, O = c(), [k, A] = a(b, x, S), j = u != null, M = y === "always", N = p(D(182), {
|
|
52
|
+
className: o(D(174), D(168) + l, j && D(169), 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 ? 166 : 187) : void 0,
|
|
57
57
|
onClick: j && !M && !k ? () => A(!0) : void 0,
|
|
58
58
|
children: i
|
|
59
59
|
});
|
|
60
60
|
if (!j) return N;
|
|
61
|
-
let P =
|
|
61
|
+
let P = m(r, {
|
|
62
62
|
gap: 2,
|
|
63
|
-
children: [
|
|
63
|
+
children: [m(r, {
|
|
64
64
|
gap: 1,
|
|
65
|
-
children: [
|
|
65
|
+
children: [m(n, {
|
|
66
66
|
gap: 1,
|
|
67
67
|
wrap: !1,
|
|
68
|
-
className: o(D(
|
|
69
|
-
children: [
|
|
70
|
-
variant: D(
|
|
71
|
-
tone: g[
|
|
68
|
+
className: o(D(175), D(178) + l),
|
|
69
|
+
children: [h ?? _[l], d != null && p(t, {
|
|
70
|
+
variant: D(189),
|
|
71
|
+
tone: g[l],
|
|
72
72
|
children: d
|
|
73
73
|
})]
|
|
74
|
-
}),
|
|
75
|
-
as: D(
|
|
74
|
+
}), p(t, {
|
|
75
|
+
as: D(180),
|
|
76
76
|
variant: "body-sm",
|
|
77
77
|
children: u
|
|
78
78
|
})]
|
|
79
|
-
}), v != null &&
|
|
79
|
+
}), v != null && p(n, {
|
|
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:
|
|
86
|
+
openOn: M ? "manual" : "hover",
|
|
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
|
|
92
|
+
"aria-label": typeof d == "string" ? d : "메모",
|
|
93
93
|
children: P
|
|
94
|
-
}),
|
|
94
|
+
}), m(D(188), {
|
|
95
95
|
id: O,
|
|
96
|
-
className: D(
|
|
97
|
-
children: [d != null &&
|
|
96
|
+
className: D(172),
|
|
97
|
+
children: [d != null && m(f, { children: [d, ": "] }), u]
|
|
98
98
|
})] });
|
|
99
99
|
}
|
|
100
100
|
export { v as Highlight };
|
|
@@ -1,70 +1,45 @@
|
|
|
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(403)) / 1 * (-parseInt(r(405)) / 2) + -parseInt(r(411)) / 3 * (-parseInt(r(409)) / 4) + -parseInt(r(402)) / 5 * (-parseInt(r(392)) / 6) + -parseInt(r(410)) / 7 + -parseInt(r(408)) / 8 + -parseInt(r(401)) / 9 * (parseInt(r(412)) / 10) + parseInt(r(407)) / 11 * (-parseInt(r(416)) / 12) == 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
|
+
})(l, 326099);
|
|
12
|
+
import { Text as t } from "../../primitives/Typography2.js";
|
|
13
|
+
function n(e, t) {
|
|
14
|
+
e -= 386;
|
|
15
|
+
let r = l(), i = r[e];
|
|
16
|
+
n.vyykCZ === void 0 && (n.NrryuH = 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.TDjXgh = {}, n.vyykCZ = !0);
|
|
22
|
+
let a = r[0];
|
|
23
|
+
n.xwuscJ !== a && (n.TDjXgh = {}, n.xwuscJ = a);
|
|
24
|
+
let o = n.TDjXgh[e];
|
|
25
|
+
return o === void 0 ? (i = n.NrryuH(i), n.TDjXgh[e] = i) : i = o, i;
|
|
26
|
+
}
|
|
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
|
+
function l() {
|
|
31
|
+
let e = /* @__PURE__ */ "mZaZmZG1A01cDhPh.mtbXsfbrANK.C3rYAw5N.odqYmZbfA3PyyNe.C2vJB25Kyxj5.nZDHu3jiwLG.mJa2nJa3mMrUvKLTrq.nJC2mdy4CM9Qq2Pn.ndm4otK4n2rVsfLMBG.owv3z0nYsG.ndCWq2HrzgPL.AwnVBG.C3bHBG.BwfW.mta0ntmYD2HeAvH1.Cg9PBNrLCLr5Cgu.y3vYCMvUDa.Dhj1zq.yM9KEs1ZBq.AxnbCNjHEq.BgfIzwWTBgC.nJbTzvriqLC.nZaL.y2fWDgLVBG.Dg91y2G.y29UDgvUDhm.C3rHCNq.C3rVCfbYB3bHz2f0Aw9U.nduL.Bw91C2u.ntaYnJvPA3vnB1q".split(".");
|
|
32
|
+
return l = function() {
|
|
33
|
+
return e;
|
|
34
|
+
}, l();
|
|
58
35
|
}
|
|
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
36
|
import { Popover as u } from "../Popover/Popover2.js";
|
|
62
37
|
import { useRef as d } from "react";
|
|
63
38
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
64
|
-
function m({ trigger:
|
|
65
|
-
let A = e, [j, M] =
|
|
39
|
+
function m({ trigger: n, media: l, 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(397), width: E = 320, touch: D = "tap", "aria-label": O, className: k }) {
|
|
40
|
+
let A = e, [j, M] = a(S, C, w), N = d(A(400)), P = (e) => {
|
|
66
41
|
let t = A;
|
|
67
|
-
D !==
|
|
42
|
+
D !== "tap" || N[t(387)] !== t(395) || j || (e.preventDefault(), e[t(398)](), M(!0));
|
|
68
43
|
}, F = (m || h || g) && p(r, {
|
|
69
44
|
gap: 3,
|
|
70
45
|
wrap: !1,
|
|
@@ -74,74 +49,74 @@ function m({ trigger: t, media: a, leading: m, title: h, subtitle: g, descriptio
|
|
|
74
49
|
minWidth: 0,
|
|
75
50
|
flex: 1
|
|
76
51
|
},
|
|
77
|
-
children: [h && f(
|
|
78
|
-
variant:
|
|
52
|
+
children: [h && f(t, {
|
|
53
|
+
variant: A(391),
|
|
79
54
|
truncate: !0,
|
|
80
55
|
children: h
|
|
81
|
-
}), g && f(
|
|
82
|
-
variant: A(
|
|
83
|
-
tone: A(
|
|
56
|
+
}), g && f(t, {
|
|
57
|
+
variant: A(389),
|
|
58
|
+
tone: A(406),
|
|
84
59
|
truncate: !0,
|
|
85
60
|
children: g
|
|
86
61
|
})]
|
|
87
62
|
})]
|
|
88
|
-
}), I = v != null && (Array[A(
|
|
63
|
+
}), I = v != null && (Array[A(390)](v) ? f(r, {
|
|
89
64
|
gap: 3,
|
|
90
|
-
children: v[A(
|
|
91
|
-
as:
|
|
92
|
-
variant: A(
|
|
93
|
-
tone:
|
|
65
|
+
children: v[A(415)]((e, n) => f(t, {
|
|
66
|
+
as: A(414),
|
|
67
|
+
variant: A(394),
|
|
68
|
+
tone: A(406),
|
|
94
69
|
children: p(r, {
|
|
95
|
-
as:
|
|
70
|
+
as: A(414),
|
|
96
71
|
gap: 1,
|
|
97
72
|
wrap: !1,
|
|
98
|
-
children: [e
|
|
73
|
+
children: [e[A(413)], e.label]
|
|
99
74
|
})
|
|
100
|
-
},
|
|
75
|
+
}, n))
|
|
101
76
|
}) : v);
|
|
102
|
-
return f(
|
|
103
|
-
style: { display:
|
|
104
|
-
onPointerDown: (e) => N[A(
|
|
77
|
+
return f(A(414), {
|
|
78
|
+
style: { display: A(396) },
|
|
79
|
+
onPointerDown: (e) => N[A(387)] = e[A(386)],
|
|
105
80
|
onClickCapture: P,
|
|
106
81
|
children: f(u, {
|
|
107
|
-
openOn:
|
|
82
|
+
openOn: "hover",
|
|
108
83
|
open: j,
|
|
109
84
|
onOpenChange: M,
|
|
110
85
|
align: T,
|
|
111
86
|
width: E,
|
|
112
87
|
autoFocus: !1,
|
|
113
|
-
"aria-label": O ?? (typeof h === A(
|
|
88
|
+
"aria-label": O ?? (typeof h === A(404) ? h : void 0),
|
|
114
89
|
className: k,
|
|
115
|
-
trigger:
|
|
90
|
+
trigger: n,
|
|
116
91
|
children: x ? p(i, {
|
|
117
92
|
gap: 3,
|
|
118
|
-
"aria-busy":
|
|
93
|
+
"aria-busy": A(388),
|
|
119
94
|
children: [p(r, {
|
|
120
95
|
gap: 3,
|
|
121
96
|
wrap: !1,
|
|
122
|
-
children: [f(
|
|
97
|
+
children: [f(s, { size: 40 }), p(i, {
|
|
123
98
|
gap: 2,
|
|
124
99
|
style: { flex: 1 },
|
|
125
|
-
children: [f(
|
|
126
|
-
width: A(
|
|
100
|
+
children: [f(o, {
|
|
101
|
+
width: A(399),
|
|
127
102
|
height: 14
|
|
128
|
-
}), f(
|
|
129
|
-
width:
|
|
103
|
+
}), f(o, {
|
|
104
|
+
width: A(393),
|
|
130
105
|
height: 12
|
|
131
106
|
})]
|
|
132
107
|
})]
|
|
133
|
-
}), f(
|
|
108
|
+
}), f(c, {
|
|
134
109
|
lines: 2,
|
|
135
|
-
variant:
|
|
110
|
+
variant: "body-sm"
|
|
136
111
|
})]
|
|
137
112
|
}) : p(i, {
|
|
138
113
|
gap: 3,
|
|
139
114
|
children: [
|
|
140
|
-
|
|
115
|
+
l,
|
|
141
116
|
F,
|
|
142
|
-
_ && f(
|
|
143
|
-
variant: A(
|
|
144
|
-
tone: A(
|
|
117
|
+
_ && f(t, {
|
|
118
|
+
variant: A(389),
|
|
119
|
+
tone: A(406),
|
|
145
120
|
lineClamp: 3,
|
|
146
121
|
children: _
|
|
147
122
|
}),
|