@imfusion/web-ui 0.11.1-dev.5.g8a97f4f6 → 0.11.1-dev.7.gf073da2b
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/CHANGELOG.md +8 -0
- package/dist/{code-NTcddiYk.js → code-Cl9AzRyF.js} +5 -5
- package/dist/icons/catalog.gen.d.ts +28 -0
- package/dist/icons/icons.gen.d.ts +4 -0
- package/dist/{icons-BsK_o-Cb.js → icons-vc1WZCxX.js} +1027 -879
- package/dist/icons.js +1 -1
- package/dist/index.js +254 -254
- package/dist/integrations/code-highlight.js +1 -1
- package/dist/integrations/image-display-options.js +1 -1
- package/dist/{tabs-CU46aGud.js → tabs-DsDSCA--.js} +3 -3
- package/package.json +1 -1
- package/src/llms/icon-catalog.gen.json +32 -0
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./resolve-state-props-DQf9WiGv.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { a as
|
|
6
|
-
import { c as
|
|
7
|
-
import { a as
|
|
8
|
-
import { t as
|
|
9
|
-
import { Button as
|
|
10
|
-
import { cva as
|
|
11
|
-
import { Fragment as
|
|
2
|
+
import { Dt as n, Ma as r, QA as i, Xo as a, Yt as o, Zj as s, _M as c, aE as l, eM as u, en as d, fn as f, fy as p, hM as ee, in as te, ja as ne, mM as re, oy as ie, rj as ae, uA as oe, vv as se, yE as ce, zm as le } from "./icons-vc1WZCxX.js";
|
|
3
|
+
import { t as m } from "./meta-V_KyLeGn.js";
|
|
4
|
+
import { _ as ue, c as de, f as fe, g as pe, h as me, l as he, m as ge, p as _e, s as ve } from "./tabs-DsDSCA--.js";
|
|
5
|
+
import { a as ye, o as be, r as xe, t as Se } from "./code-Cl9AzRyF.js";
|
|
6
|
+
import { c as Ce } from "./slider-Bf274cMe.js";
|
|
7
|
+
import { a as we, c as Te, i as Ee, n as De, o as Oe, r as ke, s as Ae, t as je } from "./scroll-area-z9Lf9uIk.js";
|
|
8
|
+
import { t as Me } from "./separator-BV2TR8U0.js";
|
|
9
|
+
import { Button as Ne } from "@base-ui/react/button";
|
|
10
|
+
import { cva as Pe, cva as h, cx as Fe, cx as g } from "class-variance-authority";
|
|
11
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
12
12
|
import { Children as Ie, Suspense as Le, createContext as Re, createElement as ze, useCallback as Be, useContext as b, useEffect as Ve, useId as He, useLayoutEffect as Ue, useMemo as We, useRef as Ge, useState as x, useSyncExternalStore as Ke } from "react";
|
|
13
13
|
import { Checkbox as qe } from "@base-ui/react/checkbox";
|
|
14
14
|
import { Field as Je } from "@base-ui/react/field";
|
|
@@ -50,7 +50,7 @@ var j = {
|
|
|
50
50
|
variantPositive: "imf-ui-button-module-variantPositive",
|
|
51
51
|
variantPrimary: "imf-ui-button-module-variantPrimary",
|
|
52
52
|
variantSecondary: "imf-ui-button-module-variantSecondary"
|
|
53
|
-
}, tt =
|
|
53
|
+
}, tt = h(j.root, { variants: {
|
|
54
54
|
variant: {
|
|
55
55
|
primary: j.variantPrimary,
|
|
56
56
|
secondary: j.variantSecondary,
|
|
@@ -86,8 +86,8 @@ var j = {
|
|
|
86
86
|
}
|
|
87
87
|
} });
|
|
88
88
|
function nt({ variant: e = "primary", size: n = "md", context: r = "default", chamfer: i = n === "hero", radius: a = "none", justify: o = "center", startIcon: s, endIcon: c, shortcut: l, children: u, ...d }) {
|
|
89
|
-
return /* @__PURE__ */ y(
|
|
90
|
-
"aria-keyshortcuts": l ?
|
|
89
|
+
return /* @__PURE__ */ y(Ne, {
|
|
90
|
+
"aria-keyshortcuts": l ? me(l) : void 0,
|
|
91
91
|
...d,
|
|
92
92
|
"data-imf-ui-component": "Button",
|
|
93
93
|
className: (s) => tt({
|
|
@@ -114,7 +114,7 @@ function nt({ variant: e = "primary", size: n = "md", context: r = "default", ch
|
|
|
114
114
|
"aria-hidden": !0,
|
|
115
115
|
children: c
|
|
116
116
|
}),
|
|
117
|
-
l && /* @__PURE__ */ v(
|
|
117
|
+
l && /* @__PURE__ */ v(ue, {
|
|
118
118
|
variant: "flat",
|
|
119
119
|
className: j.shortcut,
|
|
120
120
|
"aria-hidden": !0,
|
|
@@ -127,7 +127,7 @@ function nt({ variant: e = "primary", size: n = "md", context: r = "default", ch
|
|
|
127
127
|
//#region src/components/button/button.meta.ts
|
|
128
128
|
var rt = {
|
|
129
129
|
name: "Button",
|
|
130
|
-
category:
|
|
130
|
+
category: m.buttons,
|
|
131
131
|
status: "stable",
|
|
132
132
|
description: "Triggers an action such as submit, confirm, cancel, navigate, or delete. Also called a CTA or action button; variants and sizes communicate its importance.",
|
|
133
133
|
origin: "adapted",
|
|
@@ -157,7 +157,7 @@ var rt = {
|
|
|
157
157
|
variantPrimary: "imf-ui-chip-module-variantPrimary",
|
|
158
158
|
variantSupport: "imf-ui-chip-module-variantSupport",
|
|
159
159
|
variantWarning: "imf-ui-chip-module-variantWarning"
|
|
160
|
-
}, it =
|
|
160
|
+
}, it = h(M.root, { variants: {
|
|
161
161
|
variant: {
|
|
162
162
|
main: M.variantMain,
|
|
163
163
|
support: M.variantSupport,
|
|
@@ -187,27 +187,27 @@ var rt = {
|
|
|
187
187
|
};
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region src/components/chip-link/chip-link.tsx
|
|
190
|
-
function ot({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kind: r = "external", className: i, children: a, ...
|
|
191
|
-
let
|
|
190
|
+
function ot({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kind: r = "external", className: i, children: a, ...s }) {
|
|
191
|
+
let l = r === "external" ? f : o;
|
|
192
192
|
return /* @__PURE__ */ y("a", {
|
|
193
193
|
...r === "external" ? {
|
|
194
194
|
target: "_blank",
|
|
195
195
|
rel: "noreferrer"
|
|
196
196
|
} : {},
|
|
197
|
-
...
|
|
197
|
+
...s,
|
|
198
198
|
"data-imf-ui-component": "ChipLink",
|
|
199
199
|
"data-kind": r,
|
|
200
200
|
className: it({
|
|
201
201
|
variant: e,
|
|
202
202
|
appearance: t,
|
|
203
203
|
inline: n,
|
|
204
|
-
className:
|
|
204
|
+
className: g(at.root, i)
|
|
205
205
|
}),
|
|
206
206
|
children: [a, /* @__PURE__ */ v("span", {
|
|
207
207
|
className: at.icon,
|
|
208
208
|
"aria-hidden": !0,
|
|
209
|
-
children: /* @__PURE__ */ v(
|
|
210
|
-
glyph:
|
|
209
|
+
children: /* @__PURE__ */ v(c, {
|
|
210
|
+
glyph: l,
|
|
211
211
|
size: 12
|
|
212
212
|
})
|
|
213
213
|
})]
|
|
@@ -217,23 +217,23 @@ function ot({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kin
|
|
|
217
217
|
//#region src/components/chip-link/chip-link.meta.ts
|
|
218
218
|
var st = {
|
|
219
219
|
name: "ChipLink",
|
|
220
|
-
category:
|
|
220
|
+
category: m.buttons,
|
|
221
221
|
status: "stable",
|
|
222
222
|
description: "Link styled as a compact chip, with a directional icon for external references or in-app navigation. Also called a link chip or link badge.",
|
|
223
223
|
origin: "native"
|
|
224
224
|
}, ct = { root: "imf-ui-copy-button-module-root" }, lt = 1500;
|
|
225
|
-
function ut({ value: e, label: n = "Copy", copiedLabel: r = "Copied", variant: i = "secondary", size:
|
|
226
|
-
let { copied:
|
|
225
|
+
function ut({ value: e, label: n = "Copy", copiedLabel: r = "Copied", variant: i = "secondary", size: o = "sm", ...s }) {
|
|
226
|
+
let { copied: l, copy: u } = be({ timeout: lt }), d = l ? ne : a;
|
|
227
227
|
return /* @__PURE__ */ v(nt, {
|
|
228
|
-
...
|
|
228
|
+
...s,
|
|
229
229
|
variant: i,
|
|
230
|
-
size:
|
|
231
|
-
"data-copied":
|
|
232
|
-
"aria-label":
|
|
233
|
-
onClick: () =>
|
|
234
|
-
className: (e) =>
|
|
235
|
-
children: /* @__PURE__ */ v(
|
|
236
|
-
glyph:
|
|
230
|
+
size: o,
|
|
231
|
+
"data-copied": l || void 0,
|
|
232
|
+
"aria-label": l ? r : n,
|
|
233
|
+
onClick: () => u(e),
|
|
234
|
+
className: (e) => g(ct.root, t(s.className, e)),
|
|
235
|
+
children: /* @__PURE__ */ v(c, {
|
|
236
|
+
glyph: d,
|
|
237
237
|
size: 15,
|
|
238
238
|
strokeWidth: 2,
|
|
239
239
|
"aria-hidden": !0
|
|
@@ -245,7 +245,7 @@ ut.displayName = "CopyButton";
|
|
|
245
245
|
//#region src/components/copy-button/copy-button.meta.ts
|
|
246
246
|
var dt = {
|
|
247
247
|
name: "CopyButton",
|
|
248
|
-
category:
|
|
248
|
+
category: m.buttons,
|
|
249
249
|
status: "stable",
|
|
250
250
|
description: "Copies a value to the clipboard and briefly shows confirmation. Also called a copy-to-clipboard button; commonly used with Code.Block.",
|
|
251
251
|
origin: "native",
|
|
@@ -256,7 +256,7 @@ var dt = {
|
|
|
256
256
|
sizeLg: "imf-ui-icon-button-module-sizeLg",
|
|
257
257
|
sizeMd: "imf-ui-icon-button-module-sizeMd",
|
|
258
258
|
sizeSm: "imf-ui-icon-button-module-sizeSm"
|
|
259
|
-
}, pt =
|
|
259
|
+
}, pt = h(ft.root, { variants: { size: {
|
|
260
260
|
sm: ft.sizeSm,
|
|
261
261
|
md: ft.sizeMd,
|
|
262
262
|
lg: ft.sizeLg,
|
|
@@ -282,7 +282,7 @@ function gt({ glyph: e, label: n, iconProps: r, size: i = "md", ...a }) {
|
|
|
282
282
|
size: s,
|
|
283
283
|
className: t(a.className, e)
|
|
284
284
|
}),
|
|
285
|
-
children: /* @__PURE__ */ v(
|
|
285
|
+
children: /* @__PURE__ */ v(c, {
|
|
286
286
|
size: mt[o],
|
|
287
287
|
...r,
|
|
288
288
|
glyph: e,
|
|
@@ -295,7 +295,7 @@ gt.displayName = "IconButton";
|
|
|
295
295
|
//#region src/components/icon-button/icon-button.meta.ts
|
|
296
296
|
var _t = {
|
|
297
297
|
name: "IconButton",
|
|
298
|
-
category:
|
|
298
|
+
category: m.buttons,
|
|
299
299
|
status: "experimental",
|
|
300
300
|
description: "Square button that shows a single icon and no visible text, with its accessible name from `label`. Also called an icon-only or toolbar button. Use Button with `startIcon` or `endIcon` when a text label is visible.",
|
|
301
301
|
origin: "native",
|
|
@@ -309,7 +309,7 @@ var _t = {
|
|
|
309
309
|
text: "imf-ui-rich-link-module-text",
|
|
310
310
|
tile: "imf-ui-rich-link-module-tile",
|
|
311
311
|
tileGlyph: "imf-ui-rich-link-module-tileGlyph"
|
|
312
|
-
}, vt =
|
|
312
|
+
}, vt = h(N.root);
|
|
313
313
|
function yt({ glyph: e, description: t, kind: n = "external", endGlyph: r, children: i, ...a }) {
|
|
314
314
|
return /* @__PURE__ */ y("a", {
|
|
315
315
|
...n === "external" ? {
|
|
@@ -323,7 +323,7 @@ function yt({ glyph: e, description: t, kind: n = "external", endGlyph: r, child
|
|
|
323
323
|
children: [
|
|
324
324
|
e && /* @__PURE__ */ v("span", {
|
|
325
325
|
className: N.tile,
|
|
326
|
-
children: /* @__PURE__ */ v(
|
|
326
|
+
children: /* @__PURE__ */ v(c, {
|
|
327
327
|
glyph: e,
|
|
328
328
|
className: N.tileGlyph,
|
|
329
329
|
"aria-hidden": !0
|
|
@@ -332,15 +332,15 @@ function yt({ glyph: e, description: t, kind: n = "external", endGlyph: r, child
|
|
|
332
332
|
/* @__PURE__ */ y("span", {
|
|
333
333
|
className: N.text,
|
|
334
334
|
children: [/* @__PURE__ */ v("span", {
|
|
335
|
-
className:
|
|
335
|
+
className: g(N.label, t && N.labelStrong),
|
|
336
336
|
children: i
|
|
337
337
|
}), t && /* @__PURE__ */ v("span", {
|
|
338
338
|
className: N.description,
|
|
339
339
|
children: t
|
|
340
340
|
})]
|
|
341
341
|
}),
|
|
342
|
-
/* @__PURE__ */ v(
|
|
343
|
-
glyph: r ?? (n === "external" ? f :
|
|
342
|
+
/* @__PURE__ */ v(c, {
|
|
343
|
+
glyph: r ?? (n === "external" ? f : o),
|
|
344
344
|
variant: "support",
|
|
345
345
|
className: N.end,
|
|
346
346
|
"aria-hidden": !0
|
|
@@ -352,7 +352,7 @@ function yt({ glyph: e, description: t, kind: n = "external", endGlyph: r, child
|
|
|
352
352
|
//#region src/components/rich-link/rich-link.meta.ts
|
|
353
353
|
var bt = {
|
|
354
354
|
name: "RichLink",
|
|
355
|
-
category:
|
|
355
|
+
category: m.buttons,
|
|
356
356
|
status: "experimental",
|
|
357
357
|
description: "Link as a whole row: optional leading icon, label, optional description line, and a trailing arrow for where it leads. Also called a link row or resource link. Use ChipLink for a compact link inside other content.",
|
|
358
358
|
origin: "native",
|
|
@@ -365,7 +365,7 @@ var bt = {
|
|
|
365
365
|
}, St = /* @__PURE__ */ e({
|
|
366
366
|
Indicator: () => Et,
|
|
367
367
|
Root: () => Tt
|
|
368
|
-
}), Ct =
|
|
368
|
+
}), Ct = h(xt.root), wt = h(xt.indicator);
|
|
369
369
|
function Tt(e) {
|
|
370
370
|
return /* @__PURE__ */ v(qe.Root, {
|
|
371
371
|
...e,
|
|
@@ -379,19 +379,19 @@ function Et({ children: e, ...n }) {
|
|
|
379
379
|
...n,
|
|
380
380
|
"data-imf-ui-component": "Checkbox.Indicator",
|
|
381
381
|
className: (e) => wt({ className: t(n.className, e) }),
|
|
382
|
-
children: e ?? /* @__PURE__ */ y(
|
|
382
|
+
children: e ?? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("span", {
|
|
383
383
|
className: xt.iconCheck,
|
|
384
384
|
"aria-hidden": !0,
|
|
385
|
-
children: /* @__PURE__ */ v(
|
|
386
|
-
glyph:
|
|
385
|
+
children: /* @__PURE__ */ v(c, {
|
|
386
|
+
glyph: ne,
|
|
387
387
|
size: 12,
|
|
388
388
|
strokeWidth: 3
|
|
389
389
|
})
|
|
390
390
|
}), /* @__PURE__ */ v("span", {
|
|
391
391
|
className: xt.iconIndeterminate,
|
|
392
392
|
"aria-hidden": !0,
|
|
393
|
-
children: /* @__PURE__ */ v(
|
|
394
|
-
glyph:
|
|
393
|
+
children: /* @__PURE__ */ v(c, {
|
|
394
|
+
glyph: se,
|
|
395
395
|
size: 12,
|
|
396
396
|
strokeWidth: 3
|
|
397
397
|
})
|
|
@@ -403,7 +403,7 @@ Et.displayName = "Checkbox.Indicator";
|
|
|
403
403
|
//#region src/components/checkbox/checkbox.meta.ts
|
|
404
404
|
var Dt = {
|
|
405
405
|
name: "Checkbox",
|
|
406
|
-
category:
|
|
406
|
+
category: m.inputs,
|
|
407
407
|
status: "stable",
|
|
408
408
|
description: "Binary form control for submitted choices such as terms, table rows, or list items. Also called a check box; it supports an indeterminate parent state.",
|
|
409
409
|
origin: "adapted",
|
|
@@ -415,7 +415,7 @@ var Dt = {
|
|
|
415
415
|
}
|
|
416
416
|
}, Ot = {
|
|
417
417
|
name: "Toggle",
|
|
418
|
-
category:
|
|
418
|
+
category: m.inputs,
|
|
419
419
|
status: "experimental",
|
|
420
420
|
description: "Two-state button for a pressed or unpressed option. Compose several in ToggleGroup for a segmented control.",
|
|
421
421
|
origin: "adapted",
|
|
@@ -428,7 +428,7 @@ var Dt = {
|
|
|
428
428
|
}
|
|
429
429
|
}, kt = {
|
|
430
430
|
name: "ToggleGroup",
|
|
431
|
-
category:
|
|
431
|
+
category: m.inputs,
|
|
432
432
|
status: "experimental",
|
|
433
433
|
description: "Group of connected Toggle buttons that share a selection. Also called a segmented control; set `multiple` for more than one active option.",
|
|
434
434
|
origin: "adapted",
|
|
@@ -507,12 +507,12 @@ function Wt({ label: e = "Color scheme", lightLabel: t = "Light", systemLabel: n
|
|
|
507
507
|
function l(e) {
|
|
508
508
|
Ht(e[0]) && o(e[0]);
|
|
509
509
|
}
|
|
510
|
-
return /* @__PURE__ */ v(
|
|
510
|
+
return /* @__PURE__ */ v(_e, {
|
|
511
511
|
"aria-label": e,
|
|
512
512
|
...i,
|
|
513
513
|
value: [a],
|
|
514
514
|
onValueChange: l,
|
|
515
|
-
children: s.map((e) => /* @__PURE__ */ v(
|
|
515
|
+
children: s.map((e) => /* @__PURE__ */ v(ge, {
|
|
516
516
|
value: e,
|
|
517
517
|
className: Ut.toggle,
|
|
518
518
|
children: c[e]
|
|
@@ -523,7 +523,7 @@ function Wt({ label: e = "Color scheme", lightLabel: t = "Light", systemLabel: n
|
|
|
523
523
|
//#region src/components/color-scheme-toggle/color-scheme-toggle.meta.ts
|
|
524
524
|
var Gt = {
|
|
525
525
|
name: "ColorSchemeToggle",
|
|
526
|
-
category:
|
|
526
|
+
category: m.inputs,
|
|
527
527
|
status: "experimental",
|
|
528
528
|
description: "Light, System, and Dark segments that set and remember the page's color scheme. Also called an appearance or theme switch; built on ToggleGroup, which is the choice for any other segmented selection.",
|
|
529
529
|
origin: "native",
|
|
@@ -543,7 +543,7 @@ var Gt = {
|
|
|
543
543
|
Label: () => nn,
|
|
544
544
|
Root: () => en,
|
|
545
545
|
Validity: () => sn
|
|
546
|
-
}), Jt =
|
|
546
|
+
}), Jt = h(Kt.root), Yt = h(Kt.item), Xt = h(Kt.label), Zt = h(Kt.description), Qt = h(Kt.control), $t = h(Kt.error);
|
|
547
547
|
function en(e) {
|
|
548
548
|
return /* @__PURE__ */ v(Je.Root, {
|
|
549
549
|
...e,
|
|
@@ -601,7 +601,7 @@ sn.displayName = "Field.Validity";
|
|
|
601
601
|
//#region src/components/field/field.meta.ts
|
|
602
602
|
var cn = {
|
|
603
603
|
name: "Field",
|
|
604
|
-
category:
|
|
604
|
+
category: m.inputs,
|
|
605
605
|
status: "stable",
|
|
606
606
|
description: "Accessible field composition for a label, control, supporting text, and validation message. Use it with Input, Checkbox, Select, and other form controls.",
|
|
607
607
|
origin: "adapted",
|
|
@@ -617,7 +617,7 @@ var cn = {
|
|
|
617
617
|
}, un = /* @__PURE__ */ e({
|
|
618
618
|
Legend: () => mn,
|
|
619
619
|
Root: () => pn
|
|
620
|
-
}), dn =
|
|
620
|
+
}), dn = h(ln.root), fn = h(ln.legend);
|
|
621
621
|
function pn(e) {
|
|
622
622
|
return /* @__PURE__ */ v(Ye.Root, {
|
|
623
623
|
...e,
|
|
@@ -638,7 +638,7 @@ mn.displayName = "Fieldset.Legend";
|
|
|
638
638
|
//#region src/components/fieldset/fieldset.meta.ts
|
|
639
639
|
var hn = {
|
|
640
640
|
name: "Fieldset",
|
|
641
|
-
category:
|
|
641
|
+
category: m.inputs,
|
|
642
642
|
status: "stable",
|
|
643
643
|
description: "Semantic group for related form controls with a shared legend. Also called a form group; it can propagate a disabled state to the group.",
|
|
644
644
|
origin: "adapted",
|
|
@@ -658,7 +658,7 @@ var hn = {
|
|
|
658
658
|
variantFilled: "imf-ui-input-module-variantFilled",
|
|
659
659
|
variantGhost: "imf-ui-input-module-variantGhost",
|
|
660
660
|
variantOutline: "imf-ui-input-module-variantOutline"
|
|
661
|
-
}, gn =
|
|
661
|
+
}, gn = h(P.root, { variants: {
|
|
662
662
|
variant: {
|
|
663
663
|
outline: P.variantOutline,
|
|
664
664
|
filled: P.variantFilled,
|
|
@@ -670,36 +670,36 @@ var hn = {
|
|
|
670
670
|
lg: P.sizeLg
|
|
671
671
|
}
|
|
672
672
|
} });
|
|
673
|
-
function _n({ variant: e = "outline", size: n = "md", type: r, value: i, defaultValue: a, onValueChange: o, onClear:
|
|
674
|
-
let
|
|
675
|
-
|
|
676
|
-
},
|
|
677
|
-
...
|
|
673
|
+
function _n({ variant: e = "outline", size: n = "md", type: r, value: i, defaultValue: a, onValueChange: o, onClear: l, disabled: u, className: d, ...f }) {
|
|
674
|
+
let p = r === "search", [ee, te] = x(a ?? ""), ne = i ?? ee, re = ne != null && String(ne).length > 0, ie = (e, t) => {
|
|
675
|
+
p && i === void 0 && te(e), o?.(e, t);
|
|
676
|
+
}, ae = /* @__PURE__ */ v(Xe, {
|
|
677
|
+
...f,
|
|
678
678
|
type: r,
|
|
679
|
-
value:
|
|
680
|
-
defaultValue:
|
|
681
|
-
disabled:
|
|
682
|
-
onValueChange:
|
|
679
|
+
value: p ? ne : i,
|
|
680
|
+
defaultValue: p ? void 0 : a,
|
|
681
|
+
disabled: u,
|
|
682
|
+
onValueChange: p ? ie : o,
|
|
683
683
|
"data-imf-ui-component": "Input",
|
|
684
684
|
className: (r) => gn({
|
|
685
685
|
variant: e,
|
|
686
686
|
size: n,
|
|
687
|
-
className: t(
|
|
687
|
+
className: t(d, r)
|
|
688
688
|
})
|
|
689
689
|
});
|
|
690
|
-
if (!
|
|
691
|
-
let
|
|
690
|
+
if (!p) return ae;
|
|
691
|
+
let oe = typeof d == "string" ? `${P.searchRoot} ${d}` : P.searchRoot;
|
|
692
692
|
return /* @__PURE__ */ y("div", {
|
|
693
|
-
className:
|
|
694
|
-
children: [
|
|
693
|
+
className: oe,
|
|
694
|
+
children: [ae, re && !u && !f.readOnly && /* @__PURE__ */ v("button", {
|
|
695
695
|
type: "button",
|
|
696
696
|
className: P.clearButton,
|
|
697
697
|
"aria-label": "Clear input",
|
|
698
698
|
onClick: () => {
|
|
699
|
-
i === void 0 &&
|
|
699
|
+
i === void 0 && te(""), l?.();
|
|
700
700
|
},
|
|
701
|
-
children: /* @__PURE__ */ v(
|
|
702
|
-
glyph:
|
|
701
|
+
children: /* @__PURE__ */ v(c, {
|
|
702
|
+
glyph: s,
|
|
703
703
|
size: 16,
|
|
704
704
|
"aria-hidden": !0
|
|
705
705
|
})
|
|
@@ -710,7 +710,7 @@ function _n({ variant: e = "outline", size: n = "md", type: r, value: i, default
|
|
|
710
710
|
//#region src/components/input/input.meta.ts
|
|
711
711
|
var vn = {
|
|
712
712
|
name: "Input",
|
|
713
|
-
category:
|
|
713
|
+
category: m.inputs,
|
|
714
714
|
status: "stable",
|
|
715
715
|
description: "Single-line text input for form data entry. Also called a text field; it supports controlled values and Field validation state.",
|
|
716
716
|
origin: "adapted",
|
|
@@ -746,10 +746,10 @@ var vn = {
|
|
|
746
746
|
ScrubArea: () => Nn,
|
|
747
747
|
ScrubAreaCursor: () => Pn,
|
|
748
748
|
Stepper: () => Fn
|
|
749
|
-
}), bn =
|
|
749
|
+
}), bn = h(F.root, { variants: { width: {
|
|
750
750
|
auto: F.widthAuto,
|
|
751
751
|
full: F.widthFull
|
|
752
|
-
} } }), xn =
|
|
752
|
+
} } }), xn = h(F.group, { variants: {
|
|
753
753
|
variant: {
|
|
754
754
|
outline: F.variantOutline,
|
|
755
755
|
primary: F.variantPrimary,
|
|
@@ -761,7 +761,7 @@ var vn = {
|
|
|
761
761
|
md: F.sizeMd,
|
|
762
762
|
lg: F.sizeLg
|
|
763
763
|
}
|
|
764
|
-
} }), Sn =
|
|
764
|
+
} }), Sn = h(F.input), Cn = h(F.increment), wn = h(F.decrement), Tn = h(F.scrubArea), En = h(F.scrubAreaCursor);
|
|
765
765
|
function Dn(e, t) {
|
|
766
766
|
if (typeof e != "number" || t?.minimumFractionDigits !== void 0) return t;
|
|
767
767
|
let n = (String(e).split(".")[1] ?? "").length;
|
|
@@ -841,18 +841,18 @@ function Fn({ layout: e = "trailing", variant: t = "outline", size: n = "md", wi
|
|
|
841
841
|
return /* @__PURE__ */ y(On, {
|
|
842
842
|
...a,
|
|
843
843
|
width: r,
|
|
844
|
-
children: [i != null && /* @__PURE__ */ y(Nn, { children: [i, /* @__PURE__ */ v(Pn, { children: /* @__PURE__ */ v(
|
|
844
|
+
children: [i != null && /* @__PURE__ */ y(Nn, { children: [i, /* @__PURE__ */ v(Pn, { children: /* @__PURE__ */ v(c, {
|
|
845
845
|
glyph: d,
|
|
846
846
|
size: 20,
|
|
847
847
|
"aria-hidden": !0
|
|
848
848
|
}) })] }), /* @__PURE__ */ v(kn, {
|
|
849
849
|
variant: t,
|
|
850
850
|
size: n,
|
|
851
|
-
children: e === "flanking" ? /* @__PURE__ */ y(
|
|
851
|
+
children: e === "flanking" ? /* @__PURE__ */ y(_, { children: [
|
|
852
852
|
/* @__PURE__ */ v(Mn, {}),
|
|
853
853
|
/* @__PURE__ */ v(An, {}),
|
|
854
854
|
/* @__PURE__ */ v(jn, {})
|
|
855
|
-
] }) : /* @__PURE__ */ y(
|
|
855
|
+
] }) : /* @__PURE__ */ y(_, { children: [
|
|
856
856
|
/* @__PURE__ */ v(An, {}),
|
|
857
857
|
/* @__PURE__ */ v(Mn, {}),
|
|
858
858
|
/* @__PURE__ */ v(jn, {})
|
|
@@ -865,7 +865,7 @@ Fn.displayName = "NumberField.Stepper";
|
|
|
865
865
|
//#region src/components/number-field/number-field.meta.ts
|
|
866
866
|
var In = {
|
|
867
867
|
name: "NumberField",
|
|
868
|
-
category:
|
|
868
|
+
category: m.inputs,
|
|
869
869
|
status: "experimental",
|
|
870
870
|
description: "Numeric entry with increment and decrement controls. Also called a number field, spinner, or stepper; use it instead of Input with type=\"number\" whenever a value is numeric. NumberField.Stepper composes the whole control in one element and takes a scrub prop that turns its label into a drag handle.",
|
|
871
871
|
origin: "adapted",
|
|
@@ -917,11 +917,11 @@ var In = {
|
|
|
917
917
|
Separator: () => br,
|
|
918
918
|
Trigger: () => ar,
|
|
919
919
|
Value: () => or
|
|
920
|
-
}), Rn =
|
|
920
|
+
}), Rn = h(I.root, { variants: { width: {
|
|
921
921
|
auto: I.widthAuto,
|
|
922
922
|
wide: I.widthWide,
|
|
923
923
|
full: I.widthFull
|
|
924
|
-
} } }), zn =
|
|
924
|
+
} } }), zn = h(I.label), Bn = h(I.trigger), Vn = h(I.value), Hn = h(I.icon), Un = h(I.backdrop), Wn = h(I.positioner), Gn = h(I.popup), Kn = h(I.arrow), qn = h(I.list), Jn = h(I.item), Yn = h(I.itemIndicator), Xn = h(I.itemText), Zn = h(I.itemDescription), Qn = h(I.group), $n = h(I.groupLabel), er = h(I.separator), tr = h(I.scrollUpArrow), nr = h(I.scrollDownArrow);
|
|
925
925
|
function rr({ width: e = "auto", className: t, style: n, ...r }) {
|
|
926
926
|
return /* @__PURE__ */ v("div", {
|
|
927
927
|
className: Rn({
|
|
@@ -1026,8 +1026,8 @@ function hr({ children: e, ...n }) {
|
|
|
1026
1026
|
...n,
|
|
1027
1027
|
"data-imf-ui-component": "Select.ItemIndicator",
|
|
1028
1028
|
className: (e) => Yn({ className: t(n.className, e) }),
|
|
1029
|
-
children: e ?? /* @__PURE__ */ v(
|
|
1030
|
-
glyph:
|
|
1029
|
+
children: e ?? /* @__PURE__ */ v(c, {
|
|
1030
|
+
glyph: ne,
|
|
1031
1031
|
size: 16,
|
|
1032
1032
|
"aria-hidden": !0
|
|
1033
1033
|
})
|
|
@@ -1094,7 +1094,7 @@ Sr.displayName = "Select.ScrollDownArrow";
|
|
|
1094
1094
|
//#region src/components/select/select.meta.ts
|
|
1095
1095
|
var Cr = {
|
|
1096
1096
|
name: "Select",
|
|
1097
|
-
category:
|
|
1097
|
+
category: m.inputs,
|
|
1098
1098
|
status: "stable",
|
|
1099
1099
|
description: "Dropdown for choosing a value from a known list. Also called a picker; use it for a labeled, keyboard-accessible option list.",
|
|
1100
1100
|
origin: "adapted",
|
|
@@ -1106,7 +1106,7 @@ var Cr = {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
}, wr = {
|
|
1108
1108
|
name: "Slider",
|
|
1109
|
-
category:
|
|
1109
|
+
category: m.inputs,
|
|
1110
1110
|
status: "stable",
|
|
1111
1111
|
description: "Numeric input for choosing one value or a range by dragging a thumb. Also called a range input; use it when relative magnitude matters. The position variant is a scrubber for picking one slice or frame.",
|
|
1112
1112
|
origin: "adapted",
|
|
@@ -1118,7 +1118,7 @@ var Cr = {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
}, Tr = {
|
|
1120
1120
|
name: "Switch",
|
|
1121
|
-
category:
|
|
1121
|
+
category: m.inputs,
|
|
1122
1122
|
status: "stable",
|
|
1123
1123
|
description: "Two-state control for an on/off setting that takes effect immediately. Also called a toggle; use Checkbox for a submitted choice.",
|
|
1124
1124
|
origin: "adapted",
|
|
@@ -1183,7 +1183,7 @@ var L = {
|
|
|
1183
1183
|
}), kr = Re({
|
|
1184
1184
|
borderColor: "primary",
|
|
1185
1185
|
borderStyle: "solid"
|
|
1186
|
-
}), Ar =
|
|
1186
|
+
}), Ar = h(L.trigger), jr = h(L.backdrop), Mr = h(L.viewport), Nr = h(L.popup, {
|
|
1187
1187
|
variants: {
|
|
1188
1188
|
borderColor: {
|
|
1189
1189
|
primary: L.borderColorPrimary,
|
|
@@ -1201,7 +1201,7 @@ var L = {
|
|
|
1201
1201
|
borderColor: "primary",
|
|
1202
1202
|
borderStyle: "solid"
|
|
1203
1203
|
}
|
|
1204
|
-
}), Pr =
|
|
1204
|
+
}), Pr = h(L.content), Fr = h(L.title), Ir = h(L.close), Lr = h(L.description), Rr = h(L.indent), zr = h(L.indentBackground), Br = h(L.swipeArea);
|
|
1205
1205
|
function Vr({ borderColor: e = "primary", borderStyle: t = "solid", ...n }) {
|
|
1206
1206
|
return /* @__PURE__ */ v(kr.Provider, {
|
|
1207
1207
|
value: {
|
|
@@ -1254,7 +1254,7 @@ function qr({ borderColor: e, borderStyle: n, ...r }) {
|
|
|
1254
1254
|
className: (e) => Nr({
|
|
1255
1255
|
borderColor: a,
|
|
1256
1256
|
borderStyle: o,
|
|
1257
|
-
className:
|
|
1257
|
+
className: g(Kr[e.swipeDirection], t(r.className, e))
|
|
1258
1258
|
})
|
|
1259
1259
|
});
|
|
1260
1260
|
}
|
|
@@ -1264,7 +1264,7 @@ function Jr({ children: e, ...n }) {
|
|
|
1264
1264
|
...n,
|
|
1265
1265
|
"data-imf-ui-component": "Drawer.Content",
|
|
1266
1266
|
className: (e) => Pr({ className: t(n.className, e) }),
|
|
1267
|
-
children: /* @__PURE__ */ v(
|
|
1267
|
+
children: /* @__PURE__ */ v(je, {
|
|
1268
1268
|
className: L.contentScroll,
|
|
1269
1269
|
children: /* @__PURE__ */ v("div", {
|
|
1270
1270
|
className: L.contentBody,
|
|
@@ -1330,7 +1330,7 @@ ti.displayName = "Drawer.SwipeArea";
|
|
|
1330
1330
|
//#region src/components/drawer/drawer.meta.ts
|
|
1331
1331
|
var ni = {
|
|
1332
1332
|
name: "Drawer",
|
|
1333
|
-
category:
|
|
1333
|
+
category: m.layout,
|
|
1334
1334
|
status: "stable",
|
|
1335
1335
|
description: "Off-canvas panel that slides in from a screen edge for navigation, settings, filters, or focused tasks. Also called a sidebar, side panel, or sheet.",
|
|
1336
1336
|
origin: "adapted",
|
|
@@ -1356,7 +1356,7 @@ var ni = {
|
|
|
1356
1356
|
variantMinor: "imf-ui-logo-module-variantMinor",
|
|
1357
1357
|
variantOncolor: "imf-ui-logo-module-variantOncolor",
|
|
1358
1358
|
variantSupport: "imf-ui-logo-module-variantSupport"
|
|
1359
|
-
}, ri =
|
|
1359
|
+
}, ri = h(R.root, { variants: {
|
|
1360
1360
|
size: {
|
|
1361
1361
|
xs: R.sizeXs,
|
|
1362
1362
|
sm: R.sizeSm,
|
|
@@ -1401,7 +1401,7 @@ function ii({ src: e, alt: t, size: n = "md", variant: r = "brand", height: i, s
|
|
|
1401
1401
|
//#region src/components/logo/logo.meta.ts
|
|
1402
1402
|
var ai = {
|
|
1403
1403
|
name: "Logo",
|
|
1404
|
-
category:
|
|
1404
|
+
category: m.display,
|
|
1405
1405
|
status: "stable",
|
|
1406
1406
|
description: "Renders a logo from a URL or inline React element with consistent sizing. Also called a wordmark or brand mark.",
|
|
1407
1407
|
origin: "native"
|
|
@@ -1474,7 +1474,7 @@ function gi({ product: e, cutout: t = !1, alt: n, variant: r = "brand", ...i })
|
|
|
1474
1474
|
viewBox: ui,
|
|
1475
1475
|
fill: "currentColor",
|
|
1476
1476
|
fillRule: "evenodd",
|
|
1477
|
-
children: t ? /* @__PURE__ */ v("path", { d: `${di} ${a}` }) : /* @__PURE__ */ y(
|
|
1477
|
+
children: t ? /* @__PURE__ */ v("path", { d: `${di} ${a}` }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("path", { d: di }), /* @__PURE__ */ v("path", {
|
|
1478
1478
|
d: a,
|
|
1479
1479
|
className: hi[r] ?? pi.word
|
|
1480
1480
|
})] })
|
|
@@ -1577,16 +1577,16 @@ var z = {
|
|
|
1577
1577
|
Navbar: () => Vi,
|
|
1578
1578
|
Root: () => ji,
|
|
1579
1579
|
Section: () => Yi
|
|
1580
|
-
}), xi =
|
|
1580
|
+
}), xi = h(z.root), Si = h("", { variants: { variant: {
|
|
1581
1581
|
default: z.navbarDefault,
|
|
1582
1582
|
branded: z.navbarBranded
|
|
1583
|
-
} } }), Ci =
|
|
1583
|
+
} } }), Ci = h("", {
|
|
1584
1584
|
variants: { variant: {
|
|
1585
1585
|
default: z.headerDefault,
|
|
1586
1586
|
branded: z.headerBranded
|
|
1587
1587
|
} },
|
|
1588
1588
|
defaultVariants: { variant: "default" }
|
|
1589
|
-
}), wi =
|
|
1589
|
+
}), wi = h(z.aside), Ti = h(z.footer), Ei = h(z.main), Di = h(z.section), Oi = Re(null), ki = Re({
|
|
1590
1590
|
sections: {},
|
|
1591
1591
|
setSections: () => void 0
|
|
1592
1592
|
}), Ai = Re(!1);
|
|
@@ -1617,7 +1617,7 @@ function Mi() {
|
|
|
1617
1617
|
let { navbar: e } = b(ki).sections;
|
|
1618
1618
|
return e ? /* @__PURE__ */ y("div", {
|
|
1619
1619
|
"data-imf-ui-component": "AppShell.Bar",
|
|
1620
|
-
className:
|
|
1620
|
+
className: g(z.bar, Ci({ variant: e.variant })),
|
|
1621
1621
|
children: [e.logo ? /* @__PURE__ */ v("div", {
|
|
1622
1622
|
className: z.barLogo,
|
|
1623
1623
|
children: e.logo
|
|
@@ -1632,7 +1632,7 @@ function Ni({ className: e, children: t, ...n }) {
|
|
|
1632
1632
|
return /* @__PURE__ */ v("header", {
|
|
1633
1633
|
...n,
|
|
1634
1634
|
"data-imf-ui-component": "AppShell.Header",
|
|
1635
|
-
className:
|
|
1635
|
+
className: g(z.header, Ci({ variant: r.navbar?.variant }), e),
|
|
1636
1636
|
children: /* @__PURE__ */ v("div", {
|
|
1637
1637
|
className: z.headerContent,
|
|
1638
1638
|
children: t
|
|
@@ -1658,14 +1658,14 @@ function Pi({ open: e, onOpenChange: t, swipeDirection: n, label: r, className:
|
|
|
1658
1658
|
});
|
|
1659
1659
|
}
|
|
1660
1660
|
function Fi({ className: e, children: t }) {
|
|
1661
|
-
return /* @__PURE__ */ y(
|
|
1661
|
+
return /* @__PURE__ */ y(Ee, {
|
|
1662
1662
|
className: z.drawerScroll,
|
|
1663
|
-
children: [/* @__PURE__ */ v(
|
|
1664
|
-
className:
|
|
1663
|
+
children: [/* @__PURE__ */ v(Ae, { children: /* @__PURE__ */ v(De, {
|
|
1664
|
+
className: g(z.drawerContent, e),
|
|
1665
1665
|
children: t
|
|
1666
|
-
}) }), /* @__PURE__ */ v(
|
|
1666
|
+
}) }), /* @__PURE__ */ v(we, {
|
|
1667
1667
|
orientation: "vertical",
|
|
1668
|
-
children: /* @__PURE__ */ v(
|
|
1668
|
+
children: /* @__PURE__ */ v(Oe, {})
|
|
1669
1669
|
})]
|
|
1670
1670
|
});
|
|
1671
1671
|
}
|
|
@@ -1683,7 +1683,7 @@ function Li(e, t, n, r) {
|
|
|
1683
1683
|
]);
|
|
1684
1684
|
}
|
|
1685
1685
|
function Ri({ logo: e, account: t, closable: n, children: r }) {
|
|
1686
|
-
return /* @__PURE__ */ y(
|
|
1686
|
+
return /* @__PURE__ */ y(_, { children: [
|
|
1687
1687
|
/* @__PURE__ */ y("div", {
|
|
1688
1688
|
className: z.navbarBrand,
|
|
1689
1689
|
children: [/* @__PURE__ */ v("span", {
|
|
@@ -1738,7 +1738,7 @@ function Vi({ variant: e = "default", open: t, defaultOpen: n, onOpenChange: r,
|
|
|
1738
1738
|
...c,
|
|
1739
1739
|
id: d,
|
|
1740
1740
|
"data-imf-ui-component": "AppShell.Navbar",
|
|
1741
|
-
className:
|
|
1741
|
+
className: g(z.navbar, Si({ variant: e }), c.className),
|
|
1742
1742
|
children: /* @__PURE__ */ v(Ri, {
|
|
1743
1743
|
logo: i,
|
|
1744
1744
|
account: a,
|
|
@@ -1750,14 +1750,14 @@ function Vi({ variant: e = "default", open: t, defaultOpen: n, onOpenChange: r,
|
|
|
1750
1750
|
onOpenChange: p,
|
|
1751
1751
|
swipeDirection: "left",
|
|
1752
1752
|
label: c["aria-label"],
|
|
1753
|
-
className:
|
|
1753
|
+
className: g(z.navbarDrawer, Si({ variant: e })),
|
|
1754
1754
|
children: /* @__PURE__ */ v(Ai.Provider, {
|
|
1755
1755
|
value: !0,
|
|
1756
1756
|
children: /* @__PURE__ */ v("nav", {
|
|
1757
1757
|
...c,
|
|
1758
1758
|
id: d,
|
|
1759
1759
|
"data-imf-ui-component": "AppShell.Navbar",
|
|
1760
|
-
className:
|
|
1760
|
+
className: g(z.drawerSection, c.className),
|
|
1761
1761
|
children: /* @__PURE__ */ v(Fi, { children: /* @__PURE__ */ v(Ri, {
|
|
1762
1762
|
logo: i,
|
|
1763
1763
|
account: a,
|
|
@@ -1769,40 +1769,40 @@ function Vi({ variant: e = "default", open: t, defaultOpen: n, onOpenChange: r,
|
|
|
1769
1769
|
});
|
|
1770
1770
|
}
|
|
1771
1771
|
Vi.displayName = "AppShell.Navbar";
|
|
1772
|
-
function Hi({ open: e, defaultOpen: t, onOpenChange: n, resizable: r = !0, onWidthChange: i, resizeLabel: a = "Resize panel", closeLabel: o = "Close panel", children:
|
|
1773
|
-
let
|
|
1772
|
+
function Hi({ open: e, defaultOpen: t, onOpenChange: n, resizable: r = !0, onWidthChange: i, resizeLabel: a = "Resize panel", closeLabel: o = "Close panel", children: c, ...l }) {
|
|
1773
|
+
let u = Ii("lg"), d = Ii("md"), { open: f, setOpen: p } = _i({
|
|
1774
1774
|
open: e,
|
|
1775
1775
|
defaultOpen: t,
|
|
1776
1776
|
onOpenChange: n
|
|
1777
1777
|
});
|
|
1778
|
-
return Li(
|
|
1779
|
-
...
|
|
1778
|
+
return Li(u, f, e !== void 0, p), u ? /* @__PURE__ */ y("aside", {
|
|
1779
|
+
...l,
|
|
1780
1780
|
"data-imf-ui-component": "AppShell.Aside",
|
|
1781
|
-
className: wi({ className:
|
|
1781
|
+
className: wi({ className: l.className }),
|
|
1782
1782
|
children: [r && /* @__PURE__ */ v(Ki, {
|
|
1783
1783
|
label: a,
|
|
1784
1784
|
onWidthChange: i
|
|
1785
|
-
}),
|
|
1785
|
+
}), c]
|
|
1786
1786
|
}) : /* @__PURE__ */ v(Pi, {
|
|
1787
|
-
open:
|
|
1788
|
-
onOpenChange:
|
|
1789
|
-
swipeDirection:
|
|
1790
|
-
label:
|
|
1787
|
+
open: f,
|
|
1788
|
+
onOpenChange: p,
|
|
1789
|
+
swipeDirection: d ? "right" : "down",
|
|
1790
|
+
label: l["aria-label"],
|
|
1791
1791
|
className: z.asideDrawer,
|
|
1792
1792
|
children: /* @__PURE__ */ y("aside", {
|
|
1793
|
-
...
|
|
1793
|
+
...l,
|
|
1794
1794
|
"data-imf-ui-component": "AppShell.Aside",
|
|
1795
|
-
className:
|
|
1795
|
+
className: g(z.drawerSection, l.className),
|
|
1796
1796
|
children: [/* @__PURE__ */ v(Xr, {
|
|
1797
1797
|
render: /* @__PURE__ */ v(gt, {
|
|
1798
|
-
glyph:
|
|
1798
|
+
glyph: s,
|
|
1799
1799
|
label: o,
|
|
1800
1800
|
variant: "ghost"
|
|
1801
1801
|
}),
|
|
1802
1802
|
className: z.asideDrawerClose
|
|
1803
1803
|
}), /* @__PURE__ */ v(Fi, {
|
|
1804
1804
|
className: z.asideDrawerContent,
|
|
1805
|
-
children:
|
|
1805
|
+
children: c
|
|
1806
1806
|
})]
|
|
1807
1807
|
})
|
|
1808
1808
|
});
|
|
@@ -1895,30 +1895,30 @@ function qi(e) {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
qi.displayName = "AppShell.Footer";
|
|
1897
1897
|
function Ji({ children: e, ...t }) {
|
|
1898
|
-
return /* @__PURE__ */ y(
|
|
1898
|
+
return /* @__PURE__ */ y(Ee, {
|
|
1899
1899
|
className: Ei(),
|
|
1900
1900
|
children: [
|
|
1901
|
-
/* @__PURE__ */ v(
|
|
1901
|
+
/* @__PURE__ */ v(Ae, {
|
|
1902
1902
|
render: /* @__PURE__ */ v("main", {
|
|
1903
1903
|
role: "main",
|
|
1904
1904
|
...t,
|
|
1905
1905
|
"data-imf-ui-component": "AppShell.Main",
|
|
1906
1906
|
className: t.className
|
|
1907
1907
|
}),
|
|
1908
|
-
children: /* @__PURE__ */ v(
|
|
1908
|
+
children: /* @__PURE__ */ v(De, {
|
|
1909
1909
|
className: z.mainContent,
|
|
1910
1910
|
children: e
|
|
1911
1911
|
})
|
|
1912
1912
|
}),
|
|
1913
|
-
/* @__PURE__ */ v(
|
|
1913
|
+
/* @__PURE__ */ v(we, {
|
|
1914
1914
|
orientation: "vertical",
|
|
1915
|
-
children: /* @__PURE__ */ v(
|
|
1915
|
+
children: /* @__PURE__ */ v(Oe, {})
|
|
1916
1916
|
}),
|
|
1917
|
-
/* @__PURE__ */ v(
|
|
1917
|
+
/* @__PURE__ */ v(we, {
|
|
1918
1918
|
orientation: "horizontal",
|
|
1919
|
-
children: /* @__PURE__ */ v(
|
|
1919
|
+
children: /* @__PURE__ */ v(Oe, {})
|
|
1920
1920
|
}),
|
|
1921
|
-
/* @__PURE__ */ v(
|
|
1921
|
+
/* @__PURE__ */ v(ke, {})
|
|
1922
1922
|
]
|
|
1923
1923
|
});
|
|
1924
1924
|
}
|
|
@@ -1934,7 +1934,7 @@ function Yi({ grow: e, ...t }) {
|
|
|
1934
1934
|
Yi.displayName = "AppShell.Section";
|
|
1935
1935
|
function Xi({ className: e }) {
|
|
1936
1936
|
let t = b(ki).sections.navbar, n = b(Ai);
|
|
1937
|
-
return t ? /* @__PURE__ */ v(
|
|
1937
|
+
return t ? /* @__PURE__ */ v(Ne, {
|
|
1938
1938
|
onClick: () => t.onOpenChange(!t.open),
|
|
1939
1939
|
"aria-expanded": t.open,
|
|
1940
1940
|
"aria-controls": t.id,
|
|
@@ -1942,7 +1942,7 @@ function Xi({ className: e }) {
|
|
|
1942
1942
|
"data-imf-ui-component": "AppShell.Burger",
|
|
1943
1943
|
"data-opened": t.open ? "" : void 0,
|
|
1944
1944
|
"data-behind-drawer": t.open && !n ? "" : void 0,
|
|
1945
|
-
className:
|
|
1945
|
+
className: g(z.burger, e),
|
|
1946
1946
|
children: /* @__PURE__ */ y("svg", {
|
|
1947
1947
|
className: z.burgerIcon,
|
|
1948
1948
|
viewBox: "0 0 24 18",
|
|
@@ -1985,7 +1985,7 @@ function Zi({ icon: e, description: t, children: n, render: r, onClick: i, ...a
|
|
|
1985
1985
|
...C(a, {
|
|
1986
1986
|
onClick: c,
|
|
1987
1987
|
className: z.navItem,
|
|
1988
|
-
children: /* @__PURE__ */ y(
|
|
1988
|
+
children: /* @__PURE__ */ y(_, { children: [e && /* @__PURE__ */ v("span", {
|
|
1989
1989
|
className: z.navItemIcon,
|
|
1990
1990
|
children: e
|
|
1991
1991
|
}), /* @__PURE__ */ y("span", {
|
|
@@ -2008,15 +2008,15 @@ Zi.displayName = "AppShell.NavItem";
|
|
|
2008
2008
|
//#region src/components/app-shell/app-shell.meta.ts
|
|
2009
2009
|
var Qi = {
|
|
2010
2010
|
name: "AppShell",
|
|
2011
|
-
category:
|
|
2011
|
+
category: m.layout,
|
|
2012
2012
|
status: "stable",
|
|
2013
2013
|
description: "Application layout shell for a header, sidebars, footer, and scrolling main area. Also called an app layout or dashboard shell; sizing is CSS-driven and sidebars can become sliding panels on small screens.",
|
|
2014
2014
|
origin: "native",
|
|
2015
2015
|
internalDependencies: ["Drawer", "ScrollArea"]
|
|
2016
2016
|
}, $i = {
|
|
2017
|
-
info:
|
|
2018
|
-
positive:
|
|
2019
|
-
warning:
|
|
2017
|
+
info: le,
|
|
2018
|
+
positive: r,
|
|
2019
|
+
warning: ae,
|
|
2020
2020
|
negative: i
|
|
2021
2021
|
}, V = {
|
|
2022
2022
|
content: "imf-ui-card-module-content",
|
|
@@ -2055,7 +2055,7 @@ var Qi = {
|
|
|
2055
2055
|
Image: () => ra,
|
|
2056
2056
|
Root: () => na,
|
|
2057
2057
|
Status: () => aa
|
|
2058
|
-
}), ta =
|
|
2058
|
+
}), ta = h(V.root, { variants: {
|
|
2059
2059
|
density: {
|
|
2060
2060
|
compact: V.densityCompact,
|
|
2061
2061
|
comfortable: V.densityComfortable,
|
|
@@ -2107,7 +2107,7 @@ function ra({ alt: e = "", aspectRatio: t = 16 / 10, style: n, ...r }) {
|
|
|
2107
2107
|
...r,
|
|
2108
2108
|
alt: e,
|
|
2109
2109
|
"data-imf-ui-component": "Card.Image",
|
|
2110
|
-
className:
|
|
2110
|
+
className: h(V.image)({ className: r.className }),
|
|
2111
2111
|
style: {
|
|
2112
2112
|
aspectRatio: t,
|
|
2113
2113
|
...n
|
|
@@ -2115,7 +2115,7 @@ function ra({ alt: e = "", aspectRatio: t = 16 / 10, style: n, ...r }) {
|
|
|
2115
2115
|
});
|
|
2116
2116
|
}
|
|
2117
2117
|
ra.displayName = "Card.Image";
|
|
2118
|
-
var ia =
|
|
2118
|
+
var ia = h(V.status, { variants: { variant: {
|
|
2119
2119
|
info: V.statusInfo,
|
|
2120
2120
|
positive: V.statusPositive,
|
|
2121
2121
|
warning: V.statusWarning,
|
|
@@ -2130,7 +2130,7 @@ function aa({ variant: e = "info", children: t, ...n }) {
|
|
|
2130
2130
|
variant: e,
|
|
2131
2131
|
className: n.className
|
|
2132
2132
|
}),
|
|
2133
|
-
children: t ?? /* @__PURE__ */ v(
|
|
2133
|
+
children: t ?? /* @__PURE__ */ v(c, {
|
|
2134
2134
|
glyph: $i[e ?? "info"],
|
|
2135
2135
|
className: V.statusGlyph
|
|
2136
2136
|
})
|
|
@@ -2141,7 +2141,7 @@ function oa(e) {
|
|
|
2141
2141
|
return /* @__PURE__ */ v("div", {
|
|
2142
2142
|
...e,
|
|
2143
2143
|
"data-imf-ui-component": "Card.Header",
|
|
2144
|
-
className:
|
|
2144
|
+
className: h(V.header)({ className: e.className })
|
|
2145
2145
|
});
|
|
2146
2146
|
}
|
|
2147
2147
|
oa.displayName = "Card.Header";
|
|
@@ -2149,7 +2149,7 @@ function sa(e) {
|
|
|
2149
2149
|
return /* @__PURE__ */ v("div", {
|
|
2150
2150
|
...e,
|
|
2151
2151
|
"data-imf-ui-component": "Card.Content",
|
|
2152
|
-
className:
|
|
2152
|
+
className: h(V.content)({ className: e.className })
|
|
2153
2153
|
});
|
|
2154
2154
|
}
|
|
2155
2155
|
sa.displayName = "Card.Content";
|
|
@@ -2157,7 +2157,7 @@ function ca(e) {
|
|
|
2157
2157
|
return /* @__PURE__ */ v("div", {
|
|
2158
2158
|
...e,
|
|
2159
2159
|
"data-imf-ui-component": "Card.Footer",
|
|
2160
|
-
className:
|
|
2160
|
+
className: h(V.footer)({ className: e.className })
|
|
2161
2161
|
});
|
|
2162
2162
|
}
|
|
2163
2163
|
ca.displayName = "Card.Footer";
|
|
@@ -2165,7 +2165,7 @@ ca.displayName = "Card.Footer";
|
|
|
2165
2165
|
//#region src/components/card/card.meta.ts
|
|
2166
2166
|
var la = {
|
|
2167
2167
|
name: "Card",
|
|
2168
|
-
category:
|
|
2168
|
+
category: m.layout,
|
|
2169
2169
|
status: "stable",
|
|
2170
2170
|
namespace: !0,
|
|
2171
2171
|
description: "Surface container for related content on a tonal background. Also called a panel or tile; compose it from optional image, status, header, content, and footer parts.",
|
|
@@ -2221,7 +2221,7 @@ var la = {
|
|
|
2221
2221
|
P: () => ga,
|
|
2222
2222
|
Small: () => ya,
|
|
2223
2223
|
UnorderedList: () => Ea
|
|
2224
|
-
}), U =
|
|
2224
|
+
}), U = h("", { variants: { variant: {
|
|
2225
2225
|
main: H.variantMain,
|
|
2226
2226
|
support: H.variantSupport,
|
|
2227
2227
|
minor: H.variantMinor,
|
|
@@ -2235,7 +2235,7 @@ var la = {
|
|
|
2235
2235
|
"accent-1": H.variantAccent1,
|
|
2236
2236
|
"accent-2": H.variantAccent2,
|
|
2237
2237
|
"accent-3": H.variantAccent3
|
|
2238
|
-
} } }), W =
|
|
2238
|
+
} } }), W = h("", { variants: { weight: {
|
|
2239
2239
|
regular: H.weightRegular,
|
|
2240
2240
|
medium: H.weightMedium,
|
|
2241
2241
|
strong: H.weightStrong
|
|
@@ -2247,7 +2247,7 @@ function da({ variant: e = "primary", fadeAfterFirstLine: t = !0, render: n, ...
|
|
|
2247
2247
|
props: {
|
|
2248
2248
|
...C(r, { className: U({
|
|
2249
2249
|
variant: e,
|
|
2250
|
-
className:
|
|
2250
|
+
className: g(H.hero, t && H.fadeAfterFirstLine)
|
|
2251
2251
|
}) }),
|
|
2252
2252
|
"data-imf-ui-component": "Typo.Hero"
|
|
2253
2253
|
}
|
|
@@ -2261,7 +2261,7 @@ function fa({ variant: e = "primary", fadeAfterFirstLine: t = !0, render: n, ...
|
|
|
2261
2261
|
props: {
|
|
2262
2262
|
...C(r, { className: U({
|
|
2263
2263
|
variant: e,
|
|
2264
|
-
className:
|
|
2264
|
+
className: g(H.h1, t && H.fadeAfterFirstLine)
|
|
2265
2265
|
}) }),
|
|
2266
2266
|
"data-imf-ui-component": "Typo.H1"
|
|
2267
2267
|
}
|
|
@@ -2275,7 +2275,7 @@ function pa({ variant: e = "primary", fadeAfterFirstLine: t = !0, render: n, ...
|
|
|
2275
2275
|
props: {
|
|
2276
2276
|
...C(r, { className: U({
|
|
2277
2277
|
variant: e,
|
|
2278
|
-
className:
|
|
2278
|
+
className: g(H.h2, t && H.fadeAfterFirstLine)
|
|
2279
2279
|
}) }),
|
|
2280
2280
|
"data-imf-ui-component": "Typo.H2"
|
|
2281
2281
|
}
|
|
@@ -2317,7 +2317,7 @@ function ga({ variant: e = "main", weight: t, render: n, ...r }) {
|
|
|
2317
2317
|
props: {
|
|
2318
2318
|
...C(r, { className: U({
|
|
2319
2319
|
variant: e,
|
|
2320
|
-
className:
|
|
2320
|
+
className: g(H.p, W({ weight: t }))
|
|
2321
2321
|
}) }),
|
|
2322
2322
|
"data-imf-ui-component": "Typo.P"
|
|
2323
2323
|
}
|
|
@@ -2331,7 +2331,7 @@ function _a({ variant: e = "main", weight: t, render: n, ...r }) {
|
|
|
2331
2331
|
props: {
|
|
2332
2332
|
...C(r, { className: U({
|
|
2333
2333
|
variant: e,
|
|
2334
|
-
className:
|
|
2334
|
+
className: g(H.lead, W({ weight: t }))
|
|
2335
2335
|
}) }),
|
|
2336
2336
|
"data-imf-ui-component": "Typo.Lead"
|
|
2337
2337
|
}
|
|
@@ -2345,7 +2345,7 @@ function va({ variant: e = "main", weight: t, render: n, ...r }) {
|
|
|
2345
2345
|
props: {
|
|
2346
2346
|
...C(r, { className: U({
|
|
2347
2347
|
variant: e,
|
|
2348
|
-
className:
|
|
2348
|
+
className: g(H.detail, W({ weight: t }))
|
|
2349
2349
|
}) }),
|
|
2350
2350
|
"data-imf-ui-component": "Typo.Detail"
|
|
2351
2351
|
}
|
|
@@ -2359,7 +2359,7 @@ function ya({ variant: e = "minor", weight: t, render: n, ...r }) {
|
|
|
2359
2359
|
props: {
|
|
2360
2360
|
...C(r, { className: U({
|
|
2361
2361
|
variant: e,
|
|
2362
|
-
className:
|
|
2362
|
+
className: g(H.small, W({ weight: t }))
|
|
2363
2363
|
}) }),
|
|
2364
2364
|
"data-imf-ui-component": "Typo.Small"
|
|
2365
2365
|
}
|
|
@@ -2387,7 +2387,7 @@ function xa({ variant: e = "support", weight: t, render: n, ...r }) {
|
|
|
2387
2387
|
props: {
|
|
2388
2388
|
...C(r, { className: U({
|
|
2389
2389
|
variant: e,
|
|
2390
|
-
className:
|
|
2390
|
+
className: g(H.blockquote, W({ weight: t }))
|
|
2391
2391
|
}) }),
|
|
2392
2392
|
"data-imf-ui-component": "Typo.Blockquote"
|
|
2393
2393
|
}
|
|
@@ -2395,7 +2395,7 @@ function xa({ variant: e = "support", weight: t, render: n, ...r }) {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
xa.displayName = "Typo.Blockquote";
|
|
2397
2397
|
function Sa(e) {
|
|
2398
|
-
return /* @__PURE__ */ v(
|
|
2398
|
+
return /* @__PURE__ */ v(xe, { ...e });
|
|
2399
2399
|
}
|
|
2400
2400
|
Sa.displayName = "Typo.InlineCode";
|
|
2401
2401
|
function Ca({ variant: e = "oncolor", weight: t, render: n, ...r }) {
|
|
@@ -2405,7 +2405,7 @@ function Ca({ variant: e = "oncolor", weight: t, render: n, ...r }) {
|
|
|
2405
2405
|
props: {
|
|
2406
2406
|
...C(r, { className: U({
|
|
2407
2407
|
variant: e,
|
|
2408
|
-
className:
|
|
2408
|
+
className: g(H.highlight, W({ weight: t }))
|
|
2409
2409
|
}) }),
|
|
2410
2410
|
"data-imf-ui-component": "Typo.Highlight"
|
|
2411
2411
|
}
|
|
@@ -2423,7 +2423,7 @@ function wa({ variant: e = "primary", weight: t, kind: n = "external", render: r
|
|
|
2423
2423
|
} : {}, i, {
|
|
2424
2424
|
className: U({
|
|
2425
2425
|
variant: e,
|
|
2426
|
-
className:
|
|
2426
|
+
className: g(H.link, W({ weight: t }))
|
|
2427
2427
|
}),
|
|
2428
2428
|
children: i.children
|
|
2429
2429
|
}),
|
|
@@ -2440,7 +2440,7 @@ function Ta({ variant: e = "main", weight: t, render: n, ...r }) {
|
|
|
2440
2440
|
props: {
|
|
2441
2441
|
...C(r, { className: U({
|
|
2442
2442
|
variant: e,
|
|
2443
|
-
className:
|
|
2443
|
+
className: g(H.orderedList, W({ weight: t }))
|
|
2444
2444
|
}) }),
|
|
2445
2445
|
"data-imf-ui-component": "Typo.OrderedList"
|
|
2446
2446
|
}
|
|
@@ -2454,7 +2454,7 @@ function Ea({ variant: e = "main", weight: t, render: n, ...r }) {
|
|
|
2454
2454
|
props: {
|
|
2455
2455
|
...C({ role: "list" }, r, { className: U({
|
|
2456
2456
|
variant: e,
|
|
2457
|
-
className:
|
|
2457
|
+
className: g(H.unorderedList, W({ weight: t }))
|
|
2458
2458
|
}) }),
|
|
2459
2459
|
"data-imf-ui-component": "Typo.UnorderedList"
|
|
2460
2460
|
}
|
|
@@ -2465,7 +2465,7 @@ Ea.displayName = "Typo.UnorderedList";
|
|
|
2465
2465
|
//#region src/components/typo/typo.meta.ts
|
|
2466
2466
|
var Da = {
|
|
2467
2467
|
name: "Typo",
|
|
2468
|
-
category:
|
|
2468
|
+
category: m.display,
|
|
2469
2469
|
status: "stable",
|
|
2470
2470
|
namespace: !0,
|
|
2471
2471
|
description: "Semantic text primitives for display and standard headings, paragraphs, lists, quotes, links, and inline code. The namespace uses native HTML elements and token-based text roles.",
|
|
@@ -2514,22 +2514,22 @@ var Da = {
|
|
|
2514
2514
|
Trigger: () => Wa,
|
|
2515
2515
|
Viewport: () => qa,
|
|
2516
2516
|
createHandle: () => Ha
|
|
2517
|
-
}), ka = Re(void 0), Aa =
|
|
2517
|
+
}), ka = Re(void 0), Aa = h(G.trigger, { variants: { inline: { true: G.triggerInline } } }), ja = h(G.backdrop), Ma = h(G.viewport), Na = h(G.popup, { variants: { size: {
|
|
2518
2518
|
sm: G.sizeSm,
|
|
2519
2519
|
md: G.sizeMd,
|
|
2520
2520
|
lg: G.sizeLg,
|
|
2521
2521
|
full: G.sizeFull
|
|
2522
|
-
} } }), Pa =
|
|
2522
|
+
} } }), Pa = h(G.header, { variants: { variant: {
|
|
2523
2523
|
primary: G.headerPrimary,
|
|
2524
2524
|
main: G.headerMain,
|
|
2525
2525
|
support: G.headerSupport,
|
|
2526
2526
|
minor: G.headerMinor
|
|
2527
|
-
} } }), Fa =
|
|
2527
|
+
} } }), Fa = h(G.status, { variants: { variant: {
|
|
2528
2528
|
info: G.statusInfo,
|
|
2529
2529
|
positive: G.statusPositive,
|
|
2530
2530
|
warning: G.statusWarning,
|
|
2531
2531
|
negative: G.statusNegative
|
|
2532
|
-
} } }), Ia =
|
|
2532
|
+
} } }), Ia = h(G.body), La = h(G.bodyContent), Ra = h(G.footer), za = h(G.title), Ba = h(G.description), Va = h(G.close), Ha = E.createHandle;
|
|
2533
2533
|
function Ua(e) {
|
|
2534
2534
|
return /* @__PURE__ */ v(E.Root, { ...e });
|
|
2535
2535
|
}
|
|
@@ -2595,7 +2595,7 @@ function Ya({ variant: e = "main", ...t }) {
|
|
|
2595
2595
|
}
|
|
2596
2596
|
Ya.displayName = "Dialog.Header";
|
|
2597
2597
|
function Xa({ children: e, ...n }) {
|
|
2598
|
-
return /* @__PURE__ */ v(
|
|
2598
|
+
return /* @__PURE__ */ v(je, {
|
|
2599
2599
|
render: /* @__PURE__ */ v("div", { "data-imf-ui-component": "Dialog.Body" }),
|
|
2600
2600
|
...n,
|
|
2601
2601
|
className: (e) => Ia({ className: t(n.className, e) }),
|
|
@@ -2623,7 +2623,7 @@ function Qa({ variant: e = "info", children: t, ...n }) {
|
|
|
2623
2623
|
variant: e,
|
|
2624
2624
|
className: n.className
|
|
2625
2625
|
}),
|
|
2626
|
-
children: t ?? /* @__PURE__ */ v(
|
|
2626
|
+
children: t ?? /* @__PURE__ */ v(c, {
|
|
2627
2627
|
glyph: $i[e ?? "info"],
|
|
2628
2628
|
className: G.statusGlyph
|
|
2629
2629
|
})
|
|
@@ -2656,7 +2656,7 @@ function to(e) {
|
|
|
2656
2656
|
return /* @__PURE__ */ v(E.Close, {
|
|
2657
2657
|
...e,
|
|
2658
2658
|
render: r ? /* @__PURE__ */ v(gt, {
|
|
2659
|
-
glyph:
|
|
2659
|
+
glyph: u,
|
|
2660
2660
|
label: e["aria-label"] ?? "Close",
|
|
2661
2661
|
variant: "ghost",
|
|
2662
2662
|
size: "sm",
|
|
@@ -2717,7 +2717,7 @@ io.displayName = "Dialog.Inline";
|
|
|
2717
2717
|
//#region src/components/dialog/dialog.meta.ts
|
|
2718
2718
|
var ao = {
|
|
2719
2719
|
name: "Dialog",
|
|
2720
|
-
category:
|
|
2720
|
+
category: m.layout,
|
|
2721
2721
|
status: "experimental",
|
|
2722
2722
|
description: "Modal window over a dimmed page for focused tasks, forms, confirmations, or viewers. Also called a modal; use Drawer for a panel from the screen edge and Popover for content anchored to a trigger.",
|
|
2723
2723
|
origin: "adapted",
|
|
@@ -2772,7 +2772,7 @@ var ao = {
|
|
|
2772
2772
|
Trigger: () => bo,
|
|
2773
2773
|
Viewport: () => Eo,
|
|
2774
2774
|
createHandle: () => vo
|
|
2775
|
-
}), so =
|
|
2775
|
+
}), so = h(K.trigger, { variants: {
|
|
2776
2776
|
variant: {
|
|
2777
2777
|
ghost: K.variantGhost,
|
|
2778
2778
|
outline: K.variantOutline,
|
|
@@ -2782,14 +2782,14 @@ var ao = {
|
|
|
2782
2782
|
negative: K.variantNegative
|
|
2783
2783
|
},
|
|
2784
2784
|
inline: { true: K.triggerInline }
|
|
2785
|
-
} }), co =
|
|
2785
|
+
} }), co = h(K.backdrop), lo = h(K.positioner), uo = h(K.popup, { variants: { variant: {
|
|
2786
2786
|
ghost: K.popupVariantGhost,
|
|
2787
2787
|
outline: K.popupVariantOutline,
|
|
2788
2788
|
primary: K.popupVariantPrimary,
|
|
2789
2789
|
secondary: K.popupVariantSecondary,
|
|
2790
2790
|
positive: K.popupVariantPositive,
|
|
2791
2791
|
negative: K.popupVariantNegative
|
|
2792
|
-
} } }), fo =
|
|
2792
|
+
} } }), fo = h(K.arrow), po = h(K.viewport), mo = h(K.eyebrow), ho = h(K.title), go = h(K.description), _o = h(K.close), vo = D.createHandle;
|
|
2793
2793
|
function yo(e) {
|
|
2794
2794
|
return /* @__PURE__ */ v(D.Root, { ...e });
|
|
2795
2795
|
}
|
|
@@ -2902,7 +2902,7 @@ jo.displayName = "Popover.Inline";
|
|
|
2902
2902
|
//#region src/components/popover/popover.meta.ts
|
|
2903
2903
|
var Mo = {
|
|
2904
2904
|
name: "Popover",
|
|
2905
|
-
category:
|
|
2905
|
+
category: m.display,
|
|
2906
2906
|
status: "stable",
|
|
2907
2907
|
description: "Floating panel anchored to a trigger for contextual content, quick forms, or actions. Also called a popup or flyout; use Tooltip for hints without interaction.",
|
|
2908
2908
|
origin: "adapted",
|
|
@@ -2912,7 +2912,7 @@ var Mo = {
|
|
|
2912
2912
|
docLink: "https://base-ui.com/react/components/popover",
|
|
2913
2913
|
llmDocLink: "https://base-ui.com/react/components/popover.md"
|
|
2914
2914
|
}
|
|
2915
|
-
}, No =
|
|
2915
|
+
}, No = h({ root: "imf-ui-prose-module-root" }.root);
|
|
2916
2916
|
function Po(e) {
|
|
2917
2917
|
return /* @__PURE__ */ v("div", {
|
|
2918
2918
|
...e,
|
|
@@ -2924,19 +2924,19 @@ function Po(e) {
|
|
|
2924
2924
|
//#region src/components/prose/prose.meta.ts
|
|
2925
2925
|
var Fo = {
|
|
2926
2926
|
name: "Prose",
|
|
2927
|
-
category:
|
|
2927
|
+
category: m.layout,
|
|
2928
2928
|
status: "experimental",
|
|
2929
2929
|
description: "Flow container that spaces long-form text and the blocks inside it. Also called an article or rich-text container. Use Stack or Row for UI layout.",
|
|
2930
2930
|
origin: "native"
|
|
2931
2931
|
}, Io = {
|
|
2932
2932
|
name: "Row",
|
|
2933
|
-
category:
|
|
2933
|
+
category: m.layout,
|
|
2934
2934
|
status: "stable",
|
|
2935
2935
|
description: "Horizontal layout primitive for spacing, aligning, and wrapping children. Also called a horizontal stack or flex row.",
|
|
2936
2936
|
origin: "native"
|
|
2937
2937
|
}, Lo = {
|
|
2938
2938
|
name: "ScrollArea",
|
|
2939
|
-
category:
|
|
2939
|
+
category: m.layout,
|
|
2940
2940
|
status: "experimental",
|
|
2941
2941
|
description: "Scrollable region with the library's overlay scrollbar and edge fades, for lists, panels, and dialog bodies. Also called a scroll container; use it instead of a bare overflow: auto.",
|
|
2942
2942
|
origin: "adapted",
|
|
@@ -2948,7 +2948,7 @@ var Fo = {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
}, Ro = {
|
|
2950
2950
|
name: "Separator",
|
|
2951
|
-
category:
|
|
2951
|
+
category: m.layout,
|
|
2952
2952
|
status: "stable",
|
|
2953
2953
|
description: "Line that divides content horizontally or vertically. Also called a divider or rule.",
|
|
2954
2954
|
origin: "adapted",
|
|
@@ -2960,7 +2960,7 @@ var Fo = {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
}, zo = {
|
|
2962
2962
|
name: "Stack",
|
|
2963
|
-
category:
|
|
2963
|
+
category: m.layout,
|
|
2964
2964
|
status: "stable",
|
|
2965
2965
|
description: "Vertical layout primitive for spacing and aligning children. Also called a vertical stack or column.",
|
|
2966
2966
|
origin: "native"
|
|
@@ -2977,7 +2977,7 @@ var Fo = {
|
|
|
2977
2977
|
Fallback: () => Uo,
|
|
2978
2978
|
Image: () => Wo,
|
|
2979
2979
|
Root: () => Ho
|
|
2980
|
-
}), Vo =
|
|
2980
|
+
}), Vo = h(q.root, { variants: {
|
|
2981
2981
|
size: {
|
|
2982
2982
|
sm: q.sizeSm,
|
|
2983
2983
|
md: q.sizeMd,
|
|
@@ -3007,9 +3007,9 @@ function Uo({ children: e, ...n }) {
|
|
|
3007
3007
|
return /* @__PURE__ */ v(Qe.Fallback, {
|
|
3008
3008
|
...n,
|
|
3009
3009
|
"data-imf-ui-component": "Avatar.Fallback",
|
|
3010
|
-
className: (e) =>
|
|
3011
|
-
children: e ?? /* @__PURE__ */ v(
|
|
3012
|
-
glyph:
|
|
3010
|
+
className: (e) => h(q.fallback)({ className: t(n.className, e) }),
|
|
3011
|
+
children: e ?? /* @__PURE__ */ v(c, {
|
|
3012
|
+
glyph: oe,
|
|
3013
3013
|
className: q.glyph,
|
|
3014
3014
|
"aria-hidden": !0
|
|
3015
3015
|
})
|
|
@@ -3021,7 +3021,7 @@ function Wo({ alt: e = "", ...n }) {
|
|
|
3021
3021
|
...n,
|
|
3022
3022
|
alt: e,
|
|
3023
3023
|
"data-imf-ui-component": "Avatar.Image",
|
|
3024
|
-
className: (e) =>
|
|
3024
|
+
className: (e) => h(q.image)({ className: t(n.className, e) })
|
|
3025
3025
|
});
|
|
3026
3026
|
}
|
|
3027
3027
|
Wo.displayName = "Avatar.Image";
|
|
@@ -3048,7 +3048,7 @@ var J = {
|
|
|
3048
3048
|
Root: () => Xo,
|
|
3049
3049
|
Subtitle: () => $o,
|
|
3050
3050
|
Title: () => Qo
|
|
3051
|
-
}), Jo =
|
|
3051
|
+
}), Jo = h(J.root, { variants: { context: {
|
|
3052
3052
|
default: null,
|
|
3053
3053
|
oncolor: J.contextOncolor
|
|
3054
3054
|
} } }), Yo = Re("default");
|
|
@@ -3072,7 +3072,7 @@ function Zo({ src: e, size: t = "sm", children: n, ...r }) {
|
|
|
3072
3072
|
...r,
|
|
3073
3073
|
"aria-hidden": !0,
|
|
3074
3074
|
"data-imf-ui-component": "AccountCard.Avatar",
|
|
3075
|
-
className:
|
|
3075
|
+
className: g(J.avatar, r.className),
|
|
3076
3076
|
children: /* @__PURE__ */ y(Ho, {
|
|
3077
3077
|
context: i,
|
|
3078
3078
|
size: t,
|
|
@@ -3085,7 +3085,7 @@ function Qo({ children: e, ...t }) {
|
|
|
3085
3085
|
return /* @__PURE__ */ v("span", {
|
|
3086
3086
|
...t,
|
|
3087
3087
|
"data-imf-ui-component": "AccountCard.Title",
|
|
3088
|
-
className:
|
|
3088
|
+
className: g(J.title, t.className),
|
|
3089
3089
|
children: Ko(e)
|
|
3090
3090
|
});
|
|
3091
3091
|
}
|
|
@@ -3094,7 +3094,7 @@ function $o({ children: e, ...t }) {
|
|
|
3094
3094
|
return /* @__PURE__ */ v("span", {
|
|
3095
3095
|
...t,
|
|
3096
3096
|
"data-imf-ui-component": "AccountCard.Subtitle",
|
|
3097
|
-
className:
|
|
3097
|
+
className: g(J.subtitle, t.className),
|
|
3098
3098
|
children: Ko(e)
|
|
3099
3099
|
});
|
|
3100
3100
|
}
|
|
@@ -3103,7 +3103,7 @@ function es(e) {
|
|
|
3103
3103
|
return /* @__PURE__ */ v("span", {
|
|
3104
3104
|
...e,
|
|
3105
3105
|
"data-imf-ui-component": "AccountCard.Description",
|
|
3106
|
-
className:
|
|
3106
|
+
className: g(J.description, e.className)
|
|
3107
3107
|
});
|
|
3108
3108
|
}
|
|
3109
3109
|
es.displayName = "AccountCard.Description";
|
|
@@ -3111,7 +3111,7 @@ function ts(e) {
|
|
|
3111
3111
|
return /* @__PURE__ */ v("span", {
|
|
3112
3112
|
...e,
|
|
3113
3113
|
"data-imf-ui-component": "AccountCard.Role",
|
|
3114
|
-
className:
|
|
3114
|
+
className: g(J.role, e.className)
|
|
3115
3115
|
});
|
|
3116
3116
|
}
|
|
3117
3117
|
ts.displayName = "AccountCard.Role";
|
|
@@ -3119,7 +3119,7 @@ function ns(e) {
|
|
|
3119
3119
|
return /* @__PURE__ */ v("div", {
|
|
3120
3120
|
...e,
|
|
3121
3121
|
"data-imf-ui-component": "AccountCard.Action",
|
|
3122
|
-
className:
|
|
3122
|
+
className: g(J.action, e.className)
|
|
3123
3123
|
});
|
|
3124
3124
|
}
|
|
3125
3125
|
ns.displayName = "AccountCard.Action";
|
|
@@ -3127,14 +3127,14 @@ ns.displayName = "AccountCard.Action";
|
|
|
3127
3127
|
//#region src/components/account-card/account-card.meta.ts
|
|
3128
3128
|
var rs = {
|
|
3129
3129
|
name: "AccountCard",
|
|
3130
|
-
category:
|
|
3130
|
+
category: m.display,
|
|
3131
3131
|
status: "experimental",
|
|
3132
3132
|
description: "The signed-in person's account row: the avatar in a lead column, the name or email, a quiet line under it, and organization and role below, with a trailing action such as Log out. Also called an ID card or user row; for a bare person badge, use Avatar.",
|
|
3133
3133
|
origin: "native",
|
|
3134
3134
|
internalDependencies: ["Avatar"]
|
|
3135
3135
|
}, is = {
|
|
3136
3136
|
name: "Avatar",
|
|
3137
|
-
category:
|
|
3137
|
+
category: m.display,
|
|
3138
3138
|
status: "experimental",
|
|
3139
3139
|
description: "Round badge that stands for a person, showing their photo, their initials, or a person glyph. Also called a profile picture or user badge; for a signed-in account row with a name, use AccountCard.",
|
|
3140
3140
|
origin: "adapted",
|
|
@@ -3165,7 +3165,7 @@ var rs = {
|
|
|
3165
3165
|
Icon: () => us,
|
|
3166
3166
|
Root: () => ls,
|
|
3167
3167
|
Title: () => ds
|
|
3168
|
-
}), os =
|
|
3168
|
+
}), os = h(Y.root, { variants: {
|
|
3169
3169
|
variant: {
|
|
3170
3170
|
info: Y.variantInfo,
|
|
3171
3171
|
positive: Y.variantPositive,
|
|
@@ -3183,9 +3183,9 @@ var rs = {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
} }), ss = {
|
|
3185
3185
|
...$i,
|
|
3186
|
-
"accent-1":
|
|
3187
|
-
"accent-2":
|
|
3188
|
-
"accent-3":
|
|
3186
|
+
"accent-1": ce,
|
|
3187
|
+
"accent-2": ce,
|
|
3188
|
+
"accent-3": ce
|
|
3189
3189
|
}, cs = Re("info");
|
|
3190
3190
|
function ls({ variant: e = "info", maxWidth: t = "md", children: n, ...r }) {
|
|
3191
3191
|
let i = e ?? "info";
|
|
@@ -3211,8 +3211,8 @@ function us({ children: e, ...t }) {
|
|
|
3211
3211
|
...t,
|
|
3212
3212
|
"aria-hidden": !0,
|
|
3213
3213
|
"data-imf-ui-component": "Callout.Icon",
|
|
3214
|
-
className:
|
|
3215
|
-
children: e ?? /* @__PURE__ */ v(
|
|
3214
|
+
className: h(Y.icon)({ className: t.className }),
|
|
3215
|
+
children: e ?? /* @__PURE__ */ v(c, {
|
|
3216
3216
|
glyph: n,
|
|
3217
3217
|
size: 24,
|
|
3218
3218
|
strokeWidth: 2
|
|
@@ -3224,7 +3224,7 @@ function ds(e) {
|
|
|
3224
3224
|
return /* @__PURE__ */ v("div", {
|
|
3225
3225
|
...e,
|
|
3226
3226
|
"data-imf-ui-component": "Callout.Title",
|
|
3227
|
-
className:
|
|
3227
|
+
className: h(Y.title)({ className: e.className })
|
|
3228
3228
|
});
|
|
3229
3229
|
}
|
|
3230
3230
|
ds.displayName = "Callout.Title";
|
|
@@ -3232,7 +3232,7 @@ function fs(e) {
|
|
|
3232
3232
|
return /* @__PURE__ */ v("div", {
|
|
3233
3233
|
...e,
|
|
3234
3234
|
"data-imf-ui-component": "Callout.Description",
|
|
3235
|
-
className:
|
|
3235
|
+
className: h(Y.description)({ className: e.className })
|
|
3236
3236
|
});
|
|
3237
3237
|
}
|
|
3238
3238
|
fs.displayName = "Callout.Description";
|
|
@@ -3240,7 +3240,7 @@ fs.displayName = "Callout.Description";
|
|
|
3240
3240
|
//#region src/components/callout/callout.meta.ts
|
|
3241
3241
|
var ps = {
|
|
3242
3242
|
name: "Callout",
|
|
3243
|
-
category:
|
|
3243
|
+
category: m.display,
|
|
3244
3244
|
status: "stable",
|
|
3245
3245
|
namespace: !0,
|
|
3246
3246
|
description: "Persistent, in-place status message for information, success, warnings, and errors. Also called an inline alert or notice; it is not a transient toast or modal dialog.",
|
|
@@ -3268,7 +3268,7 @@ function ms({ variant: e = "minor", appearance: t = "outline", inline: n = !1, c
|
|
|
3268
3268
|
//#region src/components/chip/chip.meta.ts
|
|
3269
3269
|
var hs = {
|
|
3270
3270
|
name: "Chip",
|
|
3271
|
-
category:
|
|
3271
|
+
category: m.display,
|
|
3272
3272
|
status: "stable",
|
|
3273
3273
|
description: "Compact label for tags, status, categories, counts, and metadata. Also called a badge or tag; its color and appearance are independent choices.",
|
|
3274
3274
|
origin: "native"
|
|
@@ -3283,7 +3283,7 @@ var hs = {
|
|
|
3283
3283
|
Panel: () => Cs,
|
|
3284
3284
|
Root: () => ys,
|
|
3285
3285
|
Trigger: () => xs
|
|
3286
|
-
}), vs =
|
|
3286
|
+
}), vs = h(gs.root, { variants: { variant: {
|
|
3287
3287
|
default: null,
|
|
3288
3288
|
solid: gs.variantSolid
|
|
3289
3289
|
} } });
|
|
@@ -3298,7 +3298,7 @@ function ys({ variant: e = "default", ...n }) {
|
|
|
3298
3298
|
});
|
|
3299
3299
|
}
|
|
3300
3300
|
ys.displayName = "Collapsible.Root";
|
|
3301
|
-
var bs =
|
|
3301
|
+
var bs = h(gs.trigger);
|
|
3302
3302
|
function xs({ children: e, ...n }) {
|
|
3303
3303
|
return /* @__PURE__ */ y($e.Trigger, {
|
|
3304
3304
|
...n,
|
|
@@ -3309,8 +3309,8 @@ function xs({ children: e, ...n }) {
|
|
|
3309
3309
|
/* @__PURE__ */ v("span", {
|
|
3310
3310
|
className: gs.iconClosed,
|
|
3311
3311
|
"aria-hidden": !0,
|
|
3312
|
-
children: /* @__PURE__ */ v(
|
|
3313
|
-
glyph:
|
|
3312
|
+
children: /* @__PURE__ */ v(c, {
|
|
3313
|
+
glyph: ie,
|
|
3314
3314
|
size: 16,
|
|
3315
3315
|
strokeWidth: 1.5
|
|
3316
3316
|
})
|
|
@@ -3318,8 +3318,8 @@ function xs({ children: e, ...n }) {
|
|
|
3318
3318
|
/* @__PURE__ */ v("span", {
|
|
3319
3319
|
className: gs.iconOpen,
|
|
3320
3320
|
"aria-hidden": !0,
|
|
3321
|
-
children: /* @__PURE__ */ v(
|
|
3322
|
-
glyph:
|
|
3321
|
+
children: /* @__PURE__ */ v(c, {
|
|
3322
|
+
glyph: p,
|
|
3323
3323
|
size: 16,
|
|
3324
3324
|
strokeWidth: 1.5
|
|
3325
3325
|
})
|
|
@@ -3328,7 +3328,7 @@ function xs({ children: e, ...n }) {
|
|
|
3328
3328
|
});
|
|
3329
3329
|
}
|
|
3330
3330
|
xs.displayName = "Collapsible.Trigger";
|
|
3331
|
-
var Ss =
|
|
3331
|
+
var Ss = h(gs.panel);
|
|
3332
3332
|
function Cs(e) {
|
|
3333
3333
|
return /* @__PURE__ */ v($e.Panel, {
|
|
3334
3334
|
...e,
|
|
@@ -3341,7 +3341,7 @@ Cs.displayName = "Collapsible.Panel";
|
|
|
3341
3341
|
//#region src/components/collapsible/collapsible.meta.ts
|
|
3342
3342
|
var ws = {
|
|
3343
3343
|
name: "Collapsible",
|
|
3344
|
-
category:
|
|
3344
|
+
category: m.display,
|
|
3345
3345
|
status: "stable",
|
|
3346
3346
|
description: "Show-and-hide region for secondary content such as FAQs, settings, or details. Also called a disclosure or expand/collapse.",
|
|
3347
3347
|
origin: "adapted",
|
|
@@ -3363,7 +3363,7 @@ var ws = {
|
|
|
3363
3363
|
Root: () => Ms,
|
|
3364
3364
|
Track: () => Fs,
|
|
3365
3365
|
Value: () => Ps
|
|
3366
|
-
}), Ds =
|
|
3366
|
+
}), Ds = h(Ts.root), Os = h(Ts.label), ks = h(Ts.value), As = h(Ts.track), js = h(Ts.indicator);
|
|
3367
3367
|
function Ms({ min: e = 0, max: n = 100, ...r }) {
|
|
3368
3368
|
return /* @__PURE__ */ v(et.Root, {
|
|
3369
3369
|
...r,
|
|
@@ -3410,7 +3410,7 @@ Is.displayName = "Meter.Indicator";
|
|
|
3410
3410
|
//#region src/components/meter/meter.meta.ts
|
|
3411
3411
|
var Ls = {
|
|
3412
3412
|
name: "Meter",
|
|
3413
|
-
category:
|
|
3413
|
+
category: m.display,
|
|
3414
3414
|
status: "experimental",
|
|
3415
3415
|
description: "Read-only bar for a measured amount within a known range, such as seats in use or storage used. Also called a gauge or usage bar. Use Slider when the user sets the value.",
|
|
3416
3416
|
origin: "adapted",
|
|
@@ -3427,7 +3427,7 @@ var Ls = {
|
|
|
3427
3427
|
}, zs = {
|
|
3428
3428
|
content: "imf-ui-navigation-menu-structure-module-content",
|
|
3429
3429
|
viewport: "imf-ui-navigation-menu-structure-module-viewport"
|
|
3430
|
-
}, Bs =
|
|
3430
|
+
}, Bs = h(Rs.root), Vs = h(Rs.list), Hs = h(Rs.item), Us = h(zs.content), Ws = h(zs.viewport);
|
|
3431
3431
|
function Gs({ orientation: e = "horizontal", className: n, ...r }) {
|
|
3432
3432
|
return /* @__PURE__ */ v(O.Root, {
|
|
3433
3433
|
...r,
|
|
@@ -3473,7 +3473,7 @@ Ys.displayName = "NavigationMenu.Viewport";
|
|
|
3473
3473
|
var Xs = {
|
|
3474
3474
|
icon: "imf-ui-navigation-menu-trigger-module-icon",
|
|
3475
3475
|
trigger: "imf-ui-navigation-menu-trigger-module-trigger"
|
|
3476
|
-
}, Zs =
|
|
3476
|
+
}, Zs = h(Xs.trigger), Qs = h(Xs.icon);
|
|
3477
3477
|
function $s({ active: e = !1, hideChevron: n = !1, nested: r = !1, children: i, ...a }) {
|
|
3478
3478
|
return /* @__PURE__ */ y(O.Trigger, {
|
|
3479
3479
|
...a,
|
|
@@ -3481,8 +3481,8 @@ function $s({ active: e = !1, hideChevron: n = !1, nested: r = !1, children: i,
|
|
|
3481
3481
|
"data-active": e ? "" : void 0,
|
|
3482
3482
|
"data-nested": r ? "" : void 0,
|
|
3483
3483
|
className: (e) => Zs({ className: t(a.className, e) }),
|
|
3484
|
-
children: [i, !n && /* @__PURE__ */ v(ec, { children: /* @__PURE__ */ v(
|
|
3485
|
-
glyph:
|
|
3484
|
+
children: [i, !n && /* @__PURE__ */ v(ec, { children: /* @__PURE__ */ v(c, {
|
|
3485
|
+
glyph: ie,
|
|
3486
3486
|
size: 14
|
|
3487
3487
|
}) })]
|
|
3488
3488
|
});
|
|
@@ -3501,7 +3501,7 @@ var tc = {
|
|
|
3501
3501
|
backdrop: "imf-ui-navigation-menu-overlay-module-backdrop",
|
|
3502
3502
|
popup: "imf-ui-navigation-menu-overlay-module-popup",
|
|
3503
3503
|
positioner: "imf-ui-navigation-menu-overlay-module-positioner"
|
|
3504
|
-
}, nc =
|
|
3504
|
+
}, nc = h(tc.positioner), rc = h(tc.popup), ic = h(tc.arrow), ac = h(tc.backdrop);
|
|
3505
3505
|
function oc(e) {
|
|
3506
3506
|
return /* @__PURE__ */ v(O.Portal, { ...e });
|
|
3507
3507
|
}
|
|
@@ -3545,7 +3545,7 @@ var dc = {
|
|
|
3545
3545
|
linkCardDescription: "imf-ui-navigation-menu-link-module-linkCardDescription",
|
|
3546
3546
|
linkCardTitle: "imf-ui-navigation-menu-link-module-linkCardTitle",
|
|
3547
3547
|
linkList: "imf-ui-navigation-menu-link-module-linkList"
|
|
3548
|
-
}, fc =
|
|
3548
|
+
}, fc = h(dc.link), pc = h(dc.linkList), mc = h(dc.linkCard);
|
|
3549
3549
|
function hc(e) {
|
|
3550
3550
|
return /* @__PURE__ */ v(O.Link, {
|
|
3551
3551
|
...e,
|
|
@@ -3592,18 +3592,18 @@ _c.displayName = "NavigationMenu.LinkCard";
|
|
|
3592
3592
|
var vc = {
|
|
3593
3593
|
flyoutLink: "imf-ui-navigation-menu-flyout-link-module-flyoutLink",
|
|
3594
3594
|
linkArrow: "imf-ui-navigation-menu-flyout-link-module-linkArrow"
|
|
3595
|
-
}, yc =
|
|
3595
|
+
}, yc = h(vc.flyoutLink);
|
|
3596
3596
|
function bc({ children: e, render: n, ...r }) {
|
|
3597
3597
|
return /* @__PURE__ */ v(O.Link, {
|
|
3598
3598
|
...r,
|
|
3599
3599
|
render: n,
|
|
3600
3600
|
"data-imf-ui-component": "NavigationMenu.FlyoutLink",
|
|
3601
3601
|
className: (e) => yc({ className: t(r.className, e) }),
|
|
3602
|
-
children: n ? e : /* @__PURE__ */ y(
|
|
3602
|
+
children: n ? e : /* @__PURE__ */ y(_, { children: [e, /* @__PURE__ */ v("span", {
|
|
3603
3603
|
className: vc.linkArrow,
|
|
3604
3604
|
"aria-hidden": !0,
|
|
3605
|
-
children: /* @__PURE__ */ v(
|
|
3606
|
-
glyph:
|
|
3605
|
+
children: /* @__PURE__ */ v(c, {
|
|
3606
|
+
glyph: o,
|
|
3607
3607
|
size: 14
|
|
3608
3608
|
})
|
|
3609
3609
|
})] })
|
|
@@ -3700,7 +3700,7 @@ var Sc = /* @__PURE__ */ e({
|
|
|
3700
3700
|
Viewport: () => Ys
|
|
3701
3701
|
}), Cc = {
|
|
3702
3702
|
name: "NavigationMenu",
|
|
3703
|
-
category:
|
|
3703
|
+
category: m.display,
|
|
3704
3704
|
status: "experimental",
|
|
3705
3705
|
namespace: !0,
|
|
3706
3706
|
description: "Navigation menu with horizontal or vertical triggers and anchored flyout panels. Also called a menu bar or mega menu; it supports links, rich cards, and nested navigation.",
|
|
@@ -3750,7 +3750,7 @@ function Ec({ label: e, loading: t = !0, animation: n = "shimmer", render: r, ch
|
|
|
3750
3750
|
"data-imf-ui-component": "Skeleton.Root"
|
|
3751
3751
|
}
|
|
3752
3752
|
});
|
|
3753
|
-
return /* @__PURE__ */ y(
|
|
3753
|
+
return /* @__PURE__ */ y(_, { children: [f, t && e !== "" && /* @__PURE__ */ v("span", {
|
|
3754
3754
|
role: "status",
|
|
3755
3755
|
className: wc.visuallyHidden,
|
|
3756
3756
|
children: o
|
|
@@ -3762,7 +3762,7 @@ function Dc({ width: e = "100%", lines: t = 1, style: n, ...r }) {
|
|
|
3762
3762
|
...r,
|
|
3763
3763
|
"aria-hidden": !0,
|
|
3764
3764
|
"data-imf-ui-component": "Skeleton.Text",
|
|
3765
|
-
className:
|
|
3765
|
+
className: h(wc.text)({ className: r.className }),
|
|
3766
3766
|
style: {
|
|
3767
3767
|
inlineSize: e,
|
|
3768
3768
|
...n
|
|
@@ -3781,7 +3781,7 @@ function Oc({ width: e = "100%", shape: t = "rect", height: n, style: r, ...i })
|
|
|
3781
3781
|
"aria-hidden": !0,
|
|
3782
3782
|
"data-imf-ui-component": "Skeleton.Block",
|
|
3783
3783
|
"data-shape": t,
|
|
3784
|
-
className:
|
|
3784
|
+
className: h(wc.block)({ className: i.className }),
|
|
3785
3785
|
style: {
|
|
3786
3786
|
inlineSize: e,
|
|
3787
3787
|
blockSize: n,
|
|
@@ -3824,7 +3824,7 @@ jc.displayName = "Skeleton.Suspense";
|
|
|
3824
3824
|
//#region src/components/skeleton/skeleton.meta.ts
|
|
3825
3825
|
var Mc = {
|
|
3826
3826
|
name: "Skeleton",
|
|
3827
|
-
category:
|
|
3827
|
+
category: m.display,
|
|
3828
3828
|
status: "experimental",
|
|
3829
3829
|
description: "Loading placeholder that stands in for data at the size it will take, so nothing shifts when it lands. Also called a skeleton loader or ghost. Use Spinner when the layout is unknown.",
|
|
3830
3830
|
origin: "native"
|
|
@@ -3838,7 +3838,7 @@ var Mc = {
|
|
|
3838
3838
|
blue: Pc,
|
|
3839
3839
|
white: Fc,
|
|
3840
3840
|
black: Nc
|
|
3841
|
-
}, Rc =
|
|
3841
|
+
}, Rc = h(Ic.root, { variants: { size: {
|
|
3842
3842
|
sm: Ic.sizeSm,
|
|
3843
3843
|
md: Ic.sizeMd,
|
|
3844
3844
|
lg: Ic.sizeLg
|
|
@@ -3865,7 +3865,7 @@ function zc({ size: e = "md", variant: t = "blue", label: n = "Loading", ...r })
|
|
|
3865
3865
|
//#region src/components/spinner/spinner.meta.ts
|
|
3866
3866
|
var Bc = {
|
|
3867
3867
|
name: "Spinner",
|
|
3868
|
-
category:
|
|
3868
|
+
category: m.display,
|
|
3869
3869
|
status: "stable",
|
|
3870
3870
|
description: "Indeterminate loading indicator. Also called a loader or progress spinner.",
|
|
3871
3871
|
origin: "native"
|
|
@@ -3892,14 +3892,14 @@ var Bc = {
|
|
|
3892
3892
|
Row: () => tl,
|
|
3893
3893
|
RowLink: () => il,
|
|
3894
3894
|
SortableHeaderCell: () => cl
|
|
3895
|
-
}), Hc =
|
|
3895
|
+
}), Hc = h(Z.root, { variants: { density: {
|
|
3896
3896
|
compact: Z.densityCompact,
|
|
3897
3897
|
comfortable: null,
|
|
3898
3898
|
spacious: Z.densitySpacious
|
|
3899
|
-
} } }), Uc =
|
|
3899
|
+
} } }), Uc = h(Z.header), Wc = h(Z.body), Gc = h(Z.row), Kc = { action: {
|
|
3900
3900
|
false: null,
|
|
3901
3901
|
true: Z.action
|
|
3902
|
-
} }, qc =
|
|
3902
|
+
} }, qc = h(Z.headerCell, { variants: Kc }), Jc = h(Z.cell, { variants: Kc }), Yc = h(Z.rowLink), Xc = h(Z.headerButton), Zc = h(Z.sortIndicator);
|
|
3903
3903
|
function Qc({ density: e = "comfortable", ...t }) {
|
|
3904
3904
|
return /* @__PURE__ */ v("table", {
|
|
3905
3905
|
...t,
|
|
@@ -3981,12 +3981,12 @@ function ol(e) {
|
|
|
3981
3981
|
return e === "asc" ? "ascending" : e === "desc" ? "descending" : "none";
|
|
3982
3982
|
}
|
|
3983
3983
|
function sl({ sorted: e }) {
|
|
3984
|
-
let t = e === "asc" ?
|
|
3984
|
+
let t = e === "asc" ? te : e === "desc" ? n : l;
|
|
3985
3985
|
return /* @__PURE__ */ v("span", {
|
|
3986
3986
|
className: Zc(),
|
|
3987
3987
|
"data-sorted": e || void 0,
|
|
3988
3988
|
"aria-hidden": !0,
|
|
3989
|
-
children: /* @__PURE__ */ v(
|
|
3989
|
+
children: /* @__PURE__ */ v(c, {
|
|
3990
3990
|
glyph: t,
|
|
3991
3991
|
size: 14,
|
|
3992
3992
|
strokeWidth: 1.5
|
|
@@ -4011,13 +4011,13 @@ cl.displayName = "Table.SortableHeaderCell";
|
|
|
4011
4011
|
//#region src/components/table/table.meta.ts
|
|
4012
4012
|
var ll = {
|
|
4013
4013
|
name: "Table",
|
|
4014
|
-
category:
|
|
4014
|
+
category: m.display,
|
|
4015
4015
|
status: "stable",
|
|
4016
4016
|
description: "Presentational table parts for static tabular data. Pair them with a headless table library for sorting, pagination, or selection.",
|
|
4017
4017
|
origin: "native"
|
|
4018
4018
|
}, ul = {
|
|
4019
4019
|
name: "Tabs",
|
|
4020
|
-
category:
|
|
4020
|
+
category: m.display,
|
|
4021
4021
|
status: "stable",
|
|
4022
4022
|
namespace: !0,
|
|
4023
4023
|
description: "Switches between related panels within one view. Also called a tab strip or tab bar; it supports horizontal and vertical layouts.",
|
|
@@ -4067,7 +4067,7 @@ var ll = {
|
|
|
4067
4067
|
Viewport: () => El,
|
|
4068
4068
|
createToastManager: () => Cl,
|
|
4069
4069
|
useToastManager: () => Sl
|
|
4070
|
-
}), fl =
|
|
4070
|
+
}), fl = h(Q.portal), pl = h(Q.viewport, {
|
|
4071
4071
|
variants: {
|
|
4072
4072
|
position: {
|
|
4073
4073
|
"top-left": Q.positionTopLeft,
|
|
@@ -4088,7 +4088,7 @@ var ll = {
|
|
|
4088
4088
|
position: "bottom-center",
|
|
4089
4089
|
width: "default"
|
|
4090
4090
|
}
|
|
4091
|
-
}), ml =
|
|
4091
|
+
}), ml = h(Q.root, {
|
|
4092
4092
|
variants: { variant: {
|
|
4093
4093
|
neutral: null,
|
|
4094
4094
|
info: Q.variantInfo,
|
|
@@ -4097,7 +4097,7 @@ var ll = {
|
|
|
4097
4097
|
error: Q.variantError
|
|
4098
4098
|
} },
|
|
4099
4099
|
defaultVariants: { variant: "neutral" }
|
|
4100
|
-
}), hl =
|
|
4100
|
+
}), hl = h(Q.content), gl = h(Q.title), _l = h(Q.description), vl = h(Q.close), yl = h(Q.action), bl = h(Q.positioner), xl = h(Q.arrow), Sl = k.useToastManager, Cl = k.createToastManager;
|
|
4101
4101
|
function wl({ timeout: e = 5e3, limit: t = 3, ...n }) {
|
|
4102
4102
|
return /* @__PURE__ */ v(k.Provider, {
|
|
4103
4103
|
...n,
|
|
@@ -4197,7 +4197,7 @@ Pl.displayName = "Toast.Arrow";
|
|
|
4197
4197
|
//#region src/components/toast/toast.meta.ts
|
|
4198
4198
|
var Fl = {
|
|
4199
4199
|
name: "Toast",
|
|
4200
|
-
category:
|
|
4200
|
+
category: m.display,
|
|
4201
4201
|
status: "experimental",
|
|
4202
4202
|
description: "Transient message stack that reports the outcome of a background action without interrupting the page. Use for save confirmations, undo offers, and async progress; attach one to an element for contextual feedback like a copy confirmation. Also called a snackbar, notification, or flash message; for a message that stays inline in the page use Callout instead.",
|
|
4203
4203
|
origin: "adapted",
|
|
@@ -4233,7 +4233,7 @@ var Fl = {
|
|
|
4233
4233
|
Trigger: () => Gl,
|
|
4234
4234
|
Viewport: () => Xl,
|
|
4235
4235
|
createHandle: () => Hl
|
|
4236
|
-
}), Ll =
|
|
4236
|
+
}), Ll = h($.trigger, { variants: {
|
|
4237
4237
|
variant: {
|
|
4238
4238
|
primary: $.variantPrimary,
|
|
4239
4239
|
secondary: $.variantSecondary,
|
|
@@ -4241,12 +4241,12 @@ var Fl = {
|
|
|
4241
4241
|
negative: $.variantNegative
|
|
4242
4242
|
},
|
|
4243
4243
|
inline: { true: $.triggerInline }
|
|
4244
|
-
} }), Rl =
|
|
4244
|
+
} }), Rl = h($.positioner), zl = h($.popup, { variants: { variant: {
|
|
4245
4245
|
primary: $.popupVariantPrimary,
|
|
4246
4246
|
secondary: $.popupVariantSecondary,
|
|
4247
4247
|
positive: $.popupVariantPositive,
|
|
4248
4248
|
negative: $.popupVariantNegative
|
|
4249
|
-
} } }), Bl =
|
|
4249
|
+
} } }), Bl = h($.arrow), Vl = h($.viewport), Hl = A.createHandle;
|
|
4250
4250
|
function Ul(e) {
|
|
4251
4251
|
return /* @__PURE__ */ v(A.Provider, { ...e });
|
|
4252
4252
|
}
|
|
@@ -4324,7 +4324,7 @@ Zl.displayName = "Tooltip.Inline";
|
|
|
4324
4324
|
//#region src/components/tooltip/tooltip.meta.ts
|
|
4325
4325
|
var Ql = {
|
|
4326
4326
|
name: "Tooltip",
|
|
4327
|
-
category:
|
|
4327
|
+
category: m.display,
|
|
4328
4328
|
status: "stable",
|
|
4329
4329
|
description: "Hover- or focus-triggered label for brief help about a control or term. Also called a hint; use Popover for a panel with actions.",
|
|
4330
4330
|
origin: "adapted",
|
|
@@ -4339,10 +4339,10 @@ var Ql = {
|
|
|
4339
4339
|
//#region src/icons/icon-config.tsx
|
|
4340
4340
|
function $l({ children: e, value: t }) {
|
|
4341
4341
|
let n = {
|
|
4342
|
-
...b(
|
|
4342
|
+
...b(re),
|
|
4343
4343
|
...t
|
|
4344
4344
|
};
|
|
4345
|
-
return /* @__PURE__ */ v(
|
|
4345
|
+
return /* @__PURE__ */ v(re.Provider, {
|
|
4346
4346
|
value: n,
|
|
4347
4347
|
children: e
|
|
4348
4348
|
});
|
|
@@ -4369,4 +4369,4 @@ function nu(e) {
|
|
|
4369
4369
|
return tu(e).local.split(/[._-]+/).filter(Boolean).slice(0, 2).map((e) => e.charAt(0).toUpperCase()).join("");
|
|
4370
4370
|
}
|
|
4371
4371
|
//#endregion
|
|
4372
|
-
export { qo as AccountCard, bi as AppShell, Bo as Avatar, nt as Button, as as Callout, ea as Card, St as Checkbox, ms as Chip, ot as ChipLink,
|
|
4372
|
+
export { qo as AccountCard, bi as AppShell, Bo as Avatar, nt as Button, as as Callout, ea as Card, St as Checkbox, ms as Chip, ot as ChipLink, ye as Code, _s as Collapsible, Wt as ColorSchemeToggle, m as ComponentCategories, ut as CopyButton, Oa as Dialog, Or as Drawer, qt as Field, un as Fieldset, c as Icon, gt as IconButton, li as ImFusionLogo, _n as Input, ue as Kbd, ii as Logo, Es as Meter, Sc as NavigationMenu, yn as NumberField, oo as Popover, gi as ProductLogo, Po as Prose, yt as RichLink, he as Row, Te as ScrollArea, Ln as Select, Me as Separator, Tc as Skeleton, Ce as Slider, zc as Spinner, de as Stack, fe as Switch, Vc as Table, ve as Tabs, dl as Toast, ge as Toggle, _e as ToggleGroup, Il as Tooltip, ua as Typo, eu as WebUIProvider, rs as accountCardMeta, Qi as appShellMeta, is as avatarMeta, rt as buttonMeta, ps as calloutMeta, la as cardMeta, Dt as checkboxMeta, st as chipLinkMeta, hs as chipMeta, Se as codeMeta, ws as collapsibleMeta, Gt as colorSchemeToggleMeta, jt as config, dt as copyButtonMeta, Pe as cva, Fe as cx, ao as dialogMeta, ni as drawerMeta, cn as fieldMeta, hn as fieldsetMeta, _t as iconButtonMeta, ee as iconMeta, nu as initialsFromEmail, vn as inputMeta, pe as kbdMeta, ai as logoMeta, Ls as meterMeta, Dr as minWidth, Cc as navigationMenuMeta, In as numberFieldMeta, Mo as popoverMeta, Fo as proseMeta, bt as richLinkMeta, Io as rowMeta, Lo as scrollAreaMeta, Cr as selectMeta, Ro as separatorMeta, Mc as skeletonMeta, wr as sliderMeta, Bc as spinnerMeta, tu as splitEmail, zo as stackMeta, Tr as switchMeta, ll as tableMeta, ul as tabsMeta, Fl as toastMeta, kt as toggleGroupMeta, Ot as toggleMeta, Ql as tooltipMeta, Da as typoMeta, be as useClipboard, Vt as useColorScheme, _i as useDisclosure, yi as useMediaQuery, Ko as withBreakHints };
|