@mechane-ai/elements 0.39.0 → 0.41.0
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/NOTICE +11 -19
- package/README.md +49 -25
- package/dist/accessibility-P89UG9-r.js +25 -0
- package/dist/agent.js +1 -0
- package/dist/ai.js +50 -44
- package/dist/{categorical-values-BECG-J6R.js → categorical-values-DnGR_pQx.js} +3 -3
- package/dist/{chart-frame-CJFnI39T.js → chart-frame-BsyI1Zc8.js} +58 -57
- package/dist/{chart-input-DwAobO8Y.js → chart-input-r4S3-QCT.js} +2 -2
- package/dist/chart-navigation-D7OkLdSx.js +119 -0
- package/dist/charts/cartesian.js +560 -583
- package/dist/charts/distribution.js +218 -218
- package/dist/charts/graph.js +86 -85
- package/dist/charts/hierarchy.js +4 -4
- package/dist/charts/matrix.js +148 -147
- package/dist/charts/timeline.js +77 -76
- package/dist/charts.js +2 -2
- package/dist/code-block-C4K1sM9O.js +255 -0
- package/dist/collections.js +828 -607
- package/dist/constants.stylex-BILvnwUk.js +84 -0
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +184 -77
- package/dist/{content-link-B3ObdyZY.js → content-link-CBDqSvgP.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/control-styles-D3q_Qyxi.js +179 -0
- package/dist/csp.js +14 -1
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +359 -245
- package/dist/forms-I-WMHTkr.js +139 -0
- package/dist/forms.js +3 -3
- package/dist/index.js +1 -1
- package/dist/layout.js +271 -241
- package/dist/navigation/commands.js +87 -76
- package/dist/{navigation-D2_sGy3C.js → navigation-CveMIuXI.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/message-action.d.ts +1 -1
- package/dist/packages/charts/src/chart-navigation.d.ts +18 -2
- package/dist/packages/charts/src/chart-surface.d.ts +23 -0
- package/dist/packages/charts/src/distribution/distribution-plot.d.ts +3 -2
- package/dist/packages/collections/src/data-table.d.ts +7 -2
- package/dist/packages/collections/src/index.d.ts +4 -1
- package/dist/packages/collections/src/query-controls.d.ts +18 -0
- package/dist/packages/collections/src/table-query.d.ts +64 -0
- package/dist/packages/collections/src/use-collection-controls.d.ts +3 -8
- package/dist/packages/content/src/pierre-theme.d.ts +0 -1
- package/dist/packages/core/src/actions.d.ts +15 -13
- package/dist/packages/core/src/copy-value.d.ts +3 -2
- package/dist/packages/core/src/disclosure.d.ts +14 -11
- package/dist/packages/feedback/src/notifications.d.ts +15 -15
- package/dist/packages/feedback/src/toast.d.ts +9 -3
- package/dist/packages/forms/src/combobox.d.ts +31 -41
- package/dist/packages/forms/src/dates/event-month.d.ts +17 -0
- package/dist/packages/forms/src/dates/index.d.ts +2 -0
- package/dist/packages/forms/src/field-styles.d.ts +0 -19
- package/dist/packages/forms/src/form-controls.d.ts +26 -24
- package/dist/packages/forms/src/forms.d.ts +17 -14
- package/dist/packages/forms/src/select-control.d.ts +6 -4
- package/dist/packages/forms/src/select.d.ts +14 -18
- package/dist/packages/forms/src/selection-state.d.ts +11 -0
- package/dist/packages/forms/src/selection-styles.d.ts +3 -0
- package/dist/packages/forms/src/selection.d.ts +21 -19
- package/dist/packages/foundations/src/agent/index.d.ts +2 -0
- package/dist/packages/foundations/src/control-state.d.ts +2 -3
- package/dist/packages/foundations/src/control-styles.d.ts +19 -0
- package/dist/packages/foundations/src/csp/index.d.ts +1 -1
- package/dist/packages/foundations/src/csp/provider.d.ts +3 -0
- package/dist/packages/foundations/src/style-composition.d.ts +4 -1
- package/dist/packages/layout/src/app-shell.d.ts +12 -1
- package/dist/packages/layout/src/index.d.ts +1 -1
- package/dist/packages/layout/src/navigation-rail.d.ts +15 -2
- package/dist/packages/layout/src/resizable.d.ts +2 -2
- package/dist/packages/layout/src/sidebar.d.ts +4 -3
- package/dist/packages/navigation/src/tab-styles.d.ts +1 -1
- package/dist/packages/navigation/src/tabs.d.ts +12 -10
- package/dist/packages/overlays/src/alert-dialog.d.ts +19 -13
- package/dist/packages/overlays/src/dialog.d.ts +39 -24
- package/dist/packages/overlays/src/drawer.d.ts +16 -26
- package/dist/packages/overlays/src/menu.d.ts +37 -44
- package/dist/packages/overlays/src/overlay-root.d.ts +10 -0
- package/dist/packages/overlays/src/popover.d.ts +11 -20
- package/dist/packages/overlays/src/preview.d.ts +6 -13
- package/dist/packages/overlays/src/tooltip.d.ts +12 -15
- package/dist/{pierre-diff-CaPsfQRo.js → pierre-diff-DJ3oOfPX.js} +5 -5
- package/dist/{src-DPRmO-JY.js → src-CNV1ewzb.js} +379 -407
- package/dist/{src-CSWIG_op.js → src-CQQvXi7a.js} +58 -81
- package/dist/{src-DWjAoOyd.js → src-D2OHco8V.js} +42 -41
- package/dist/src-DfOAlAd2.js +750 -0
- package/dist/src-na2DdkKI.js +561 -0
- package/dist/{src-C-Sx37kz.js → src-s3tWwnN4.js} +361 -518
- package/dist/styles.js +3 -0
- package/dist/{elements.css → styles2.css} +195 -97
- package/dist/tokens.js +3 -1
- package/dist/{tokens.stylex-CJbIDPB9.js → tokens.stylex-dF5CACEJ.js} +13 -93
- package/package.json +8 -9
- package/skills/elements-workspace/SKILL.md +12 -0
- package/dist/accessibility-C-aIZ1Yx.js +0 -15
- package/dist/chart-navigation-CBIeNtJq.js +0 -67
- package/dist/code-block-aC0Htt4N.js +0 -184
- package/dist/forms-BQQFas9g.js +0 -118
- package/dist/foundations.css +0 -7
- package/dist/packages/content/src/tree/pierre-tree.d.ts +0 -3
- package/dist/pierre-theme-BpNaWn1x.js +0 -126
- package/dist/pierre-tree-CYCRjdGG.js +0 -106
- package/dist/src-d7EAi61b.js +0 -617
- package/dist/src-nkgFDl-g.js +0 -1171
- package/dist/style-composition-uYlczSsB.js +0 -9
- package/styles.css +0 -2
|
@@ -1,181 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./accessibility-
|
|
3
|
-
import { t as
|
|
4
|
-
import { Button as r } from "@base-ui/react/button";
|
|
5
|
-
import { mergeProps as i } from "@base-ui/react/merge-props";
|
|
6
|
-
import { useRender as a } from "@base-ui/react/use-render";
|
|
1
|
+
import { n as e, r as t, t as n } from "./control-styles-D3q_Qyxi.js";
|
|
2
|
+
import { n as r, t as i } from "./accessibility-P89UG9-r.js";
|
|
3
|
+
import { t as a } from "./header-styles-COxCYFZx.js";
|
|
7
4
|
import * as o from "@stylexjs/stylex";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
kAzted: "x17tes2r x17oiadl",
|
|
19
|
-
k8WAf4: "x1ixblau",
|
|
20
|
-
kg3NbH: "x1atzlso",
|
|
21
|
-
kMzoRj: "xmkeg23",
|
|
22
|
-
ksu8eU: "x1y0btm7",
|
|
23
|
-
kVAM5u: "x1ey3b81",
|
|
24
|
-
kaIpWk: "x1ok0vyi",
|
|
25
|
-
kMv6JI: "x1hz01jw",
|
|
26
|
-
khiITx: "xvmahel",
|
|
27
|
-
k63SB2: "xj57cvi",
|
|
28
|
-
kGuDYH: "xtqrqnz",
|
|
29
|
-
kLWn49: "x1778rvt",
|
|
30
|
-
$$css: !0
|
|
31
|
-
},
|
|
32
|
-
button: {
|
|
33
|
-
k1xSpc: "x3nfvp2",
|
|
34
|
-
kGNEyG: "x6s0dn4",
|
|
35
|
-
kjj79g: "xl56j7k",
|
|
36
|
-
kOIVth: "xbgj81g",
|
|
37
|
-
k7Eaqz: "xeuugli",
|
|
38
|
-
ks0D6T: "x193iq5w",
|
|
39
|
-
kHjlTd: "xj0a0fe",
|
|
40
|
-
k9WMMc: "x2b8uid",
|
|
41
|
-
$$css: !0
|
|
42
|
-
},
|
|
43
|
-
iconButton: {
|
|
44
|
-
kg3NbH: "xnjsko4",
|
|
45
|
-
$$css: !0
|
|
46
|
-
},
|
|
47
|
-
field: {
|
|
48
|
-
k1xSpc: "x1lliihq",
|
|
49
|
-
kzqmXN: "xh8yej3",
|
|
50
|
-
k7Eaqz: "xeuugli",
|
|
51
|
-
kWkggS: "xpvm0e4",
|
|
52
|
-
kMwMTN: "xbixft",
|
|
53
|
-
kGuDYH: "xtqrqnz xwqnu5x",
|
|
54
|
-
$$css: !0
|
|
55
|
-
},
|
|
56
|
-
singleLineField: {
|
|
57
|
-
kZKoxP: "x1f9pz31 x992rv9",
|
|
58
|
-
$$css: !0
|
|
59
|
-
},
|
|
60
|
-
fieldRoot: {
|
|
61
|
-
k1xSpc: "x78zum5",
|
|
62
|
-
kXwgrk: "xdt5ytf",
|
|
63
|
-
kOIVth: "x1hnptsi",
|
|
64
|
-
k7Eaqz: "xeuugli",
|
|
65
|
-
kMv6JI: "x1hz01jw",
|
|
66
|
-
k63SB2: "xj57cvi",
|
|
67
|
-
khiITx: "xvmahel",
|
|
68
|
-
$$css: !0
|
|
69
|
-
},
|
|
70
|
-
label: {
|
|
71
|
-
kMwMTN: "xbixft",
|
|
72
|
-
kMv6JI: "x1hz01jw",
|
|
73
|
-
kGuDYH: "xtqrqnz",
|
|
74
|
-
k63SB2: "xk4h15q",
|
|
75
|
-
kLWn49: "x1778rvt",
|
|
76
|
-
kHjlTd: "xj0a0fe",
|
|
77
|
-
$$css: !0
|
|
78
|
-
},
|
|
79
|
-
description: {
|
|
80
|
-
kogj98: "x1ghz6dp",
|
|
81
|
-
kMwMTN: "x153jb6y",
|
|
82
|
-
kGuDYH: "xy8obcc",
|
|
83
|
-
kLWn49: "xas2l8k",
|
|
84
|
-
kHjlTd: "xj0a0fe",
|
|
85
|
-
$$css: !0
|
|
86
|
-
},
|
|
87
|
-
textarea: {
|
|
88
|
-
kAzted: "x13j50qi",
|
|
89
|
-
kHenm0: "x288g5",
|
|
90
|
-
kLWn49: "x1gj8gu9",
|
|
91
|
-
$$css: !0
|
|
92
|
-
},
|
|
93
|
-
plainTextarea: {
|
|
94
|
-
kAzted: "x16exltd",
|
|
95
|
-
kskxy: "x1y3glee",
|
|
96
|
-
kOwNse: "x5f5z56",
|
|
97
|
-
kHenm0: "xtt52l0",
|
|
98
|
-
k8WAf4: "xt970qd",
|
|
99
|
-
kg3NbH: "xnjsko4",
|
|
100
|
-
kMzoRj: "xc342km",
|
|
101
|
-
kaIpWk: "x2u8bby",
|
|
102
|
-
kWkggS: "xjbqb8w",
|
|
103
|
-
k7shQP: "xi5y0ii",
|
|
104
|
-
kD2jPA: "x1oqui1x",
|
|
105
|
-
$$css: !0
|
|
106
|
-
},
|
|
107
|
-
group: {
|
|
108
|
-
kVAEAm: "x1n2onr6",
|
|
109
|
-
k1xSpc: "x78zum5",
|
|
110
|
-
kGNEyG: "x1qjc9v5",
|
|
111
|
-
k7Eaqz: "xeuugli",
|
|
112
|
-
kaIpWk: "x1ok0vyi",
|
|
113
|
-
kWkggS: "xpvm0e4",
|
|
114
|
-
k5JduY: "x1s928wv",
|
|
115
|
-
kwXMNM: "x1j6awrg",
|
|
116
|
-
kv0HGH: "xarstr8",
|
|
117
|
-
kloYau: "x2q1x1w",
|
|
118
|
-
kPGmMm: "x5hscyn",
|
|
119
|
-
kbwMcY: "x86avzo",
|
|
120
|
-
kXtpa: "x10z0kkz",
|
|
121
|
-
kUfP38: "xt0q9np",
|
|
122
|
-
krLA0g: "xzggfk3",
|
|
123
|
-
$$css: !0
|
|
124
|
-
},
|
|
125
|
-
embedded: {
|
|
126
|
-
kUk6DE: "x98rzlu",
|
|
127
|
-
k7Eaqz: "xeuugli",
|
|
128
|
-
kzqmXN: "xnalus7",
|
|
129
|
-
kVAM5u: "x9r1u3d",
|
|
130
|
-
kWkggS: "xjbqb8w",
|
|
131
|
-
kr7hW5: "x1m9vbm4",
|
|
132
|
-
kiEn40: "x8fq8g9",
|
|
133
|
-
$$css: !0
|
|
134
|
-
}
|
|
135
|
-
}, E = {
|
|
136
|
-
standard: { $$css: !0 },
|
|
137
|
-
compact: {
|
|
138
|
-
kAzted: "x159bbqr x17oiadl",
|
|
139
|
-
k8WAf4: "x17qit1p",
|
|
140
|
-
kg3NbH: "xbsbsya",
|
|
141
|
-
kOIVth: "xva7r70",
|
|
142
|
-
$$css: !0
|
|
143
|
-
},
|
|
144
|
-
compactField: {
|
|
145
|
-
kZKoxP: "x1pn6w2t x992rv9",
|
|
146
|
-
$$css: !0
|
|
147
|
-
},
|
|
148
|
-
standardActionTarget: {
|
|
149
|
-
k7Eaqz: "x16opp91 x1gjsuxi",
|
|
150
|
-
kAzted: "x17tes2r x17oiadl",
|
|
151
|
-
$$css: !0
|
|
152
|
-
},
|
|
153
|
-
compactActionTarget: {
|
|
154
|
-
k7Eaqz: "xp2p21h x1gjsuxi",
|
|
155
|
-
kAzted: "x159bbqr x17oiadl",
|
|
156
|
-
$$css: !0
|
|
157
|
-
},
|
|
158
|
-
standardTarget: {
|
|
159
|
-
kAzted: "x17tes2r x17oiadl",
|
|
160
|
-
$$css: !0
|
|
161
|
-
},
|
|
162
|
-
compactTarget: {
|
|
163
|
-
kAzted: "x159bbqr x17oiadl",
|
|
164
|
-
$$css: !0
|
|
165
|
-
}
|
|
166
|
-
}, D = {
|
|
167
|
-
standard: E.standard,
|
|
168
|
-
compact: E.compact
|
|
169
|
-
}, O = {
|
|
170
|
-
standard: E.standard,
|
|
171
|
-
compact: E.compactField
|
|
172
|
-
}, k = {
|
|
173
|
-
standard: E.standardActionTarget,
|
|
174
|
-
compact: E.compactActionTarget
|
|
175
|
-
}, A = {
|
|
176
|
-
standard: E.standardTarget,
|
|
177
|
-
compact: E.compactTarget
|
|
178
|
-
}, j = {
|
|
5
|
+
import { Button as s } from "@ui-sdk/react/button";
|
|
6
|
+
import { mergeProps as c, renderElement as l } from "@ui-sdk/react/primitive";
|
|
7
|
+
import { Children as u, useEffect as d, useId as f, useRef as p, useState as m } from "react";
|
|
8
|
+
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
9
|
+
import { Avatar as v, AvatarFallback as y, AvatarImage as b } from "@ui-sdk/react/avatar";
|
|
10
|
+
import { Check as x, ChevronDown as S, Circle as C, CircleCheck as w, CircleX as T, Clock as E, Copy as ee } from "lucide-react";
|
|
11
|
+
import * as D from "@ui-sdk/react/accordion";
|
|
12
|
+
import * as O from "@ui-sdk/react/collapsible";
|
|
13
|
+
// packages/core/src/actions.tsx
|
|
14
|
+
var k = {
|
|
179
15
|
button: {
|
|
180
16
|
kMnn75: "xkrqix3",
|
|
181
17
|
kkrTdU: "x1ypdohk",
|
|
@@ -306,117 +142,124 @@ var T = {
|
|
|
306
142
|
kiEn40: "x7s97pk",
|
|
307
143
|
$$css: !0
|
|
308
144
|
}
|
|
309
|
-
},
|
|
145
|
+
}, A = {
|
|
310
146
|
standard: { $$css: !0 },
|
|
311
147
|
compact: {
|
|
312
148
|
kOIVth: "xva7r70",
|
|
313
149
|
$$css: !0
|
|
314
150
|
}
|
|
315
|
-
},
|
|
151
|
+
}, j = {
|
|
316
152
|
neutral: {
|
|
317
|
-
solid:
|
|
318
|
-
outline:
|
|
319
|
-
ghost:
|
|
153
|
+
solid: k.solidNeutral,
|
|
154
|
+
outline: k.outlineNeutral,
|
|
155
|
+
ghost: k.ghostNeutral
|
|
320
156
|
},
|
|
321
157
|
danger: {
|
|
322
|
-
solid:
|
|
323
|
-
outline:
|
|
324
|
-
ghost:
|
|
158
|
+
solid: k.solidDanger,
|
|
159
|
+
outline: k.outlineDanger,
|
|
160
|
+
ghost: k.ghostDanger
|
|
325
161
|
}
|
|
326
|
-
},
|
|
327
|
-
neutral:
|
|
328
|
-
danger:
|
|
162
|
+
}, M = {
|
|
163
|
+
neutral: k.neutralText,
|
|
164
|
+
danger: k.dangerText
|
|
329
165
|
};
|
|
166
|
+
function N(e, t, n) {
|
|
167
|
+
if (e !== "danger") return;
|
|
168
|
+
let r = (t ?? (typeof n == "string" ? n : "")).trim();
|
|
169
|
+
return r.length > 0 ? r : "Confirm this destructive action";
|
|
170
|
+
}
|
|
330
171
|
function P({ id: e, density: t, children: n, isPending: r = !1, pendingLabel: i }) {
|
|
331
172
|
let a = r && i !== void 0;
|
|
332
|
-
return /* @__PURE__ */
|
|
173
|
+
return /* @__PURE__ */ _("span", {
|
|
333
174
|
id: e,
|
|
334
175
|
className: "xwz0xwf xeuugli x193iq5w",
|
|
335
|
-
children: [/* @__PURE__ */
|
|
176
|
+
children: [/* @__PURE__ */ g("span", {
|
|
336
177
|
"aria-hidden": a,
|
|
337
|
-
...o.props(
|
|
178
|
+
...o.props(k.label, A[t], a && k.hidden),
|
|
338
179
|
children: n
|
|
339
|
-
}), i !== void 0 && /* @__PURE__ */
|
|
180
|
+
}), i !== void 0 && /* @__PURE__ */ g("span", {
|
|
340
181
|
"aria-hidden": !r,
|
|
341
|
-
...o.props(
|
|
182
|
+
...o.props(k.label, A[t], !r && k.hidden),
|
|
342
183
|
children: i
|
|
343
184
|
})]
|
|
344
185
|
});
|
|
345
186
|
}
|
|
346
|
-
function F({ variant:
|
|
347
|
-
let
|
|
348
|
-
return /* @__PURE__ */
|
|
349
|
-
...
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
187
|
+
function F({ variant: i = "outline", tone: a = "neutral", density: c = "standard", isIconOnly: l = !1, isPending: u = !1, pendingLabel: d, children: p, className: m, style: h, xstyle: _, onClick: v, disabled: y = !1, ...b }) {
|
|
188
|
+
let x = f(), S = o.props(t.base, t.button, k.button, j[a][i], e[c], n[c], l && t.iconButton, _);
|
|
189
|
+
return /* @__PURE__ */ g(s, {
|
|
190
|
+
...b,
|
|
191
|
+
"data-agent-confirm": b["data-agent-confirm"] ?? N(a, b["aria-label"], p),
|
|
192
|
+
...v !== void 0 && { onClick: v },
|
|
193
|
+
...r({
|
|
194
|
+
className: m,
|
|
195
|
+
style: h,
|
|
196
|
+
styles: S
|
|
354
197
|
}),
|
|
355
|
-
disabled:
|
|
356
|
-
focusableWhenDisabled:
|
|
357
|
-
"aria-labelledby":
|
|
358
|
-
"aria-busy":
|
|
359
|
-
children: /* @__PURE__ */
|
|
360
|
-
id:
|
|
361
|
-
density:
|
|
362
|
-
isPending:
|
|
363
|
-
pendingLabel:
|
|
364
|
-
children:
|
|
198
|
+
disabled: y || u,
|
|
199
|
+
focusableWhenDisabled: u || b.focusableWhenDisabled === !0,
|
|
200
|
+
"aria-labelledby": b["aria-labelledby"] ?? (b["aria-label"] === void 0 && d !== void 0 ? x : void 0),
|
|
201
|
+
"aria-busy": u || b["aria-busy"],
|
|
202
|
+
children: /* @__PURE__ */ g(P, {
|
|
203
|
+
id: x,
|
|
204
|
+
density: c,
|
|
205
|
+
isPending: u,
|
|
206
|
+
pendingLabel: d,
|
|
207
|
+
children: p
|
|
365
208
|
})
|
|
366
209
|
});
|
|
367
210
|
}
|
|
368
211
|
function I(e) {
|
|
369
|
-
return /* @__PURE__ */
|
|
212
|
+
return /* @__PURE__ */ g(F, { ...e });
|
|
370
213
|
}
|
|
371
|
-
function
|
|
372
|
-
return /* @__PURE__ */
|
|
214
|
+
function L({ children: e, ...t }) {
|
|
215
|
+
return /* @__PURE__ */ g(F, {
|
|
373
216
|
...t,
|
|
374
217
|
isIconOnly: !0,
|
|
375
|
-
children: /* @__PURE__ */
|
|
218
|
+
children: /* @__PURE__ */ g("span", {
|
|
376
219
|
"aria-hidden": !0,
|
|
377
220
|
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2 x6s0dn4 xl56j7k",
|
|
378
221
|
children: e
|
|
379
222
|
})
|
|
380
223
|
});
|
|
381
224
|
}
|
|
382
|
-
function
|
|
383
|
-
let
|
|
384
|
-
return /* @__PURE__ */
|
|
385
|
-
...
|
|
386
|
-
|
|
387
|
-
|
|
225
|
+
function te({ tone: e = "neutral", density: t = "standard", isPending: i = !1, pendingLabel: a, children: c, className: l, style: u, xstyle: d, onClick: p, disabled: m = !1, ...h }) {
|
|
226
|
+
let _ = f(), v = o.props(k.text, n[t], M[e], d);
|
|
227
|
+
return /* @__PURE__ */ g(s, {
|
|
228
|
+
...h,
|
|
229
|
+
"data-agent-confirm": h["data-agent-confirm"] ?? N(e, h["aria-label"], c),
|
|
230
|
+
...p !== void 0 && { onClick: p },
|
|
231
|
+
...r({
|
|
232
|
+
className: l,
|
|
388
233
|
style: u,
|
|
389
|
-
styles:
|
|
234
|
+
styles: v
|
|
390
235
|
}),
|
|
391
|
-
disabled:
|
|
392
|
-
focusableWhenDisabled: i ||
|
|
393
|
-
"aria-labelledby":
|
|
394
|
-
"aria-busy": i ||
|
|
395
|
-
children: /* @__PURE__ */
|
|
396
|
-
id:
|
|
397
|
-
density:
|
|
236
|
+
disabled: m || i,
|
|
237
|
+
focusableWhenDisabled: i || h.focusableWhenDisabled === !0,
|
|
238
|
+
"aria-labelledby": h["aria-labelledby"] ?? (h["aria-label"] === void 0 && a !== void 0 ? _ : void 0),
|
|
239
|
+
"aria-busy": i || h["aria-busy"],
|
|
240
|
+
children: /* @__PURE__ */ g(P, {
|
|
241
|
+
id: _,
|
|
242
|
+
density: t,
|
|
398
243
|
isPending: i,
|
|
399
244
|
pendingLabel: a,
|
|
400
|
-
children:
|
|
245
|
+
children: c
|
|
401
246
|
})
|
|
402
247
|
});
|
|
403
248
|
}
|
|
404
|
-
function
|
|
405
|
-
return /* @__PURE__ */
|
|
249
|
+
function ne({ xstyle: e, ...t }) {
|
|
250
|
+
return /* @__PURE__ */ g("a", { ...c(o.props(k.link, e), t) });
|
|
406
251
|
}
|
|
407
|
-
function
|
|
408
|
-
return a({
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
ref: s,
|
|
412
|
-
props: i(o.props(T.base, T.button, j.button, j.ghostNeutral, D[t], T.iconButton, k[t], n), c, { children: /* @__PURE__ */ p("span", {
|
|
252
|
+
function re({ children: r, density: i = "standard", xstyle: a, render: s, ref: u, ...d }) {
|
|
253
|
+
return l("a", c(o.props(t.base, t.button, k.button, k.ghostNeutral, e[i], t.iconButton, n[i], a), d, {
|
|
254
|
+
ref: u,
|
|
255
|
+
children: /* @__PURE__ */ g("span", {
|
|
413
256
|
className: "xtwnzbg x18utl2x x2lah0s x3nfvp2 x6s0dn4 xl56j7k",
|
|
414
|
-
children:
|
|
415
|
-
})
|
|
416
|
-
});
|
|
257
|
+
children: r
|
|
258
|
+
})
|
|
259
|
+
}), s);
|
|
417
260
|
}
|
|
418
261
|
// packages/core/src/avatar.tsx
|
|
419
|
-
var
|
|
262
|
+
var R = {
|
|
420
263
|
avatar: {
|
|
421
264
|
kB7OPa: "x9f619",
|
|
422
265
|
k1xSpc: "x3nfvp2",
|
|
@@ -456,24 +299,24 @@ var L = {
|
|
|
456
299
|
kaIpWk: "x16rqkct",
|
|
457
300
|
$$css: !0
|
|
458
301
|
}
|
|
302
|
+
}, ie = {
|
|
303
|
+
sm: R.small,
|
|
304
|
+
md: R.medium,
|
|
305
|
+
lg: R.large
|
|
459
306
|
}, ae = {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
lg: L.large
|
|
463
|
-
}, R = {
|
|
464
|
-
rounded: L.rounded,
|
|
465
|
-
circle: L.circle
|
|
307
|
+
rounded: R.rounded,
|
|
308
|
+
circle: R.circle
|
|
466
309
|
};
|
|
467
310
|
function z({ label: e, fallback: t, src: n, size: r = "md", shape: i = "rounded" }) {
|
|
468
|
-
return /* @__PURE__ */
|
|
311
|
+
return /* @__PURE__ */ _(v, {
|
|
469
312
|
role: "img",
|
|
470
313
|
"aria-label": e,
|
|
471
|
-
...o.props(
|
|
472
|
-
children: [n !== void 0 && /* @__PURE__ */
|
|
314
|
+
...o.props(R.avatar, ie[r], ae[i]),
|
|
315
|
+
children: [n !== void 0 && /* @__PURE__ */ g(b, {
|
|
473
316
|
src: n,
|
|
474
317
|
alt: "",
|
|
475
318
|
className: "xh8yej3 x5yr21d xl1xv1r"
|
|
476
|
-
}), /* @__PURE__ */
|
|
319
|
+
}), /* @__PURE__ */ g(y, {
|
|
477
320
|
"aria-hidden": !0,
|
|
478
321
|
children: t
|
|
479
322
|
})]
|
|
@@ -500,7 +343,7 @@ var B = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel
|
|
|
500
343
|
"triad"
|
|
501
344
|
]);
|
|
502
345
|
function H(e, t) {
|
|
503
|
-
return e.map((e) => /* @__PURE__ */
|
|
346
|
+
return e.map((e) => /* @__PURE__ */ g("g", {
|
|
504
347
|
transform: `rotate(${e} 12 12)`,
|
|
505
348
|
children: t
|
|
506
349
|
}, e));
|
|
@@ -515,25 +358,25 @@ var U = {
|
|
|
515
358
|
225,
|
|
516
359
|
270,
|
|
517
360
|
315
|
|
518
|
-
], /* @__PURE__ */
|
|
361
|
+
], /* @__PURE__ */ g("path", { d: "m12 2 5.4 7-5.4 6.2-3.4-6.2Z" })),
|
|
519
362
|
facet: H([
|
|
520
363
|
0,
|
|
521
364
|
72,
|
|
522
365
|
144,
|
|
523
366
|
216,
|
|
524
367
|
288
|
|
525
|
-
], /* @__PURE__ */
|
|
526
|
-
orbit: /* @__PURE__ */
|
|
368
|
+
], /* @__PURE__ */ g("path", { d: "m12 2 6 7-6 5-4-5Z" })),
|
|
369
|
+
orbit: /* @__PURE__ */ _(h, { children: [H([
|
|
527
370
|
0,
|
|
528
371
|
60,
|
|
529
372
|
120
|
|
530
|
-
], /* @__PURE__ */
|
|
373
|
+
], /* @__PURE__ */ g("ellipse", {
|
|
531
374
|
cx: "12",
|
|
532
375
|
cy: "12",
|
|
533
376
|
rx: "9.2",
|
|
534
377
|
ry: "4.5",
|
|
535
378
|
fillOpacity: ".4"
|
|
536
|
-
})), /* @__PURE__ */
|
|
379
|
+
})), /* @__PURE__ */ g("circle", {
|
|
537
380
|
cx: "12",
|
|
538
381
|
cy: "12",
|
|
539
382
|
r: "2.8",
|
|
@@ -543,13 +386,13 @@ var U = {
|
|
|
543
386
|
0,
|
|
544
387
|
120,
|
|
545
388
|
240
|
|
546
|
-
], /* @__PURE__ */
|
|
389
|
+
], /* @__PURE__ */ g("path", { d: "M12 12C3 14 1 8 5 4c4-4 10-1 10 4 0 3-2 5-5 6 3-3 2-6 0-7-3-1-5 2-2 4Z" })),
|
|
547
390
|
clover: H([
|
|
548
391
|
0,
|
|
549
392
|
90,
|
|
550
393
|
180,
|
|
551
394
|
270
|
|
552
|
-
], /* @__PURE__ */
|
|
395
|
+
], /* @__PURE__ */ g("circle", {
|
|
553
396
|
cx: "12",
|
|
554
397
|
cy: "7.4",
|
|
555
398
|
r: "5.3"
|
|
@@ -560,8 +403,8 @@ var U = {
|
|
|
560
403
|
144,
|
|
561
404
|
216,
|
|
562
405
|
288
|
|
563
|
-
], /* @__PURE__ */
|
|
564
|
-
wheel: /* @__PURE__ */
|
|
406
|
+
], /* @__PURE__ */ g("path", { d: "M12 2c5 1 6 6 0 10-6-4-5-9 0-10Z" })),
|
|
407
|
+
wheel: /* @__PURE__ */ _(h, { children: [H([
|
|
565
408
|
0,
|
|
566
409
|
45,
|
|
567
410
|
90,
|
|
@@ -570,12 +413,12 @@ var U = {
|
|
|
570
413
|
225,
|
|
571
414
|
270,
|
|
572
415
|
315
|
|
573
|
-
], /* @__PURE__ */
|
|
416
|
+
], /* @__PURE__ */ g("ellipse", {
|
|
574
417
|
cx: "12",
|
|
575
418
|
cy: "6.7",
|
|
576
419
|
rx: "3.2",
|
|
577
420
|
ry: "4.6"
|
|
578
|
-
})), /* @__PURE__ */
|
|
421
|
+
})), /* @__PURE__ */ g("circle", {
|
|
579
422
|
cx: "12",
|
|
580
423
|
cy: "12",
|
|
581
424
|
r: "3.2",
|
|
@@ -590,14 +433,14 @@ var U = {
|
|
|
590
433
|
225,
|
|
591
434
|
270,
|
|
592
435
|
315
|
|
593
|
-
], /* @__PURE__ */
|
|
594
|
-
grid: /* @__PURE__ */
|
|
436
|
+
], /* @__PURE__ */ g("path", { d: "m12 1.5 3 7-3 3.5-3-3.5Z" })),
|
|
437
|
+
grid: /* @__PURE__ */ _(h, { children: [
|
|
595
438
|
H([
|
|
596
439
|
0,
|
|
597
440
|
90,
|
|
598
441
|
180,
|
|
599
442
|
270
|
|
600
|
-
], /* @__PURE__ */
|
|
443
|
+
], /* @__PURE__ */ g("circle", {
|
|
601
444
|
cx: "6.8",
|
|
602
445
|
cy: "6.8",
|
|
603
446
|
r: "3.5"
|
|
@@ -607,13 +450,13 @@ var U = {
|
|
|
607
450
|
90,
|
|
608
451
|
180,
|
|
609
452
|
270
|
|
610
|
-
], /* @__PURE__ */
|
|
453
|
+
], /* @__PURE__ */ g("circle", {
|
|
611
454
|
cx: "12",
|
|
612
455
|
cy: "4.1",
|
|
613
456
|
r: "1.8",
|
|
614
457
|
fillOpacity: ".5"
|
|
615
458
|
})),
|
|
616
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ g("rect", {
|
|
617
460
|
x: "7.5",
|
|
618
461
|
y: "7.5",
|
|
619
462
|
width: "9",
|
|
@@ -627,71 +470,71 @@ var U = {
|
|
|
627
470
|
90,
|
|
628
471
|
180,
|
|
629
472
|
270
|
|
630
|
-
], /* @__PURE__ */
|
|
473
|
+
], /* @__PURE__ */ g("path", { d: "M4 3h9v5H9v5H4Z" })),
|
|
631
474
|
chevron: H([
|
|
632
475
|
0,
|
|
633
476
|
90,
|
|
634
477
|
180,
|
|
635
478
|
270
|
|
636
|
-
], /* @__PURE__ */
|
|
479
|
+
], /* @__PURE__ */ g("path", {
|
|
637
480
|
d: "m3 8 9-6 9 6-9 6Z",
|
|
638
481
|
fillOpacity: ".48"
|
|
639
482
|
})),
|
|
640
|
-
wave: /* @__PURE__ */
|
|
641
|
-
/* @__PURE__ */
|
|
642
|
-
/* @__PURE__ */
|
|
643
|
-
/* @__PURE__ */
|
|
483
|
+
wave: /* @__PURE__ */ _(h, { children: [
|
|
484
|
+
/* @__PURE__ */ g("path", { d: "M2 6c6-8 12 8 20 0v5C14 19 8 3 2 11Z" }),
|
|
485
|
+
/* @__PURE__ */ g("path", { d: "M2 11c6-8 12 8 20 0v5c-8 8-14-8-20 0Z" }),
|
|
486
|
+
/* @__PURE__ */ g("path", {
|
|
644
487
|
d: "M2 16c6-8 12 8 20 0v3c-8 8-14-8-20 0Z",
|
|
645
488
|
fillOpacity: ".4"
|
|
646
489
|
})
|
|
647
490
|
] }),
|
|
648
|
-
ripple: /* @__PURE__ */
|
|
649
|
-
/* @__PURE__ */
|
|
491
|
+
ripple: /* @__PURE__ */ _(h, { children: [
|
|
492
|
+
/* @__PURE__ */ g("circle", {
|
|
650
493
|
cx: "12",
|
|
651
494
|
cy: "11",
|
|
652
495
|
r: "9.3",
|
|
653
496
|
fillOpacity: ".45"
|
|
654
497
|
}),
|
|
655
|
-
/* @__PURE__ */
|
|
498
|
+
/* @__PURE__ */ g("circle", {
|
|
656
499
|
cx: "12",
|
|
657
500
|
cy: "13.5",
|
|
658
501
|
r: "6.8",
|
|
659
502
|
fillOpacity: ".5"
|
|
660
503
|
}),
|
|
661
|
-
/* @__PURE__ */
|
|
504
|
+
/* @__PURE__ */ g("circle", {
|
|
662
505
|
cx: "12",
|
|
663
506
|
cy: "16",
|
|
664
507
|
r: "4.3",
|
|
665
508
|
fillOpacity: ".6"
|
|
666
509
|
})
|
|
667
510
|
] }),
|
|
668
|
-
arch: /* @__PURE__ */
|
|
669
|
-
/* @__PURE__ */
|
|
511
|
+
arch: /* @__PURE__ */ _(h, { children: [
|
|
512
|
+
/* @__PURE__ */ g("path", {
|
|
670
513
|
d: "M2.7 20V11a9.3 9.3 0 0 1 18.6 0v9Z",
|
|
671
514
|
fillOpacity: ".4"
|
|
672
515
|
}),
|
|
673
|
-
/* @__PURE__ */
|
|
516
|
+
/* @__PURE__ */ g("path", {
|
|
674
517
|
d: "M6 20v-7a6 6 0 0 1 12 0v7Z",
|
|
675
518
|
fillOpacity: ".5"
|
|
676
519
|
}),
|
|
677
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ g("path", { d: "M9.2 20v-4.5a2.8 2.8 0 0 1 5.6 0V20Z" })
|
|
678
521
|
] }),
|
|
679
|
-
bridge: /* @__PURE__ */
|
|
680
|
-
/* @__PURE__ */
|
|
522
|
+
bridge: /* @__PURE__ */ _(h, { children: [
|
|
523
|
+
/* @__PURE__ */ g("rect", {
|
|
681
524
|
x: "3",
|
|
682
525
|
y: "6",
|
|
683
526
|
width: "18",
|
|
684
527
|
height: "5",
|
|
685
528
|
rx: "2.5"
|
|
686
529
|
}),
|
|
687
|
-
/* @__PURE__ */
|
|
530
|
+
/* @__PURE__ */ g("rect", {
|
|
688
531
|
x: "3",
|
|
689
532
|
y: "13",
|
|
690
533
|
width: "18",
|
|
691
534
|
height: "5",
|
|
692
535
|
rx: "2.5"
|
|
693
536
|
}),
|
|
694
|
-
/* @__PURE__ */
|
|
537
|
+
/* @__PURE__ */ g("rect", {
|
|
695
538
|
x: "6",
|
|
696
539
|
y: "3",
|
|
697
540
|
width: "5",
|
|
@@ -699,7 +542,7 @@ var U = {
|
|
|
699
542
|
rx: "2.5",
|
|
700
543
|
fillOpacity: ".45"
|
|
701
544
|
}),
|
|
702
|
-
/* @__PURE__ */
|
|
545
|
+
/* @__PURE__ */ g("rect", {
|
|
703
546
|
x: "13",
|
|
704
547
|
y: "3",
|
|
705
548
|
width: "5",
|
|
@@ -712,7 +555,7 @@ var U = {
|
|
|
712
555
|
0,
|
|
713
556
|
120,
|
|
714
557
|
240
|
|
715
|
-
], /* @__PURE__ */
|
|
558
|
+
], /* @__PURE__ */ g("path", {
|
|
716
559
|
d: "M12 2 17 12H7Z",
|
|
717
560
|
fillOpacity: ".6"
|
|
718
561
|
})),
|
|
@@ -721,9 +564,9 @@ var U = {
|
|
|
721
564
|
90,
|
|
722
565
|
180,
|
|
723
566
|
270
|
|
724
|
-
], /* @__PURE__ */
|
|
725
|
-
helix: /* @__PURE__ */
|
|
726
|
-
/* @__PURE__ */
|
|
567
|
+
], /* @__PURE__ */ g("path", { d: "m3 3 10 3 2 6-5 3 1-7-7 1Z" })),
|
|
568
|
+
helix: /* @__PURE__ */ _(h, { children: [
|
|
569
|
+
/* @__PURE__ */ g("ellipse", {
|
|
727
570
|
cx: "9",
|
|
728
571
|
cy: "12",
|
|
729
572
|
rx: "5.3",
|
|
@@ -731,7 +574,7 @@ var U = {
|
|
|
731
574
|
transform: "rotate(32 9 12)",
|
|
732
575
|
fillOpacity: ".5"
|
|
733
576
|
}),
|
|
734
|
-
/* @__PURE__ */
|
|
577
|
+
/* @__PURE__ */ g("ellipse", {
|
|
735
578
|
cx: "15",
|
|
736
579
|
cy: "12",
|
|
737
580
|
rx: "5.3",
|
|
@@ -739,7 +582,7 @@ var U = {
|
|
|
739
582
|
transform: "rotate(32 15 12)",
|
|
740
583
|
fillOpacity: ".5"
|
|
741
584
|
}),
|
|
742
|
-
/* @__PURE__ */
|
|
585
|
+
/* @__PURE__ */ g("path", {
|
|
743
586
|
d: "m4.5 14.5 9-9 6 4-9 9Z",
|
|
744
587
|
fillOpacity: ".25"
|
|
745
588
|
})
|
|
@@ -749,39 +592,39 @@ var U = {
|
|
|
749
592
|
90,
|
|
750
593
|
180,
|
|
751
594
|
270
|
|
752
|
-
], /* @__PURE__ */
|
|
753
|
-
cube: /* @__PURE__ */
|
|
754
|
-
/* @__PURE__ */
|
|
595
|
+
], /* @__PURE__ */ g("path", { d: "m12 2 5.3 5.8L12 16 6.7 7.8Z" })),
|
|
596
|
+
cube: /* @__PURE__ */ _(h, { children: [
|
|
597
|
+
/* @__PURE__ */ g("path", {
|
|
755
598
|
d: "m12 2.5 9 5.2-9 5.2-9-5.2Z",
|
|
756
599
|
fillOpacity: ".45"
|
|
757
600
|
}),
|
|
758
|
-
/* @__PURE__ */
|
|
601
|
+
/* @__PURE__ */ g("path", {
|
|
759
602
|
d: "m3 7.7 9 5.2v8.6l-9-5.2Z",
|
|
760
603
|
fillOpacity: ".7"
|
|
761
604
|
}),
|
|
762
|
-
/* @__PURE__ */
|
|
605
|
+
/* @__PURE__ */ g("path", {
|
|
763
606
|
d: "m21 7.7-9 5.2v8.6l9-5.2Z",
|
|
764
607
|
fillOpacity: ".55"
|
|
765
608
|
}),
|
|
766
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ g("path", {
|
|
767
610
|
d: "m7.5 5.1 9 5.2v8.6M16.5 5.1l-9 5.2v8.6M3 12l9 5.2 9-5.2",
|
|
768
611
|
fill: "none"
|
|
769
612
|
})
|
|
770
613
|
] }),
|
|
771
|
-
prism: /* @__PURE__ */
|
|
772
|
-
/* @__PURE__ */
|
|
614
|
+
prism: /* @__PURE__ */ _(h, { children: [
|
|
615
|
+
/* @__PURE__ */ g("path", {
|
|
773
616
|
d: "M12 2 22 19H2Z",
|
|
774
617
|
fillOpacity: ".35"
|
|
775
618
|
}),
|
|
776
|
-
/* @__PURE__ */
|
|
619
|
+
/* @__PURE__ */ g("path", {
|
|
777
620
|
d: "m12 2 3.5 17H2Z",
|
|
778
621
|
fillOpacity: ".65"
|
|
779
622
|
}),
|
|
780
|
-
/* @__PURE__ */
|
|
623
|
+
/* @__PURE__ */ g("path", {
|
|
781
624
|
d: "m12 2 10 17H8.5Z",
|
|
782
625
|
fillOpacity: ".45"
|
|
783
626
|
}),
|
|
784
|
-
/* @__PURE__ */
|
|
627
|
+
/* @__PURE__ */ g("path", {
|
|
785
628
|
d: "m2 19 10-7 10 7Z",
|
|
786
629
|
fillOpacity: ".45"
|
|
787
630
|
})
|
|
@@ -791,7 +634,7 @@ var U = {
|
|
|
791
634
|
90,
|
|
792
635
|
180,
|
|
793
636
|
270
|
|
794
|
-
], /* @__PURE__ */
|
|
637
|
+
], /* @__PURE__ */ g("rect", {
|
|
795
638
|
x: "4",
|
|
796
639
|
y: "3",
|
|
797
640
|
width: "11",
|
|
@@ -803,20 +646,20 @@ var U = {
|
|
|
803
646
|
90,
|
|
804
647
|
180,
|
|
805
648
|
270
|
|
806
|
-
], /* @__PURE__ */
|
|
807
|
-
diamond: /* @__PURE__ */
|
|
649
|
+
], /* @__PURE__ */ g("path", { d: "M3 4a1 1 0 0 1 1-1h8v4H7v5H3Z" })),
|
|
650
|
+
diamond: /* @__PURE__ */ _(h, { children: [H([
|
|
808
651
|
0,
|
|
809
652
|
90,
|
|
810
653
|
180,
|
|
811
654
|
270
|
|
812
|
-
], /* @__PURE__ */
|
|
655
|
+
], /* @__PURE__ */ g("rect", {
|
|
813
656
|
x: "6.4",
|
|
814
657
|
y: "2.5",
|
|
815
658
|
width: "8",
|
|
816
659
|
height: "8",
|
|
817
660
|
rx: "1.5",
|
|
818
661
|
transform: "rotate(45 10.4 6.5)"
|
|
819
|
-
})), /* @__PURE__ */
|
|
662
|
+
})), /* @__PURE__ */ g("circle", {
|
|
820
663
|
cx: "12",
|
|
821
664
|
cy: "12",
|
|
822
665
|
r: "3",
|
|
@@ -829,9 +672,9 @@ var U = {
|
|
|
829
672
|
180,
|
|
830
673
|
240,
|
|
831
674
|
300
|
|
832
|
-
], /* @__PURE__ */
|
|
833
|
-
signal: /* @__PURE__ */
|
|
834
|
-
/* @__PURE__ */
|
|
675
|
+
], /* @__PURE__ */ g("path", { d: "m12 2 4 2.3v4.6l-4 2.3-4-2.3V4.3Z" })),
|
|
676
|
+
signal: /* @__PURE__ */ _(h, { children: [
|
|
677
|
+
/* @__PURE__ */ g("rect", {
|
|
835
678
|
x: "2.6",
|
|
836
679
|
y: "7.5",
|
|
837
680
|
width: "4.5",
|
|
@@ -839,21 +682,21 @@ var U = {
|
|
|
839
682
|
rx: "2.2",
|
|
840
683
|
fillOpacity: ".45"
|
|
841
684
|
}),
|
|
842
|
-
/* @__PURE__ */
|
|
685
|
+
/* @__PURE__ */ g("rect", {
|
|
843
686
|
x: "7.4",
|
|
844
687
|
y: "3.5",
|
|
845
688
|
width: "4.5",
|
|
846
689
|
height: "17",
|
|
847
690
|
rx: "2.2"
|
|
848
691
|
}),
|
|
849
|
-
/* @__PURE__ */
|
|
692
|
+
/* @__PURE__ */ g("rect", {
|
|
850
693
|
x: "12.1",
|
|
851
694
|
y: "3.5",
|
|
852
695
|
width: "4.5",
|
|
853
696
|
height: "17",
|
|
854
697
|
rx: "2.2"
|
|
855
698
|
}),
|
|
856
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ g("rect", {
|
|
857
700
|
x: "16.9",
|
|
858
701
|
y: "7.5",
|
|
859
702
|
width: "4.5",
|
|
@@ -861,7 +704,7 @@ var U = {
|
|
|
861
704
|
rx: "2.2",
|
|
862
705
|
fillOpacity: ".45"
|
|
863
706
|
}),
|
|
864
|
-
/* @__PURE__ */
|
|
707
|
+
/* @__PURE__ */ g("path", {
|
|
865
708
|
d: "M2.6 12h18.8",
|
|
866
709
|
fill: "none"
|
|
867
710
|
})
|
|
@@ -870,7 +713,7 @@ var U = {
|
|
|
870
713
|
0,
|
|
871
714
|
120,
|
|
872
715
|
240
|
|
873
|
-
], /* @__PURE__ */
|
|
716
|
+
], /* @__PURE__ */ g("path", {
|
|
874
717
|
d: "M6 3h12v5c0 4-3.5 7.2-6 9-2.5-1.8-6-5-6-9Z",
|
|
875
718
|
fillOpacity: ".55"
|
|
876
719
|
})),
|
|
@@ -878,11 +721,11 @@ var U = {
|
|
|
878
721
|
0,
|
|
879
722
|
120,
|
|
880
723
|
240
|
|
881
|
-
], /* @__PURE__ */
|
|
724
|
+
], /* @__PURE__ */ g("path", {
|
|
882
725
|
d: "m10 2 9 8-7 1 1 6-9-8 7-1Z",
|
|
883
726
|
fillOpacity: ".6"
|
|
884
727
|
})),
|
|
885
|
-
link: H([0, 90], /* @__PURE__ */
|
|
728
|
+
link: H([0, 90], /* @__PURE__ */ g("path", {
|
|
886
729
|
d: "M12 2c5 0 7 4 7 10s-2 10-7 10-7-4-7-10S7 2 12 2Zm0 4c-2 0-3 2-3 6s1 6 3 6 3-2 3-6-1-6-3-6Z",
|
|
887
730
|
fillRule: "evenodd",
|
|
888
731
|
fillOpacity: ".6"
|
|
@@ -892,7 +735,7 @@ var U = {
|
|
|
892
735
|
90,
|
|
893
736
|
180,
|
|
894
737
|
270
|
|
895
|
-
], /* @__PURE__ */
|
|
738
|
+
], /* @__PURE__ */ g("path", {
|
|
896
739
|
d: "M12 2a10 10 0 0 1 10 10H9a3 3 0 0 1 3-3Z",
|
|
897
740
|
fillOpacity: ".6"
|
|
898
741
|
})),
|
|
@@ -900,7 +743,7 @@ var U = {
|
|
|
900
743
|
0,
|
|
901
744
|
60,
|
|
902
745
|
120
|
|
903
|
-
], /* @__PURE__ */
|
|
746
|
+
], /* @__PURE__ */ g("rect", {
|
|
904
747
|
x: "9.4",
|
|
905
748
|
y: "1.5",
|
|
906
749
|
width: "5.2",
|
|
@@ -908,7 +751,7 @@ var U = {
|
|
|
908
751
|
rx: "2.6",
|
|
909
752
|
fillOpacity: ".55"
|
|
910
753
|
})),
|
|
911
|
-
portal: /* @__PURE__ */
|
|
754
|
+
portal: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("circle", {
|
|
912
755
|
cx: "12",
|
|
913
756
|
cy: "12",
|
|
914
757
|
r: "9.3",
|
|
@@ -918,7 +761,7 @@ var U = {
|
|
|
918
761
|
90,
|
|
919
762
|
180,
|
|
920
763
|
270
|
|
921
|
-
], /* @__PURE__ */
|
|
764
|
+
], /* @__PURE__ */ g("circle", {
|
|
922
765
|
cx: "12",
|
|
923
766
|
cy: "7.6",
|
|
924
767
|
r: "4.8",
|
|
@@ -931,18 +774,18 @@ var U = {
|
|
|
931
774
|
180,
|
|
932
775
|
240,
|
|
933
776
|
300
|
|
934
|
-
], /* @__PURE__ */
|
|
935
|
-
blossom: /* @__PURE__ */
|
|
777
|
+
], /* @__PURE__ */ g("path", { d: "M12 1.8c1.2 5 7 5.8 5.5 10.2-1.1 3.3-5.5 3-5.5 0-4.2-.8-5.1-4.2 0-10.2Z" })),
|
|
778
|
+
blossom: /* @__PURE__ */ _(h, { children: [H([
|
|
936
779
|
0,
|
|
937
780
|
72,
|
|
938
781
|
144,
|
|
939
782
|
216,
|
|
940
783
|
288
|
|
941
|
-
], /* @__PURE__ */
|
|
784
|
+
], /* @__PURE__ */ g("circle", {
|
|
942
785
|
cx: "12",
|
|
943
786
|
cy: "6.6",
|
|
944
787
|
r: "4.6"
|
|
945
|
-
})), /* @__PURE__ */
|
|
788
|
+
})), /* @__PURE__ */ g("circle", {
|
|
946
789
|
cx: "12",
|
|
947
790
|
cy: "12",
|
|
948
791
|
r: "3.8",
|
|
@@ -954,26 +797,26 @@ var U = {
|
|
|
954
797
|
144,
|
|
955
798
|
216,
|
|
956
799
|
288
|
|
957
|
-
], /* @__PURE__ */
|
|
958
|
-
lantern: /* @__PURE__ */
|
|
800
|
+
], /* @__PURE__ */ g("path", { d: "M12 12C5 15 1 8 6 3c5-2 8 1 8 5-2-2-5-1-5 1s1 3 3 3Z" })),
|
|
801
|
+
lantern: /* @__PURE__ */ _(h, { children: [H([
|
|
959
802
|
0,
|
|
960
803
|
90,
|
|
961
804
|
180,
|
|
962
805
|
270
|
|
963
|
-
], /* @__PURE__ */
|
|
806
|
+
], /* @__PURE__ */ g("path", { d: "m12 1.5 4 6-4 5-4-5Z" })), H([
|
|
964
807
|
45,
|
|
965
808
|
135,
|
|
966
809
|
225,
|
|
967
810
|
315
|
|
968
|
-
], /* @__PURE__ */
|
|
811
|
+
], /* @__PURE__ */ g("path", {
|
|
969
812
|
d: "m12 3.5 3 5-3 3.5-3-3.5Z",
|
|
970
813
|
fillOpacity: ".45"
|
|
971
814
|
}))] }),
|
|
972
|
-
lattice: /* @__PURE__ */
|
|
815
|
+
lattice: /* @__PURE__ */ _(h, { children: [[
|
|
973
816
|
5,
|
|
974
817
|
10,
|
|
975
818
|
15
|
|
976
|
-
].map((e) => /* @__PURE__ */
|
|
819
|
+
].map((e) => /* @__PURE__ */ g("rect", {
|
|
977
820
|
x: e,
|
|
978
821
|
y: "3",
|
|
979
822
|
width: "4",
|
|
@@ -984,7 +827,7 @@ var U = {
|
|
|
984
827
|
5,
|
|
985
828
|
10,
|
|
986
829
|
15
|
|
987
|
-
].map((e) => /* @__PURE__ */
|
|
830
|
+
].map((e) => /* @__PURE__ */ g("rect", {
|
|
988
831
|
x: "3",
|
|
989
832
|
y: e,
|
|
990
833
|
width: "18",
|
|
@@ -992,23 +835,23 @@ var U = {
|
|
|
992
835
|
rx: "2",
|
|
993
836
|
fillOpacity: ".45"
|
|
994
837
|
}, e))] }),
|
|
995
|
-
mosaic: /* @__PURE__ */
|
|
838
|
+
mosaic: /* @__PURE__ */ _(h, { children: [
|
|
996
839
|
H([
|
|
997
840
|
0,
|
|
998
841
|
90,
|
|
999
842
|
180,
|
|
1000
843
|
270
|
|
1001
|
-
], /* @__PURE__ */
|
|
844
|
+
], /* @__PURE__ */ g("path", { d: "m12 1.5 4.5 4.5-4.5 4.5L7.5 6Z" })),
|
|
1002
845
|
H([
|
|
1003
846
|
0,
|
|
1004
847
|
90,
|
|
1005
848
|
180,
|
|
1006
849
|
270
|
|
1007
|
-
], /* @__PURE__ */
|
|
850
|
+
], /* @__PURE__ */ g("path", {
|
|
1008
851
|
d: "m5.5 5.5 3 3-3 3-3-3Z",
|
|
1009
852
|
fillOpacity: ".45"
|
|
1010
853
|
})),
|
|
1011
|
-
/* @__PURE__ */
|
|
854
|
+
/* @__PURE__ */ g("path", { d: "m12 8 4 4-4 4-4-4Z" })
|
|
1012
855
|
] }),
|
|
1013
856
|
dahlia: H([
|
|
1014
857
|
0,
|
|
@@ -1023,30 +866,30 @@ var U = {
|
|
|
1023
866
|
270,
|
|
1024
867
|
300,
|
|
1025
868
|
330
|
|
1026
|
-
], /* @__PURE__ */
|
|
869
|
+
], /* @__PURE__ */ g("ellipse", {
|
|
1027
870
|
cx: "12",
|
|
1028
871
|
cy: "6.3",
|
|
1029
872
|
rx: "1.9",
|
|
1030
873
|
ry: "4.5",
|
|
1031
874
|
fillOpacity: ".5"
|
|
1032
875
|
})),
|
|
1033
|
-
lotus: /* @__PURE__ */
|
|
1034
|
-
/* @__PURE__ */
|
|
876
|
+
lotus: /* @__PURE__ */ _(h, { children: [
|
|
877
|
+
/* @__PURE__ */ g("path", {
|
|
1035
878
|
d: "M12 12C5 6 1 8 1.8 10.5 3 17 8 20 12 20Z",
|
|
1036
879
|
fillOpacity: ".5"
|
|
1037
880
|
}),
|
|
1038
|
-
/* @__PURE__ */
|
|
881
|
+
/* @__PURE__ */ g("path", {
|
|
1039
882
|
d: "M12 12c7-6 11-4 10.2-1.5C21 17 16 20 12 20Z",
|
|
1040
883
|
fillOpacity: ".5"
|
|
1041
884
|
}),
|
|
1042
|
-
/* @__PURE__ */
|
|
1043
|
-
/* @__PURE__ */
|
|
1044
|
-
/* @__PURE__ */
|
|
885
|
+
/* @__PURE__ */ g("path", { d: "M12 8C8 1 4 2 4 6c0 7 3 11 8 14Z" }),
|
|
886
|
+
/* @__PURE__ */ g("path", { d: "M12 8c4-7 8-6 8-2 0 7-3 11-8 14Z" }),
|
|
887
|
+
/* @__PURE__ */ g("path", {
|
|
1045
888
|
d: "M12 1c-5 6-5 13 0 19 5-6 5-13 0-19Z",
|
|
1046
889
|
fillOpacity: ".55"
|
|
1047
890
|
})
|
|
1048
891
|
] }),
|
|
1049
|
-
mandala: /* @__PURE__ */
|
|
892
|
+
mandala: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("circle", {
|
|
1050
893
|
cx: "12",
|
|
1051
894
|
cy: "12",
|
|
1052
895
|
r: "9.5",
|
|
@@ -1058,44 +901,44 @@ var U = {
|
|
|
1058
901
|
180,
|
|
1059
902
|
240,
|
|
1060
903
|
300
|
|
1061
|
-
], /* @__PURE__ */
|
|
904
|
+
], /* @__PURE__ */ g("circle", {
|
|
1062
905
|
cx: "12",
|
|
1063
906
|
cy: "8.4",
|
|
1064
907
|
r: "5.3",
|
|
1065
908
|
fillOpacity: ".3"
|
|
1066
909
|
}))] }),
|
|
1067
|
-
braid: /* @__PURE__ */
|
|
910
|
+
braid: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("path", { d: "M4 2c12 0 0 15 16 15v5C-2 22 13 7 4 7Z" }), /* @__PURE__ */ g("path", {
|
|
1068
911
|
d: "M20 2C8 2 20 17 4 17v5C26 22 11 7 20 7Z",
|
|
1069
912
|
fillOpacity: ".5"
|
|
1070
913
|
})] }),
|
|
1071
|
-
gem: /* @__PURE__ */
|
|
1072
|
-
/* @__PURE__ */
|
|
914
|
+
gem: /* @__PURE__ */ _(h, { children: [
|
|
915
|
+
/* @__PURE__ */ g("path", {
|
|
1073
916
|
d: "m12 1.5 8 6v9l-8 6-8-6v-9Z",
|
|
1074
917
|
fillOpacity: ".35"
|
|
1075
918
|
}),
|
|
1076
|
-
/* @__PURE__ */
|
|
919
|
+
/* @__PURE__ */ g("path", {
|
|
1077
920
|
d: "m12 1.5 4 10.5-4 10.5L8 12Z",
|
|
1078
921
|
fillOpacity: ".7"
|
|
1079
922
|
}),
|
|
1080
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ g("path", {
|
|
1081
924
|
d: "m4 7.5 12 4.5-12 4.5ZM20 7.5 8 12l12 4.5Z",
|
|
1082
925
|
fillOpacity: ".45"
|
|
1083
926
|
})
|
|
1084
927
|
] }),
|
|
1085
|
-
eclipse: /* @__PURE__ */
|
|
1086
|
-
/* @__PURE__ */
|
|
928
|
+
eclipse: /* @__PURE__ */ _(h, { children: [
|
|
929
|
+
/* @__PURE__ */ g("circle", {
|
|
1087
930
|
cx: "11",
|
|
1088
931
|
cy: "12",
|
|
1089
932
|
r: "9.5",
|
|
1090
933
|
fillOpacity: ".35"
|
|
1091
934
|
}),
|
|
1092
|
-
/* @__PURE__ */
|
|
935
|
+
/* @__PURE__ */ g("circle", {
|
|
1093
936
|
cx: "14",
|
|
1094
937
|
cy: "12",
|
|
1095
938
|
r: "7.5",
|
|
1096
939
|
fillOpacity: ".45"
|
|
1097
940
|
}),
|
|
1098
|
-
/* @__PURE__ */
|
|
941
|
+
/* @__PURE__ */ g("circle", {
|
|
1099
942
|
cx: "16.4",
|
|
1100
943
|
cy: "12",
|
|
1101
944
|
r: "5.2",
|
|
@@ -1107,11 +950,11 @@ var U = {
|
|
|
1107
950
|
90,
|
|
1108
951
|
180,
|
|
1109
952
|
270
|
|
1110
|
-
], /* @__PURE__ */
|
|
1111
|
-
crossweave: /* @__PURE__ */
|
|
953
|
+
], /* @__PURE__ */ g("path", { d: "M12 12C2 13 2 3 8 2c5-1 7 5 5 8-1-4-6-4-6-1 0 2 2 3 5 3Z" })),
|
|
954
|
+
crossweave: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("path", {
|
|
1112
955
|
d: "m5 2 7 10-7 10h14l-7-10 7-10Z",
|
|
1113
956
|
fillOpacity: ".55"
|
|
1114
|
-
}), /* @__PURE__ */
|
|
957
|
+
}), /* @__PURE__ */ g("path", {
|
|
1115
958
|
d: "m2 5 10 7 10-7v14l-10-7-10 7Z",
|
|
1116
959
|
fillOpacity: ".55"
|
|
1117
960
|
})] }),
|
|
@@ -1122,12 +965,12 @@ var U = {
|
|
|
1122
965
|
180,
|
|
1123
966
|
240,
|
|
1124
967
|
300
|
|
1125
|
-
], /* @__PURE__ */
|
|
968
|
+
], /* @__PURE__ */ g("path", { d: "m12 2 8.6 5-3 5.2L9 7.2Z" })),
|
|
1126
969
|
triad: H([
|
|
1127
970
|
0,
|
|
1128
971
|
120,
|
|
1129
972
|
240
|
|
1130
|
-
], /* @__PURE__ */
|
|
973
|
+
], /* @__PURE__ */ g("path", {
|
|
1131
974
|
d: "M12 2C4 5 3 12 12 17c9-5 8-12 0-15Z",
|
|
1132
975
|
fillOpacity: ".6"
|
|
1133
976
|
}))
|
|
@@ -1319,8 +1162,8 @@ function Y(e) {
|
|
|
1319
1162
|
};
|
|
1320
1163
|
}
|
|
1321
1164
|
function oe({ seed: e, appearance: t, size: n = "sm", label: r }) {
|
|
1322
|
-
let i = t ?? Y(e), a =
|
|
1323
|
-
return /* @__PURE__ */
|
|
1165
|
+
let i = t ?? Y(e), a = f();
|
|
1166
|
+
return /* @__PURE__ */ _("svg", {
|
|
1324
1167
|
viewBox: "0 0 24 24",
|
|
1325
1168
|
fill: `url(#${a})`,
|
|
1326
1169
|
fillOpacity: ".76",
|
|
@@ -1332,24 +1175,24 @@ function oe({ seed: e, appearance: t, size: n = "sm", label: r }) {
|
|
|
1332
1175
|
"aria-label": r,
|
|
1333
1176
|
"aria-hidden": r === void 0 || void 0,
|
|
1334
1177
|
...o.props(K.root, q[n], J[i.color]),
|
|
1335
|
-
children: [/* @__PURE__ */
|
|
1178
|
+
children: [/* @__PURE__ */ g("defs", { children: /* @__PURE__ */ _("linearGradient", {
|
|
1336
1179
|
id: a,
|
|
1337
1180
|
x1: "0",
|
|
1338
1181
|
y1: "0",
|
|
1339
1182
|
x2: "1",
|
|
1340
1183
|
y2: "1",
|
|
1341
1184
|
children: [
|
|
1342
|
-
/* @__PURE__ */
|
|
1185
|
+
/* @__PURE__ */ g("stop", {
|
|
1343
1186
|
offset: "0",
|
|
1344
1187
|
stopColor: "currentColor",
|
|
1345
1188
|
stopOpacity: ".6"
|
|
1346
1189
|
}),
|
|
1347
|
-
/* @__PURE__ */
|
|
1190
|
+
/* @__PURE__ */ g("stop", {
|
|
1348
1191
|
offset: ".65",
|
|
1349
1192
|
stopColor: "currentColor",
|
|
1350
1193
|
stopOpacity: "1"
|
|
1351
1194
|
}),
|
|
1352
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ g("stop", {
|
|
1353
1196
|
offset: "1",
|
|
1354
1197
|
stopColor: "currentColor",
|
|
1355
1198
|
stopOpacity: ".8"
|
|
@@ -1384,90 +1227,90 @@ var X = {
|
|
|
1384
1227
|
copied: X.visible,
|
|
1385
1228
|
failed: X.hidden
|
|
1386
1229
|
};
|
|
1387
|
-
function de({ value:
|
|
1388
|
-
let [
|
|
1389
|
-
value:
|
|
1230
|
+
function de({ value: e, label: t, display: n = "value", children: a, className: c, style: l, disabled: u = !1, onClick: f, render: h, ...v }) {
|
|
1231
|
+
let [y, b] = m({
|
|
1232
|
+
value: e,
|
|
1390
1233
|
status: "idle"
|
|
1391
|
-
}),
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
}, [
|
|
1395
|
-
if (!ce.has(
|
|
1396
|
-
let
|
|
1397
|
-
|
|
1398
|
-
value:
|
|
1234
|
+
}), S = p(0), C = y.value === e ? y.status : "idle";
|
|
1235
|
+
d(() => () => {
|
|
1236
|
+
S.current += 1;
|
|
1237
|
+
}, [e]), d(() => {
|
|
1238
|
+
if (!ce.has(y.status)) return;
|
|
1239
|
+
let t = globalThis.setTimeout(() => {
|
|
1240
|
+
b((t) => t === y ? {
|
|
1241
|
+
value: e,
|
|
1399
1242
|
status: "idle"
|
|
1400
|
-
} :
|
|
1243
|
+
} : t);
|
|
1401
1244
|
}, se);
|
|
1402
|
-
return () => globalThis.clearTimeout(
|
|
1403
|
-
}, [
|
|
1404
|
-
async function
|
|
1405
|
-
|
|
1406
|
-
let
|
|
1407
|
-
|
|
1408
|
-
value:
|
|
1245
|
+
return () => globalThis.clearTimeout(t);
|
|
1246
|
+
}, [y, e]);
|
|
1247
|
+
async function w() {
|
|
1248
|
+
S.current += 1;
|
|
1249
|
+
let t = S.current;
|
|
1250
|
+
b({
|
|
1251
|
+
value: e,
|
|
1409
1252
|
status: "pending"
|
|
1410
1253
|
});
|
|
1411
1254
|
try {
|
|
1412
|
-
await navigator.clipboard.writeText(typeof
|
|
1413
|
-
value:
|
|
1255
|
+
await navigator.clipboard.writeText(typeof e == "string" ? e : e()), S.current === t && b({
|
|
1256
|
+
value: e,
|
|
1414
1257
|
status: "copied"
|
|
1415
1258
|
});
|
|
1416
1259
|
} catch {
|
|
1417
|
-
|
|
1418
|
-
value:
|
|
1260
|
+
S.current === t && b({
|
|
1261
|
+
value: e,
|
|
1419
1262
|
status: "failed"
|
|
1420
1263
|
});
|
|
1421
1264
|
}
|
|
1422
1265
|
}
|
|
1423
|
-
let
|
|
1266
|
+
let T = C === "copied" ? x : ee, E = {
|
|
1424
1267
|
idle: "",
|
|
1425
1268
|
pending: "",
|
|
1426
|
-
copied: `${
|
|
1427
|
-
failed: `Could not copy ${
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
...
|
|
1436
|
-
className:
|
|
1437
|
-
style:
|
|
1269
|
+
copied: `${t} copied`,
|
|
1270
|
+
failed: `Could not copy ${t}. Select and copy the value.`
|
|
1271
|
+
};
|
|
1272
|
+
return /* @__PURE__ */ _(s, {
|
|
1273
|
+
...v,
|
|
1274
|
+
...h !== void 0 && { render: h },
|
|
1275
|
+
onClick: (e, t) => {
|
|
1276
|
+
f?.(e, t), e.defaultPrevented || w();
|
|
1277
|
+
},
|
|
1278
|
+
...r({
|
|
1279
|
+
className: c,
|
|
1280
|
+
style: l,
|
|
1438
1281
|
styles: {
|
|
1439
1282
|
0: {},
|
|
1440
1283
|
1: { className: "x3nfvp2 x6s0dn4 x193iq5w x16exltd x17oiadl xbgj81g x1717udv xc342km xjbqb8w x153jb6y x1hz01jw xj57cvi xvmahel xtqrqnz x1778rvt x1yc453h x1ypdohk xy7uoan xoqm7u7 xdibjt2 xwpgcpl xknznnm x19rmrnh x9v5kkp x13qnu6 x7s97pk" }
|
|
1441
|
-
}[
|
|
1284
|
+
}[h === void 0 | 0]
|
|
1442
1285
|
}),
|
|
1443
1286
|
type: "button",
|
|
1444
|
-
"aria-label": `Copy ${
|
|
1445
|
-
"aria-busy":
|
|
1446
|
-
disabled:
|
|
1447
|
-
focusableWhenDisabled:
|
|
1448
|
-
title:
|
|
1287
|
+
"aria-label": `Copy ${t}`,
|
|
1288
|
+
"aria-busy": C === "pending" || v["aria-busy"],
|
|
1289
|
+
disabled: u || C === "pending",
|
|
1290
|
+
focusableWhenDisabled: C === "pending" || v.focusableWhenDisabled === !0,
|
|
1291
|
+
title: v.title ?? (typeof e == "string" ? e : t),
|
|
1449
1292
|
children: [
|
|
1450
|
-
|
|
1293
|
+
n === "value" && /* @__PURE__ */ _("span", {
|
|
1451
1294
|
className: "xwz0xwf xeuugli",
|
|
1452
|
-
children: [/* @__PURE__ */
|
|
1453
|
-
"aria-hidden":
|
|
1454
|
-
...o.props(X.value, le[
|
|
1455
|
-
children:
|
|
1456
|
-
}), /* @__PURE__ */
|
|
1457
|
-
"aria-hidden":
|
|
1458
|
-
...o.props(X.value, ue[
|
|
1295
|
+
children: [/* @__PURE__ */ g("span", {
|
|
1296
|
+
"aria-hidden": C === "copied",
|
|
1297
|
+
...o.props(X.value, le[C]),
|
|
1298
|
+
children: a ?? (typeof e == "string" ? e : t)
|
|
1299
|
+
}), /* @__PURE__ */ g("span", {
|
|
1300
|
+
"aria-hidden": C !== "copied",
|
|
1301
|
+
...o.props(X.value, ue[C]),
|
|
1459
1302
|
children: "Copied"
|
|
1460
1303
|
})]
|
|
1461
1304
|
}),
|
|
1462
|
-
/* @__PURE__ */
|
|
1463
|
-
size:
|
|
1305
|
+
/* @__PURE__ */ g(T, {
|
|
1306
|
+
size: n === "icon" ? 16 : 12,
|
|
1464
1307
|
"aria-hidden": !0,
|
|
1465
1308
|
className: "x2lah0s"
|
|
1466
1309
|
}),
|
|
1467
|
-
/* @__PURE__ */
|
|
1310
|
+
/* @__PURE__ */ g("span", {
|
|
1468
1311
|
role: "status",
|
|
1469
|
-
...o.props(
|
|
1470
|
-
children:
|
|
1312
|
+
...o.props(i.hidden),
|
|
1313
|
+
children: E[C]
|
|
1471
1314
|
})
|
|
1472
1315
|
]
|
|
1473
1316
|
});
|
|
@@ -1525,7 +1368,7 @@ var Z = {
|
|
|
1525
1368
|
kzqmXN: "xtwnzbg",
|
|
1526
1369
|
kZKoxP: "x18utl2x",
|
|
1527
1370
|
kMwMTN: "x153jb6y",
|
|
1528
|
-
k3aq6I: "x9tu13d
|
|
1371
|
+
k3aq6I: "x9tu13d x1yphl2d",
|
|
1529
1372
|
$$css: !0
|
|
1530
1373
|
}
|
|
1531
1374
|
}, fe = {
|
|
@@ -1535,66 +1378,66 @@ var Z = {
|
|
|
1535
1378
|
default: null,
|
|
1536
1379
|
inline: Z.inlineIcon
|
|
1537
1380
|
};
|
|
1538
|
-
function me({ className:
|
|
1539
|
-
return /* @__PURE__ */
|
|
1540
|
-
...
|
|
1541
|
-
...
|
|
1542
|
-
className:
|
|
1543
|
-
style:
|
|
1381
|
+
function me({ className: e, style: t, ...n }) {
|
|
1382
|
+
return /* @__PURE__ */ g(D.Accordion, {
|
|
1383
|
+
...n,
|
|
1384
|
+
...r({
|
|
1385
|
+
className: e,
|
|
1386
|
+
style: t,
|
|
1544
1387
|
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1545
1388
|
})
|
|
1546
1389
|
});
|
|
1547
1390
|
}
|
|
1548
|
-
function he({ className:
|
|
1549
|
-
return /* @__PURE__ */
|
|
1550
|
-
...
|
|
1551
|
-
...
|
|
1552
|
-
className:
|
|
1553
|
-
style:
|
|
1391
|
+
function he({ className: e, style: t, ...n }) {
|
|
1392
|
+
return /* @__PURE__ */ g(D.AccordionItem, {
|
|
1393
|
+
...n,
|
|
1394
|
+
...r({
|
|
1395
|
+
className: e,
|
|
1396
|
+
style: t,
|
|
1554
1397
|
styles: { className: "xso031l x1q0q8m5 x1qndepd" }
|
|
1555
1398
|
})
|
|
1556
1399
|
});
|
|
1557
1400
|
}
|
|
1558
|
-
function ge({ className:
|
|
1559
|
-
return /* @__PURE__ */
|
|
1560
|
-
...
|
|
1561
|
-
...
|
|
1562
|
-
className:
|
|
1563
|
-
style:
|
|
1401
|
+
function ge({ className: e, style: t, ...n }) {
|
|
1402
|
+
return /* @__PURE__ */ g(D.AccordionHeader, {
|
|
1403
|
+
...n,
|
|
1404
|
+
...r({
|
|
1405
|
+
className: e,
|
|
1406
|
+
style: t,
|
|
1564
1407
|
styles: { className: "x1ghz6dp x1qlqyl8 x1pd3egz" }
|
|
1565
1408
|
})
|
|
1566
1409
|
});
|
|
1567
1410
|
}
|
|
1568
|
-
function _e({ className:
|
|
1569
|
-
return /* @__PURE__ */
|
|
1411
|
+
function _e({ className: e, style: t, children: n, ...i }) {
|
|
1412
|
+
return /* @__PURE__ */ _(D.AccordionTrigger, {
|
|
1570
1413
|
...i,
|
|
1571
|
-
...
|
|
1572
|
-
className:
|
|
1573
|
-
style:
|
|
1414
|
+
...r({
|
|
1415
|
+
className: e,
|
|
1416
|
+
style: t,
|
|
1574
1417
|
styles: { className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xh8yej3 x17tes2r x17oiadl xnjsko4 xn9t2bk xc342km xjbqb8w x18vtl6o xyg3wme xjb2p0i x1qlqyl8 x15bjb6t xk4h15q x1heor9g x1yc453h xj0a0fe x1ypdohk xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x7s97pk x-default-marker" }
|
|
1575
1418
|
}),
|
|
1576
|
-
children: [
|
|
1419
|
+
children: [n, /* @__PURE__ */ g(S, {
|
|
1577
1420
|
"aria-hidden": !0,
|
|
1578
|
-
className: "x2lah0s xtwnzbg x18utl2x x153jb6y x9tu13d
|
|
1421
|
+
className: "x2lah0s xtwnzbg x18utl2x x153jb6y x9tu13d x1yphl2d"
|
|
1579
1422
|
})]
|
|
1580
1423
|
});
|
|
1581
1424
|
}
|
|
1582
|
-
function ve({ className:
|
|
1583
|
-
return /* @__PURE__ */
|
|
1584
|
-
...
|
|
1585
|
-
...
|
|
1586
|
-
className:
|
|
1587
|
-
style:
|
|
1425
|
+
function ve({ className: e, style: t, ...n }) {
|
|
1426
|
+
return /* @__PURE__ */ g(D.AccordionPanel, {
|
|
1427
|
+
...n,
|
|
1428
|
+
...r({
|
|
1429
|
+
className: e,
|
|
1430
|
+
style: t,
|
|
1588
1431
|
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1589
1432
|
})
|
|
1590
1433
|
});
|
|
1591
1434
|
}
|
|
1592
|
-
function ye({ className:
|
|
1593
|
-
return /* @__PURE__ */
|
|
1594
|
-
...
|
|
1595
|
-
...
|
|
1596
|
-
className:
|
|
1597
|
-
style:
|
|
1435
|
+
function ye({ className: e, style: t, ...n }) {
|
|
1436
|
+
return /* @__PURE__ */ g(O.Collapsible, {
|
|
1437
|
+
...n,
|
|
1438
|
+
...r({
|
|
1439
|
+
className: e,
|
|
1440
|
+
style: t,
|
|
1598
1441
|
styles: { className: "xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xbixft" }
|
|
1599
1442
|
})
|
|
1600
1443
|
});
|
|
@@ -1603,26 +1446,26 @@ var be = {
|
|
|
1603
1446
|
"x-default-marker": "x-default-marker",
|
|
1604
1447
|
$$css: !0
|
|
1605
1448
|
};
|
|
1606
|
-
function xe({ className:
|
|
1607
|
-
return /* @__PURE__ */
|
|
1449
|
+
function xe({ className: e, style: t, children: n, variant: i = "default", ...a }) {
|
|
1450
|
+
return /* @__PURE__ */ _(O.CollapsibleTrigger, {
|
|
1608
1451
|
...a,
|
|
1609
|
-
...
|
|
1610
|
-
className:
|
|
1611
|
-
style:
|
|
1452
|
+
...r({
|
|
1453
|
+
className: e,
|
|
1454
|
+
style: t,
|
|
1612
1455
|
styles: o.props(Z.trigger, fe[i], be)
|
|
1613
1456
|
}),
|
|
1614
|
-
children: [
|
|
1457
|
+
children: [n, /* @__PURE__ */ g(S, {
|
|
1615
1458
|
"aria-hidden": !0,
|
|
1616
1459
|
...o.props(Z.icon, pe[i])
|
|
1617
1460
|
})]
|
|
1618
1461
|
});
|
|
1619
1462
|
}
|
|
1620
|
-
function Se({ className:
|
|
1621
|
-
return /* @__PURE__ */
|
|
1622
|
-
...
|
|
1623
|
-
...
|
|
1624
|
-
className:
|
|
1625
|
-
style:
|
|
1463
|
+
function Se({ className: e, style: t, ...n }) {
|
|
1464
|
+
return /* @__PURE__ */ g(O.CollapsiblePanel, {
|
|
1465
|
+
...n,
|
|
1466
|
+
...r({
|
|
1467
|
+
className: e,
|
|
1468
|
+
style: t,
|
|
1626
1469
|
styles: { className: "x1wpizpg xj0a0fe" }
|
|
1627
1470
|
})
|
|
1628
1471
|
});
|
|
@@ -1661,31 +1504,31 @@ var Ce = {
|
|
|
1661
1504
|
$$css: !0
|
|
1662
1505
|
} };
|
|
1663
1506
|
function Ee({ isPadded: e = !0, ...t }) {
|
|
1664
|
-
return /* @__PURE__ */
|
|
1507
|
+
return /* @__PURE__ */ g("section", { ...c({
|
|
1665
1508
|
0: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" },
|
|
1666
1509
|
1: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel x1jvlu93" }
|
|
1667
1510
|
}[!!e | 0], t) });
|
|
1668
1511
|
}
|
|
1669
1512
|
function De({ xstyle: e, ...t }) {
|
|
1670
|
-
return /* @__PURE__ */
|
|
1513
|
+
return /* @__PURE__ */ g("a", { ...c(o.props(Te.link, e), t) });
|
|
1671
1514
|
}
|
|
1672
1515
|
function Oe({ shouldSpaceBetween: e = !1, ...t }) {
|
|
1673
|
-
return /* @__PURE__ */
|
|
1516
|
+
return /* @__PURE__ */ g("div", { ...c({
|
|
1674
1517
|
0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
|
|
1675
1518
|
1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
|
|
1676
1519
|
}[!!e | 0], t) });
|
|
1677
1520
|
}
|
|
1678
1521
|
function ke({ isCompact: e = !1, ...t }) {
|
|
1679
|
-
return /* @__PURE__ */
|
|
1522
|
+
return /* @__PURE__ */ g("div", { ...c({
|
|
1680
1523
|
0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
|
|
1681
1524
|
1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
|
|
1682
1525
|
}[!!e | 0], t) });
|
|
1683
1526
|
}
|
|
1684
1527
|
function Ae(e) {
|
|
1685
|
-
return /* @__PURE__ */
|
|
1528
|
+
return /* @__PURE__ */ g("div", { ...c({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
|
|
1686
1529
|
}
|
|
1687
1530
|
function je(e) {
|
|
1688
|
-
return /* @__PURE__ */
|
|
1531
|
+
return /* @__PURE__ */ g("hr", { ...c({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
|
|
1689
1532
|
}
|
|
1690
1533
|
// packages/core/src/section-heading.tsx
|
|
1691
1534
|
var Me = { root: {
|
|
@@ -1697,23 +1540,23 @@ var Me = { root: {
|
|
|
1697
1540
|
kLWn49: "x1778rvt",
|
|
1698
1541
|
$$css: !0
|
|
1699
1542
|
} };
|
|
1700
|
-
function Ne({ title: e, id: t, meta:
|
|
1701
|
-
let
|
|
1702
|
-
...o.props(
|
|
1543
|
+
function Ne({ title: e, id: t, meta: n, actions: r }) {
|
|
1544
|
+
let i = u.toArray(n).length > 0, s = u.toArray(r).length > 0, c = i || s, l = i && /* @__PURE__ */ g("div", {
|
|
1545
|
+
...o.props(a.meta),
|
|
1546
|
+
children: n
|
|
1547
|
+
}), d = s && /* @__PURE__ */ g("div", {
|
|
1548
|
+
...o.props(a.actions),
|
|
1703
1549
|
children: r
|
|
1704
|
-
}), d = c && /* @__PURE__ */ p("div", {
|
|
1705
|
-
...o.props(n.actions),
|
|
1706
|
-
children: i
|
|
1707
1550
|
});
|
|
1708
|
-
return /* @__PURE__ */
|
|
1709
|
-
...o.props(
|
|
1710
|
-
children: [/* @__PURE__ */
|
|
1551
|
+
return /* @__PURE__ */ _("div", {
|
|
1552
|
+
...o.props(a.row, a.blockEnd, Me.root),
|
|
1553
|
+
children: [/* @__PURE__ */ g("h2", {
|
|
1711
1554
|
id: t,
|
|
1712
|
-
...o.props(
|
|
1555
|
+
...o.props(a.title),
|
|
1713
1556
|
children: e
|
|
1714
|
-
}),
|
|
1715
|
-
...o.props(
|
|
1716
|
-
children: [
|
|
1557
|
+
}), c && /* @__PURE__ */ _("div", {
|
|
1558
|
+
...o.props(a.trailing),
|
|
1559
|
+
children: [l, d]
|
|
1717
1560
|
})]
|
|
1718
1561
|
});
|
|
1719
1562
|
}
|
|
@@ -1826,69 +1669,69 @@ var Q = {
|
|
|
1826
1669
|
}, Fe = {
|
|
1827
1670
|
ink: Q.ink,
|
|
1828
1671
|
muted: Q.muted
|
|
1829
|
-
},
|
|
1672
|
+
}, Ie = {
|
|
1830
1673
|
neutral: Q.neutral,
|
|
1831
1674
|
positive: Q.positive,
|
|
1832
1675
|
warning: Q.warning,
|
|
1833
1676
|
negative: Q.negative
|
|
1834
|
-
},
|
|
1677
|
+
}, Le = {
|
|
1835
1678
|
neutral: Q.neutralIcon,
|
|
1836
1679
|
positive: Q.positiveIcon,
|
|
1837
1680
|
warning: Q.warningIcon,
|
|
1838
1681
|
negative: Q.negativeIcon
|
|
1839
|
-
},
|
|
1840
|
-
neutral:
|
|
1841
|
-
positive:
|
|
1842
|
-
warning:
|
|
1843
|
-
negative:
|
|
1682
|
+
}, Re = {
|
|
1683
|
+
neutral: C,
|
|
1684
|
+
positive: w,
|
|
1685
|
+
warning: E,
|
|
1686
|
+
negative: T
|
|
1844
1687
|
};
|
|
1845
|
-
function
|
|
1846
|
-
return /* @__PURE__ */
|
|
1688
|
+
function ze({ variant: e = "body", tone: t = "ink", xstyle: n, ...r }) {
|
|
1689
|
+
return /* @__PURE__ */ g("span", { ...c(o.props(Q.text, Pe[e], Fe[t], n), r) });
|
|
1847
1690
|
}
|
|
1848
|
-
function
|
|
1849
|
-
return /* @__PURE__ */
|
|
1691
|
+
function $({ isCompact: e = !1, ...t }) {
|
|
1692
|
+
return /* @__PURE__ */ g("h1", { ...c({
|
|
1850
1693
|
0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz xvukjed xzju6ct x1vxm5eg x1b5ytql x1wjjqco xbixft xj0a0fe" },
|
|
1851
1694
|
1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
|
|
1852
1695
|
}[!!e | 0], t) });
|
|
1853
1696
|
}
|
|
1854
1697
|
function Be(e) {
|
|
1855
|
-
return /* @__PURE__ */
|
|
1698
|
+
return /* @__PURE__ */ g("h2", { ...c({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
|
|
1856
1699
|
}
|
|
1857
1700
|
function Ve(e) {
|
|
1858
|
-
return /* @__PURE__ */
|
|
1701
|
+
return /* @__PURE__ */ g("p", { ...c({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
|
|
1859
1702
|
}
|
|
1860
1703
|
function He(e) {
|
|
1861
|
-
return /* @__PURE__ */
|
|
1704
|
+
return /* @__PURE__ */ g("span", { ...c({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
|
|
1862
1705
|
}
|
|
1863
1706
|
function Ue(e) {
|
|
1864
|
-
return /* @__PURE__ */
|
|
1707
|
+
return /* @__PURE__ */ g("pre", { ...c({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
|
|
1865
1708
|
}
|
|
1866
1709
|
function We({ children: e, tone: t = "neutral", ...n }) {
|
|
1867
|
-
return /* @__PURE__ */
|
|
1868
|
-
...
|
|
1869
|
-
children: [/* @__PURE__ */
|
|
1710
|
+
return /* @__PURE__ */ _("span", {
|
|
1711
|
+
...c(o.props(Q.badge, Ie[t]), n),
|
|
1712
|
+
children: [/* @__PURE__ */ g(C, {
|
|
1870
1713
|
size: 5,
|
|
1871
1714
|
fill: "currentColor",
|
|
1872
1715
|
"aria-hidden": !0,
|
|
1873
1716
|
className: "x2lah0s"
|
|
1874
|
-
}), /* @__PURE__ */
|
|
1717
|
+
}), /* @__PURE__ */ g("span", {
|
|
1875
1718
|
className: "xeuugli xj0a0fe",
|
|
1876
1719
|
children: e
|
|
1877
1720
|
})]
|
|
1878
1721
|
});
|
|
1879
1722
|
}
|
|
1880
1723
|
function Ge({ children: e, tone: t = "neutral", ...n }) {
|
|
1881
|
-
let r =
|
|
1882
|
-
return /* @__PURE__ */
|
|
1883
|
-
...
|
|
1884
|
-
children: [/* @__PURE__ */
|
|
1724
|
+
let r = Re[t];
|
|
1725
|
+
return /* @__PURE__ */ _("span", {
|
|
1726
|
+
...c({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, n),
|
|
1727
|
+
children: [/* @__PURE__ */ g(r, {
|
|
1885
1728
|
size: 14,
|
|
1886
1729
|
"aria-hidden": !0,
|
|
1887
|
-
...o.props(Q.statusIcon,
|
|
1888
|
-
}), /* @__PURE__ */
|
|
1730
|
+
...o.props(Q.statusIcon, Le[t])
|
|
1731
|
+
}), /* @__PURE__ */ g("span", {
|
|
1889
1732
|
className: "xeuugli xj0a0fe",
|
|
1890
1733
|
children: e
|
|
1891
1734
|
})]
|
|
1892
1735
|
});
|
|
1893
1736
|
}
|
|
1894
|
-
export {
|
|
1737
|
+
export { z as C, te as D, re as E, ne as O, V as S, L as T, we as _, Ue as a, Y as b, ze as c, je as d, Ee as f, Ce as g, De as h, Ve as i, Ne as l, ke as m, $ as n, Ge as o, Oe as p, He as r, Be as s, We as t, Ae as u, de as v, I as w, G as x, oe as y };
|