@imfusion/web-ui 0.6.4-dev.30.g1907865c → 0.6.4-dev.36.ga02df89a
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/README.md +14 -15
- package/dist/{code-Ce8uiPsv.js → code-D2lwxHgd.js} +15 -15
- package/dist/components/app-shell/app-shell.d.ts +7 -11
- package/dist/components/button/button.d.ts +3 -11
- package/dist/components/callout/callout.d.ts +4 -8
- package/dist/components/card/card.d.ts +5 -5
- package/dist/components/checkbox/checkbox.d.ts +2 -38
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/code/code.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts +3 -34
- package/dist/components/copy-button/copy-button.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +16 -99
- package/dist/components/field/field.d.ts +7 -67
- package/dist/components/fieldset/fieldset.d.ts +2 -15
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/input/input.d.ts +2 -8
- package/dist/components/logo/logo.d.ts +1 -1
- package/dist/components/navigation-menu/subs/flyout-link.d.ts +2 -14
- package/dist/components/navigation-menu/subs/link.d.ts +6 -23
- package/dist/components/navigation-menu/subs/overlay.d.ts +6 -51
- package/dist/components/navigation-menu/subs/shared.d.ts +4 -14
- package/dist/components/navigation-menu/subs/structure.d.ts +7 -29
- package/dist/components/navigation-menu/subs/trigger.d.ts +6 -13
- package/dist/components/number-field/index.d.ts +2 -0
- package/dist/components/number-field/number-field.d.ts +66 -0
- package/dist/components/number-field/number-field.meta.d.ts +2 -0
- package/dist/components/popover/popover.d.ts +23 -98
- package/dist/components/row/row.d.ts +1 -1
- package/dist/components/select/select.d.ts +22 -185
- package/dist/components/separator/separator.d.ts +4 -4
- package/dist/components/slider/slider.d.ts +7 -77
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/stack/stack.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +2 -31
- package/dist/components/table/table.d.ts +7 -13
- package/dist/components/tabs/tabs.d.ts +13 -44
- package/dist/components/toast/toast.d.ts +15 -102
- package/dist/components/toggle/toggle.d.ts +3 -21
- package/dist/components/toggle-group/toggle-group.d.ts +3 -20
- package/dist/components/tooltip/tooltip.d.ts +21 -77
- package/dist/components/typo/typo.d.ts +14 -21
- package/dist/{icons-Cy1HAosO.js → icons-CaGCCwG-.js} +7 -7
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1390 -1259
- package/dist/integrations/code-highlight.js +2 -2
- package/dist/integrations/image-display-options.js +54 -54
- package/dist/style.css +1 -1
- package/dist/{tabs-DIe1Utiy.js → tabs-By5ir2pt.js} +162 -159
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/resolve-state-props.d.ts +4 -0
- package/package.json +2 -2
- package/src/docgen/doc.gen.json +3150 -603
- package/src/llms/llms.gen.txt +6 -0
- /package/dist/{meta-CySnRuVp.js → meta-j-7HGrWv.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./chunk-DmhlhrBa.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Button as
|
|
7
|
-
import { cva as
|
|
8
|
-
import { Fragment as
|
|
9
|
-
import { IconoirProvider as
|
|
10
|
-
import { createContext as
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { Field as
|
|
13
|
-
import { Fieldset as
|
|
14
|
-
import { Input as
|
|
2
|
+
import { C as t, S as n, c as r, d as i, l as a, m as o, s, u as c } from "./tabs-By5ir2pt.js";
|
|
3
|
+
import { t as l } from "./meta-j-7HGrWv.js";
|
|
4
|
+
import { At as ee, GT as u, Kv as te, Ma as ne, Na as re, Pm as ie, Qt as d, Qv as ae, RA as oe, Wk as se, Xo as ce, aE as le, hn as ue, iv as de, r as f, rn as fe, sn as pe, t as me, zk as he } from "./icons-CaGCCwG-.js";
|
|
5
|
+
import { a as ge, o as _e, r as ve, t as ye } from "./code-D2lwxHgd.js";
|
|
6
|
+
import { Button as be } from "@base-ui/react/button";
|
|
7
|
+
import { cva as xe, cva as p, cx as Se, cx as m } from "class-variance-authority";
|
|
8
|
+
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
9
|
+
import { IconoirProvider as Ce } from "iconoir-react";
|
|
10
|
+
import { createContext as we, useContext as Te, useEffect as Ee, useRef as De, useState as Oe } from "react";
|
|
11
|
+
import { Checkbox as ke } from "@base-ui/react/checkbox";
|
|
12
|
+
import { Field as v } from "@base-ui/react/field";
|
|
13
|
+
import { Fieldset as Ae } from "@base-ui/react/fieldset";
|
|
14
|
+
import { Input as je } from "@base-ui/react/input";
|
|
15
|
+
import { NumberField as y } from "@base-ui/react/number-field";
|
|
15
16
|
import { Select as b } from "@base-ui/react/select";
|
|
16
17
|
import { Drawer as x } from "@base-ui/react/drawer";
|
|
17
18
|
import { Popover as S } from "@base-ui/react/popover";
|
|
18
|
-
import { Separator as
|
|
19
|
+
import { Separator as Me } from "@base-ui/react/separator";
|
|
19
20
|
import { mergeProps as C } from "@base-ui/react/merge-props";
|
|
20
21
|
import { useRender as w } from "@base-ui/react/use-render";
|
|
21
|
-
import { Collapsible as
|
|
22
|
+
import { Collapsible as Ne } from "@base-ui/react/collapsible";
|
|
22
23
|
import { NavigationMenu as T } from "@base-ui/react/navigation-menu";
|
|
23
24
|
import { Toast as E } from "@base-ui/react/toast";
|
|
24
25
|
import { Tooltip as D } from "@base-ui/react/tooltip";
|
|
@@ -43,7 +44,7 @@ var O = {
|
|
|
43
44
|
variantPositive: "imf-ui-button-module-variantPositive",
|
|
44
45
|
variantPrimary: "imf-ui-button-module-variantPrimary",
|
|
45
46
|
variantSecondary: "imf-ui-button-module-variantSecondary"
|
|
46
|
-
},
|
|
47
|
+
}, Pe = p(O.root, { variants: {
|
|
47
48
|
variant: {
|
|
48
49
|
primary: O.variantPrimary,
|
|
49
50
|
secondary: O.variantSecondary,
|
|
@@ -74,29 +75,29 @@ var O = {
|
|
|
74
75
|
oncolor: O.contextOncolor
|
|
75
76
|
}
|
|
76
77
|
} });
|
|
77
|
-
function
|
|
78
|
-
return /* @__PURE__ */
|
|
78
|
+
function Fe({ variant: e = "primary", size: n = "md", context: r = "default", chamfer: i = n === "hero", radius: a = "none", startIcon: o, endIcon: s, children: c, ...l }) {
|
|
79
|
+
return /* @__PURE__ */ _(be, {
|
|
79
80
|
...l,
|
|
80
81
|
"data-imf-ui-component": "Button",
|
|
81
|
-
className: (o) =>
|
|
82
|
+
className: (o) => Pe({
|
|
82
83
|
variant: e,
|
|
83
|
-
size:
|
|
84
|
-
chamfer:
|
|
85
|
-
radius:
|
|
86
|
-
context:
|
|
87
|
-
className:
|
|
84
|
+
size: n,
|
|
85
|
+
chamfer: i,
|
|
86
|
+
radius: a,
|
|
87
|
+
context: r,
|
|
88
|
+
className: t(l.className, o)
|
|
88
89
|
}),
|
|
89
90
|
children: [
|
|
90
|
-
o != null && /* @__PURE__ */
|
|
91
|
+
o != null && /* @__PURE__ */ g("span", {
|
|
91
92
|
className: O.startIcon,
|
|
92
93
|
"aria-hidden": !0,
|
|
93
94
|
children: o
|
|
94
95
|
}),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ g("span", {
|
|
96
97
|
className: O.label,
|
|
97
98
|
children: c
|
|
98
99
|
}),
|
|
99
|
-
s != null && /* @__PURE__ */
|
|
100
|
+
s != null && /* @__PURE__ */ g("span", {
|
|
100
101
|
className: O.endIcon,
|
|
101
102
|
"aria-hidden": !0,
|
|
102
103
|
children: s
|
|
@@ -106,9 +107,9 @@ function Me({ variant: e = "primary", size: t = "md", context: n = "default", ch
|
|
|
106
107
|
}
|
|
107
108
|
//#endregion
|
|
108
109
|
//#region src/components/button/button.meta.ts
|
|
109
|
-
var
|
|
110
|
+
var Ie = {
|
|
110
111
|
name: "Button",
|
|
111
|
-
category:
|
|
112
|
+
category: l.buttons,
|
|
112
113
|
status: "stable",
|
|
113
114
|
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.",
|
|
114
115
|
origin: "adapted",
|
|
@@ -136,7 +137,7 @@ var Ne = {
|
|
|
136
137
|
variantPrimary: "imf-ui-chip-module-variantPrimary",
|
|
137
138
|
variantSupport: "imf-ui-chip-module-variantSupport",
|
|
138
139
|
variantWarning: "imf-ui-chip-module-variantWarning"
|
|
139
|
-
},
|
|
140
|
+
}, Le = p(k.root, { variants: {
|
|
140
141
|
variant: {
|
|
141
142
|
main: k.variantMain,
|
|
142
143
|
support: k.variantSupport,
|
|
@@ -160,15 +161,15 @@ var Ne = {
|
|
|
160
161
|
false: null,
|
|
161
162
|
true: k.inline
|
|
162
163
|
}
|
|
163
|
-
} }),
|
|
164
|
+
} }), Re = {
|
|
164
165
|
icon: "imf-ui-chip-link-module-icon",
|
|
165
166
|
root: "imf-ui-chip-link-module-root"
|
|
166
167
|
};
|
|
167
168
|
//#endregion
|
|
168
169
|
//#region src/components/chip-link/chip-link.tsx
|
|
169
|
-
function
|
|
170
|
-
let s = r === "external" ?
|
|
171
|
-
return /* @__PURE__ */
|
|
170
|
+
function ze({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kind: r = "external", className: i, children: a, ...o }) {
|
|
171
|
+
let s = r === "external" ? ue : d;
|
|
172
|
+
return /* @__PURE__ */ _("a", {
|
|
172
173
|
...r === "external" ? {
|
|
173
174
|
target: "_blank",
|
|
174
175
|
rel: "noreferrer"
|
|
@@ -176,16 +177,16 @@ function Ie({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kin
|
|
|
176
177
|
...o,
|
|
177
178
|
"data-imf-ui-component": "ChipLink",
|
|
178
179
|
"data-kind": r,
|
|
179
|
-
className:
|
|
180
|
+
className: Le({
|
|
180
181
|
variant: e,
|
|
181
182
|
appearance: t,
|
|
182
183
|
inline: n,
|
|
183
|
-
className:
|
|
184
|
+
className: m(Re.root, i)
|
|
184
185
|
}),
|
|
185
|
-
children: [a, /* @__PURE__ */
|
|
186
|
-
className:
|
|
186
|
+
children: [a, /* @__PURE__ */ g("span", {
|
|
187
|
+
className: Re.icon,
|
|
187
188
|
"aria-hidden": !0,
|
|
188
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ g(f, {
|
|
189
190
|
glyph: s,
|
|
190
191
|
size: 12
|
|
191
192
|
})
|
|
@@ -194,89 +195,88 @@ function Ie({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kin
|
|
|
194
195
|
}
|
|
195
196
|
//#endregion
|
|
196
197
|
//#region src/components/chip-link/chip-link.meta.ts
|
|
197
|
-
var
|
|
198
|
+
var Be = {
|
|
198
199
|
name: "ChipLink",
|
|
199
|
-
category:
|
|
200
|
+
category: l.buttons,
|
|
200
201
|
status: "stable",
|
|
201
202
|
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.",
|
|
202
203
|
origin: "native"
|
|
203
|
-
},
|
|
204
|
-
function
|
|
205
|
-
let { copied:
|
|
206
|
-
return /* @__PURE__ */
|
|
207
|
-
...
|
|
208
|
-
variant:
|
|
209
|
-
size:
|
|
210
|
-
"data-copied":
|
|
211
|
-
"aria-label":
|
|
212
|
-
onClick: () =>
|
|
213
|
-
className: (e) =>
|
|
214
|
-
children: /* @__PURE__ */
|
|
215
|
-
glyph:
|
|
204
|
+
}, Ve = { root: "imf-ui-copy-button-module-root" }, He = 1500;
|
|
205
|
+
function Ue({ value: e, label: n = "Copy", copiedLabel: r = "Copied", variant: i = "secondary", size: a = "sm", ...o }) {
|
|
206
|
+
let { copied: s, copy: c } = _e({ timeout: He }), l = s ? ne : ce;
|
|
207
|
+
return /* @__PURE__ */ g(Fe, {
|
|
208
|
+
...o,
|
|
209
|
+
variant: i,
|
|
210
|
+
size: a,
|
|
211
|
+
"data-copied": s || void 0,
|
|
212
|
+
"aria-label": s ? r : n,
|
|
213
|
+
onClick: () => c(e),
|
|
214
|
+
className: (e) => m(Ve.root, t(o.className, e)),
|
|
215
|
+
children: /* @__PURE__ */ g(f, {
|
|
216
|
+
glyph: l,
|
|
216
217
|
size: 15,
|
|
217
218
|
strokeWidth: 2,
|
|
218
219
|
"aria-hidden": !0
|
|
219
220
|
})
|
|
220
221
|
});
|
|
221
222
|
}
|
|
222
|
-
|
|
223
|
+
Ue.displayName = "CopyButton";
|
|
223
224
|
//#endregion
|
|
224
225
|
//#region src/components/copy-button/copy-button.meta.ts
|
|
225
|
-
var
|
|
226
|
+
var We = {
|
|
226
227
|
name: "CopyButton",
|
|
227
|
-
category:
|
|
228
|
+
category: l.buttons,
|
|
228
229
|
status: "stable",
|
|
229
230
|
description: "Copies a value to the clipboard and briefly shows confirmation. Also called a copy-to-clipboard button; commonly used with Code.Block.",
|
|
230
231
|
origin: "native",
|
|
231
232
|
internalDependencies: ["Button"]
|
|
232
|
-
},
|
|
233
|
+
}, Ge = {
|
|
233
234
|
iconCheck: "imf-ui-checkbox-module-iconCheck",
|
|
234
235
|
iconIndeterminate: "imf-ui-checkbox-module-iconIndeterminate",
|
|
235
236
|
indicator: "imf-ui-checkbox-module-indicator",
|
|
236
237
|
root: "imf-ui-checkbox-module-root"
|
|
237
|
-
},
|
|
238
|
-
Indicator: () =>
|
|
239
|
-
Root: () =>
|
|
240
|
-
}),
|
|
241
|
-
function
|
|
242
|
-
return /* @__PURE__ */
|
|
243
|
-
...
|
|
238
|
+
}, Ke = /* @__PURE__ */ e({
|
|
239
|
+
Indicator: () => Xe,
|
|
240
|
+
Root: () => Ye
|
|
241
|
+
}), qe = p(Ge.root), Je = p(Ge.indicator);
|
|
242
|
+
function Ye(e) {
|
|
243
|
+
return /* @__PURE__ */ g(ke.Root, {
|
|
244
|
+
...e,
|
|
244
245
|
"data-imf-ui-component": "Checkbox.Root",
|
|
245
|
-
className: (
|
|
246
|
-
children: t.children
|
|
246
|
+
className: (n) => qe({ className: t(e.className, n) })
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
|
-
|
|
250
|
-
function
|
|
251
|
-
return /* @__PURE__ */
|
|
249
|
+
Ye.displayName = "Checkbox.Root";
|
|
250
|
+
function Xe({ children: e, ...n }) {
|
|
251
|
+
return /* @__PURE__ */ g(ke.Indicator, {
|
|
252
252
|
...n,
|
|
253
253
|
"data-imf-ui-component": "Checkbox.Indicator",
|
|
254
|
-
className: (
|
|
255
|
-
children:
|
|
256
|
-
className:
|
|
254
|
+
className: (e) => Je({ className: t(n.className, e) }),
|
|
255
|
+
children: e ?? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("span", {
|
|
256
|
+
className: Ge.iconCheck,
|
|
257
257
|
"aria-hidden": !0,
|
|
258
|
-
children: /* @__PURE__ */
|
|
259
|
-
glyph:
|
|
258
|
+
children: /* @__PURE__ */ g(f, {
|
|
259
|
+
glyph: ne,
|
|
260
260
|
size: 12,
|
|
261
261
|
strokeWidth: 3
|
|
262
262
|
})
|
|
263
|
-
}), /* @__PURE__ */
|
|
264
|
-
className:
|
|
263
|
+
}), /* @__PURE__ */ g("span", {
|
|
264
|
+
className: Ge.iconIndeterminate,
|
|
265
265
|
"aria-hidden": !0,
|
|
266
|
-
children: /* @__PURE__ */
|
|
267
|
-
glyph:
|
|
266
|
+
children: /* @__PURE__ */ g(f, {
|
|
267
|
+
glyph: de,
|
|
268
268
|
size: 12,
|
|
269
269
|
strokeWidth: 3
|
|
270
270
|
})
|
|
271
271
|
})] })
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
|
|
274
|
+
Xe.displayName = "Checkbox.Indicator";
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/components/checkbox/checkbox.meta.ts
|
|
277
|
-
var
|
|
277
|
+
var Ze = {
|
|
278
278
|
name: "Checkbox",
|
|
279
|
-
category:
|
|
279
|
+
category: l.inputs,
|
|
280
280
|
status: "stable",
|
|
281
281
|
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.",
|
|
282
282
|
origin: "adapted",
|
|
@@ -286,79 +286,79 @@ var qe = {
|
|
|
286
286
|
docLink: "https://base-ui.com/react/components/checkbox",
|
|
287
287
|
llmDocLink: "https://base-ui.com/react/components/checkbox.md"
|
|
288
288
|
}
|
|
289
|
-
},
|
|
289
|
+
}, A = {
|
|
290
290
|
control: "imf-ui-field-module-control",
|
|
291
291
|
description: "imf-ui-field-module-description",
|
|
292
292
|
error: "imf-ui-field-module-error",
|
|
293
293
|
item: "imf-ui-field-module-item",
|
|
294
294
|
label: "imf-ui-field-module-label",
|
|
295
295
|
root: "imf-ui-field-module-root"
|
|
296
|
-
},
|
|
297
|
-
Control: () =>
|
|
298
|
-
Description: () =>
|
|
299
|
-
Error: () =>
|
|
300
|
-
Item: () =>
|
|
301
|
-
Label: () =>
|
|
302
|
-
Root: () =>
|
|
303
|
-
Validity: () =>
|
|
304
|
-
}),
|
|
305
|
-
function
|
|
306
|
-
return /* @__PURE__ */
|
|
307
|
-
...
|
|
296
|
+
}, Qe = /* @__PURE__ */ e({
|
|
297
|
+
Control: () => lt,
|
|
298
|
+
Description: () => ct,
|
|
299
|
+
Error: () => ut,
|
|
300
|
+
Item: () => ot,
|
|
301
|
+
Label: () => st,
|
|
302
|
+
Root: () => at,
|
|
303
|
+
Validity: () => dt
|
|
304
|
+
}), $e = p(A.root), et = p(A.item), tt = p(A.label), nt = p(A.description), rt = p(A.control), it = p(A.error);
|
|
305
|
+
function at(e) {
|
|
306
|
+
return /* @__PURE__ */ g(v.Root, {
|
|
307
|
+
...e,
|
|
308
308
|
"data-imf-ui-component": "Field.Root",
|
|
309
|
-
className: (
|
|
309
|
+
className: (n) => $e({ className: t(e.className, n) })
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
|
-
|
|
313
|
-
function
|
|
314
|
-
return /* @__PURE__ */
|
|
315
|
-
...
|
|
312
|
+
at.displayName = "Field.Root";
|
|
313
|
+
function ot(e) {
|
|
314
|
+
return /* @__PURE__ */ g(v.Item, {
|
|
315
|
+
...e,
|
|
316
316
|
"data-imf-ui-component": "Field.Item",
|
|
317
|
-
className: (
|
|
317
|
+
className: (n) => et({ className: t(e.className, n) })
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
function
|
|
322
|
-
return /* @__PURE__ */
|
|
323
|
-
...
|
|
320
|
+
ot.displayName = "Field.Item";
|
|
321
|
+
function st(e) {
|
|
322
|
+
return /* @__PURE__ */ g(v.Label, {
|
|
323
|
+
...e,
|
|
324
324
|
"data-imf-ui-component": "Field.Label",
|
|
325
|
-
className: (
|
|
325
|
+
className: (n) => tt({ className: t(e.className, n) })
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
|
-
|
|
329
|
-
function
|
|
330
|
-
return /* @__PURE__ */
|
|
331
|
-
...
|
|
328
|
+
st.displayName = "Field.Label";
|
|
329
|
+
function ct(e) {
|
|
330
|
+
return /* @__PURE__ */ g(v.Description, {
|
|
331
|
+
...e,
|
|
332
332
|
"data-imf-ui-component": "Field.Description",
|
|
333
|
-
className: (
|
|
333
|
+
className: (n) => nt({ className: t(e.className, n) })
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
function
|
|
338
|
-
return /* @__PURE__ */
|
|
339
|
-
...
|
|
336
|
+
ct.displayName = "Field.Description";
|
|
337
|
+
function lt(e) {
|
|
338
|
+
return /* @__PURE__ */ g(v.Control, {
|
|
339
|
+
...e,
|
|
340
340
|
"data-imf-ui-component": "Field.Control",
|
|
341
|
-
className: (
|
|
341
|
+
className: (n) => rt({ className: t(e.className, n) })
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
function
|
|
346
|
-
return /* @__PURE__ */
|
|
347
|
-
...
|
|
344
|
+
lt.displayName = "Field.Control";
|
|
345
|
+
function ut(e) {
|
|
346
|
+
return /* @__PURE__ */ g(v.Error, {
|
|
347
|
+
...e,
|
|
348
348
|
"data-imf-ui-component": "Field.Error",
|
|
349
|
-
className: (
|
|
349
|
+
className: (n) => it({ className: t(e.className, n) })
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
|
-
|
|
353
|
-
function
|
|
354
|
-
return /* @__PURE__ */
|
|
352
|
+
ut.displayName = "Field.Error";
|
|
353
|
+
function dt({ children: e }) {
|
|
354
|
+
return /* @__PURE__ */ g(v.Validity, { children: e });
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
dt.displayName = "Field.Validity";
|
|
357
357
|
//#endregion
|
|
358
358
|
//#region src/components/field/field.meta.ts
|
|
359
|
-
var
|
|
359
|
+
var ft = {
|
|
360
360
|
name: "Field",
|
|
361
|
-
category:
|
|
361
|
+
category: l.inputs,
|
|
362
362
|
status: "stable",
|
|
363
363
|
description: "Accessible field composition for a label, control, supporting text, and validation message. Use it with Input, Checkbox, Select, and other form controls.",
|
|
364
364
|
origin: "adapted",
|
|
@@ -368,34 +368,34 @@ var ct = {
|
|
|
368
368
|
docLink: "https://base-ui.com/react/components/field",
|
|
369
369
|
llmDocLink: "https://base-ui.com/react/components/field.md"
|
|
370
370
|
}
|
|
371
|
-
},
|
|
371
|
+
}, pt = {
|
|
372
372
|
legend: "imf-ui-fieldset-module-legend",
|
|
373
373
|
root: "imf-ui-fieldset-module-root"
|
|
374
|
-
},
|
|
375
|
-
Legend: () =>
|
|
376
|
-
Root: () =>
|
|
377
|
-
}),
|
|
378
|
-
function
|
|
379
|
-
return /* @__PURE__ */
|
|
380
|
-
...
|
|
374
|
+
}, mt = /* @__PURE__ */ e({
|
|
375
|
+
Legend: () => vt,
|
|
376
|
+
Root: () => _t
|
|
377
|
+
}), ht = p(pt.root), gt = p(pt.legend);
|
|
378
|
+
function _t(e) {
|
|
379
|
+
return /* @__PURE__ */ g(Ae.Root, {
|
|
380
|
+
...e,
|
|
381
381
|
"data-imf-ui-component": "Fieldset.Root",
|
|
382
|
-
className: (
|
|
382
|
+
className: (n) => ht({ className: t(e.className, n) })
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
function
|
|
387
|
-
return /* @__PURE__ */
|
|
388
|
-
...
|
|
385
|
+
_t.displayName = "Fieldset.Root";
|
|
386
|
+
function vt(e) {
|
|
387
|
+
return /* @__PURE__ */ g(Ae.Legend, {
|
|
388
|
+
...e,
|
|
389
389
|
"data-imf-ui-component": "Fieldset.Legend",
|
|
390
|
-
className: (
|
|
390
|
+
className: (n) => gt({ className: t(e.className, n) })
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
|
|
393
|
+
vt.displayName = "Fieldset.Legend";
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region src/components/fieldset/fieldset.meta.ts
|
|
396
|
-
var
|
|
396
|
+
var yt = {
|
|
397
397
|
name: "Fieldset",
|
|
398
|
-
category:
|
|
398
|
+
category: l.inputs,
|
|
399
399
|
status: "stable",
|
|
400
400
|
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.",
|
|
401
401
|
origin: "adapted",
|
|
@@ -405,7 +405,7 @@ var ht = {
|
|
|
405
405
|
docLink: "https://base-ui.com/react/components/fieldset",
|
|
406
406
|
llmDocLink: "https://base-ui.com/react/components/fieldset.md"
|
|
407
407
|
}
|
|
408
|
-
},
|
|
408
|
+
}, j = {
|
|
409
409
|
clearButton: "imf-ui-input-module-clearButton",
|
|
410
410
|
root: "imf-ui-input-module-root",
|
|
411
411
|
searchRoot: "imf-ui-input-module-searchRoot",
|
|
@@ -415,57 +415,57 @@ var ht = {
|
|
|
415
415
|
variantFilled: "imf-ui-input-module-variantFilled",
|
|
416
416
|
variantGhost: "imf-ui-input-module-variantGhost",
|
|
417
417
|
variantOutline: "imf-ui-input-module-variantOutline"
|
|
418
|
-
},
|
|
418
|
+
}, bt = p(j.root, { variants: {
|
|
419
419
|
variant: {
|
|
420
|
-
outline:
|
|
421
|
-
filled:
|
|
422
|
-
ghost:
|
|
420
|
+
outline: j.variantOutline,
|
|
421
|
+
filled: j.variantFilled,
|
|
422
|
+
ghost: j.variantGhost
|
|
423
423
|
},
|
|
424
424
|
size: {
|
|
425
|
-
sm:
|
|
426
|
-
md:
|
|
427
|
-
lg:
|
|
425
|
+
sm: j.sizeSm,
|
|
426
|
+
md: j.sizeMd,
|
|
427
|
+
lg: j.sizeLg
|
|
428
428
|
}
|
|
429
429
|
} });
|
|
430
|
-
function
|
|
431
|
-
let
|
|
432
|
-
|
|
433
|
-
},
|
|
434
|
-
...
|
|
435
|
-
type:
|
|
436
|
-
value:
|
|
437
|
-
defaultValue:
|
|
438
|
-
disabled:
|
|
439
|
-
onValueChange:
|
|
430
|
+
function xt({ variant: e = "outline", size: n = "md", type: r, value: i, defaultValue: a, onValueChange: o, onClear: s, disabled: c, className: l, ...ee }) {
|
|
431
|
+
let u = r === "search", [te, ne] = Oe(a ?? ""), re = i ?? te, ie = re != null && String(re).length > 0, d = (e, t) => {
|
|
432
|
+
u && i === void 0 && ne(e), o?.(e, t);
|
|
433
|
+
}, ae = /* @__PURE__ */ g(je, {
|
|
434
|
+
...ee,
|
|
435
|
+
type: r,
|
|
436
|
+
value: u ? re : i,
|
|
437
|
+
defaultValue: u ? void 0 : a,
|
|
438
|
+
disabled: c,
|
|
439
|
+
onValueChange: u ? d : o,
|
|
440
440
|
"data-imf-ui-component": "Input",
|
|
441
|
-
className: (
|
|
441
|
+
className: (r) => bt({
|
|
442
442
|
variant: e,
|
|
443
|
-
size:
|
|
444
|
-
className:
|
|
443
|
+
size: n,
|
|
444
|
+
className: t(l, r)
|
|
445
445
|
})
|
|
446
446
|
});
|
|
447
|
-
return
|
|
448
|
-
className: typeof
|
|
449
|
-
children: [
|
|
447
|
+
return u ? /* @__PURE__ */ _("div", {
|
|
448
|
+
className: typeof l == "string" ? `${j.searchRoot} ${l}` : j.searchRoot,
|
|
449
|
+
children: [ae, ie && !c && /* @__PURE__ */ g("button", {
|
|
450
450
|
type: "button",
|
|
451
|
-
className:
|
|
451
|
+
className: j.clearButton,
|
|
452
452
|
"aria-label": "Clear input",
|
|
453
453
|
onClick: () => {
|
|
454
|
-
|
|
454
|
+
i === void 0 && ne(""), s?.();
|
|
455
455
|
},
|
|
456
|
-
children: /* @__PURE__ */
|
|
457
|
-
glyph:
|
|
456
|
+
children: /* @__PURE__ */ g(f, {
|
|
457
|
+
glyph: oe,
|
|
458
458
|
size: 16,
|
|
459
459
|
"aria-hidden": !0
|
|
460
460
|
})
|
|
461
461
|
})]
|
|
462
|
-
}) :
|
|
462
|
+
}) : ae;
|
|
463
463
|
}
|
|
464
464
|
//#endregion
|
|
465
465
|
//#region src/components/input/input.meta.ts
|
|
466
|
-
var
|
|
466
|
+
var St = {
|
|
467
467
|
name: "Input",
|
|
468
|
-
category:
|
|
468
|
+
category: l.inputs,
|
|
469
469
|
status: "stable",
|
|
470
470
|
description: "Single-line text input for form data entry. Also called a text field; it supports controlled values and Field validation state.",
|
|
471
471
|
origin: "adapted",
|
|
@@ -475,7 +475,153 @@ var vt = {
|
|
|
475
475
|
docLink: "https://base-ui.com/react/components/input",
|
|
476
476
|
llmDocLink: "https://base-ui.com/react/components/input.md"
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, M = {
|
|
479
|
+
decrement: "imf-ui-number-field-module-decrement",
|
|
480
|
+
group: "imf-ui-number-field-module-group",
|
|
481
|
+
increment: "imf-ui-number-field-module-increment",
|
|
482
|
+
input: "imf-ui-number-field-module-input",
|
|
483
|
+
root: "imf-ui-number-field-module-root",
|
|
484
|
+
scrubArea: "imf-ui-number-field-module-scrubArea",
|
|
485
|
+
scrubAreaCursor: "imf-ui-number-field-module-scrubAreaCursor",
|
|
486
|
+
sizeLg: "imf-ui-number-field-module-sizeLg",
|
|
487
|
+
sizeMd: "imf-ui-number-field-module-sizeMd",
|
|
488
|
+
sizeSm: "imf-ui-number-field-module-sizeSm",
|
|
489
|
+
variantFilled: "imf-ui-number-field-module-variantFilled",
|
|
490
|
+
variantGhost: "imf-ui-number-field-module-variantGhost",
|
|
491
|
+
variantOutline: "imf-ui-number-field-module-variantOutline",
|
|
492
|
+
variantPrimary: "imf-ui-number-field-module-variantPrimary"
|
|
493
|
+
}, Ct = /* @__PURE__ */ e({
|
|
494
|
+
Decrement: () => N,
|
|
495
|
+
Group: () => Nt,
|
|
496
|
+
Increment: () => Ft,
|
|
497
|
+
Input: () => Pt,
|
|
498
|
+
Root: () => Mt,
|
|
499
|
+
ScrubArea: () => It,
|
|
500
|
+
ScrubAreaCursor: () => Lt,
|
|
501
|
+
Stepper: () => Rt
|
|
502
|
+
}), wt = p(M.root), Tt = p(M.group, { variants: {
|
|
503
|
+
variant: {
|
|
504
|
+
outline: M.variantOutline,
|
|
505
|
+
primary: M.variantPrimary,
|
|
506
|
+
filled: M.variantFilled,
|
|
507
|
+
ghost: M.variantGhost
|
|
508
|
+
},
|
|
509
|
+
size: {
|
|
510
|
+
sm: M.sizeSm,
|
|
511
|
+
md: M.sizeMd,
|
|
512
|
+
lg: M.sizeLg
|
|
513
|
+
}
|
|
514
|
+
} }), Et = p(M.input), Dt = p(M.increment), Ot = p(M.decrement), kt = p(M.scrubArea), At = p(M.scrubAreaCursor);
|
|
515
|
+
function jt(e, t) {
|
|
516
|
+
if (typeof e != "number" || t?.minimumFractionDigits !== void 0) return t;
|
|
517
|
+
let n = (String(e).split(".")[1] ?? "").length;
|
|
518
|
+
return n === 0 ? t : {
|
|
519
|
+
...t,
|
|
520
|
+
minimumFractionDigits: n
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
function Mt({ step: e, format: n, ...r }) {
|
|
524
|
+
return /* @__PURE__ */ g(y.Root, {
|
|
525
|
+
...r,
|
|
526
|
+
step: e,
|
|
527
|
+
format: jt(e, n),
|
|
528
|
+
"data-imf-ui-component": "NumberField.Root",
|
|
529
|
+
className: (e) => wt({ className: t(r.className, e) })
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
Mt.displayName = "NumberField.Root";
|
|
533
|
+
function Nt({ variant: e = "outline", size: n = "md", ...r }) {
|
|
534
|
+
return /* @__PURE__ */ g(y.Group, {
|
|
535
|
+
...r,
|
|
536
|
+
"data-imf-ui-component": "NumberField.Group",
|
|
537
|
+
className: (i) => Tt({
|
|
538
|
+
variant: e,
|
|
539
|
+
size: n,
|
|
540
|
+
className: t(r.className, i)
|
|
541
|
+
})
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
Nt.displayName = "NumberField.Group";
|
|
545
|
+
function Pt(e) {
|
|
546
|
+
return /* @__PURE__ */ g(y.Input, {
|
|
547
|
+
...e,
|
|
548
|
+
"data-imf-ui-component": "NumberField.Input",
|
|
549
|
+
className: (n) => Et({ className: t(e.className, n) })
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
Pt.displayName = "NumberField.Input";
|
|
553
|
+
function Ft(e) {
|
|
554
|
+
return /* @__PURE__ */ g(y.Increment, {
|
|
555
|
+
...e,
|
|
556
|
+
"data-imf-ui-component": "NumberField.Increment",
|
|
557
|
+
className: (n) => Dt({ className: t(e.className, n) }),
|
|
558
|
+
children: "+"
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
Ft.displayName = "NumberField.Increment";
|
|
562
|
+
function N(e) {
|
|
563
|
+
return /* @__PURE__ */ g(y.Decrement, {
|
|
564
|
+
...e,
|
|
565
|
+
"data-imf-ui-component": "NumberField.Decrement",
|
|
566
|
+
className: (n) => Ot({ className: t(e.className, n) }),
|
|
567
|
+
children: "-"
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
N.displayName = "NumberField.Decrement";
|
|
571
|
+
function It(e) {
|
|
572
|
+
return /* @__PURE__ */ g(y.ScrubArea, {
|
|
573
|
+
...e,
|
|
574
|
+
"data-imf-ui-component": "NumberField.ScrubArea",
|
|
575
|
+
className: (n) => kt({ className: t(e.className, n) })
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
It.displayName = "NumberField.ScrubArea";
|
|
579
|
+
function Lt(e) {
|
|
580
|
+
return /* @__PURE__ */ g(y.ScrubAreaCursor, {
|
|
581
|
+
...e,
|
|
582
|
+
"data-imf-ui-component": "NumberField.ScrubAreaCursor",
|
|
583
|
+
className: (n) => At({ className: t(e.className, n) })
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
Lt.displayName = "NumberField.ScrubAreaCursor";
|
|
587
|
+
function Rt({ layout: e = "trailing", variant: t = "outline", size: n = "md", scrub: r, ...i }) {
|
|
588
|
+
return /* @__PURE__ */ _(Mt, {
|
|
589
|
+
...i,
|
|
590
|
+
children: [r != null && /* @__PURE__ */ _(It, { children: [r, /* @__PURE__ */ g(Lt, { children: /* @__PURE__ */ g(f, {
|
|
591
|
+
glyph: fe,
|
|
592
|
+
size: 20,
|
|
593
|
+
"aria-hidden": !0
|
|
594
|
+
}) })] }), /* @__PURE__ */ g(Nt, {
|
|
595
|
+
variant: t,
|
|
596
|
+
size: n,
|
|
597
|
+
children: e === "flanking" ? /* @__PURE__ */ _(h, { children: [
|
|
598
|
+
/* @__PURE__ */ g(N, {}),
|
|
599
|
+
/* @__PURE__ */ g(Pt, {}),
|
|
600
|
+
/* @__PURE__ */ g(Ft, {})
|
|
601
|
+
] }) : /* @__PURE__ */ _(h, { children: [
|
|
602
|
+
/* @__PURE__ */ g(Pt, {}),
|
|
603
|
+
/* @__PURE__ */ g(N, {}),
|
|
604
|
+
/* @__PURE__ */ g(Ft, {})
|
|
605
|
+
] })
|
|
606
|
+
})]
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
Rt.displayName = "NumberField.Stepper";
|
|
610
|
+
//#endregion
|
|
611
|
+
//#region src/components/number-field/number-field.meta.ts
|
|
612
|
+
var zt = {
|
|
613
|
+
name: "NumberField",
|
|
614
|
+
category: l.inputs,
|
|
615
|
+
status: "experimental",
|
|
616
|
+
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.",
|
|
617
|
+
origin: "adapted",
|
|
618
|
+
upstream: {
|
|
619
|
+
name: "Base UI",
|
|
620
|
+
websiteLink: "https://base-ui.com/",
|
|
621
|
+
docLink: "https://base-ui.com/react/components/number-field",
|
|
622
|
+
llmDocLink: "https://base-ui.com/react/components/number-field.md"
|
|
623
|
+
}
|
|
624
|
+
}, P = {
|
|
479
625
|
arrow: "imf-ui-select-module-arrow",
|
|
480
626
|
group: "imf-ui-select-module-group",
|
|
481
627
|
groupLabel: "imf-ui-select-module-groupLabel",
|
|
@@ -493,197 +639,183 @@ var vt = {
|
|
|
493
639
|
separator: "imf-ui-select-module-separator",
|
|
494
640
|
trigger: "imf-ui-select-module-trigger",
|
|
495
641
|
value: "imf-ui-select-module-value"
|
|
496
|
-
},
|
|
497
|
-
Arrow: () =>
|
|
498
|
-
Backdrop: () =>
|
|
499
|
-
Group: () =>
|
|
500
|
-
GroupLabel: () =>
|
|
501
|
-
Icon: () =>
|
|
502
|
-
Item: () =>
|
|
503
|
-
ItemIndicator: () =>
|
|
504
|
-
ItemText: () =>
|
|
505
|
-
Label: () =>
|
|
506
|
-
List: () =>
|
|
507
|
-
Popup: () =>
|
|
508
|
-
Portal: () =>
|
|
509
|
-
Positioner: () =>
|
|
510
|
-
Root: () =>
|
|
511
|
-
ScrollDownArrow: () =>
|
|
512
|
-
ScrollUpArrow: () =>
|
|
513
|
-
Separator: () =>
|
|
514
|
-
Trigger: () =>
|
|
515
|
-
Value: () =>
|
|
516
|
-
}),
|
|
517
|
-
function
|
|
518
|
-
return /* @__PURE__ */
|
|
519
|
-
className:
|
|
642
|
+
}, Bt = /* @__PURE__ */ e({
|
|
643
|
+
Arrow: () => hn,
|
|
644
|
+
Backdrop: () => fn,
|
|
645
|
+
Group: () => bn,
|
|
646
|
+
GroupLabel: () => xn,
|
|
647
|
+
Icon: () => un,
|
|
648
|
+
Item: () => _n,
|
|
649
|
+
ItemIndicator: () => vn,
|
|
650
|
+
ItemText: () => yn,
|
|
651
|
+
Label: () => sn,
|
|
652
|
+
List: () => gn,
|
|
653
|
+
Popup: () => mn,
|
|
654
|
+
Portal: () => dn,
|
|
655
|
+
Positioner: () => pn,
|
|
656
|
+
Root: () => on,
|
|
657
|
+
ScrollDownArrow: () => wn,
|
|
658
|
+
ScrollUpArrow: () => Cn,
|
|
659
|
+
Separator: () => Sn,
|
|
660
|
+
Trigger: () => cn,
|
|
661
|
+
Value: () => ln
|
|
662
|
+
}), Vt = p(P.root), Ht = p(P.label), Ut = p(P.trigger), Wt = p(P.value), Gt = p(P.icon), Kt = p(P.backdrop), qt = p(P.positioner), Jt = p(P.popup), Yt = p(P.arrow), Xt = p(P.list), Zt = p(P.item), Qt = p(P.itemIndicator), $t = p(P.itemText), en = p(P.group), tn = p(P.groupLabel), nn = p(P.separator), rn = p(P.scrollUpArrow), an = p(P.scrollDownArrow);
|
|
663
|
+
function on({ className: e, style: t, ...n }) {
|
|
664
|
+
return /* @__PURE__ */ g("div", {
|
|
665
|
+
className: Vt({ className: e }),
|
|
520
666
|
style: t,
|
|
521
|
-
children: /* @__PURE__ */
|
|
667
|
+
children: /* @__PURE__ */ g(b.Root, { ...n })
|
|
522
668
|
});
|
|
523
669
|
}
|
|
524
|
-
|
|
525
|
-
function
|
|
526
|
-
return /* @__PURE__ */
|
|
527
|
-
...
|
|
670
|
+
on.displayName = "Select.Root";
|
|
671
|
+
function sn(e) {
|
|
672
|
+
return /* @__PURE__ */ g(b.Label, {
|
|
673
|
+
...e,
|
|
528
674
|
"data-imf-ui-component": "Select.Label",
|
|
529
|
-
className: (
|
|
530
|
-
children: t.children
|
|
675
|
+
className: (n) => Ht({ className: t(e.className, n) })
|
|
531
676
|
});
|
|
532
677
|
}
|
|
533
|
-
|
|
534
|
-
function
|
|
535
|
-
return /* @__PURE__ */
|
|
536
|
-
...
|
|
678
|
+
sn.displayName = "Select.Label";
|
|
679
|
+
function cn(e) {
|
|
680
|
+
return /* @__PURE__ */ g(b.Trigger, {
|
|
681
|
+
...e,
|
|
537
682
|
"data-imf-ui-component": "Select.Trigger",
|
|
538
|
-
className: (
|
|
539
|
-
children: t.children
|
|
683
|
+
className: (n) => Ut({ className: t(e.className, n) })
|
|
540
684
|
});
|
|
541
685
|
}
|
|
542
|
-
|
|
543
|
-
function
|
|
544
|
-
return /* @__PURE__ */
|
|
686
|
+
cn.displayName = "Select.Trigger";
|
|
687
|
+
function ln({ children: e, ...n }) {
|
|
688
|
+
return /* @__PURE__ */ g(b.Value, {
|
|
545
689
|
...n,
|
|
546
690
|
"data-imf-ui-component": "Select.Value",
|
|
547
|
-
className: (
|
|
548
|
-
children:
|
|
691
|
+
className: (e) => Wt({ className: t(n.className, e) }),
|
|
692
|
+
children: e
|
|
549
693
|
});
|
|
550
694
|
}
|
|
551
|
-
|
|
552
|
-
function
|
|
553
|
-
return /* @__PURE__ */
|
|
554
|
-
...
|
|
695
|
+
ln.displayName = "Select.Value";
|
|
696
|
+
function un(e) {
|
|
697
|
+
return /* @__PURE__ */ g(b.Icon, {
|
|
698
|
+
...e,
|
|
555
699
|
"data-imf-ui-component": "Select.Icon",
|
|
556
|
-
className: (
|
|
557
|
-
children: t.children
|
|
700
|
+
className: (n) => Gt({ className: t(e.className, n) })
|
|
558
701
|
});
|
|
559
702
|
}
|
|
560
|
-
|
|
561
|
-
function
|
|
562
|
-
return /* @__PURE__ */
|
|
703
|
+
un.displayName = "Select.Icon";
|
|
704
|
+
function dn(e) {
|
|
705
|
+
return /* @__PURE__ */ g(b.Portal, { ...e });
|
|
563
706
|
}
|
|
564
|
-
|
|
565
|
-
function
|
|
566
|
-
return /* @__PURE__ */
|
|
567
|
-
...
|
|
707
|
+
dn.displayName = "Select.Portal";
|
|
708
|
+
function fn(e) {
|
|
709
|
+
return /* @__PURE__ */ g(b.Backdrop, {
|
|
710
|
+
...e,
|
|
568
711
|
"data-imf-ui-component": "Select.Backdrop",
|
|
569
|
-
className: (
|
|
712
|
+
className: (n) => Kt({ className: t(e.className, n) })
|
|
570
713
|
});
|
|
571
714
|
}
|
|
572
|
-
|
|
573
|
-
function
|
|
574
|
-
return /* @__PURE__ */
|
|
715
|
+
fn.displayName = "Select.Backdrop";
|
|
716
|
+
function pn({ align: e = "start", alignItemWithTrigger: n = !1, ...r }) {
|
|
717
|
+
return /* @__PURE__ */ g(b.Positioner, {
|
|
575
718
|
...r,
|
|
576
|
-
align:
|
|
719
|
+
align: e,
|
|
577
720
|
alignItemWithTrigger: n,
|
|
578
721
|
"data-imf-ui-component": "Select.Positioner",
|
|
579
|
-
className: (
|
|
580
|
-
children: r.children
|
|
722
|
+
className: (e) => qt({ className: t(r.className, e) })
|
|
581
723
|
});
|
|
582
724
|
}
|
|
583
|
-
|
|
584
|
-
function
|
|
585
|
-
return /* @__PURE__ */
|
|
586
|
-
...
|
|
725
|
+
pn.displayName = "Select.Positioner";
|
|
726
|
+
function mn(e) {
|
|
727
|
+
return /* @__PURE__ */ g(b.Popup, {
|
|
728
|
+
...e,
|
|
587
729
|
"data-imf-ui-component": "Select.Popup",
|
|
588
|
-
className: (
|
|
589
|
-
children: t.children
|
|
730
|
+
className: (n) => Jt({ className: t(e.className, n) })
|
|
590
731
|
});
|
|
591
732
|
}
|
|
592
|
-
|
|
593
|
-
function
|
|
594
|
-
return /* @__PURE__ */
|
|
595
|
-
...
|
|
733
|
+
mn.displayName = "Select.Popup";
|
|
734
|
+
function hn(e) {
|
|
735
|
+
return /* @__PURE__ */ g(b.Arrow, {
|
|
736
|
+
...e,
|
|
596
737
|
"data-imf-ui-component": "Select.Arrow",
|
|
597
|
-
className: (
|
|
598
|
-
children: t.children
|
|
738
|
+
className: (n) => Yt({ className: t(e.className, n) })
|
|
599
739
|
});
|
|
600
740
|
}
|
|
601
|
-
|
|
602
|
-
function
|
|
603
|
-
return /* @__PURE__ */
|
|
604
|
-
...
|
|
741
|
+
hn.displayName = "Select.Arrow";
|
|
742
|
+
function gn(e) {
|
|
743
|
+
return /* @__PURE__ */ g(b.List, {
|
|
744
|
+
...e,
|
|
605
745
|
"data-imf-ui-component": "Select.List",
|
|
606
|
-
className: (
|
|
607
|
-
children: t.children
|
|
746
|
+
className: (n) => Xt({ className: t(e.className, n) })
|
|
608
747
|
});
|
|
609
748
|
}
|
|
610
|
-
|
|
611
|
-
function
|
|
612
|
-
return /* @__PURE__ */
|
|
613
|
-
...
|
|
749
|
+
gn.displayName = "Select.List";
|
|
750
|
+
function _n(e) {
|
|
751
|
+
return /* @__PURE__ */ g(b.Item, {
|
|
752
|
+
...e,
|
|
614
753
|
"data-imf-ui-component": "Select.Item",
|
|
615
|
-
className: (
|
|
616
|
-
children: t.children
|
|
754
|
+
className: (n) => Zt({ className: t(e.className, n) })
|
|
617
755
|
});
|
|
618
756
|
}
|
|
619
|
-
|
|
620
|
-
function
|
|
621
|
-
return /* @__PURE__ */
|
|
622
|
-
...
|
|
757
|
+
_n.displayName = "Select.Item";
|
|
758
|
+
function vn(e) {
|
|
759
|
+
return /* @__PURE__ */ g(b.ItemIndicator, {
|
|
760
|
+
...e,
|
|
623
761
|
"data-imf-ui-component": "Select.ItemIndicator",
|
|
624
|
-
className: (
|
|
625
|
-
children: t.children
|
|
762
|
+
className: (n) => Qt({ className: t(e.className, n) })
|
|
626
763
|
});
|
|
627
764
|
}
|
|
628
|
-
|
|
629
|
-
function
|
|
630
|
-
return /* @__PURE__ */
|
|
631
|
-
...
|
|
765
|
+
vn.displayName = "Select.ItemIndicator";
|
|
766
|
+
function yn(e) {
|
|
767
|
+
return /* @__PURE__ */ g(b.ItemText, {
|
|
768
|
+
...e,
|
|
632
769
|
"data-imf-ui-component": "Select.ItemText",
|
|
633
|
-
className: (
|
|
634
|
-
children: t.children
|
|
770
|
+
className: (n) => $t({ className: t(e.className, n) })
|
|
635
771
|
});
|
|
636
772
|
}
|
|
637
|
-
|
|
638
|
-
function
|
|
639
|
-
return /* @__PURE__ */
|
|
640
|
-
...
|
|
773
|
+
yn.displayName = "Select.ItemText";
|
|
774
|
+
function bn(e) {
|
|
775
|
+
return /* @__PURE__ */ g(b.Group, {
|
|
776
|
+
...e,
|
|
641
777
|
"data-imf-ui-component": "Select.Group",
|
|
642
|
-
className: (
|
|
643
|
-
children: t.children
|
|
778
|
+
className: (n) => en({ className: t(e.className, n) })
|
|
644
779
|
});
|
|
645
780
|
}
|
|
646
|
-
|
|
647
|
-
function
|
|
648
|
-
return /* @__PURE__ */
|
|
649
|
-
...
|
|
781
|
+
bn.displayName = "Select.Group";
|
|
782
|
+
function xn(e) {
|
|
783
|
+
return /* @__PURE__ */ g(b.GroupLabel, {
|
|
784
|
+
...e,
|
|
650
785
|
"data-imf-ui-component": "Select.GroupLabel",
|
|
651
|
-
className: (
|
|
652
|
-
children: t.children
|
|
786
|
+
className: (n) => tn({ className: t(e.className, n) })
|
|
653
787
|
});
|
|
654
788
|
}
|
|
655
|
-
|
|
656
|
-
function
|
|
657
|
-
return /* @__PURE__ */
|
|
658
|
-
...
|
|
789
|
+
xn.displayName = "Select.GroupLabel";
|
|
790
|
+
function Sn(e) {
|
|
791
|
+
return /* @__PURE__ */ g(b.Separator, {
|
|
792
|
+
...e,
|
|
659
793
|
"data-imf-ui-component": "Select.Separator",
|
|
660
|
-
className: (
|
|
794
|
+
className: (n) => nn({ className: t(e.className, n) })
|
|
661
795
|
});
|
|
662
796
|
}
|
|
663
|
-
|
|
664
|
-
function
|
|
665
|
-
return /* @__PURE__ */
|
|
666
|
-
...
|
|
797
|
+
Sn.displayName = "Select.Separator";
|
|
798
|
+
function Cn(e) {
|
|
799
|
+
return /* @__PURE__ */ g(b.ScrollUpArrow, {
|
|
800
|
+
...e,
|
|
667
801
|
"data-imf-ui-component": "Select.ScrollUpArrow",
|
|
668
|
-
className: (
|
|
669
|
-
children: t.children
|
|
802
|
+
className: (n) => rn({ className: t(e.className, n) })
|
|
670
803
|
});
|
|
671
804
|
}
|
|
672
|
-
|
|
673
|
-
function
|
|
674
|
-
return /* @__PURE__ */
|
|
675
|
-
...
|
|
805
|
+
Cn.displayName = "Select.ScrollUpArrow";
|
|
806
|
+
function wn(e) {
|
|
807
|
+
return /* @__PURE__ */ g(b.ScrollDownArrow, {
|
|
808
|
+
...e,
|
|
676
809
|
"data-imf-ui-component": "Select.ScrollDownArrow",
|
|
677
|
-
className: (
|
|
678
|
-
children: t.children
|
|
810
|
+
className: (n) => an({ className: t(e.className, n) })
|
|
679
811
|
});
|
|
680
812
|
}
|
|
681
|
-
|
|
813
|
+
wn.displayName = "Select.ScrollDownArrow";
|
|
682
814
|
//#endregion
|
|
683
815
|
//#region src/components/select/select.meta.ts
|
|
684
|
-
var
|
|
816
|
+
var Tn = {
|
|
685
817
|
name: "Select",
|
|
686
|
-
category:
|
|
818
|
+
category: l.inputs,
|
|
687
819
|
status: "stable",
|
|
688
820
|
description: "Dropdown for choosing a value from a known list. Also called a picker; use it for a labeled, keyboard-accessible option list.",
|
|
689
821
|
origin: "adapted",
|
|
@@ -693,9 +825,9 @@ var rn = {
|
|
|
693
825
|
docLink: "https://base-ui.com/react/components/select",
|
|
694
826
|
llmDocLink: "https://base-ui.com/react/components/select.md"
|
|
695
827
|
}
|
|
696
|
-
},
|
|
828
|
+
}, En = {
|
|
697
829
|
name: "Slider",
|
|
698
|
-
category:
|
|
830
|
+
category: l.inputs,
|
|
699
831
|
status: "stable",
|
|
700
832
|
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.",
|
|
701
833
|
origin: "adapted",
|
|
@@ -705,9 +837,9 @@ var rn = {
|
|
|
705
837
|
docLink: "https://base-ui.com/react/components/slider",
|
|
706
838
|
llmDocLink: "https://base-ui.com/react/components/slider.md"
|
|
707
839
|
}
|
|
708
|
-
},
|
|
840
|
+
}, Dn = {
|
|
709
841
|
name: "Switch",
|
|
710
|
-
category:
|
|
842
|
+
category: l.inputs,
|
|
711
843
|
status: "stable",
|
|
712
844
|
description: "Two-state control for an on/off setting that takes effect immediately. Also called a toggle; use Checkbox for a submitted choice.",
|
|
713
845
|
origin: "adapted",
|
|
@@ -717,9 +849,9 @@ var rn = {
|
|
|
717
849
|
docLink: "https://base-ui.com/react/components/switch",
|
|
718
850
|
llmDocLink: "https://base-ui.com/react/components/switch.md"
|
|
719
851
|
}
|
|
720
|
-
},
|
|
852
|
+
}, On = {
|
|
721
853
|
name: "Toggle",
|
|
722
|
-
category:
|
|
854
|
+
category: l.inputs,
|
|
723
855
|
status: "experimental",
|
|
724
856
|
description: "Two-state button for a pressed or unpressed option. Compose several in ToggleGroup for a segmented control.",
|
|
725
857
|
origin: "adapted",
|
|
@@ -729,9 +861,9 @@ var rn = {
|
|
|
729
861
|
docLink: "https://base-ui.com/react/components/toggle",
|
|
730
862
|
llmDocLink: "https://base-ui.com/react/components/toggle.md"
|
|
731
863
|
}
|
|
732
|
-
},
|
|
864
|
+
}, kn = {
|
|
733
865
|
name: "ToggleGroup",
|
|
734
|
-
category:
|
|
866
|
+
category: l.inputs,
|
|
735
867
|
status: "experimental",
|
|
736
868
|
description: "Group of connected Toggle buttons that share a selection. Also called a segmented control; set `multiple` for more than one active option.",
|
|
737
869
|
origin: "adapted",
|
|
@@ -741,7 +873,7 @@ var rn = {
|
|
|
741
873
|
docLink: "https://base-ui.com/react/components/toggle-group",
|
|
742
874
|
llmDocLink: "https://base-ui.com/react/components/toggle-group.md"
|
|
743
875
|
}
|
|
744
|
-
},
|
|
876
|
+
}, F = {
|
|
745
877
|
aside: "imf-ui-app-shell-module-aside",
|
|
746
878
|
footer: "imf-ui-app-shell-module-footer",
|
|
747
879
|
header: "imf-ui-app-shell-module-header",
|
|
@@ -749,83 +881,83 @@ var rn = {
|
|
|
749
881
|
navbar: "imf-ui-app-shell-module-navbar",
|
|
750
882
|
root: "imf-ui-app-shell-module-root",
|
|
751
883
|
section: "imf-ui-app-shell-module-section"
|
|
752
|
-
},
|
|
753
|
-
Aside: () =>
|
|
754
|
-
Footer: () =>
|
|
755
|
-
Header: () =>
|
|
756
|
-
Main: () =>
|
|
757
|
-
Navbar: () =>
|
|
758
|
-
Root: () =>
|
|
759
|
-
Section: () =>
|
|
760
|
-
}),
|
|
761
|
-
function
|
|
762
|
-
return /* @__PURE__ */
|
|
763
|
-
...
|
|
884
|
+
}, An = /* @__PURE__ */ e({
|
|
885
|
+
Aside: () => Vn,
|
|
886
|
+
Footer: () => Hn,
|
|
887
|
+
Header: () => zn,
|
|
888
|
+
Main: () => Un,
|
|
889
|
+
Navbar: () => Bn,
|
|
890
|
+
Root: () => Rn,
|
|
891
|
+
Section: () => Wn
|
|
892
|
+
}), jn = p(F.root), Mn = p(F.header), Nn = p(F.navbar), Pn = p(F.aside), Fn = p(F.footer), In = p(F.main), Ln = p(F.section);
|
|
893
|
+
function Rn(e) {
|
|
894
|
+
return /* @__PURE__ */ g("div", {
|
|
895
|
+
...e,
|
|
764
896
|
"data-imf-ui-component": "AppShell.Root",
|
|
765
|
-
className:
|
|
897
|
+
className: jn({ className: e.className })
|
|
766
898
|
});
|
|
767
899
|
}
|
|
768
|
-
|
|
769
|
-
function
|
|
770
|
-
return /* @__PURE__ */
|
|
771
|
-
...
|
|
900
|
+
Rn.displayName = "AppShell.Root";
|
|
901
|
+
function zn(e) {
|
|
902
|
+
return /* @__PURE__ */ g("header", {
|
|
903
|
+
...e,
|
|
772
904
|
"data-imf-ui-component": "AppShell.Header",
|
|
773
|
-
className:
|
|
905
|
+
className: Mn({ className: e.className })
|
|
774
906
|
});
|
|
775
907
|
}
|
|
776
|
-
|
|
777
|
-
function
|
|
778
|
-
return /* @__PURE__ */
|
|
779
|
-
...
|
|
908
|
+
zn.displayName = "AppShell.Header";
|
|
909
|
+
function Bn({ open: e, ...t }) {
|
|
910
|
+
return /* @__PURE__ */ g("nav", {
|
|
911
|
+
...t,
|
|
780
912
|
"data-imf-ui-component": "AppShell.Navbar",
|
|
781
|
-
"data-open":
|
|
782
|
-
className:
|
|
913
|
+
"data-open": e ? "" : void 0,
|
|
914
|
+
className: Nn({ className: t.className })
|
|
783
915
|
});
|
|
784
916
|
}
|
|
785
|
-
|
|
786
|
-
function
|
|
787
|
-
return /* @__PURE__ */
|
|
788
|
-
...
|
|
917
|
+
Bn.displayName = "AppShell.Navbar";
|
|
918
|
+
function Vn({ open: e, ...t }) {
|
|
919
|
+
return /* @__PURE__ */ g("aside", {
|
|
920
|
+
...t,
|
|
789
921
|
"data-imf-ui-component": "AppShell.Aside",
|
|
790
|
-
"data-open":
|
|
791
|
-
className:
|
|
922
|
+
"data-open": e ? "" : void 0,
|
|
923
|
+
className: Pn({ className: t.className })
|
|
792
924
|
});
|
|
793
925
|
}
|
|
794
|
-
|
|
795
|
-
function
|
|
796
|
-
return /* @__PURE__ */
|
|
797
|
-
...
|
|
926
|
+
Vn.displayName = "AppShell.Aside";
|
|
927
|
+
function Hn(e) {
|
|
928
|
+
return /* @__PURE__ */ g("footer", {
|
|
929
|
+
...e,
|
|
798
930
|
"data-imf-ui-component": "AppShell.Footer",
|
|
799
|
-
className:
|
|
931
|
+
className: Fn({ className: e.className })
|
|
800
932
|
});
|
|
801
933
|
}
|
|
802
|
-
|
|
803
|
-
function
|
|
804
|
-
return /* @__PURE__ */
|
|
805
|
-
...
|
|
934
|
+
Hn.displayName = "AppShell.Footer";
|
|
935
|
+
function Un(e) {
|
|
936
|
+
return /* @__PURE__ */ g("main", {
|
|
937
|
+
...e,
|
|
806
938
|
"data-imf-ui-component": "AppShell.Main",
|
|
807
|
-
className:
|
|
939
|
+
className: In({ className: e.className })
|
|
808
940
|
});
|
|
809
941
|
}
|
|
810
|
-
|
|
811
|
-
function
|
|
812
|
-
return /* @__PURE__ */
|
|
813
|
-
...
|
|
942
|
+
Un.displayName = "AppShell.Main";
|
|
943
|
+
function Wn({ grow: e, ...t }) {
|
|
944
|
+
return /* @__PURE__ */ g("div", {
|
|
945
|
+
...t,
|
|
814
946
|
"data-imf-ui-component": "AppShell.Section",
|
|
815
|
-
"data-grow":
|
|
816
|
-
className:
|
|
947
|
+
"data-grow": e ? "" : void 0,
|
|
948
|
+
className: Ln({ className: t.className })
|
|
817
949
|
});
|
|
818
950
|
}
|
|
819
|
-
|
|
951
|
+
Wn.displayName = "AppShell.Section";
|
|
820
952
|
//#endregion
|
|
821
953
|
//#region src/components/app-shell/app-shell.meta.ts
|
|
822
|
-
var
|
|
954
|
+
var Gn = {
|
|
823
955
|
name: "AppShell",
|
|
824
|
-
category:
|
|
956
|
+
category: l.layout,
|
|
825
957
|
status: "stable",
|
|
826
958
|
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.",
|
|
827
959
|
origin: "native"
|
|
828
|
-
},
|
|
960
|
+
}, I = {
|
|
829
961
|
content: "imf-ui-card-module-content",
|
|
830
962
|
densityComfortable: "imf-ui-card-module-densityComfortable",
|
|
831
963
|
densityCompact: "imf-ui-card-module-densityCompact",
|
|
@@ -849,106 +981,106 @@ var wn = {
|
|
|
849
981
|
variantMinor: "imf-ui-card-module-variantMinor",
|
|
850
982
|
variantPrimary: "imf-ui-card-module-variantPrimary",
|
|
851
983
|
variantSupport: "imf-ui-card-module-variantSupport"
|
|
852
|
-
},
|
|
853
|
-
Content: () =>
|
|
854
|
-
Footer: () =>
|
|
855
|
-
Header: () =>
|
|
856
|
-
Image: () =>
|
|
857
|
-
Root: () =>
|
|
858
|
-
}),
|
|
984
|
+
}, Kn = /* @__PURE__ */ e({
|
|
985
|
+
Content: () => Zn,
|
|
986
|
+
Footer: () => Qn,
|
|
987
|
+
Header: () => Xn,
|
|
988
|
+
Image: () => Yn,
|
|
989
|
+
Root: () => Jn
|
|
990
|
+
}), qn = p(I.root, { variants: {
|
|
859
991
|
density: {
|
|
860
|
-
compact:
|
|
861
|
-
comfortable:
|
|
862
|
-
spacious:
|
|
992
|
+
compact: I.densityCompact,
|
|
993
|
+
comfortable: I.densityComfortable,
|
|
994
|
+
spacious: I.densitySpacious
|
|
863
995
|
},
|
|
864
996
|
variant: {
|
|
865
|
-
main:
|
|
866
|
-
support:
|
|
867
|
-
minor:
|
|
868
|
-
primary:
|
|
869
|
-
brand:
|
|
997
|
+
main: I.variantMain,
|
|
998
|
+
support: I.variantSupport,
|
|
999
|
+
minor: I.variantMinor,
|
|
1000
|
+
primary: I.variantPrimary,
|
|
1001
|
+
brand: I.variantBrand
|
|
870
1002
|
},
|
|
871
1003
|
shadow: {
|
|
872
|
-
none:
|
|
873
|
-
sm:
|
|
874
|
-
md:
|
|
875
|
-
lg:
|
|
1004
|
+
none: I.shadowNone,
|
|
1005
|
+
sm: I.shadowSm,
|
|
1006
|
+
md: I.shadowMd,
|
|
1007
|
+
lg: I.shadowLg
|
|
876
1008
|
},
|
|
877
1009
|
radius: {
|
|
878
|
-
brand:
|
|
879
|
-
sm:
|
|
880
|
-
md:
|
|
881
|
-
lg:
|
|
1010
|
+
brand: I.radiusBrand,
|
|
1011
|
+
sm: I.radiusSm,
|
|
1012
|
+
md: I.radiusMd,
|
|
1013
|
+
lg: I.radiusLg
|
|
882
1014
|
},
|
|
883
1015
|
orientation: {
|
|
884
|
-
vertical:
|
|
885
|
-
horizontal:
|
|
1016
|
+
vertical: I.orientationVertical,
|
|
1017
|
+
horizontal: I.orientationHorizontal
|
|
886
1018
|
}
|
|
887
1019
|
} });
|
|
888
|
-
function
|
|
889
|
-
let
|
|
890
|
-
return /* @__PURE__ */
|
|
891
|
-
...
|
|
1020
|
+
function Jn({ density: e = "comfortable", variant: t = "main", shadow: n = "lg", radius: r = "brand", orientation: i = "vertical", withBorder: a = !0, ...o }) {
|
|
1021
|
+
let s = a && t !== "primary" && t !== "brand";
|
|
1022
|
+
return /* @__PURE__ */ g("div", {
|
|
1023
|
+
...o,
|
|
892
1024
|
"data-imf-ui-component": "Card.Root",
|
|
893
|
-
"data-with-border":
|
|
894
|
-
className:
|
|
1025
|
+
"data-with-border": s ? "" : void 0,
|
|
1026
|
+
className: qn({
|
|
895
1027
|
density: e,
|
|
896
1028
|
variant: t,
|
|
897
1029
|
shadow: n,
|
|
898
1030
|
radius: r,
|
|
899
1031
|
orientation: i,
|
|
900
|
-
className: o
|
|
1032
|
+
className: o.className
|
|
901
1033
|
})
|
|
902
1034
|
});
|
|
903
1035
|
}
|
|
904
|
-
|
|
905
|
-
function
|
|
906
|
-
return /* @__PURE__ */
|
|
907
|
-
...
|
|
908
|
-
alt:
|
|
1036
|
+
Jn.displayName = "Card.Root";
|
|
1037
|
+
function Yn({ alt: e = "", aspectRatio: t = 16 / 10, style: n, ...r }) {
|
|
1038
|
+
return /* @__PURE__ */ g("img", {
|
|
1039
|
+
...r,
|
|
1040
|
+
alt: e,
|
|
909
1041
|
"data-imf-ui-component": "Card.Image",
|
|
910
|
-
className:
|
|
1042
|
+
className: p(I.image)({ className: r.className }),
|
|
911
1043
|
style: {
|
|
912
|
-
aspectRatio:
|
|
913
|
-
...
|
|
1044
|
+
aspectRatio: t,
|
|
1045
|
+
...n
|
|
914
1046
|
}
|
|
915
1047
|
});
|
|
916
1048
|
}
|
|
917
|
-
|
|
918
|
-
function
|
|
919
|
-
return /* @__PURE__ */
|
|
920
|
-
...
|
|
1049
|
+
Yn.displayName = "Card.Image";
|
|
1050
|
+
function Xn(e) {
|
|
1051
|
+
return /* @__PURE__ */ g("div", {
|
|
1052
|
+
...e,
|
|
921
1053
|
"data-imf-ui-component": "Card.Header",
|
|
922
|
-
className:
|
|
1054
|
+
className: p(I.header)({ className: e.className })
|
|
923
1055
|
});
|
|
924
1056
|
}
|
|
925
|
-
|
|
926
|
-
function
|
|
927
|
-
return /* @__PURE__ */
|
|
928
|
-
...
|
|
1057
|
+
Xn.displayName = "Card.Header";
|
|
1058
|
+
function Zn(e) {
|
|
1059
|
+
return /* @__PURE__ */ g("div", {
|
|
1060
|
+
...e,
|
|
929
1061
|
"data-imf-ui-component": "Card.Content",
|
|
930
|
-
className:
|
|
1062
|
+
className: p(I.content)({ className: e.className })
|
|
931
1063
|
});
|
|
932
1064
|
}
|
|
933
|
-
|
|
934
|
-
function
|
|
935
|
-
return /* @__PURE__ */
|
|
936
|
-
...
|
|
1065
|
+
Zn.displayName = "Card.Content";
|
|
1066
|
+
function Qn(e) {
|
|
1067
|
+
return /* @__PURE__ */ g("div", {
|
|
1068
|
+
...e,
|
|
937
1069
|
"data-imf-ui-component": "Card.Footer",
|
|
938
|
-
className:
|
|
1070
|
+
className: p(I.footer)({ className: e.className })
|
|
939
1071
|
});
|
|
940
1072
|
}
|
|
941
|
-
|
|
1073
|
+
Qn.displayName = "Card.Footer";
|
|
942
1074
|
//#endregion
|
|
943
1075
|
//#region src/components/card/card.meta.ts
|
|
944
|
-
var
|
|
1076
|
+
var $n = {
|
|
945
1077
|
name: "Card",
|
|
946
|
-
category:
|
|
1078
|
+
category: l.layout,
|
|
947
1079
|
status: "stable",
|
|
948
1080
|
namespace: !0,
|
|
949
1081
|
description: "Surface container for related content on a tonal background. Also called a panel or tile; compose it from optional image, header, content, and footer parts.",
|
|
950
1082
|
origin: "native"
|
|
951
|
-
},
|
|
1083
|
+
}, L = {
|
|
952
1084
|
backdrop: "imf-ui-drawer-module-backdrop",
|
|
953
1085
|
borderColorFgMinor: "imf-ui-drawer-module-borderColorFgMinor",
|
|
954
1086
|
borderColorFgSupport: "imf-ui-drawer-module-borderColorFgSupport",
|
|
@@ -971,165 +1103,165 @@ var Mn = {
|
|
|
971
1103
|
title: "imf-ui-drawer-module-title",
|
|
972
1104
|
trigger: "imf-ui-drawer-module-trigger",
|
|
973
1105
|
viewport: "imf-ui-drawer-module-viewport"
|
|
974
|
-
},
|
|
975
|
-
Backdrop: () =>
|
|
976
|
-
Close: () =>
|
|
977
|
-
Content: () =>
|
|
978
|
-
Description: () =>
|
|
979
|
-
Indent: () =>
|
|
980
|
-
IndentBackground: () =>
|
|
981
|
-
Popup: () =>
|
|
982
|
-
Portal: () =>
|
|
983
|
-
Provider: () =>
|
|
984
|
-
Root: () =>
|
|
985
|
-
SwipeArea: () =>
|
|
986
|
-
Title: () =>
|
|
987
|
-
Trigger: () =>
|
|
988
|
-
Viewport: () =>
|
|
989
|
-
}),
|
|
1106
|
+
}, er = /* @__PURE__ */ e({
|
|
1107
|
+
Backdrop: () => gr,
|
|
1108
|
+
Close: () => Sr,
|
|
1109
|
+
Content: () => br,
|
|
1110
|
+
Description: () => Cr,
|
|
1111
|
+
Indent: () => Tr,
|
|
1112
|
+
IndentBackground: () => Er,
|
|
1113
|
+
Popup: () => yr,
|
|
1114
|
+
Portal: () => hr,
|
|
1115
|
+
Provider: () => wr,
|
|
1116
|
+
Root: () => pr,
|
|
1117
|
+
SwipeArea: () => Dr,
|
|
1118
|
+
Title: () => xr,
|
|
1119
|
+
Trigger: () => mr,
|
|
1120
|
+
Viewport: () => _r
|
|
1121
|
+
}), tr = we({
|
|
990
1122
|
borderColor: "primary",
|
|
991
1123
|
borderStyle: "solid"
|
|
992
|
-
}),
|
|
1124
|
+
}), nr = p(L.trigger), rr = p(L.backdrop), ir = p(L.viewport), ar = p(L.popup, {
|
|
993
1125
|
variants: {
|
|
994
1126
|
borderColor: {
|
|
995
|
-
primary:
|
|
996
|
-
"fg-minor":
|
|
997
|
-
"fg-support":
|
|
998
|
-
none:
|
|
1127
|
+
primary: L.borderColorPrimary,
|
|
1128
|
+
"fg-minor": L.borderColorFgMinor,
|
|
1129
|
+
"fg-support": L.borderColorFgSupport,
|
|
1130
|
+
none: L.borderColorNone
|
|
999
1131
|
},
|
|
1000
1132
|
borderStyle: {
|
|
1001
|
-
solid:
|
|
1002
|
-
dashed:
|
|
1003
|
-
none:
|
|
1133
|
+
solid: L.borderStyleSolid,
|
|
1134
|
+
dashed: L.borderStyleDashed,
|
|
1135
|
+
none: L.borderStyleNone
|
|
1004
1136
|
}
|
|
1005
1137
|
},
|
|
1006
1138
|
defaultVariants: {
|
|
1007
1139
|
borderColor: "primary",
|
|
1008
1140
|
borderStyle: "solid"
|
|
1009
1141
|
}
|
|
1010
|
-
}),
|
|
1011
|
-
function
|
|
1012
|
-
return /* @__PURE__ */
|
|
1142
|
+
}), or = p(L.content), sr = p(L.title), cr = p(L.close), lr = p(L.description), ur = p(L.indent), dr = p(L.indentBackground), fr = p(L.swipeArea);
|
|
1143
|
+
function pr({ borderColor: e = "primary", borderStyle: t = "solid", ...n }) {
|
|
1144
|
+
return /* @__PURE__ */ g(tr.Provider, {
|
|
1013
1145
|
value: {
|
|
1014
1146
|
borderColor: e,
|
|
1015
1147
|
borderStyle: t
|
|
1016
1148
|
},
|
|
1017
|
-
children: /* @__PURE__ */
|
|
1149
|
+
children: /* @__PURE__ */ g(x.Root, { ...n })
|
|
1018
1150
|
});
|
|
1019
1151
|
}
|
|
1020
|
-
|
|
1021
|
-
function
|
|
1022
|
-
return /* @__PURE__ */
|
|
1023
|
-
...
|
|
1152
|
+
pr.displayName = "Drawer.Root";
|
|
1153
|
+
function mr(e) {
|
|
1154
|
+
return /* @__PURE__ */ g(x.Trigger, {
|
|
1155
|
+
...e,
|
|
1024
1156
|
"data-imf-ui-component": "Drawer.Trigger",
|
|
1025
|
-
className: (
|
|
1157
|
+
className: (n) => nr({ className: t(e.className, n) })
|
|
1026
1158
|
});
|
|
1027
1159
|
}
|
|
1028
|
-
|
|
1029
|
-
function
|
|
1030
|
-
return /* @__PURE__ */
|
|
1160
|
+
mr.displayName = "Drawer.Trigger";
|
|
1161
|
+
function hr(e) {
|
|
1162
|
+
return /* @__PURE__ */ g(x.Portal, { ...e });
|
|
1031
1163
|
}
|
|
1032
|
-
|
|
1033
|
-
function
|
|
1034
|
-
return /* @__PURE__ */
|
|
1035
|
-
...
|
|
1164
|
+
hr.displayName = "Drawer.Portal";
|
|
1165
|
+
function gr(e) {
|
|
1166
|
+
return /* @__PURE__ */ g(x.Backdrop, {
|
|
1167
|
+
...e,
|
|
1036
1168
|
"data-imf-ui-component": "Drawer.Backdrop",
|
|
1037
|
-
className: (
|
|
1169
|
+
className: (n) => rr({ className: t(e.className, n) })
|
|
1038
1170
|
});
|
|
1039
1171
|
}
|
|
1040
|
-
|
|
1041
|
-
function
|
|
1042
|
-
return /* @__PURE__ */
|
|
1043
|
-
...
|
|
1172
|
+
gr.displayName = "Drawer.Backdrop";
|
|
1173
|
+
function _r(e) {
|
|
1174
|
+
return /* @__PURE__ */ g(x.Viewport, {
|
|
1175
|
+
...e,
|
|
1044
1176
|
"data-imf-ui-component": "Drawer.Viewport",
|
|
1045
|
-
className: (
|
|
1177
|
+
className: (n) => ir({ className: t(e.className, n) })
|
|
1046
1178
|
});
|
|
1047
1179
|
}
|
|
1048
|
-
|
|
1049
|
-
var
|
|
1050
|
-
left:
|
|
1051
|
-
right:
|
|
1052
|
-
down:
|
|
1053
|
-
up:
|
|
1180
|
+
_r.displayName = "Drawer.Viewport";
|
|
1181
|
+
var vr = {
|
|
1182
|
+
left: L.popupLeft,
|
|
1183
|
+
right: L.popupRight,
|
|
1184
|
+
down: L.popupBottom,
|
|
1185
|
+
up: L.popupTop
|
|
1054
1186
|
};
|
|
1055
|
-
function
|
|
1056
|
-
let i =
|
|
1057
|
-
return /* @__PURE__ */
|
|
1187
|
+
function yr({ borderColor: e, borderStyle: n, ...r }) {
|
|
1188
|
+
let i = Te(tr), a = e ?? i.borderColor, o = n ?? i.borderStyle;
|
|
1189
|
+
return /* @__PURE__ */ g(x.Popup, {
|
|
1058
1190
|
...r,
|
|
1059
1191
|
"data-imf-ui-component": "Drawer.Popup",
|
|
1060
|
-
className: (e) =>
|
|
1192
|
+
className: (e) => ar({
|
|
1061
1193
|
borderColor: a,
|
|
1062
1194
|
borderStyle: o,
|
|
1063
|
-
className:
|
|
1195
|
+
className: m(vr[e.swipeDirection], t(r.className, e))
|
|
1064
1196
|
})
|
|
1065
1197
|
});
|
|
1066
1198
|
}
|
|
1067
|
-
|
|
1068
|
-
function
|
|
1069
|
-
return /* @__PURE__ */
|
|
1070
|
-
...
|
|
1199
|
+
yr.displayName = "Drawer.Popup";
|
|
1200
|
+
function br(e) {
|
|
1201
|
+
return /* @__PURE__ */ g(x.Content, {
|
|
1202
|
+
...e,
|
|
1071
1203
|
"data-imf-ui-component": "Drawer.Content",
|
|
1072
|
-
className: (
|
|
1204
|
+
className: (n) => or({ className: t(e.className, n) })
|
|
1073
1205
|
});
|
|
1074
1206
|
}
|
|
1075
|
-
|
|
1076
|
-
function
|
|
1077
|
-
return /* @__PURE__ */
|
|
1078
|
-
...
|
|
1207
|
+
br.displayName = "Drawer.Content";
|
|
1208
|
+
function xr(e) {
|
|
1209
|
+
return /* @__PURE__ */ g(x.Title, {
|
|
1210
|
+
...e,
|
|
1079
1211
|
"data-imf-ui-component": "Drawer.Title",
|
|
1080
|
-
className:
|
|
1212
|
+
className: sr({ className: e.className })
|
|
1081
1213
|
});
|
|
1082
1214
|
}
|
|
1083
|
-
|
|
1084
|
-
function
|
|
1085
|
-
return /* @__PURE__ */
|
|
1086
|
-
...
|
|
1215
|
+
xr.displayName = "Drawer.Title";
|
|
1216
|
+
function Sr(e) {
|
|
1217
|
+
return /* @__PURE__ */ g(x.Close, {
|
|
1218
|
+
...e,
|
|
1087
1219
|
"data-imf-ui-component": "Drawer.Close",
|
|
1088
|
-
className: (
|
|
1220
|
+
className: (n) => cr({ className: t(e.className, n) })
|
|
1089
1221
|
});
|
|
1090
1222
|
}
|
|
1091
|
-
|
|
1092
|
-
function
|
|
1093
|
-
return /* @__PURE__ */
|
|
1094
|
-
...
|
|
1223
|
+
Sr.displayName = "Drawer.Close";
|
|
1224
|
+
function Cr(e) {
|
|
1225
|
+
return /* @__PURE__ */ g(x.Description, {
|
|
1226
|
+
...e,
|
|
1095
1227
|
"data-imf-ui-component": "Drawer.Description",
|
|
1096
|
-
className:
|
|
1228
|
+
className: lr({ className: e.className })
|
|
1097
1229
|
});
|
|
1098
1230
|
}
|
|
1099
|
-
|
|
1100
|
-
function
|
|
1101
|
-
return /* @__PURE__ */
|
|
1231
|
+
Cr.displayName = "Drawer.Description";
|
|
1232
|
+
function wr(e) {
|
|
1233
|
+
return /* @__PURE__ */ g(x.Provider, { ...e });
|
|
1102
1234
|
}
|
|
1103
|
-
|
|
1104
|
-
function
|
|
1105
|
-
return /* @__PURE__ */
|
|
1106
|
-
...
|
|
1235
|
+
wr.displayName = "Drawer.Provider";
|
|
1236
|
+
function Tr(e) {
|
|
1237
|
+
return /* @__PURE__ */ g(x.Indent, {
|
|
1238
|
+
...e,
|
|
1107
1239
|
"data-imf-ui-component": "Drawer.Indent",
|
|
1108
|
-
className: (
|
|
1240
|
+
className: (n) => ur({ className: t(e.className, n) })
|
|
1109
1241
|
});
|
|
1110
1242
|
}
|
|
1111
|
-
|
|
1112
|
-
function
|
|
1113
|
-
return /* @__PURE__ */
|
|
1114
|
-
...
|
|
1243
|
+
Tr.displayName = "Drawer.Indent";
|
|
1244
|
+
function Er(e) {
|
|
1245
|
+
return /* @__PURE__ */ g(x.IndentBackground, {
|
|
1246
|
+
...e,
|
|
1115
1247
|
"data-imf-ui-component": "Drawer.IndentBackground",
|
|
1116
|
-
className: (
|
|
1248
|
+
className: (n) => dr({ className: t(e.className, n) })
|
|
1117
1249
|
});
|
|
1118
1250
|
}
|
|
1119
|
-
|
|
1120
|
-
function
|
|
1121
|
-
return /* @__PURE__ */
|
|
1122
|
-
...
|
|
1251
|
+
Er.displayName = "Drawer.IndentBackground";
|
|
1252
|
+
function Dr(e) {
|
|
1253
|
+
return /* @__PURE__ */ g(x.SwipeArea, {
|
|
1254
|
+
...e,
|
|
1123
1255
|
"data-imf-ui-component": "Drawer.SwipeArea",
|
|
1124
|
-
className: (
|
|
1256
|
+
className: (n) => fr({ className: t(e.className, n) })
|
|
1125
1257
|
});
|
|
1126
1258
|
}
|
|
1127
|
-
|
|
1259
|
+
Dr.displayName = "Drawer.SwipeArea";
|
|
1128
1260
|
//#endregion
|
|
1129
1261
|
//#region src/components/drawer/drawer.meta.ts
|
|
1130
|
-
var
|
|
1262
|
+
var Or = {
|
|
1131
1263
|
name: "Drawer",
|
|
1132
|
-
category:
|
|
1264
|
+
category: l.layout,
|
|
1133
1265
|
status: "stable",
|
|
1134
1266
|
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.",
|
|
1135
1267
|
origin: "adapted",
|
|
@@ -1139,7 +1271,7 @@ var sr = {
|
|
|
1139
1271
|
docLink: "https://base-ui.com/react/components/drawer",
|
|
1140
1272
|
llmDocLink: "https://base-ui.com/react/components/drawer.md"
|
|
1141
1273
|
}
|
|
1142
|
-
},
|
|
1274
|
+
}, R = {
|
|
1143
1275
|
arrow: "imf-ui-popover-module-arrow",
|
|
1144
1276
|
backdrop: "imf-ui-popover-module-backdrop",
|
|
1145
1277
|
close: "imf-ui-popover-module-close",
|
|
@@ -1163,152 +1295,152 @@ var sr = {
|
|
|
1163
1295
|
variantPrimary: "imf-ui-popover-module-variantPrimary",
|
|
1164
1296
|
variantSecondary: "imf-ui-popover-module-variantSecondary",
|
|
1165
1297
|
viewport: "imf-ui-popover-module-viewport"
|
|
1166
|
-
},
|
|
1167
|
-
Arrow: () =>
|
|
1168
|
-
Backdrop: () =>
|
|
1169
|
-
Close: () =>
|
|
1170
|
-
Description: () =>
|
|
1171
|
-
Eyebrow: () =>
|
|
1172
|
-
Inline: () =>
|
|
1173
|
-
Popup: () =>
|
|
1174
|
-
Portal: () =>
|
|
1175
|
-
Positioner: () =>
|
|
1176
|
-
Root: () =>
|
|
1177
|
-
Title: () =>
|
|
1178
|
-
Trigger: () =>
|
|
1179
|
-
Viewport: () =>
|
|
1180
|
-
createHandle: () =>
|
|
1181
|
-
}),
|
|
1298
|
+
}, kr = /* @__PURE__ */ e({
|
|
1299
|
+
Arrow: () => qr,
|
|
1300
|
+
Backdrop: () => Wr,
|
|
1301
|
+
Close: () => Qr,
|
|
1302
|
+
Description: () => Zr,
|
|
1303
|
+
Eyebrow: () => Yr,
|
|
1304
|
+
Inline: () => $r,
|
|
1305
|
+
Popup: () => Kr,
|
|
1306
|
+
Portal: () => Ur,
|
|
1307
|
+
Positioner: () => Gr,
|
|
1308
|
+
Root: () => Vr,
|
|
1309
|
+
Title: () => Xr,
|
|
1310
|
+
Trigger: () => Hr,
|
|
1311
|
+
Viewport: () => Jr,
|
|
1312
|
+
createHandle: () => Br
|
|
1313
|
+
}), Ar = p(R.trigger, { variants: {
|
|
1182
1314
|
variant: {
|
|
1183
|
-
ghost:
|
|
1184
|
-
outline:
|
|
1185
|
-
primary:
|
|
1186
|
-
secondary:
|
|
1187
|
-
positive:
|
|
1188
|
-
negative:
|
|
1315
|
+
ghost: R.variantGhost,
|
|
1316
|
+
outline: R.variantOutline,
|
|
1317
|
+
primary: R.variantPrimary,
|
|
1318
|
+
secondary: R.variantSecondary,
|
|
1319
|
+
positive: R.variantPositive,
|
|
1320
|
+
negative: R.variantNegative
|
|
1189
1321
|
},
|
|
1190
|
-
inline: { true:
|
|
1191
|
-
} }),
|
|
1192
|
-
ghost:
|
|
1193
|
-
outline:
|
|
1194
|
-
primary:
|
|
1195
|
-
secondary:
|
|
1196
|
-
positive:
|
|
1197
|
-
negative:
|
|
1198
|
-
} } }),
|
|
1199
|
-
function
|
|
1200
|
-
return /* @__PURE__ */
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
function
|
|
1204
|
-
return /* @__PURE__ */
|
|
1322
|
+
inline: { true: R.triggerInline }
|
|
1323
|
+
} }), jr = p(R.backdrop), Mr = p(R.positioner), Nr = p(R.popup, { variants: { variant: {
|
|
1324
|
+
ghost: R.popupVariantGhost,
|
|
1325
|
+
outline: R.popupVariantOutline,
|
|
1326
|
+
primary: R.popupVariantPrimary,
|
|
1327
|
+
secondary: R.popupVariantSecondary,
|
|
1328
|
+
positive: R.popupVariantPositive,
|
|
1329
|
+
negative: R.popupVariantNegative
|
|
1330
|
+
} } }), Pr = p(R.arrow), Fr = p(R.viewport), Ir = p(R.eyebrow), Lr = p(R.title), Rr = p(R.description), zr = p(R.close), Br = S.createHandle;
|
|
1331
|
+
function Vr(e) {
|
|
1332
|
+
return /* @__PURE__ */ g(S.Root, { ...e });
|
|
1333
|
+
}
|
|
1334
|
+
Vr.displayName = "Popover.Root";
|
|
1335
|
+
function Hr({ variant: e = "ghost", inline: n = !1, ...r }) {
|
|
1336
|
+
return /* @__PURE__ */ g(S.Trigger, {
|
|
1205
1337
|
...r,
|
|
1206
1338
|
"data-imf-ui-component": "Popover.Trigger",
|
|
1207
|
-
className: (
|
|
1339
|
+
className: (i) => Ar({
|
|
1208
1340
|
variant: e,
|
|
1209
|
-
inline:
|
|
1210
|
-
className:
|
|
1341
|
+
inline: n,
|
|
1342
|
+
className: t(r.className, i)
|
|
1211
1343
|
})
|
|
1212
1344
|
});
|
|
1213
1345
|
}
|
|
1214
|
-
|
|
1215
|
-
function
|
|
1216
|
-
return /* @__PURE__ */
|
|
1346
|
+
Hr.displayName = "Popover.Trigger";
|
|
1347
|
+
function Ur(e) {
|
|
1348
|
+
return /* @__PURE__ */ g(S.Portal, { ...e });
|
|
1217
1349
|
}
|
|
1218
|
-
|
|
1219
|
-
function
|
|
1220
|
-
return /* @__PURE__ */
|
|
1221
|
-
...
|
|
1350
|
+
Ur.displayName = "Popover.Portal";
|
|
1351
|
+
function Wr(e) {
|
|
1352
|
+
return /* @__PURE__ */ g(S.Backdrop, {
|
|
1353
|
+
...e,
|
|
1222
1354
|
"data-imf-ui-component": "Popover.Backdrop",
|
|
1223
|
-
className: (
|
|
1355
|
+
className: (n) => jr({ className: t(e.className, n) })
|
|
1224
1356
|
});
|
|
1225
1357
|
}
|
|
1226
|
-
|
|
1227
|
-
function
|
|
1228
|
-
return /* @__PURE__ */
|
|
1229
|
-
...
|
|
1358
|
+
Wr.displayName = "Popover.Backdrop";
|
|
1359
|
+
function Gr(e) {
|
|
1360
|
+
return /* @__PURE__ */ g(S.Positioner, {
|
|
1361
|
+
...e,
|
|
1230
1362
|
"data-imf-ui-component": "Popover.Positioner",
|
|
1231
|
-
className: (
|
|
1363
|
+
className: (n) => Mr({ className: t(e.className, n) })
|
|
1232
1364
|
});
|
|
1233
1365
|
}
|
|
1234
|
-
|
|
1235
|
-
function
|
|
1236
|
-
return /* @__PURE__ */
|
|
1366
|
+
Gr.displayName = "Popover.Positioner";
|
|
1367
|
+
function Kr({ variant: e, ...n }) {
|
|
1368
|
+
return /* @__PURE__ */ g(S.Popup, {
|
|
1237
1369
|
...n,
|
|
1238
1370
|
"data-imf-ui-component": "Popover.Popup",
|
|
1239
|
-
className: (
|
|
1240
|
-
variant:
|
|
1241
|
-
className:
|
|
1371
|
+
className: (r) => Nr({
|
|
1372
|
+
variant: e,
|
|
1373
|
+
className: t(n.className, r)
|
|
1242
1374
|
})
|
|
1243
1375
|
});
|
|
1244
1376
|
}
|
|
1245
|
-
|
|
1246
|
-
function
|
|
1247
|
-
return /* @__PURE__ */
|
|
1248
|
-
...
|
|
1377
|
+
Kr.displayName = "Popover.Popup";
|
|
1378
|
+
function qr(e) {
|
|
1379
|
+
return /* @__PURE__ */ g(S.Arrow, {
|
|
1380
|
+
...e,
|
|
1249
1381
|
"data-imf-ui-component": "Popover.Arrow",
|
|
1250
|
-
className: (
|
|
1382
|
+
className: (n) => Pr({ className: t(e.className, n) })
|
|
1251
1383
|
});
|
|
1252
1384
|
}
|
|
1253
|
-
|
|
1254
|
-
function
|
|
1255
|
-
return /* @__PURE__ */
|
|
1256
|
-
...
|
|
1385
|
+
qr.displayName = "Popover.Arrow";
|
|
1386
|
+
function Jr(e) {
|
|
1387
|
+
return /* @__PURE__ */ g(S.Viewport, {
|
|
1388
|
+
...e,
|
|
1257
1389
|
"data-imf-ui-component": "Popover.Viewport",
|
|
1258
|
-
className: (
|
|
1390
|
+
className: (n) => Fr({ className: t(e.className, n) })
|
|
1259
1391
|
});
|
|
1260
1392
|
}
|
|
1261
|
-
|
|
1262
|
-
function
|
|
1263
|
-
return /* @__PURE__ */
|
|
1264
|
-
...
|
|
1393
|
+
Jr.displayName = "Popover.Viewport";
|
|
1394
|
+
function Yr(e) {
|
|
1395
|
+
return /* @__PURE__ */ g("p", {
|
|
1396
|
+
...e,
|
|
1265
1397
|
"data-imf-ui-component": "Popover.Eyebrow",
|
|
1266
|
-
className:
|
|
1398
|
+
className: Ir({ className: e.className })
|
|
1267
1399
|
});
|
|
1268
1400
|
}
|
|
1269
|
-
|
|
1270
|
-
function
|
|
1271
|
-
return /* @__PURE__ */
|
|
1272
|
-
...
|
|
1401
|
+
Yr.displayName = "Popover.Eyebrow";
|
|
1402
|
+
function Xr(e) {
|
|
1403
|
+
return /* @__PURE__ */ g(S.Title, {
|
|
1404
|
+
...e,
|
|
1273
1405
|
"data-imf-ui-component": "Popover.Title",
|
|
1274
|
-
className:
|
|
1406
|
+
className: Lr({ className: e.className })
|
|
1275
1407
|
});
|
|
1276
1408
|
}
|
|
1277
|
-
|
|
1278
|
-
function
|
|
1279
|
-
return /* @__PURE__ */
|
|
1280
|
-
...
|
|
1409
|
+
Xr.displayName = "Popover.Title";
|
|
1410
|
+
function Zr(e) {
|
|
1411
|
+
return /* @__PURE__ */ g(S.Description, {
|
|
1412
|
+
...e,
|
|
1281
1413
|
"data-imf-ui-component": "Popover.Description",
|
|
1282
|
-
className:
|
|
1414
|
+
className: Rr({ className: e.className })
|
|
1283
1415
|
});
|
|
1284
1416
|
}
|
|
1285
|
-
|
|
1286
|
-
function
|
|
1287
|
-
return /* @__PURE__ */
|
|
1288
|
-
...
|
|
1417
|
+
Zr.displayName = "Popover.Description";
|
|
1418
|
+
function Qr(e) {
|
|
1419
|
+
return /* @__PURE__ */ g(S.Close, {
|
|
1420
|
+
...e,
|
|
1289
1421
|
"data-imf-ui-component": "Popover.Close",
|
|
1290
|
-
className: (
|
|
1422
|
+
className: (n) => zr({ className: t(e.className, n) })
|
|
1291
1423
|
});
|
|
1292
1424
|
}
|
|
1293
|
-
|
|
1294
|
-
function
|
|
1295
|
-
return /* @__PURE__ */
|
|
1425
|
+
Qr.displayName = "Popover.Close";
|
|
1426
|
+
function $r({ trigger: e, title: t, children: n, delay: r = 150, side: i = "top", sideOffset: a = 6 }) {
|
|
1427
|
+
return /* @__PURE__ */ _(Vr, { children: [/* @__PURE__ */ g(Hr, {
|
|
1296
1428
|
inline: !0,
|
|
1297
1429
|
openOnHover: !0,
|
|
1298
1430
|
delay: r,
|
|
1299
1431
|
children: e
|
|
1300
|
-
}), /* @__PURE__ */
|
|
1432
|
+
}), /* @__PURE__ */ g(Ur, { children: /* @__PURE__ */ g(Gr, {
|
|
1301
1433
|
side: i,
|
|
1302
1434
|
sideOffset: a,
|
|
1303
|
-
children: /* @__PURE__ */
|
|
1435
|
+
children: /* @__PURE__ */ _(Kr, { children: [t && /* @__PURE__ */ g(Xr, { children: t }), n && /* @__PURE__ */ g(Zr, { children: n })] })
|
|
1304
1436
|
}) })] });
|
|
1305
1437
|
}
|
|
1306
|
-
|
|
1438
|
+
$r.displayName = "Popover.Inline";
|
|
1307
1439
|
//#endregion
|
|
1308
1440
|
//#region src/components/popover/popover.meta.ts
|
|
1309
|
-
var
|
|
1441
|
+
var ei = {
|
|
1310
1442
|
name: "Popover",
|
|
1311
|
-
category:
|
|
1443
|
+
category: l.display,
|
|
1312
1444
|
status: "stable",
|
|
1313
1445
|
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.",
|
|
1314
1446
|
origin: "adapted",
|
|
@@ -1318,38 +1450,38 @@ var Nr = {
|
|
|
1318
1450
|
docLink: "https://base-ui.com/react/components/popover",
|
|
1319
1451
|
llmDocLink: "https://base-ui.com/react/components/popover.md"
|
|
1320
1452
|
}
|
|
1321
|
-
},
|
|
1453
|
+
}, ti = {
|
|
1322
1454
|
name: "Row",
|
|
1323
|
-
category:
|
|
1455
|
+
category: l.layout,
|
|
1324
1456
|
status: "stable",
|
|
1325
1457
|
description: "Horizontal layout primitive for spacing, aligning, and wrapping children. Also called a horizontal stack or flex row.",
|
|
1326
1458
|
origin: "native"
|
|
1327
|
-
},
|
|
1459
|
+
}, z = {
|
|
1328
1460
|
root: "imf-ui-separator-module-root",
|
|
1329
1461
|
variantDashed: "imf-ui-separator-module-variantDashed",
|
|
1330
1462
|
variantDotted: "imf-ui-separator-module-variantDotted",
|
|
1331
1463
|
variantSolid: "imf-ui-separator-module-variantSolid"
|
|
1332
|
-
},
|
|
1333
|
-
solid:
|
|
1334
|
-
dashed:
|
|
1335
|
-
dotted:
|
|
1464
|
+
}, ni = p(z.root, { variants: { variant: {
|
|
1465
|
+
solid: z.variantSolid,
|
|
1466
|
+
dashed: z.variantDashed,
|
|
1467
|
+
dotted: z.variantDotted
|
|
1336
1468
|
} } });
|
|
1337
|
-
function
|
|
1338
|
-
return /* @__PURE__ */
|
|
1339
|
-
...
|
|
1469
|
+
function ri({ orientation: e = "horizontal", variant: t = "solid", ...n }) {
|
|
1470
|
+
return /* @__PURE__ */ g(Me, {
|
|
1471
|
+
...n,
|
|
1340
1472
|
orientation: e,
|
|
1341
1473
|
"data-imf-ui-component": "Separator",
|
|
1342
|
-
className:
|
|
1474
|
+
className: ni({
|
|
1343
1475
|
variant: t,
|
|
1344
|
-
className: n
|
|
1476
|
+
className: n.className
|
|
1345
1477
|
})
|
|
1346
1478
|
});
|
|
1347
1479
|
}
|
|
1348
1480
|
//#endregion
|
|
1349
1481
|
//#region src/components/separator/separator.meta.ts
|
|
1350
|
-
var
|
|
1482
|
+
var ii = {
|
|
1351
1483
|
name: "Separator",
|
|
1352
|
-
category:
|
|
1484
|
+
category: l.layout,
|
|
1353
1485
|
status: "stable",
|
|
1354
1486
|
description: "Line that divides content horizontally or vertically. Also called a divider or rule.",
|
|
1355
1487
|
origin: "adapted",
|
|
@@ -1359,13 +1491,13 @@ var Lr = {
|
|
|
1359
1491
|
docLink: "https://base-ui.com/react/components/separator",
|
|
1360
1492
|
llmDocLink: "https://base-ui.com/react/components/separator.md"
|
|
1361
1493
|
}
|
|
1362
|
-
},
|
|
1494
|
+
}, ai = {
|
|
1363
1495
|
name: "Stack",
|
|
1364
|
-
category:
|
|
1496
|
+
category: l.layout,
|
|
1365
1497
|
status: "stable",
|
|
1366
1498
|
description: "Vertical layout primitive for spacing and aligning children. Also called a vertical stack or column.",
|
|
1367
1499
|
origin: "native"
|
|
1368
|
-
},
|
|
1500
|
+
}, B = {
|
|
1369
1501
|
description: "imf-ui-callout-module-description",
|
|
1370
1502
|
icon: "imf-ui-callout-module-icon",
|
|
1371
1503
|
maxWidthFull: "imf-ui-callout-module-maxWidthFull",
|
|
@@ -1381,90 +1513,90 @@ var Lr = {
|
|
|
1381
1513
|
variantNegative: "imf-ui-callout-module-variantNegative",
|
|
1382
1514
|
variantPositive: "imf-ui-callout-module-variantPositive",
|
|
1383
1515
|
variantWarning: "imf-ui-callout-module-variantWarning"
|
|
1384
|
-
},
|
|
1385
|
-
Description: () =>
|
|
1386
|
-
Icon: () =>
|
|
1387
|
-
Root: () =>
|
|
1388
|
-
Title: () =>
|
|
1389
|
-
}),
|
|
1516
|
+
}, oi = /* @__PURE__ */ e({
|
|
1517
|
+
Description: () => pi,
|
|
1518
|
+
Icon: () => di,
|
|
1519
|
+
Root: () => ui,
|
|
1520
|
+
Title: () => fi
|
|
1521
|
+
}), si = p(B.root, { variants: {
|
|
1390
1522
|
variant: {
|
|
1391
|
-
info:
|
|
1392
|
-
positive:
|
|
1393
|
-
warning:
|
|
1394
|
-
negative:
|
|
1395
|
-
"accent-1":
|
|
1396
|
-
"accent-2":
|
|
1397
|
-
"accent-3":
|
|
1523
|
+
info: B.variantInfo,
|
|
1524
|
+
positive: B.variantPositive,
|
|
1525
|
+
warning: B.variantWarning,
|
|
1526
|
+
negative: B.variantNegative,
|
|
1527
|
+
"accent-1": B.variantAccent1,
|
|
1528
|
+
"accent-2": B.variantAccent2,
|
|
1529
|
+
"accent-3": B.variantAccent3
|
|
1398
1530
|
},
|
|
1399
1531
|
maxWidth: {
|
|
1400
|
-
sm:
|
|
1401
|
-
md:
|
|
1402
|
-
lg:
|
|
1403
|
-
full:
|
|
1532
|
+
sm: B.maxWidthSm,
|
|
1533
|
+
md: B.maxWidthMd,
|
|
1534
|
+
lg: B.maxWidthLg,
|
|
1535
|
+
full: B.maxWidthFull
|
|
1404
1536
|
}
|
|
1405
|
-
} }),
|
|
1406
|
-
info:
|
|
1407
|
-
positive:
|
|
1408
|
-
warning:
|
|
1409
|
-
negative:
|
|
1410
|
-
"accent-1":
|
|
1411
|
-
"accent-2":
|
|
1412
|
-
"accent-3":
|
|
1413
|
-
},
|
|
1414
|
-
function
|
|
1415
|
-
let
|
|
1416
|
-
return /* @__PURE__ */
|
|
1417
|
-
value:
|
|
1418
|
-
children: /* @__PURE__ */
|
|
1419
|
-
...
|
|
1537
|
+
} }), ci = {
|
|
1538
|
+
info: ie,
|
|
1539
|
+
positive: re,
|
|
1540
|
+
warning: se,
|
|
1541
|
+
negative: he,
|
|
1542
|
+
"accent-1": le,
|
|
1543
|
+
"accent-2": le,
|
|
1544
|
+
"accent-3": le
|
|
1545
|
+
}, li = we("info");
|
|
1546
|
+
function ui({ variant: e = "info", maxWidth: t = "md", children: n, ...r }) {
|
|
1547
|
+
let i = e ?? "info";
|
|
1548
|
+
return /* @__PURE__ */ g(li.Provider, {
|
|
1549
|
+
value: i,
|
|
1550
|
+
children: /* @__PURE__ */ g("div", {
|
|
1551
|
+
...r,
|
|
1420
1552
|
role: "note",
|
|
1421
1553
|
"data-imf-ui-component": "Callout.Root",
|
|
1422
|
-
className:
|
|
1554
|
+
className: si({
|
|
1423
1555
|
variant: e,
|
|
1424
1556
|
maxWidth: t,
|
|
1425
|
-
className:
|
|
1557
|
+
className: r.className
|
|
1426
1558
|
}),
|
|
1427
|
-
children:
|
|
1559
|
+
children: n
|
|
1428
1560
|
})
|
|
1429
1561
|
});
|
|
1430
1562
|
}
|
|
1431
|
-
|
|
1432
|
-
function
|
|
1433
|
-
let
|
|
1434
|
-
return /* @__PURE__ */
|
|
1435
|
-
...
|
|
1563
|
+
ui.displayName = "Callout.Root";
|
|
1564
|
+
function di({ children: e, ...t }) {
|
|
1565
|
+
let n = ci[Te(li)];
|
|
1566
|
+
return /* @__PURE__ */ g("span", {
|
|
1567
|
+
...t,
|
|
1436
1568
|
"aria-hidden": !0,
|
|
1437
1569
|
"data-imf-ui-component": "Callout.Icon",
|
|
1438
|
-
className:
|
|
1439
|
-
children:
|
|
1440
|
-
glyph:
|
|
1570
|
+
className: p(B.icon)({ className: t.className }),
|
|
1571
|
+
children: e ?? /* @__PURE__ */ g(f, {
|
|
1572
|
+
glyph: n,
|
|
1441
1573
|
size: 24,
|
|
1442
1574
|
strokeWidth: 2
|
|
1443
1575
|
})
|
|
1444
1576
|
});
|
|
1445
1577
|
}
|
|
1446
|
-
|
|
1447
|
-
function
|
|
1448
|
-
return /* @__PURE__ */
|
|
1449
|
-
...
|
|
1578
|
+
di.displayName = "Callout.Icon";
|
|
1579
|
+
function fi(e) {
|
|
1580
|
+
return /* @__PURE__ */ g("div", {
|
|
1581
|
+
...e,
|
|
1450
1582
|
"data-imf-ui-component": "Callout.Title",
|
|
1451
|
-
className:
|
|
1583
|
+
className: p(B.title)({ className: e.className })
|
|
1452
1584
|
});
|
|
1453
1585
|
}
|
|
1454
|
-
|
|
1455
|
-
function
|
|
1456
|
-
return /* @__PURE__ */
|
|
1457
|
-
...
|
|
1586
|
+
fi.displayName = "Callout.Title";
|
|
1587
|
+
function pi(e) {
|
|
1588
|
+
return /* @__PURE__ */ g("div", {
|
|
1589
|
+
...e,
|
|
1458
1590
|
"data-imf-ui-component": "Callout.Description",
|
|
1459
|
-
className:
|
|
1591
|
+
className: p(B.description)({ className: e.className })
|
|
1460
1592
|
});
|
|
1461
1593
|
}
|
|
1462
|
-
|
|
1594
|
+
pi.displayName = "Callout.Description";
|
|
1463
1595
|
//#endregion
|
|
1464
1596
|
//#region src/components/callout/callout.meta.ts
|
|
1465
|
-
var
|
|
1597
|
+
var mi = {
|
|
1466
1598
|
name: "Callout",
|
|
1467
|
-
category:
|
|
1599
|
+
category: l.display,
|
|
1468
1600
|
status: "stable",
|
|
1469
1601
|
namespace: !0,
|
|
1470
1602
|
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.",
|
|
@@ -1472,75 +1604,74 @@ var qr = {
|
|
|
1472
1604
|
};
|
|
1473
1605
|
//#endregion
|
|
1474
1606
|
//#region src/components/chip/chip.tsx
|
|
1475
|
-
function
|
|
1476
|
-
return /* @__PURE__ */
|
|
1477
|
-
...
|
|
1607
|
+
function hi({ variant: e = "minor", appearance: t = "outline", inline: n = !1, ...r }) {
|
|
1608
|
+
return /* @__PURE__ */ g("span", {
|
|
1609
|
+
...r,
|
|
1478
1610
|
"data-imf-ui-component": "Chip",
|
|
1479
|
-
className:
|
|
1611
|
+
className: Le({
|
|
1480
1612
|
variant: e,
|
|
1481
1613
|
appearance: t,
|
|
1482
1614
|
inline: n,
|
|
1483
|
-
className: r
|
|
1484
|
-
})
|
|
1485
|
-
children: i.children
|
|
1615
|
+
className: r.className
|
|
1616
|
+
})
|
|
1486
1617
|
});
|
|
1487
1618
|
}
|
|
1488
1619
|
//#endregion
|
|
1489
1620
|
//#region src/components/chip/chip.meta.ts
|
|
1490
|
-
var
|
|
1621
|
+
var gi = {
|
|
1491
1622
|
name: "Chip",
|
|
1492
|
-
category:
|
|
1623
|
+
category: l.display,
|
|
1493
1624
|
status: "stable",
|
|
1494
1625
|
description: "Compact label for tags, status, categories, counts, and metadata. Also called a badge or tag; its color and appearance are independent choices.",
|
|
1495
1626
|
origin: "native"
|
|
1496
|
-
},
|
|
1627
|
+
}, V = {
|
|
1497
1628
|
iconClosed: "imf-ui-collapsible-module-iconClosed",
|
|
1498
1629
|
iconOpen: "imf-ui-collapsible-module-iconOpen",
|
|
1499
1630
|
panel: "imf-ui-collapsible-module-panel",
|
|
1500
1631
|
root: "imf-ui-collapsible-module-root",
|
|
1501
1632
|
trigger: "imf-ui-collapsible-module-trigger",
|
|
1502
1633
|
variantSolid: "imf-ui-collapsible-module-variantSolid"
|
|
1503
|
-
},
|
|
1504
|
-
Panel: () =>
|
|
1505
|
-
Root: () =>
|
|
1506
|
-
Trigger: () =>
|
|
1507
|
-
}),
|
|
1634
|
+
}, _i = /* @__PURE__ */ e({
|
|
1635
|
+
Panel: () => Ci,
|
|
1636
|
+
Root: () => yi,
|
|
1637
|
+
Trigger: () => xi
|
|
1638
|
+
}), vi = p(V.root, { variants: { variant: {
|
|
1508
1639
|
default: null,
|
|
1509
|
-
solid:
|
|
1640
|
+
solid: V.variantSolid
|
|
1510
1641
|
} } });
|
|
1511
|
-
function
|
|
1512
|
-
return /* @__PURE__ */
|
|
1642
|
+
function yi({ variant: e = "default", ...n }) {
|
|
1643
|
+
return /* @__PURE__ */ g(Ne.Root, {
|
|
1513
1644
|
...n,
|
|
1514
1645
|
"data-imf-ui-component": "Collapsible.Root",
|
|
1515
|
-
className: (
|
|
1646
|
+
className: (r) => vi({
|
|
1516
1647
|
variant: e,
|
|
1517
|
-
className:
|
|
1648
|
+
className: t(n.className, r)
|
|
1518
1649
|
})
|
|
1519
1650
|
});
|
|
1520
1651
|
}
|
|
1521
|
-
|
|
1522
|
-
var
|
|
1523
|
-
function
|
|
1524
|
-
return /* @__PURE__ */
|
|
1652
|
+
yi.displayName = "Collapsible.Root";
|
|
1653
|
+
var bi = p(V.trigger);
|
|
1654
|
+
function xi({ children: e, ...n }) {
|
|
1655
|
+
return /* @__PURE__ */ _(Ne.Trigger, {
|
|
1525
1656
|
...n,
|
|
1526
1657
|
"data-imf-ui-component": "Collapsible.Trigger",
|
|
1527
|
-
className: (
|
|
1658
|
+
className: (e) => bi({ className: t(n.className, e) }),
|
|
1528
1659
|
children: [
|
|
1529
|
-
|
|
1530
|
-
/* @__PURE__ */
|
|
1531
|
-
className:
|
|
1660
|
+
e,
|
|
1661
|
+
/* @__PURE__ */ g("span", {
|
|
1662
|
+
className: V.iconClosed,
|
|
1532
1663
|
"aria-hidden": !0,
|
|
1533
|
-
children: /* @__PURE__ */
|
|
1534
|
-
glyph:
|
|
1664
|
+
children: /* @__PURE__ */ g(f, {
|
|
1665
|
+
glyph: te,
|
|
1535
1666
|
size: 16,
|
|
1536
1667
|
strokeWidth: 1.5
|
|
1537
1668
|
})
|
|
1538
1669
|
}),
|
|
1539
|
-
/* @__PURE__ */
|
|
1540
|
-
className:
|
|
1670
|
+
/* @__PURE__ */ g("span", {
|
|
1671
|
+
className: V.iconOpen,
|
|
1541
1672
|
"aria-hidden": !0,
|
|
1542
|
-
children: /* @__PURE__ */
|
|
1543
|
-
glyph:
|
|
1673
|
+
children: /* @__PURE__ */ g(f, {
|
|
1674
|
+
glyph: ae,
|
|
1544
1675
|
size: 16,
|
|
1545
1676
|
strokeWidth: 1.5
|
|
1546
1677
|
})
|
|
@@ -1548,21 +1679,21 @@ function ei({ className: e, children: t, ...n }) {
|
|
|
1548
1679
|
]
|
|
1549
1680
|
});
|
|
1550
1681
|
}
|
|
1551
|
-
|
|
1552
|
-
var
|
|
1553
|
-
function
|
|
1554
|
-
return /* @__PURE__ */
|
|
1555
|
-
...
|
|
1682
|
+
xi.displayName = "Collapsible.Trigger";
|
|
1683
|
+
var Si = p(V.panel);
|
|
1684
|
+
function Ci(e) {
|
|
1685
|
+
return /* @__PURE__ */ g(Ne.Panel, {
|
|
1686
|
+
...e,
|
|
1556
1687
|
"data-imf-ui-component": "Collapsible.Panel",
|
|
1557
|
-
className: (
|
|
1688
|
+
className: (n) => Si({ className: t(e.className, n) })
|
|
1558
1689
|
});
|
|
1559
1690
|
}
|
|
1560
|
-
|
|
1691
|
+
Ci.displayName = "Collapsible.Panel";
|
|
1561
1692
|
//#endregion
|
|
1562
1693
|
//#region src/components/collapsible/collapsible.meta.ts
|
|
1563
|
-
var
|
|
1694
|
+
var wi = {
|
|
1564
1695
|
name: "Collapsible",
|
|
1565
|
-
category:
|
|
1696
|
+
category: l.display,
|
|
1566
1697
|
status: "stable",
|
|
1567
1698
|
description: "Show-and-hide region for secondary content such as FAQs, settings, or details. Also called a disclosure or expand/collapse.",
|
|
1568
1699
|
origin: "adapted",
|
|
@@ -1572,7 +1703,7 @@ var ri = {
|
|
|
1572
1703
|
docLink: "https://base-ui.com/react/components/collapsible",
|
|
1573
1704
|
llmDocLink: "https://base-ui.com/react/components/collapsible.md"
|
|
1574
1705
|
}
|
|
1575
|
-
},
|
|
1706
|
+
}, H = {
|
|
1576
1707
|
root: "imf-ui-logo-module-root",
|
|
1577
1708
|
sizeFit: "imf-ui-logo-module-sizeFit",
|
|
1578
1709
|
sizeHero: "imf-ui-logo-module-sizeHero",
|
|
@@ -1587,41 +1718,41 @@ var ri = {
|
|
|
1587
1718
|
variantMinor: "imf-ui-logo-module-variantMinor",
|
|
1588
1719
|
variantOncolor: "imf-ui-logo-module-variantOncolor",
|
|
1589
1720
|
variantSupport: "imf-ui-logo-module-variantSupport"
|
|
1590
|
-
},
|
|
1721
|
+
}, Ti = p(H.root, { variants: {
|
|
1591
1722
|
size: {
|
|
1592
|
-
xs:
|
|
1593
|
-
sm:
|
|
1594
|
-
md:
|
|
1595
|
-
lg:
|
|
1596
|
-
xl:
|
|
1597
|
-
hero:
|
|
1598
|
-
fit:
|
|
1723
|
+
xs: H.sizeXs,
|
|
1724
|
+
sm: H.sizeSm,
|
|
1725
|
+
md: H.sizeMd,
|
|
1726
|
+
lg: H.sizeLg,
|
|
1727
|
+
xl: H.sizeXl,
|
|
1728
|
+
hero: H.sizeHero,
|
|
1729
|
+
fit: H.sizeFit
|
|
1599
1730
|
},
|
|
1600
1731
|
variant: {
|
|
1601
|
-
inherit:
|
|
1602
|
-
main:
|
|
1603
|
-
support:
|
|
1604
|
-
minor:
|
|
1605
|
-
brand:
|
|
1606
|
-
oncolor:
|
|
1732
|
+
inherit: H.variantInherit,
|
|
1733
|
+
main: H.variantMain,
|
|
1734
|
+
support: H.variantSupport,
|
|
1735
|
+
minor: H.variantMinor,
|
|
1736
|
+
brand: H.variantBrand,
|
|
1737
|
+
oncolor: H.variantOncolor
|
|
1607
1738
|
}
|
|
1608
1739
|
} });
|
|
1609
|
-
function
|
|
1610
|
-
return /* @__PURE__ */
|
|
1611
|
-
...
|
|
1740
|
+
function Ei({ src: e, alt: t, size: n = "md", variant: r = "brand", height: i, style: a, ...o }) {
|
|
1741
|
+
return /* @__PURE__ */ g("span", {
|
|
1742
|
+
...o,
|
|
1612
1743
|
"data-imf-ui-component": "Logo",
|
|
1613
|
-
className:
|
|
1744
|
+
className: Ti({
|
|
1614
1745
|
size: n,
|
|
1615
1746
|
variant: r,
|
|
1616
|
-
className:
|
|
1747
|
+
className: o.className
|
|
1617
1748
|
}),
|
|
1618
1749
|
role: "img",
|
|
1619
1750
|
"aria-label": t,
|
|
1620
|
-
style: i == null ?
|
|
1621
|
-
...
|
|
1751
|
+
style: i == null ? a : {
|
|
1752
|
+
...a,
|
|
1622
1753
|
height: i
|
|
1623
1754
|
},
|
|
1624
|
-
children: typeof e == "string" ? /* @__PURE__ */
|
|
1755
|
+
children: typeof e == "string" ? /* @__PURE__ */ g("img", {
|
|
1625
1756
|
src: e,
|
|
1626
1757
|
alt: "",
|
|
1627
1758
|
"aria-hidden": "true"
|
|
@@ -1630,176 +1761,176 @@ function ai({ src: e, alt: t, size: n = "md", variant: r = "brand", height: i, c
|
|
|
1630
1761
|
}
|
|
1631
1762
|
//#endregion
|
|
1632
1763
|
//#region src/components/logo/logo.meta.ts
|
|
1633
|
-
var
|
|
1764
|
+
var Di = {
|
|
1634
1765
|
name: "Logo",
|
|
1635
|
-
category:
|
|
1766
|
+
category: l.display,
|
|
1636
1767
|
status: "stable",
|
|
1637
1768
|
description: "Renders a logo from a URL or inline React element with consistent sizing. Also called a wordmark or brand mark.",
|
|
1638
1769
|
origin: "native"
|
|
1639
1770
|
};
|
|
1640
1771
|
//#endregion
|
|
1641
1772
|
//#region src/components/logo/imfusion/imfusion.tsx
|
|
1642
|
-
function
|
|
1643
|
-
return /* @__PURE__ */
|
|
1773
|
+
function Oi(e) {
|
|
1774
|
+
return /* @__PURE__ */ _("svg", {
|
|
1644
1775
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1645
1776
|
viewBox: "50 50 652.51 90",
|
|
1646
1777
|
fill: "currentColor",
|
|
1647
1778
|
...e,
|
|
1648
1779
|
children: [
|
|
1649
|
-
/* @__PURE__ */
|
|
1650
|
-
/* @__PURE__ */
|
|
1651
|
-
/* @__PURE__ */
|
|
1652
|
-
/* @__PURE__ */
|
|
1653
|
-
/* @__PURE__ */
|
|
1654
|
-
/* @__PURE__ */
|
|
1655
|
-
/* @__PURE__ */
|
|
1656
|
-
/* @__PURE__ */
|
|
1780
|
+
/* @__PURE__ */ g("path", { d: "M642.11,74.66h15.13v9.25h1.22c3.42-6.78,9.64-10.48,20.5-10.48,10.13,0,23.55,5.55,23.55,22.81v42.53h-15.86v-41.3c0-8.75-5.25-11.96-12.2-11.96-10,0-16.47,6.41-16.47,19.11v34.15h-15.86v-64.11Z" }),
|
|
1781
|
+
/* @__PURE__ */ g("path", { d: "M585.58,106.71c0,13.32,6.34,20.96,17.45,20.96s17.45-7.64,17.45-20.96-6.34-20.96-17.45-20.96-17.45,7.64-17.45,20.96ZM569.47,106.71c0-21.45,14.4-33.29,33.55-33.29s33.55,11.84,33.55,33.29-14.4,33.29-33.55,33.29-33.55-11.84-33.55-33.29Z" }),
|
|
1782
|
+
/* @__PURE__ */ g("path", { d: "M548.09,74.66h15.86v64.11h-15.86v-64.11ZM548.09,50.62h15.86v16.02h-15.86v-16.02Z" }),
|
|
1783
|
+
/* @__PURE__ */ g("path", { d: "M486.09,93.4c0-10.97,9.88-19.97,27.7-19.97s27.45,8.38,28.79,19.72v1.85h-15.01c-.24-7.27-5.25-9.98-13.66-9.98s-12.44,3.33-12.44,7.52c0,3.7,2.93,5.42,7.2,6.16l12.93,2.34c11.22,2.1,21.59,6.16,21.59,18.12,0,11.34-9.27,20.84-28.92,20.84s-29.77-10.11-30.75-21.45v-1.85h15.37c.37,7.15,6.34,11.47,15.62,11.47,8.17,0,13.3-2.84,13.3-7.77,0-4.19-3.9-5.67-9.88-6.78l-12.93-2.34c-9.76-1.73-18.91-5.67-18.91-17.88Z" }),
|
|
1784
|
+
/* @__PURE__ */ g("path", { d: "M418.91,74.66h15.86v41.3c0,8.75,5.25,11.96,12.2,11.96,10,0,16.47-6.41,16.47-19.11v-34.15h15.86v64.11h-15.13v-9.25h-1.22c-3.42,6.78-9.76,10.48-20.5,10.48-10.13,0-23.55-5.55-23.55-22.81v-42.53Z" }),
|
|
1785
|
+
/* @__PURE__ */ g("polygon", { points: "360.86 50 418.91 50 418.91 62.82 377.69 62.82 377.69 87.97 411.44 87.98 411.44 100.8 377.69 100.79 377.69 138.77 360.86 138.77 360.86 50" }),
|
|
1786
|
+
/* @__PURE__ */ g("path", { d: "M254.56,74.66h14.88v7.4h1.22c3.29-4.93,8.91-8.63,18.67-8.63s14.88,4.07,18.91,10.11h1.22c3.29-4.81,9.15-10.11,21.23-10.11,12.69,0,22.69,7.89,22.69,22.07v43.27h-15.86v-42.04c0-7.4-3.9-11.22-11.35-11.22-8.54,0-14.27,5.18-14.27,15.16v38.1h-15.86v-42.04c0-7.4-3.9-11.22-11.35-11.22-8.54,0-14.27,5.18-14.27,15.16v38.1h-15.86v-64.11Z" }),
|
|
1787
|
+
/* @__PURE__ */ g("rect", {
|
|
1657
1788
|
x: "230",
|
|
1658
1789
|
y: "50",
|
|
1659
1790
|
width: "17.08",
|
|
1660
1791
|
height: "88.77"
|
|
1661
1792
|
}),
|
|
1662
|
-
/* @__PURE__ */
|
|
1663
|
-
/* @__PURE__ */
|
|
1793
|
+
/* @__PURE__ */ g("polygon", { points: "208 139 50 139 50 128.93 167.06 113.32 208 82.6 208 139" }),
|
|
1794
|
+
/* @__PURE__ */ g("polygon", { points: "208 60.06 90.94 75.68 50 106.4 50 50 208 50 208 60.06" })
|
|
1664
1795
|
]
|
|
1665
1796
|
});
|
|
1666
1797
|
}
|
|
1667
|
-
function
|
|
1668
|
-
return /* @__PURE__ */
|
|
1798
|
+
function ki(e) {
|
|
1799
|
+
return /* @__PURE__ */ _("svg", {
|
|
1669
1800
|
viewBox: "0 0 384 216",
|
|
1670
1801
|
fill: "currentColor",
|
|
1671
1802
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1672
1803
|
...e,
|
|
1673
|
-
children: [/* @__PURE__ */
|
|
1804
|
+
children: [/* @__PURE__ */ g("path", { d: "M384 216H0V191.572L284.499 153.679L384 79.1303V216Z" }), /* @__PURE__ */ g("path", { d: "M384 24.4271L99.501 62.3215L0 136.869V0H384V24.4271Z" })]
|
|
1674
1805
|
});
|
|
1675
1806
|
}
|
|
1676
|
-
function
|
|
1677
|
-
return /* @__PURE__ */
|
|
1807
|
+
function Ai({ glyph: e = !1, alt: t = "ImFusion", variant: n = "brand", ...r }) {
|
|
1808
|
+
return /* @__PURE__ */ g(Ei, {
|
|
1678
1809
|
...r,
|
|
1679
|
-
src:
|
|
1810
|
+
src: g(e ? ki : Oi, {}),
|
|
1680
1811
|
alt: t,
|
|
1681
1812
|
variant: n
|
|
1682
1813
|
});
|
|
1683
1814
|
}
|
|
1684
|
-
var
|
|
1815
|
+
var ji = {
|
|
1685
1816
|
item: "imf-ui-navigation-menu-root-module-item",
|
|
1686
1817
|
list: "imf-ui-navigation-menu-root-module-list",
|
|
1687
1818
|
root: "imf-ui-navigation-menu-root-module-root"
|
|
1688
|
-
},
|
|
1819
|
+
}, Mi = {
|
|
1689
1820
|
content: "imf-ui-navigation-menu-structure-module-content",
|
|
1690
1821
|
viewport: "imf-ui-navigation-menu-structure-module-viewport"
|
|
1691
|
-
},
|
|
1692
|
-
function
|
|
1693
|
-
return /* @__PURE__ */
|
|
1694
|
-
...
|
|
1822
|
+
}, Ni = p(ji.root), Pi = p(ji.list), Fi = p(ji.item), Ii = p(Mi.content), Li = p(Mi.viewport);
|
|
1823
|
+
function Ri({ orientation: e = "horizontal", className: n, ...r }) {
|
|
1824
|
+
return /* @__PURE__ */ g(T.Root, {
|
|
1825
|
+
...r,
|
|
1695
1826
|
orientation: e,
|
|
1696
1827
|
"data-imf-ui-component": "NavigationMenu.Root",
|
|
1697
1828
|
"data-orientation": e,
|
|
1698
|
-
className: (e) =>
|
|
1829
|
+
className: (e) => Ni({ className: t(n, e) })
|
|
1699
1830
|
});
|
|
1700
1831
|
}
|
|
1701
|
-
|
|
1702
|
-
function
|
|
1703
|
-
return /* @__PURE__ */
|
|
1704
|
-
...
|
|
1832
|
+
Ri.displayName = "NavigationMenu.Root";
|
|
1833
|
+
function zi(e) {
|
|
1834
|
+
return /* @__PURE__ */ g(T.List, {
|
|
1835
|
+
...e,
|
|
1705
1836
|
"data-imf-ui-component": "NavigationMenu.List",
|
|
1706
|
-
className: (
|
|
1837
|
+
className: (n) => Pi({ className: t(e.className, n) })
|
|
1707
1838
|
});
|
|
1708
1839
|
}
|
|
1709
|
-
|
|
1710
|
-
function
|
|
1711
|
-
return /* @__PURE__ */
|
|
1712
|
-
...
|
|
1840
|
+
zi.displayName = "NavigationMenu.List";
|
|
1841
|
+
function Bi(e) {
|
|
1842
|
+
return /* @__PURE__ */ g(T.Item, {
|
|
1843
|
+
...e,
|
|
1713
1844
|
"data-imf-ui-component": "NavigationMenu.Item",
|
|
1714
|
-
className: (
|
|
1845
|
+
className: (n) => Fi({ className: t(e.className, n) })
|
|
1715
1846
|
});
|
|
1716
1847
|
}
|
|
1717
|
-
|
|
1718
|
-
function
|
|
1719
|
-
return /* @__PURE__ */
|
|
1720
|
-
...
|
|
1848
|
+
Bi.displayName = "NavigationMenu.Item";
|
|
1849
|
+
function Vi(e) {
|
|
1850
|
+
return /* @__PURE__ */ g(T.Content, {
|
|
1851
|
+
...e,
|
|
1721
1852
|
"data-imf-ui-component": "NavigationMenu.Content",
|
|
1722
|
-
className: (
|
|
1853
|
+
className: (n) => Ii({ className: t(e.className, n) })
|
|
1723
1854
|
});
|
|
1724
1855
|
}
|
|
1725
|
-
|
|
1726
|
-
function
|
|
1727
|
-
return /* @__PURE__ */
|
|
1728
|
-
...
|
|
1856
|
+
Vi.displayName = "NavigationMenu.Content";
|
|
1857
|
+
function Hi(e) {
|
|
1858
|
+
return /* @__PURE__ */ g(T.Viewport, {
|
|
1859
|
+
...e,
|
|
1729
1860
|
"data-imf-ui-component": "NavigationMenu.Viewport",
|
|
1730
|
-
className: (
|
|
1861
|
+
className: (n) => Li({ className: t(e.className, n) })
|
|
1731
1862
|
});
|
|
1732
1863
|
}
|
|
1733
|
-
|
|
1734
|
-
var
|
|
1864
|
+
Hi.displayName = "NavigationMenu.Viewport";
|
|
1865
|
+
var Ui = {
|
|
1735
1866
|
icon: "imf-ui-navigation-menu-trigger-module-icon",
|
|
1736
1867
|
trigger: "imf-ui-navigation-menu-trigger-module-trigger"
|
|
1737
|
-
},
|
|
1738
|
-
function
|
|
1739
|
-
return /* @__PURE__ */
|
|
1740
|
-
...
|
|
1868
|
+
}, Wi = p(Ui.trigger), Gi = p(Ui.icon);
|
|
1869
|
+
function Ki({ active: e = !1, hideChevron: n = !1, nested: r = !1, children: i, ...a }) {
|
|
1870
|
+
return /* @__PURE__ */ _(T.Trigger, {
|
|
1871
|
+
...a,
|
|
1741
1872
|
"data-imf-ui-component": "NavigationMenu.Trigger",
|
|
1742
1873
|
"data-active": e ? "" : void 0,
|
|
1743
|
-
"data-nested":
|
|
1744
|
-
className: (e) =>
|
|
1745
|
-
children: [
|
|
1746
|
-
glyph:
|
|
1874
|
+
"data-nested": r ? "" : void 0,
|
|
1875
|
+
className: (e) => Wi({ className: t(a.className, e) }),
|
|
1876
|
+
children: [i, !n && /* @__PURE__ */ g(qi, { children: /* @__PURE__ */ g(f, {
|
|
1877
|
+
glyph: te,
|
|
1747
1878
|
size: 14
|
|
1748
1879
|
}) })]
|
|
1749
1880
|
});
|
|
1750
1881
|
}
|
|
1751
|
-
|
|
1752
|
-
function
|
|
1753
|
-
return /* @__PURE__ */
|
|
1754
|
-
...
|
|
1882
|
+
Ki.displayName = "NavigationMenu.Trigger";
|
|
1883
|
+
function qi(e) {
|
|
1884
|
+
return /* @__PURE__ */ g(T.Icon, {
|
|
1885
|
+
...e,
|
|
1755
1886
|
"data-imf-ui-component": "NavigationMenu.Icon",
|
|
1756
|
-
className: (
|
|
1887
|
+
className: (n) => Gi({ className: t(e.className, n) })
|
|
1757
1888
|
});
|
|
1758
1889
|
}
|
|
1759
|
-
|
|
1760
|
-
var
|
|
1890
|
+
qi.displayName = "NavigationMenu.Icon";
|
|
1891
|
+
var Ji = {
|
|
1761
1892
|
arrow: "imf-ui-navigation-menu-overlay-module-arrow",
|
|
1762
1893
|
backdrop: "imf-ui-navigation-menu-overlay-module-backdrop",
|
|
1763
1894
|
popup: "imf-ui-navigation-menu-overlay-module-popup",
|
|
1764
1895
|
positioner: "imf-ui-navigation-menu-overlay-module-positioner"
|
|
1765
|
-
},
|
|
1766
|
-
function
|
|
1767
|
-
return /* @__PURE__ */
|
|
1896
|
+
}, Yi = p(Ji.positioner), Xi = p(Ji.popup), Zi = p(Ji.arrow), Qi = p(Ji.backdrop);
|
|
1897
|
+
function $i(e) {
|
|
1898
|
+
return /* @__PURE__ */ g(T.Portal, { ...e });
|
|
1768
1899
|
}
|
|
1769
|
-
|
|
1770
|
-
function
|
|
1771
|
-
return /* @__PURE__ */
|
|
1900
|
+
$i.displayName = "NavigationMenu.Portal";
|
|
1901
|
+
function ea({ align: e = "start", ...n }) {
|
|
1902
|
+
return /* @__PURE__ */ g(T.Positioner, {
|
|
1772
1903
|
...n,
|
|
1773
1904
|
align: e,
|
|
1774
1905
|
"data-imf-ui-component": "NavigationMenu.Positioner",
|
|
1775
|
-
className: (e) =>
|
|
1906
|
+
className: (e) => Yi({ className: t(n.className, e) })
|
|
1776
1907
|
});
|
|
1777
1908
|
}
|
|
1778
|
-
|
|
1779
|
-
function
|
|
1780
|
-
return /* @__PURE__ */
|
|
1781
|
-
...
|
|
1909
|
+
ea.displayName = "NavigationMenu.Positioner";
|
|
1910
|
+
function ta(e) {
|
|
1911
|
+
return /* @__PURE__ */ g(T.Popup, {
|
|
1912
|
+
...e,
|
|
1782
1913
|
"data-imf-ui-component": "NavigationMenu.Popup",
|
|
1783
|
-
className: (
|
|
1914
|
+
className: (n) => Xi({ className: t(e.className, n) })
|
|
1784
1915
|
});
|
|
1785
1916
|
}
|
|
1786
|
-
|
|
1787
|
-
function
|
|
1788
|
-
return /* @__PURE__ */
|
|
1789
|
-
...
|
|
1917
|
+
ta.displayName = "NavigationMenu.Popup";
|
|
1918
|
+
function na(e) {
|
|
1919
|
+
return /* @__PURE__ */ g(T.Arrow, {
|
|
1920
|
+
...e,
|
|
1790
1921
|
"data-imf-ui-component": "NavigationMenu.Arrow",
|
|
1791
|
-
className: (
|
|
1922
|
+
className: (n) => Zi({ className: t(e.className, n) })
|
|
1792
1923
|
});
|
|
1793
1924
|
}
|
|
1794
|
-
|
|
1795
|
-
function
|
|
1796
|
-
return /* @__PURE__ */
|
|
1797
|
-
...
|
|
1925
|
+
na.displayName = "NavigationMenu.Arrow";
|
|
1926
|
+
function ra(e) {
|
|
1927
|
+
return /* @__PURE__ */ g(T.Backdrop, {
|
|
1928
|
+
...e,
|
|
1798
1929
|
"data-imf-ui-component": "NavigationMenu.Backdrop",
|
|
1799
|
-
className: (
|
|
1930
|
+
className: (n) => Qi({ className: t(e.className, n) })
|
|
1800
1931
|
});
|
|
1801
1932
|
}
|
|
1802
|
-
|
|
1933
|
+
ra.displayName = "NavigationMenu.Backdrop";
|
|
1803
1934
|
var U = {
|
|
1804
1935
|
link: "imf-ui-navigation-menu-link-module-link",
|
|
1805
1936
|
linkArrow: "imf-ui-navigation-menu-link-module-linkArrow",
|
|
@@ -1807,83 +1938,83 @@ var U = {
|
|
|
1807
1938
|
linkCardDescription: "imf-ui-navigation-menu-link-module-linkCardDescription",
|
|
1808
1939
|
linkCardTitle: "imf-ui-navigation-menu-link-module-linkCardTitle",
|
|
1809
1940
|
linkList: "imf-ui-navigation-menu-link-module-linkList"
|
|
1810
|
-
},
|
|
1811
|
-
function
|
|
1812
|
-
return /* @__PURE__ */
|
|
1941
|
+
}, ia = p(U.link), aa = p(U.linkList), oa = p(U.linkCard);
|
|
1942
|
+
function sa({ children: e, render: n, ...r }) {
|
|
1943
|
+
return /* @__PURE__ */ g(T.Link, {
|
|
1813
1944
|
...r,
|
|
1814
1945
|
render: n,
|
|
1815
1946
|
"data-imf-ui-component": "NavigationMenu.Link",
|
|
1816
|
-
className: (
|
|
1817
|
-
children: n ?
|
|
1947
|
+
className: (e) => ia({ className: t(r.className, e) }),
|
|
1948
|
+
children: n ? e : /* @__PURE__ */ _(h, { children: [e, /* @__PURE__ */ g("span", {
|
|
1818
1949
|
className: U.linkArrow,
|
|
1819
1950
|
"aria-hidden": !0,
|
|
1820
|
-
children: /* @__PURE__ */
|
|
1821
|
-
glyph:
|
|
1951
|
+
children: /* @__PURE__ */ g(f, {
|
|
1952
|
+
glyph: d,
|
|
1822
1953
|
size: 14
|
|
1823
1954
|
})
|
|
1824
1955
|
})] })
|
|
1825
1956
|
});
|
|
1826
1957
|
}
|
|
1827
|
-
|
|
1828
|
-
function
|
|
1829
|
-
return /* @__PURE__ */
|
|
1830
|
-
...
|
|
1958
|
+
sa.displayName = "NavigationMenu.Link";
|
|
1959
|
+
function ca(e) {
|
|
1960
|
+
return /* @__PURE__ */ g("ul", {
|
|
1961
|
+
...e,
|
|
1831
1962
|
"data-imf-ui-component": "NavigationMenu.LinkList",
|
|
1832
|
-
className:
|
|
1963
|
+
className: aa({ className: e.className })
|
|
1833
1964
|
});
|
|
1834
1965
|
}
|
|
1835
|
-
|
|
1836
|
-
function
|
|
1837
|
-
return /* @__PURE__ */
|
|
1966
|
+
ca.displayName = "NavigationMenu.LinkList";
|
|
1967
|
+
function la({ title: e, description: n, image: r, imageAlt: i = "", ...a }) {
|
|
1968
|
+
return /* @__PURE__ */ g(T.Link, {
|
|
1838
1969
|
...a,
|
|
1839
1970
|
"data-imf-ui-component": "NavigationMenu.LinkCard",
|
|
1840
|
-
className: (e) =>
|
|
1841
|
-
children: /* @__PURE__ */
|
|
1971
|
+
className: (e) => oa({ className: t(a.className, e) }),
|
|
1972
|
+
children: /* @__PURE__ */ _(Jn, {
|
|
1842
1973
|
variant: "main",
|
|
1843
1974
|
density: "compact",
|
|
1844
1975
|
withBorder: !1,
|
|
1845
1976
|
children: [
|
|
1846
|
-
|
|
1847
|
-
src:
|
|
1848
|
-
alt:
|
|
1977
|
+
r && /* @__PURE__ */ g(Yn, {
|
|
1978
|
+
src: r,
|
|
1979
|
+
alt: i
|
|
1849
1980
|
}),
|
|
1850
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ g(Xn, { children: /* @__PURE__ */ g("span", {
|
|
1851
1982
|
className: U.linkCardTitle,
|
|
1852
1983
|
children: e
|
|
1853
1984
|
}) }),
|
|
1854
|
-
|
|
1985
|
+
n && /* @__PURE__ */ g(Zn, { children: /* @__PURE__ */ g("span", {
|
|
1855
1986
|
className: U.linkCardDescription,
|
|
1856
|
-
children:
|
|
1987
|
+
children: n
|
|
1857
1988
|
}) })
|
|
1858
1989
|
]
|
|
1859
1990
|
})
|
|
1860
1991
|
});
|
|
1861
1992
|
}
|
|
1862
|
-
|
|
1863
|
-
var
|
|
1993
|
+
la.displayName = "NavigationMenu.LinkCard";
|
|
1994
|
+
var ua = {
|
|
1864
1995
|
flyoutLink: "imf-ui-navigation-menu-flyout-link-module-flyoutLink",
|
|
1865
1996
|
linkArrow: "imf-ui-navigation-menu-flyout-link-module-linkArrow"
|
|
1866
|
-
},
|
|
1867
|
-
function
|
|
1868
|
-
return /* @__PURE__ */
|
|
1997
|
+
}, da = p(ua.flyoutLink);
|
|
1998
|
+
function fa({ children: e, render: n, ...r }) {
|
|
1999
|
+
return /* @__PURE__ */ g(T.Link, {
|
|
1869
2000
|
...r,
|
|
1870
2001
|
render: n,
|
|
1871
2002
|
"data-imf-ui-component": "NavigationMenu.FlyoutLink",
|
|
1872
|
-
className: (
|
|
1873
|
-
children: n ?
|
|
1874
|
-
className:
|
|
2003
|
+
className: (e) => da({ className: t(r.className, e) }),
|
|
2004
|
+
children: n ? e : /* @__PURE__ */ _(h, { children: [e, /* @__PURE__ */ g("span", {
|
|
2005
|
+
className: ua.linkArrow,
|
|
1875
2006
|
"aria-hidden": !0,
|
|
1876
|
-
children: /* @__PURE__ */
|
|
1877
|
-
glyph:
|
|
2007
|
+
children: /* @__PURE__ */ g(f, {
|
|
2008
|
+
glyph: d,
|
|
1878
2009
|
size: 14
|
|
1879
2010
|
})
|
|
1880
2011
|
})] })
|
|
1881
2012
|
});
|
|
1882
2013
|
}
|
|
1883
|
-
|
|
2014
|
+
fa.displayName = "NavigationMenu.FlyoutLink";
|
|
1884
2015
|
//#endregion
|
|
1885
2016
|
//#region src/breakpoints/registry.ts
|
|
1886
|
-
var
|
|
2017
|
+
var pa = {
|
|
1887
2018
|
mobile: 375,
|
|
1888
2019
|
sm: 640,
|
|
1889
2020
|
md: 768,
|
|
@@ -1892,16 +2023,16 @@ var Gi = {
|
|
|
1892
2023
|
};
|
|
1893
2024
|
//#endregion
|
|
1894
2025
|
//#region src/breakpoints/min-width.ts
|
|
1895
|
-
function
|
|
1896
|
-
return `(min-width: ${String(
|
|
2026
|
+
function ma(e) {
|
|
2027
|
+
return `(min-width: ${String(pa[e])}px)`;
|
|
1897
2028
|
}
|
|
1898
2029
|
//#endregion
|
|
1899
2030
|
//#region src/config.ts
|
|
1900
|
-
var
|
|
1901
|
-
cssVarPrefix:
|
|
2031
|
+
var ha = "imf-ui", W = {
|
|
2032
|
+
cssVarPrefix: ha,
|
|
1902
2033
|
colorScheme: {
|
|
1903
|
-
storageKey: `${
|
|
1904
|
-
attr: `data-${
|
|
2034
|
+
storageKey: `${ha}-color-scheme`,
|
|
2035
|
+
attr: `data-${ha}-color-scheme`,
|
|
1905
2036
|
options: [
|
|
1906
2037
|
"light",
|
|
1907
2038
|
"system",
|
|
@@ -1911,18 +2042,18 @@ var qi = "imf-ui", W = {
|
|
|
1911
2042
|
};
|
|
1912
2043
|
//#endregion
|
|
1913
2044
|
//#region src/hooks/use-color-scheme.ts
|
|
1914
|
-
function
|
|
2045
|
+
function ga() {
|
|
1915
2046
|
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
1916
2047
|
}
|
|
1917
|
-
function
|
|
2048
|
+
function _a(e) {
|
|
1918
2049
|
return e === "light" || e === "dark" || e === "system" ? e : "system";
|
|
1919
2050
|
}
|
|
1920
|
-
function
|
|
1921
|
-
return
|
|
2051
|
+
function va() {
|
|
2052
|
+
return _a(localStorage.getItem(W.colorScheme.storageKey));
|
|
1922
2053
|
}
|
|
1923
|
-
function
|
|
1924
|
-
let t = e !== void 0, [n, r] =
|
|
1925
|
-
|
|
2054
|
+
function ya({ value: e } = {}) {
|
|
2055
|
+
let t = e !== void 0, [n, r] = Oe(() => e ?? va()), i = e ?? n, [a, o] = Oe(() => i === "system" ? ga() : i);
|
|
2056
|
+
Ee(function() {
|
|
1926
2057
|
if (i !== "system") {
|
|
1927
2058
|
document.documentElement.setAttribute(W.colorScheme.attr, i), o(i);
|
|
1928
2059
|
return;
|
|
@@ -1930,7 +2061,7 @@ function Zi({ value: e } = {}) {
|
|
|
1930
2061
|
let e = window.matchMedia("(prefers-color-scheme: dark)"), t = (e) => {
|
|
1931
2062
|
document.documentElement.setAttribute(W.colorScheme.attr, e), o(e);
|
|
1932
2063
|
};
|
|
1933
|
-
t(
|
|
2064
|
+
t(ga());
|
|
1934
2065
|
let n = (e) => t(e.matches ? "dark" : "light");
|
|
1935
2066
|
return e.addEventListener("change", n), function() {
|
|
1936
2067
|
e.removeEventListener("change", n);
|
|
@@ -1948,12 +2079,12 @@ function Zi({ value: e } = {}) {
|
|
|
1948
2079
|
}
|
|
1949
2080
|
//#endregion
|
|
1950
2081
|
//#region src/hooks/use-media-query.ts
|
|
1951
|
-
function
|
|
2082
|
+
function ba(e, t) {
|
|
1952
2083
|
return typeof t == "boolean" ? t : typeof window < "u" && "matchMedia" in window ? window.matchMedia(e).matches : !1;
|
|
1953
2084
|
}
|
|
1954
|
-
function
|
|
1955
|
-
let [r, i] =
|
|
1956
|
-
return
|
|
2085
|
+
function xa(e, t, { getInitialValueInEffect: n } = { getInitialValueInEffect: !0 }) {
|
|
2086
|
+
let [r, i] = Oe(n ? t : ba(e));
|
|
2087
|
+
return Ee(() => {
|
|
1957
2088
|
try {
|
|
1958
2089
|
if ("matchMedia" in window) {
|
|
1959
2090
|
let t = window.matchMedia(e);
|
|
@@ -1983,44 +2114,44 @@ var G = {
|
|
|
1983
2114
|
};
|
|
1984
2115
|
//#endregion
|
|
1985
2116
|
//#region src/components/navigation-menu/subs/inline-submenu.tsx
|
|
1986
|
-
function
|
|
1987
|
-
let n =
|
|
1988
|
-
return /* @__PURE__ */
|
|
2117
|
+
function Sa({ items: e, defaultValue: t }) {
|
|
2118
|
+
let n = xa(ma("md"), !0);
|
|
2119
|
+
return /* @__PURE__ */ g(T.Root, {
|
|
1989
2120
|
orientation: n ? "vertical" : "horizontal",
|
|
1990
2121
|
defaultValue: t,
|
|
1991
2122
|
"data-imf-ui-component": "NavigationMenu.Root",
|
|
1992
2123
|
"data-orientation": n ? "vertical" : "horizontal",
|
|
1993
2124
|
className: G.submenuRoot,
|
|
1994
|
-
children: /* @__PURE__ */
|
|
2125
|
+
children: /* @__PURE__ */ _("div", {
|
|
1995
2126
|
className: G.submenuLayout,
|
|
1996
|
-
children: [/* @__PURE__ */
|
|
2127
|
+
children: [/* @__PURE__ */ g(T.List, {
|
|
1997
2128
|
"data-imf-ui-component": "NavigationMenu.List",
|
|
1998
2129
|
className: G.submenuList,
|
|
1999
|
-
children: e.map((e) => /* @__PURE__ */
|
|
2130
|
+
children: e.map((e) => /* @__PURE__ */ _(T.Item, {
|
|
2000
2131
|
value: e.value,
|
|
2001
2132
|
"data-imf-ui-component": "NavigationMenu.Item",
|
|
2002
|
-
children: [/* @__PURE__ */
|
|
2133
|
+
children: [/* @__PURE__ */ _(T.Trigger, {
|
|
2003
2134
|
"data-imf-ui-component": "NavigationMenu.Trigger",
|
|
2004
2135
|
className: G.submenuTrigger,
|
|
2005
|
-
children: [/* @__PURE__ */
|
|
2136
|
+
children: [/* @__PURE__ */ g("span", {
|
|
2006
2137
|
className: G.submenuLabel,
|
|
2007
2138
|
children: e.label
|
|
2008
|
-
}), e.hint && /* @__PURE__ */
|
|
2139
|
+
}), e.hint && /* @__PURE__ */ g("span", {
|
|
2009
2140
|
className: G.submenuHint,
|
|
2010
2141
|
children: e.hint
|
|
2011
2142
|
})]
|
|
2012
|
-
}), /* @__PURE__ */
|
|
2143
|
+
}), /* @__PURE__ */ _(T.Content, {
|
|
2013
2144
|
"data-imf-ui-component": "NavigationMenu.Content",
|
|
2014
2145
|
className: G.submenuContent,
|
|
2015
|
-
children: [/* @__PURE__ */
|
|
2146
|
+
children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h4", {
|
|
2016
2147
|
className: G.submenuTitle,
|
|
2017
2148
|
children: e.title
|
|
2018
|
-
}), e.description && /* @__PURE__ */
|
|
2149
|
+
}), e.description && /* @__PURE__ */ g("p", {
|
|
2019
2150
|
className: G.submenuDescription,
|
|
2020
2151
|
children: e.description
|
|
2021
|
-
})] }), /* @__PURE__ */
|
|
2152
|
+
})] }), /* @__PURE__ */ g("ul", {
|
|
2022
2153
|
className: G.submenuLinkList,
|
|
2023
|
-
children: e.links.map((e, t) => /* @__PURE__ */
|
|
2154
|
+
children: e.links.map((e, t) => /* @__PURE__ */ g("li", { children: /* @__PURE__ */ g(la, {
|
|
2024
2155
|
href: e.href,
|
|
2025
2156
|
title: e.title,
|
|
2026
2157
|
description: e.description
|
|
@@ -2028,37 +2159,37 @@ function ea({ items: e, defaultValue: t }) {
|
|
|
2028
2159
|
})]
|
|
2029
2160
|
})]
|
|
2030
2161
|
}, e.value))
|
|
2031
|
-
}), /* @__PURE__ */
|
|
2162
|
+
}), /* @__PURE__ */ g(T.Viewport, {
|
|
2032
2163
|
"data-imf-ui-component": "NavigationMenu.Viewport",
|
|
2033
2164
|
className: G.submenuViewport
|
|
2034
2165
|
})]
|
|
2035
2166
|
})
|
|
2036
2167
|
});
|
|
2037
2168
|
}
|
|
2038
|
-
|
|
2169
|
+
Sa.displayName = "NavigationMenu.InlineSubmenu";
|
|
2039
2170
|
//#endregion
|
|
2040
2171
|
//#region src/components/navigation-menu/navigation-menu.tsx
|
|
2041
|
-
var
|
|
2042
|
-
Arrow: () =>
|
|
2043
|
-
Backdrop: () =>
|
|
2044
|
-
Content: () =>
|
|
2045
|
-
FlyoutLink: () =>
|
|
2046
|
-
Icon: () =>
|
|
2047
|
-
InlineSubmenu: () =>
|
|
2048
|
-
Item: () =>
|
|
2049
|
-
Link: () =>
|
|
2050
|
-
LinkCard: () =>
|
|
2051
|
-
LinkList: () =>
|
|
2052
|
-
List: () =>
|
|
2053
|
-
Popup: () =>
|
|
2054
|
-
Portal: () =>
|
|
2055
|
-
Positioner: () =>
|
|
2056
|
-
Root: () =>
|
|
2057
|
-
Trigger: () =>
|
|
2058
|
-
Viewport: () =>
|
|
2059
|
-
}),
|
|
2172
|
+
var Ca = /* @__PURE__ */ e({
|
|
2173
|
+
Arrow: () => na,
|
|
2174
|
+
Backdrop: () => ra,
|
|
2175
|
+
Content: () => Vi,
|
|
2176
|
+
FlyoutLink: () => fa,
|
|
2177
|
+
Icon: () => qi,
|
|
2178
|
+
InlineSubmenu: () => Sa,
|
|
2179
|
+
Item: () => Bi,
|
|
2180
|
+
Link: () => sa,
|
|
2181
|
+
LinkCard: () => la,
|
|
2182
|
+
LinkList: () => ca,
|
|
2183
|
+
List: () => zi,
|
|
2184
|
+
Popup: () => ta,
|
|
2185
|
+
Portal: () => $i,
|
|
2186
|
+
Positioner: () => ea,
|
|
2187
|
+
Root: () => Ri,
|
|
2188
|
+
Trigger: () => Ki,
|
|
2189
|
+
Viewport: () => Hi
|
|
2190
|
+
}), wa = {
|
|
2060
2191
|
name: "NavigationMenu",
|
|
2061
|
-
category:
|
|
2192
|
+
category: l.display,
|
|
2062
2193
|
status: "experimental",
|
|
2063
2194
|
namespace: !0,
|
|
2064
2195
|
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.",
|
|
@@ -2085,24 +2216,24 @@ var ta = /* @__PURE__ */ e({
|
|
|
2085
2216
|
BR_S: 2.1,
|
|
2086
2217
|
SWAY: 11.5,
|
|
2087
2218
|
SWAY_RATIO: 1.35
|
|
2088
|
-
},
|
|
2219
|
+
}, Ta = 100 / 2, Ea = [
|
|
2089
2220
|
[0, 0],
|
|
2090
2221
|
[100, 0],
|
|
2091
2222
|
[100, 100],
|
|
2092
2223
|
[0, 100]
|
|
2093
2224
|
];
|
|
2094
|
-
function
|
|
2225
|
+
function Da(e, t, n, r) {
|
|
2095
2226
|
let i = [], a = (i) => n * (i[1] - t) - r * (i[0] - e) >= 0;
|
|
2096
2227
|
for (let o = 0; o < 4; o++) {
|
|
2097
|
-
let s =
|
|
2098
|
-
if (l && i.push(s), l !==
|
|
2228
|
+
let s = Ea[o], c = Ea[(o + 1) % 4], l = a(s), ee = a(c);
|
|
2229
|
+
if (l && i.push(s), l !== ee) {
|
|
2099
2230
|
let a = ((e - s[0]) * r - (t - s[1]) * n) / ((c[0] - s[0]) * r - (c[1] - s[1]) * n);
|
|
2100
2231
|
i.push([s[0] + a * (c[0] - s[0]), s[1] + a * (c[1] - s[1])]);
|
|
2101
2232
|
}
|
|
2102
2233
|
}
|
|
2103
2234
|
return i;
|
|
2104
2235
|
}
|
|
2105
|
-
function
|
|
2236
|
+
function Oa(e, t) {
|
|
2106
2237
|
let n = 0, r = Infinity;
|
|
2107
2238
|
for (let i = 0; i < e.length; i++) {
|
|
2108
2239
|
let a = e[i], o = e[(i + 1) % e.length], s = ((a[0] + o[0]) / 2 - t[0]) ** 2 + ((a[1] + o[1]) / 2 - t[1]) ** 2;
|
|
@@ -2114,65 +2245,65 @@ function oa(e, t) {
|
|
|
2114
2245
|
...e.slice(n + 1)
|
|
2115
2246
|
];
|
|
2116
2247
|
}
|
|
2117
|
-
function
|
|
2118
|
-
let s =
|
|
2119
|
-
return
|
|
2248
|
+
function ka(e, t, n, r, i, a, o) {
|
|
2249
|
+
let s = Ta + e * t * a, c = Ta + e * t * o, l = e * n, ee = s + e * r * l - e * a * q.INSET, u = c + e * i * l - e * o * q.INSET;
|
|
2250
|
+
return Oa(Da(s, c, e * r, e * i), [ee, u]);
|
|
2120
2251
|
}
|
|
2121
|
-
function
|
|
2252
|
+
function Aa(e) {
|
|
2122
2253
|
let t = q.TILT0 + (q.ROT_S > 0 ? e / (q.ROT_S * 1e3) * Math.PI * 2 : 0), n = q.BR_AMT > 0 ? (1 - Math.cos(e / (q.BR_S * 1e3) * Math.PI * 2)) / 2 : 0, r = q.HALF + q.BR_AMT * n, i = q.SWAY * Math.sin(e / (q.BR_S * 1e3 * q.SWAY_RATIO) * Math.PI * 2), a = Math.cos(t), o = Math.sin(t), s = -o, c = a;
|
|
2123
|
-
return [
|
|
2254
|
+
return [ja(ka(1, r, i, a, o, s, c)), ja(ka(-1, r, i, a, o, s, c))];
|
|
2124
2255
|
}
|
|
2125
|
-
function
|
|
2256
|
+
function ja(e) {
|
|
2126
2257
|
return "M" + e.map((e) => e[0].toFixed(2) + " " + e[1].toFixed(2)).join("L") + "Z";
|
|
2127
2258
|
}
|
|
2128
|
-
var
|
|
2259
|
+
var Ma = q.ROT_S * 1e3, Na = p(K.root, { variants: { size: {
|
|
2129
2260
|
sm: K.sizeSm,
|
|
2130
2261
|
md: K.sizeMd,
|
|
2131
2262
|
lg: K.sizeLg
|
|
2132
2263
|
} } });
|
|
2133
|
-
function
|
|
2134
|
-
let
|
|
2135
|
-
|
|
2136
|
-
let e = 0, t = performance.now(), n = (
|
|
2137
|
-
let [o, s] =
|
|
2138
|
-
|
|
2264
|
+
function Pa({ size: e = "md", label: t = "Loading", ...n }) {
|
|
2265
|
+
let r = De(null), i = De(null);
|
|
2266
|
+
Ee(function() {
|
|
2267
|
+
let e = 0, t = performance.now(), n = (a) => {
|
|
2268
|
+
let [o, s] = Aa((a - t) % Ma);
|
|
2269
|
+
r.current?.setAttribute("d", o), i.current?.setAttribute("d", s), e = requestAnimationFrame(n);
|
|
2139
2270
|
};
|
|
2140
2271
|
return e = requestAnimationFrame(n), function() {
|
|
2141
2272
|
cancelAnimationFrame(e);
|
|
2142
2273
|
};
|
|
2143
2274
|
}, []);
|
|
2144
|
-
let [
|
|
2145
|
-
return /* @__PURE__ */
|
|
2146
|
-
...
|
|
2275
|
+
let [a, o] = Aa(0);
|
|
2276
|
+
return /* @__PURE__ */ g("span", {
|
|
2277
|
+
...n,
|
|
2147
2278
|
"data-imf-ui-component": "Spinner",
|
|
2148
|
-
className:
|
|
2279
|
+
className: Na({
|
|
2149
2280
|
size: e,
|
|
2150
|
-
className: n
|
|
2281
|
+
className: n.className
|
|
2151
2282
|
}),
|
|
2152
2283
|
role: "status",
|
|
2153
2284
|
"aria-label": t,
|
|
2154
|
-
children: /* @__PURE__ */
|
|
2285
|
+
children: /* @__PURE__ */ _("svg", {
|
|
2155
2286
|
viewBox: "0 0 100 100",
|
|
2156
2287
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2157
2288
|
"aria-hidden": "true",
|
|
2158
2289
|
className: K.glyph,
|
|
2159
|
-
children: [/* @__PURE__ */
|
|
2290
|
+
children: [/* @__PURE__ */ g("path", {
|
|
2291
|
+
ref: r,
|
|
2292
|
+
className: K.fill,
|
|
2293
|
+
d: a
|
|
2294
|
+
}), /* @__PURE__ */ g("path", {
|
|
2160
2295
|
ref: i,
|
|
2161
2296
|
className: K.fill,
|
|
2162
2297
|
d: o
|
|
2163
|
-
}), /* @__PURE__ */ _("path", {
|
|
2164
|
-
ref: a,
|
|
2165
|
-
className: K.fill,
|
|
2166
|
-
d: s
|
|
2167
2298
|
})]
|
|
2168
2299
|
})
|
|
2169
2300
|
});
|
|
2170
2301
|
}
|
|
2171
2302
|
//#endregion
|
|
2172
2303
|
//#region src/components/spinner/spinner.meta.ts
|
|
2173
|
-
var
|
|
2304
|
+
var Fa = {
|
|
2174
2305
|
name: "Spinner",
|
|
2175
|
-
category:
|
|
2306
|
+
category: l.display,
|
|
2176
2307
|
status: "stable",
|
|
2177
2308
|
description: "Indeterminate loading indicator. Also called a loader or progress spinner.",
|
|
2178
2309
|
origin: "native"
|
|
@@ -2185,114 +2316,114 @@ var pa = {
|
|
|
2185
2316
|
root: "imf-ui-table-module-root",
|
|
2186
2317
|
row: "imf-ui-table-module-row",
|
|
2187
2318
|
sortIndicator: "imf-ui-table-module-sortIndicator"
|
|
2188
|
-
},
|
|
2189
|
-
Body: () =>
|
|
2190
|
-
Cell: () =>
|
|
2191
|
-
Header: () =>
|
|
2192
|
-
HeaderButton: () =>
|
|
2193
|
-
HeaderCell: () =>
|
|
2194
|
-
Root: () =>
|
|
2195
|
-
Row: () =>
|
|
2196
|
-
SortableHeaderCell: () =>
|
|
2197
|
-
}),
|
|
2198
|
-
function
|
|
2199
|
-
return /* @__PURE__ */
|
|
2200
|
-
...
|
|
2319
|
+
}, Ia = /* @__PURE__ */ e({
|
|
2320
|
+
Body: () => qa,
|
|
2321
|
+
Cell: () => Xa,
|
|
2322
|
+
Header: () => Ka,
|
|
2323
|
+
HeaderButton: () => Za,
|
|
2324
|
+
HeaderCell: () => Ya,
|
|
2325
|
+
Root: () => Ga,
|
|
2326
|
+
Row: () => Ja,
|
|
2327
|
+
SortableHeaderCell: () => eo
|
|
2328
|
+
}), La = p(J.root), Ra = p(J.header), za = p(J.body), Ba = p(J.row), Va = p(J.headerCell), Ha = p(J.cell), Ua = p(J.headerButton), Wa = p(J.sortIndicator);
|
|
2329
|
+
function Ga(e) {
|
|
2330
|
+
return /* @__PURE__ */ g("table", {
|
|
2331
|
+
...e,
|
|
2201
2332
|
"data-imf-ui-component": "Table.Root",
|
|
2202
|
-
className:
|
|
2333
|
+
className: La({ className: e.className })
|
|
2203
2334
|
});
|
|
2204
2335
|
}
|
|
2205
|
-
|
|
2206
|
-
function
|
|
2207
|
-
return /* @__PURE__ */
|
|
2208
|
-
...
|
|
2336
|
+
Ga.displayName = "Table.Root";
|
|
2337
|
+
function Ka(e) {
|
|
2338
|
+
return /* @__PURE__ */ g("thead", {
|
|
2339
|
+
...e,
|
|
2209
2340
|
"data-imf-ui-component": "Table.Header",
|
|
2210
|
-
className:
|
|
2341
|
+
className: Ra({ className: e.className })
|
|
2211
2342
|
});
|
|
2212
2343
|
}
|
|
2213
|
-
|
|
2214
|
-
function
|
|
2215
|
-
return /* @__PURE__ */
|
|
2216
|
-
...
|
|
2344
|
+
Ka.displayName = "Table.Header";
|
|
2345
|
+
function qa(e) {
|
|
2346
|
+
return /* @__PURE__ */ g("tbody", {
|
|
2347
|
+
...e,
|
|
2217
2348
|
"data-imf-ui-component": "Table.Body",
|
|
2218
|
-
className:
|
|
2349
|
+
className: za({ className: e.className })
|
|
2219
2350
|
});
|
|
2220
2351
|
}
|
|
2221
|
-
|
|
2222
|
-
function
|
|
2223
|
-
return /* @__PURE__ */
|
|
2224
|
-
...
|
|
2352
|
+
qa.displayName = "Table.Body";
|
|
2353
|
+
function Ja(e) {
|
|
2354
|
+
return /* @__PURE__ */ g("tr", {
|
|
2355
|
+
...e,
|
|
2225
2356
|
"data-imf-ui-component": "Table.Row",
|
|
2226
|
-
className:
|
|
2357
|
+
className: Ba({ className: e.className })
|
|
2227
2358
|
});
|
|
2228
2359
|
}
|
|
2229
|
-
|
|
2230
|
-
function
|
|
2231
|
-
return /* @__PURE__ */
|
|
2232
|
-
...
|
|
2360
|
+
Ja.displayName = "Table.Row";
|
|
2361
|
+
function Ya(e) {
|
|
2362
|
+
return /* @__PURE__ */ g("th", {
|
|
2363
|
+
...e,
|
|
2233
2364
|
"data-imf-ui-component": "Table.HeaderCell",
|
|
2234
|
-
className:
|
|
2365
|
+
className: Va({ className: e.className })
|
|
2235
2366
|
});
|
|
2236
2367
|
}
|
|
2237
|
-
|
|
2238
|
-
function
|
|
2239
|
-
return /* @__PURE__ */
|
|
2240
|
-
...
|
|
2368
|
+
Ya.displayName = "Table.HeaderCell";
|
|
2369
|
+
function Xa(e) {
|
|
2370
|
+
return /* @__PURE__ */ g("td", {
|
|
2371
|
+
...e,
|
|
2241
2372
|
"data-imf-ui-component": "Table.Cell",
|
|
2242
|
-
className:
|
|
2373
|
+
className: Ha({ className: e.className })
|
|
2243
2374
|
});
|
|
2244
2375
|
}
|
|
2245
|
-
|
|
2246
|
-
function
|
|
2247
|
-
return /* @__PURE__ */
|
|
2248
|
-
...
|
|
2249
|
-
type:
|
|
2376
|
+
Xa.displayName = "Table.Cell";
|
|
2377
|
+
function Za({ type: e = "button", ...t }) {
|
|
2378
|
+
return /* @__PURE__ */ g("button", {
|
|
2379
|
+
...t,
|
|
2380
|
+
type: e,
|
|
2250
2381
|
"data-imf-ui-component": "Table.HeaderButton",
|
|
2251
|
-
className:
|
|
2382
|
+
className: Ua({ className: t.className })
|
|
2252
2383
|
});
|
|
2253
2384
|
}
|
|
2254
|
-
|
|
2255
|
-
function
|
|
2385
|
+
Za.displayName = "Table.HeaderButton";
|
|
2386
|
+
function Qa(e) {
|
|
2256
2387
|
return e === "asc" ? "ascending" : e === "desc" ? "descending" : "none";
|
|
2257
2388
|
}
|
|
2258
|
-
function
|
|
2259
|
-
let t = e === "asc" ?
|
|
2260
|
-
return /* @__PURE__ */
|
|
2261
|
-
className:
|
|
2389
|
+
function $a({ sorted: e }) {
|
|
2390
|
+
let t = e === "asc" ? pe : e === "desc" ? ee : u;
|
|
2391
|
+
return /* @__PURE__ */ g("span", {
|
|
2392
|
+
className: Wa(),
|
|
2262
2393
|
"data-sorted": e || void 0,
|
|
2263
2394
|
"aria-hidden": !0,
|
|
2264
|
-
children: /* @__PURE__ */
|
|
2395
|
+
children: /* @__PURE__ */ g(f, {
|
|
2265
2396
|
glyph: t,
|
|
2266
2397
|
size: 14,
|
|
2267
2398
|
strokeWidth: 1.5
|
|
2268
2399
|
})
|
|
2269
2400
|
});
|
|
2270
2401
|
}
|
|
2271
|
-
function
|
|
2272
|
-
return t ? /* @__PURE__ */
|
|
2402
|
+
function eo({ sortDirection: e, onToggle: t, children: n, ...r }) {
|
|
2403
|
+
return t ? /* @__PURE__ */ g(Ya, {
|
|
2273
2404
|
...r,
|
|
2274
|
-
"aria-sort":
|
|
2275
|
-
children: /* @__PURE__ */
|
|
2405
|
+
"aria-sort": Qa(e),
|
|
2406
|
+
children: /* @__PURE__ */ _(Za, {
|
|
2276
2407
|
onClick: t,
|
|
2277
|
-
children: [n, /* @__PURE__ */
|
|
2408
|
+
children: [n, /* @__PURE__ */ g($a, { sorted: e })]
|
|
2278
2409
|
})
|
|
2279
|
-
}) : /* @__PURE__ */
|
|
2410
|
+
}) : /* @__PURE__ */ g(Ya, {
|
|
2280
2411
|
...r,
|
|
2281
2412
|
children: n
|
|
2282
2413
|
});
|
|
2283
2414
|
}
|
|
2284
|
-
|
|
2415
|
+
eo.displayName = "Table.SortableHeaderCell";
|
|
2285
2416
|
//#endregion
|
|
2286
2417
|
//#region src/components/table/table.meta.ts
|
|
2287
|
-
var
|
|
2418
|
+
var to = {
|
|
2288
2419
|
name: "Table",
|
|
2289
|
-
category:
|
|
2420
|
+
category: l.display,
|
|
2290
2421
|
status: "stable",
|
|
2291
2422
|
description: "Presentational table parts for static tabular data. Pair them with a headless table library for sorting, pagination, or selection.",
|
|
2292
2423
|
origin: "native"
|
|
2293
|
-
},
|
|
2424
|
+
}, no = {
|
|
2294
2425
|
name: "Tabs",
|
|
2295
|
-
category:
|
|
2426
|
+
category: l.display,
|
|
2296
2427
|
status: "stable",
|
|
2297
2428
|
namespace: !0,
|
|
2298
2429
|
description: "Switches between related panels within one view. Also called a tab strip or tab bar; it supports horizontal and vertical layouts.",
|
|
@@ -2328,21 +2459,21 @@ var Na = {
|
|
|
2328
2459
|
widthContent: "imf-ui-toast-module-widthContent",
|
|
2329
2460
|
widthDefault: "imf-ui-toast-module-widthDefault",
|
|
2330
2461
|
widthWide: "imf-ui-toast-module-widthWide"
|
|
2331
|
-
},
|
|
2332
|
-
Action: () =>
|
|
2333
|
-
Arrow: () =>
|
|
2334
|
-
Close: () =>
|
|
2335
|
-
Content: () =>
|
|
2336
|
-
Description: () =>
|
|
2337
|
-
Portal: () =>
|
|
2338
|
-
Positioner: () =>
|
|
2339
|
-
Provider: () =>
|
|
2340
|
-
Root: () =>
|
|
2341
|
-
Title: () =>
|
|
2342
|
-
Viewport: () =>
|
|
2343
|
-
createToastManager: () =>
|
|
2344
|
-
useToastManager: () =>
|
|
2345
|
-
}),
|
|
2462
|
+
}, ro = /* @__PURE__ */ e({
|
|
2463
|
+
Action: () => To,
|
|
2464
|
+
Arrow: () => Do,
|
|
2465
|
+
Close: () => wo,
|
|
2466
|
+
Content: () => xo,
|
|
2467
|
+
Description: () => Co,
|
|
2468
|
+
Portal: () => vo,
|
|
2469
|
+
Positioner: () => Eo,
|
|
2470
|
+
Provider: () => _o,
|
|
2471
|
+
Root: () => bo,
|
|
2472
|
+
Title: () => So,
|
|
2473
|
+
Viewport: () => yo,
|
|
2474
|
+
createToastManager: () => go,
|
|
2475
|
+
useToastManager: () => ho
|
|
2476
|
+
}), io = p(Y.portal), ao = p(Y.viewport, {
|
|
2346
2477
|
variants: {
|
|
2347
2478
|
position: {
|
|
2348
2479
|
"top-left": Y.positionTopLeft,
|
|
@@ -2363,7 +2494,7 @@ var Na = {
|
|
|
2363
2494
|
position: "bottom-center",
|
|
2364
2495
|
width: "default"
|
|
2365
2496
|
}
|
|
2366
|
-
}),
|
|
2497
|
+
}), oo = p(Y.root, {
|
|
2367
2498
|
variants: { variant: {
|
|
2368
2499
|
neutral: null,
|
|
2369
2500
|
info: Y.variantInfo,
|
|
@@ -2372,107 +2503,107 @@ var Na = {
|
|
|
2372
2503
|
error: Y.variantError
|
|
2373
2504
|
} },
|
|
2374
2505
|
defaultVariants: { variant: "neutral" }
|
|
2375
|
-
}),
|
|
2376
|
-
function
|
|
2377
|
-
return /* @__PURE__ */
|
|
2506
|
+
}), so = p(Y.content), co = p(Y.title), lo = p(Y.description), uo = p(Y.close), fo = p(Y.action), po = p(Y.positioner), mo = p(Y.arrow), ho = E.useToastManager, go = E.createToastManager;
|
|
2507
|
+
function _o({ timeout: e = 5e3, limit: t = 3, ...n }) {
|
|
2508
|
+
return /* @__PURE__ */ g(E.Provider, {
|
|
2378
2509
|
...n,
|
|
2379
2510
|
timeout: e,
|
|
2380
2511
|
limit: t
|
|
2381
2512
|
});
|
|
2382
2513
|
}
|
|
2383
|
-
|
|
2384
|
-
function
|
|
2385
|
-
return /* @__PURE__ */
|
|
2386
|
-
...
|
|
2514
|
+
_o.displayName = "Toast.Provider";
|
|
2515
|
+
function vo(e) {
|
|
2516
|
+
return /* @__PURE__ */ g(E.Portal, {
|
|
2517
|
+
...e,
|
|
2387
2518
|
"data-imf-ui-component": "Toast.Portal",
|
|
2388
|
-
className: (
|
|
2519
|
+
className: (n) => io({ className: t(e.className, n) })
|
|
2389
2520
|
});
|
|
2390
2521
|
}
|
|
2391
|
-
|
|
2392
|
-
function
|
|
2393
|
-
return /* @__PURE__ */
|
|
2522
|
+
vo.displayName = "Toast.Portal";
|
|
2523
|
+
function yo({ position: e = "bottom-center", width: n = "default", ...r }) {
|
|
2524
|
+
return /* @__PURE__ */ g(E.Viewport, {
|
|
2394
2525
|
...r,
|
|
2395
2526
|
"data-imf-ui-component": "Toast.Viewport",
|
|
2396
|
-
className: (
|
|
2397
|
-
position:
|
|
2527
|
+
className: (i) => ao({
|
|
2528
|
+
position: e,
|
|
2398
2529
|
width: n,
|
|
2399
|
-
className:
|
|
2530
|
+
className: t(r.className, i)
|
|
2400
2531
|
})
|
|
2401
2532
|
});
|
|
2402
2533
|
}
|
|
2403
|
-
|
|
2404
|
-
function
|
|
2405
|
-
return /* @__PURE__ */
|
|
2534
|
+
yo.displayName = "Toast.Viewport";
|
|
2535
|
+
function bo({ variant: e = "neutral", ...n }) {
|
|
2536
|
+
return /* @__PURE__ */ g(E.Root, {
|
|
2406
2537
|
...n,
|
|
2407
2538
|
"data-imf-ui-component": "Toast.Root",
|
|
2408
|
-
className: (
|
|
2409
|
-
variant:
|
|
2410
|
-
className:
|
|
2539
|
+
className: (r) => oo({
|
|
2540
|
+
variant: e,
|
|
2541
|
+
className: t(n.className, r)
|
|
2411
2542
|
})
|
|
2412
2543
|
});
|
|
2413
2544
|
}
|
|
2414
|
-
|
|
2415
|
-
function
|
|
2416
|
-
return /* @__PURE__ */
|
|
2417
|
-
...
|
|
2545
|
+
bo.displayName = "Toast.Root";
|
|
2546
|
+
function xo(e) {
|
|
2547
|
+
return /* @__PURE__ */ g(E.Content, {
|
|
2548
|
+
...e,
|
|
2418
2549
|
"data-imf-ui-component": "Toast.Content",
|
|
2419
|
-
className: (
|
|
2550
|
+
className: (n) => so({ className: t(e.className, n) })
|
|
2420
2551
|
});
|
|
2421
2552
|
}
|
|
2422
|
-
|
|
2423
|
-
function
|
|
2424
|
-
return /* @__PURE__ */
|
|
2425
|
-
...
|
|
2553
|
+
xo.displayName = "Toast.Content";
|
|
2554
|
+
function So(e) {
|
|
2555
|
+
return /* @__PURE__ */ g(E.Title, {
|
|
2556
|
+
...e,
|
|
2426
2557
|
"data-imf-ui-component": "Toast.Title",
|
|
2427
|
-
className: (
|
|
2558
|
+
className: (n) => co({ className: t(e.className, n) })
|
|
2428
2559
|
});
|
|
2429
2560
|
}
|
|
2430
|
-
|
|
2431
|
-
function
|
|
2432
|
-
return /* @__PURE__ */
|
|
2433
|
-
...
|
|
2561
|
+
So.displayName = "Toast.Title";
|
|
2562
|
+
function Co(e) {
|
|
2563
|
+
return /* @__PURE__ */ g(E.Description, {
|
|
2564
|
+
...e,
|
|
2434
2565
|
"data-imf-ui-component": "Toast.Description",
|
|
2435
|
-
className: (
|
|
2566
|
+
className: (n) => lo({ className: t(e.className, n) })
|
|
2436
2567
|
});
|
|
2437
2568
|
}
|
|
2438
|
-
|
|
2439
|
-
function
|
|
2440
|
-
return /* @__PURE__ */
|
|
2441
|
-
...
|
|
2569
|
+
Co.displayName = "Toast.Description";
|
|
2570
|
+
function wo(e) {
|
|
2571
|
+
return /* @__PURE__ */ g(E.Close, {
|
|
2572
|
+
...e,
|
|
2442
2573
|
"data-imf-ui-component": "Toast.Close",
|
|
2443
|
-
className: (
|
|
2574
|
+
className: (n) => uo({ className: t(e.className, n) })
|
|
2444
2575
|
});
|
|
2445
2576
|
}
|
|
2446
|
-
|
|
2447
|
-
function
|
|
2448
|
-
return /* @__PURE__ */
|
|
2449
|
-
...
|
|
2577
|
+
wo.displayName = "Toast.Close";
|
|
2578
|
+
function To(e) {
|
|
2579
|
+
return /* @__PURE__ */ g(E.Action, {
|
|
2580
|
+
...e,
|
|
2450
2581
|
"data-imf-ui-component": "Toast.Action",
|
|
2451
|
-
className: (
|
|
2582
|
+
className: (n) => fo({ className: t(e.className, n) })
|
|
2452
2583
|
});
|
|
2453
2584
|
}
|
|
2454
|
-
|
|
2455
|
-
function
|
|
2456
|
-
return /* @__PURE__ */
|
|
2457
|
-
...
|
|
2585
|
+
To.displayName = "Toast.Action";
|
|
2586
|
+
function Eo(e) {
|
|
2587
|
+
return /* @__PURE__ */ g(E.Positioner, {
|
|
2588
|
+
...e,
|
|
2458
2589
|
"data-imf-ui-component": "Toast.Positioner",
|
|
2459
|
-
className: (
|
|
2590
|
+
className: (n) => po({ className: t(e.className, n) })
|
|
2460
2591
|
});
|
|
2461
2592
|
}
|
|
2462
|
-
|
|
2463
|
-
function
|
|
2464
|
-
return /* @__PURE__ */
|
|
2465
|
-
...
|
|
2593
|
+
Eo.displayName = "Toast.Positioner";
|
|
2594
|
+
function Do(e) {
|
|
2595
|
+
return /* @__PURE__ */ g(E.Arrow, {
|
|
2596
|
+
...e,
|
|
2466
2597
|
"data-imf-ui-component": "Toast.Arrow",
|
|
2467
|
-
className: (
|
|
2598
|
+
className: (n) => mo({ className: t(e.className, n) })
|
|
2468
2599
|
});
|
|
2469
2600
|
}
|
|
2470
|
-
|
|
2601
|
+
Do.displayName = "Toast.Arrow";
|
|
2471
2602
|
//#endregion
|
|
2472
2603
|
//#region src/components/toast/toast.meta.ts
|
|
2473
|
-
var
|
|
2604
|
+
var Oo = {
|
|
2474
2605
|
name: "Toast",
|
|
2475
|
-
category:
|
|
2606
|
+
category: l.display,
|
|
2476
2607
|
status: "experimental",
|
|
2477
2608
|
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.",
|
|
2478
2609
|
origin: "adapted",
|
|
@@ -2497,18 +2628,18 @@ var ao = {
|
|
|
2497
2628
|
variantPrimary: "imf-ui-tooltip-module-variantPrimary",
|
|
2498
2629
|
variantSecondary: "imf-ui-tooltip-module-variantSecondary",
|
|
2499
2630
|
viewport: "imf-ui-tooltip-module-viewport"
|
|
2500
|
-
},
|
|
2501
|
-
Arrow: () =>
|
|
2502
|
-
Inline: () =>
|
|
2503
|
-
Popup: () =>
|
|
2504
|
-
Portal: () =>
|
|
2505
|
-
Positioner: () =>
|
|
2506
|
-
Provider: () =>
|
|
2507
|
-
Root: () =>
|
|
2508
|
-
Trigger: () =>
|
|
2509
|
-
Viewport: () =>
|
|
2510
|
-
createHandle: () =>
|
|
2511
|
-
}),
|
|
2631
|
+
}, ko = /* @__PURE__ */ e({
|
|
2632
|
+
Arrow: () => Ho,
|
|
2633
|
+
Inline: () => Wo,
|
|
2634
|
+
Popup: () => Vo,
|
|
2635
|
+
Portal: () => zo,
|
|
2636
|
+
Positioner: () => Bo,
|
|
2637
|
+
Provider: () => Io,
|
|
2638
|
+
Root: () => Lo,
|
|
2639
|
+
Trigger: () => Ro,
|
|
2640
|
+
Viewport: () => Uo,
|
|
2641
|
+
createHandle: () => Fo
|
|
2642
|
+
}), Ao = p(X.trigger, { variants: {
|
|
2512
2643
|
variant: {
|
|
2513
2644
|
primary: X.variantPrimary,
|
|
2514
2645
|
secondary: X.variantSecondary,
|
|
@@ -2516,90 +2647,90 @@ var ao = {
|
|
|
2516
2647
|
negative: X.variantNegative
|
|
2517
2648
|
},
|
|
2518
2649
|
inline: { true: X.triggerInline }
|
|
2519
|
-
} }),
|
|
2650
|
+
} }), jo = p(X.positioner), Mo = p(X.popup, { variants: { variant: {
|
|
2520
2651
|
primary: X.popupVariantPrimary,
|
|
2521
2652
|
secondary: X.popupVariantSecondary,
|
|
2522
2653
|
positive: X.popupVariantPositive,
|
|
2523
2654
|
negative: X.popupVariantNegative
|
|
2524
|
-
} } }),
|
|
2525
|
-
function
|
|
2526
|
-
return /* @__PURE__ */
|
|
2655
|
+
} } }), No = p(X.arrow), Po = p(X.viewport), Fo = D.createHandle;
|
|
2656
|
+
function Io(e) {
|
|
2657
|
+
return /* @__PURE__ */ g(D.Provider, { ...e });
|
|
2527
2658
|
}
|
|
2528
|
-
|
|
2529
|
-
function
|
|
2530
|
-
return /* @__PURE__ */
|
|
2659
|
+
Io.displayName = "Tooltip.Provider";
|
|
2660
|
+
function Lo(e) {
|
|
2661
|
+
return /* @__PURE__ */ g(D.Root, { ...e });
|
|
2531
2662
|
}
|
|
2532
|
-
|
|
2533
|
-
function
|
|
2534
|
-
return /* @__PURE__ */
|
|
2663
|
+
Lo.displayName = "Tooltip.Root";
|
|
2664
|
+
function Ro({ variant: e = "secondary", inline: n = !1, delay: r = 250, ...i }) {
|
|
2665
|
+
return /* @__PURE__ */ g(D.Trigger, {
|
|
2535
2666
|
...i,
|
|
2536
|
-
delay:
|
|
2667
|
+
delay: r,
|
|
2537
2668
|
"data-imf-ui-component": "Tooltip.Trigger",
|
|
2538
|
-
className: (
|
|
2669
|
+
className: (r) => Ao({
|
|
2539
2670
|
variant: e,
|
|
2540
|
-
inline:
|
|
2541
|
-
className:
|
|
2671
|
+
inline: n,
|
|
2672
|
+
className: t(i.className, r)
|
|
2542
2673
|
})
|
|
2543
2674
|
});
|
|
2544
2675
|
}
|
|
2545
|
-
|
|
2546
|
-
function
|
|
2547
|
-
return /* @__PURE__ */
|
|
2676
|
+
Ro.displayName = "Tooltip.Trigger";
|
|
2677
|
+
function zo(e) {
|
|
2678
|
+
return /* @__PURE__ */ g(D.Portal, { ...e });
|
|
2548
2679
|
}
|
|
2549
|
-
|
|
2550
|
-
function
|
|
2551
|
-
return /* @__PURE__ */
|
|
2680
|
+
zo.displayName = "Tooltip.Portal";
|
|
2681
|
+
function Bo({ sideOffset: e = 13, ...n }) {
|
|
2682
|
+
return /* @__PURE__ */ g(D.Positioner, {
|
|
2552
2683
|
...n,
|
|
2553
|
-
sideOffset:
|
|
2684
|
+
sideOffset: e,
|
|
2554
2685
|
"data-imf-ui-component": "Tooltip.Positioner",
|
|
2555
|
-
className: (
|
|
2686
|
+
className: (e) => jo({ className: t(n.className, e) })
|
|
2556
2687
|
});
|
|
2557
2688
|
}
|
|
2558
|
-
|
|
2559
|
-
function
|
|
2560
|
-
return /* @__PURE__ */
|
|
2689
|
+
Bo.displayName = "Tooltip.Positioner";
|
|
2690
|
+
function Vo({ variant: e, ...n }) {
|
|
2691
|
+
return /* @__PURE__ */ g(D.Popup, {
|
|
2561
2692
|
...n,
|
|
2562
2693
|
"data-imf-ui-component": "Tooltip.Popup",
|
|
2563
|
-
className: (
|
|
2564
|
-
variant:
|
|
2565
|
-
className:
|
|
2694
|
+
className: (r) => Mo({
|
|
2695
|
+
variant: e,
|
|
2696
|
+
className: t(n.className, r)
|
|
2566
2697
|
})
|
|
2567
2698
|
});
|
|
2568
2699
|
}
|
|
2569
|
-
|
|
2570
|
-
function
|
|
2571
|
-
return /* @__PURE__ */
|
|
2572
|
-
...
|
|
2700
|
+
Vo.displayName = "Tooltip.Popup";
|
|
2701
|
+
function Ho(e) {
|
|
2702
|
+
return /* @__PURE__ */ g(D.Arrow, {
|
|
2703
|
+
...e,
|
|
2573
2704
|
"data-imf-ui-component": "Tooltip.Arrow",
|
|
2574
|
-
className: (
|
|
2705
|
+
className: (n) => No({ className: t(e.className, n) })
|
|
2575
2706
|
});
|
|
2576
2707
|
}
|
|
2577
|
-
|
|
2578
|
-
function
|
|
2579
|
-
return /* @__PURE__ */
|
|
2580
|
-
...
|
|
2708
|
+
Ho.displayName = "Tooltip.Arrow";
|
|
2709
|
+
function Uo(e) {
|
|
2710
|
+
return /* @__PURE__ */ g(D.Viewport, {
|
|
2711
|
+
...e,
|
|
2581
2712
|
"data-imf-ui-component": "Tooltip.Viewport",
|
|
2582
|
-
className: (
|
|
2713
|
+
className: (n) => Po({ className: t(e.className, n) })
|
|
2583
2714
|
});
|
|
2584
2715
|
}
|
|
2585
|
-
|
|
2586
|
-
function
|
|
2587
|
-
return /* @__PURE__ */
|
|
2716
|
+
Uo.displayName = "Tooltip.Viewport";
|
|
2717
|
+
function Wo({ trigger: e, children: t, delay: n = 150, side: r = "top", sideOffset: i = 13 }) {
|
|
2718
|
+
return /* @__PURE__ */ _(Lo, { children: [/* @__PURE__ */ g(Ro, {
|
|
2588
2719
|
inline: !0,
|
|
2589
2720
|
delay: n,
|
|
2590
2721
|
children: e
|
|
2591
|
-
}), /* @__PURE__ */
|
|
2722
|
+
}), /* @__PURE__ */ g(zo, { children: /* @__PURE__ */ g(Bo, {
|
|
2592
2723
|
side: r,
|
|
2593
2724
|
sideOffset: i,
|
|
2594
|
-
children: /* @__PURE__ */
|
|
2725
|
+
children: /* @__PURE__ */ g(Vo, { children: t })
|
|
2595
2726
|
}) })] });
|
|
2596
2727
|
}
|
|
2597
|
-
|
|
2728
|
+
Wo.displayName = "Tooltip.Inline";
|
|
2598
2729
|
//#endregion
|
|
2599
2730
|
//#region src/components/tooltip/tooltip.meta.ts
|
|
2600
|
-
var
|
|
2731
|
+
var Go = {
|
|
2601
2732
|
name: "Tooltip",
|
|
2602
|
-
category:
|
|
2733
|
+
category: l.display,
|
|
2603
2734
|
status: "stable",
|
|
2604
2735
|
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.",
|
|
2605
2736
|
origin: "adapted",
|
|
@@ -2637,22 +2768,22 @@ var Co = {
|
|
|
2637
2768
|
variantPrimary: "imf-ui-typo-module-variantPrimary",
|
|
2638
2769
|
variantSupport: "imf-ui-typo-module-variantSupport",
|
|
2639
2770
|
variantWarning: "imf-ui-typo-module-variantWarning"
|
|
2640
|
-
},
|
|
2641
|
-
Blockquote: () =>
|
|
2642
|
-
Detail: () =>
|
|
2643
|
-
H1: () =>
|
|
2644
|
-
H2: () =>
|
|
2645
|
-
H3: () =>
|
|
2646
|
-
H4: () =>
|
|
2647
|
-
Highlight: () =>
|
|
2648
|
-
InlineCode: () =>
|
|
2649
|
-
Lead: () =>
|
|
2650
|
-
Link: () =>
|
|
2651
|
-
OrderedList: () =>
|
|
2652
|
-
P: () =>
|
|
2653
|
-
Small: () =>
|
|
2654
|
-
UnorderedList: () =>
|
|
2655
|
-
}), Q =
|
|
2771
|
+
}, Ko = /* @__PURE__ */ e({
|
|
2772
|
+
Blockquote: () => ts,
|
|
2773
|
+
Detail: () => $o,
|
|
2774
|
+
H1: () => qo,
|
|
2775
|
+
H2: () => Jo,
|
|
2776
|
+
H3: () => Yo,
|
|
2777
|
+
H4: () => Xo,
|
|
2778
|
+
Highlight: () => rs,
|
|
2779
|
+
InlineCode: () => ns,
|
|
2780
|
+
Lead: () => Qo,
|
|
2781
|
+
Link: () => is,
|
|
2782
|
+
OrderedList: () => as,
|
|
2783
|
+
P: () => Zo,
|
|
2784
|
+
Small: () => es,
|
|
2785
|
+
UnorderedList: () => os
|
|
2786
|
+
}), Q = p("", { variants: { variant: {
|
|
2656
2787
|
main: Z.variantMain,
|
|
2657
2788
|
support: Z.variantSupport,
|
|
2658
2789
|
minor: Z.variantMinor,
|
|
@@ -2666,239 +2797,239 @@ var Co = {
|
|
|
2666
2797
|
"accent-1": Z.variantAccent1,
|
|
2667
2798
|
"accent-2": Z.variantAccent2,
|
|
2668
2799
|
"accent-3": Z.variantAccent3
|
|
2669
|
-
} } }), $ =
|
|
2800
|
+
} } }), $ = p("", { variants: { spacing: {
|
|
2670
2801
|
default: Z.spacingDefault,
|
|
2671
2802
|
none: Z.spacingNone
|
|
2672
2803
|
} } });
|
|
2673
|
-
function
|
|
2804
|
+
function qo({ variant: e = "primary", spacing: t = "default", render: n, ...r }) {
|
|
2674
2805
|
return w({
|
|
2675
2806
|
defaultTagName: "h1",
|
|
2676
|
-
render:
|
|
2807
|
+
render: n,
|
|
2677
2808
|
props: {
|
|
2678
|
-
...C(
|
|
2809
|
+
...C(r, { className: Q({
|
|
2679
2810
|
variant: e,
|
|
2680
|
-
className:
|
|
2811
|
+
className: m(Z.h1, $({ spacing: t }))
|
|
2681
2812
|
}) }),
|
|
2682
2813
|
"data-imf-ui-component": "Typo.H1"
|
|
2683
2814
|
}
|
|
2684
2815
|
});
|
|
2685
2816
|
}
|
|
2686
|
-
|
|
2687
|
-
function
|
|
2817
|
+
qo.displayName = "Typo.H1";
|
|
2818
|
+
function Jo({ variant: e = "primary", spacing: t = "default", render: n, ...r }) {
|
|
2688
2819
|
return w({
|
|
2689
2820
|
defaultTagName: "h2",
|
|
2690
|
-
render:
|
|
2821
|
+
render: n,
|
|
2691
2822
|
props: {
|
|
2692
|
-
...C(
|
|
2823
|
+
...C(r, { className: Q({
|
|
2693
2824
|
variant: e,
|
|
2694
|
-
className:
|
|
2825
|
+
className: m(Z.h2, $({ spacing: t }))
|
|
2695
2826
|
}) }),
|
|
2696
2827
|
"data-imf-ui-component": "Typo.H2"
|
|
2697
2828
|
}
|
|
2698
2829
|
});
|
|
2699
2830
|
}
|
|
2700
|
-
|
|
2701
|
-
function
|
|
2831
|
+
Jo.displayName = "Typo.H2";
|
|
2832
|
+
function Yo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2702
2833
|
return w({
|
|
2703
2834
|
defaultTagName: "h3",
|
|
2704
|
-
render:
|
|
2835
|
+
render: n,
|
|
2705
2836
|
props: {
|
|
2706
|
-
...C(
|
|
2837
|
+
...C(r, { className: Q({
|
|
2707
2838
|
variant: e,
|
|
2708
|
-
className:
|
|
2839
|
+
className: m(Z.h3, $({ spacing: t }))
|
|
2709
2840
|
}) }),
|
|
2710
2841
|
"data-imf-ui-component": "Typo.H3"
|
|
2711
2842
|
}
|
|
2712
2843
|
});
|
|
2713
2844
|
}
|
|
2714
|
-
|
|
2715
|
-
function
|
|
2845
|
+
Yo.displayName = "Typo.H3";
|
|
2846
|
+
function Xo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2716
2847
|
return w({
|
|
2717
2848
|
defaultTagName: "h4",
|
|
2718
|
-
render:
|
|
2849
|
+
render: n,
|
|
2719
2850
|
props: {
|
|
2720
|
-
...C(
|
|
2851
|
+
...C(r, { className: Q({
|
|
2721
2852
|
variant: e,
|
|
2722
|
-
className:
|
|
2853
|
+
className: m(Z.h4, $({ spacing: t }))
|
|
2723
2854
|
}) }),
|
|
2724
2855
|
"data-imf-ui-component": "Typo.H4"
|
|
2725
2856
|
}
|
|
2726
2857
|
});
|
|
2727
2858
|
}
|
|
2728
|
-
|
|
2729
|
-
function
|
|
2859
|
+
Xo.displayName = "Typo.H4";
|
|
2860
|
+
function Zo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2730
2861
|
return w({
|
|
2731
2862
|
defaultTagName: "p",
|
|
2732
|
-
render:
|
|
2863
|
+
render: n,
|
|
2733
2864
|
props: {
|
|
2734
|
-
...C(
|
|
2865
|
+
...C(r, { className: Q({
|
|
2735
2866
|
variant: e,
|
|
2736
|
-
className:
|
|
2867
|
+
className: m(Z.p, $({ spacing: t }))
|
|
2737
2868
|
}) }),
|
|
2738
2869
|
"data-imf-ui-component": "Typo.P"
|
|
2739
2870
|
}
|
|
2740
2871
|
});
|
|
2741
2872
|
}
|
|
2742
|
-
|
|
2743
|
-
function
|
|
2873
|
+
Zo.displayName = "Typo.P";
|
|
2874
|
+
function Qo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2744
2875
|
return w({
|
|
2745
2876
|
defaultTagName: "p",
|
|
2746
|
-
render:
|
|
2877
|
+
render: n,
|
|
2747
2878
|
props: {
|
|
2748
|
-
...C(
|
|
2879
|
+
...C(r, { className: Q({
|
|
2749
2880
|
variant: e,
|
|
2750
|
-
className:
|
|
2881
|
+
className: m(Z.lead, $({ spacing: t }))
|
|
2751
2882
|
}) }),
|
|
2752
2883
|
"data-imf-ui-component": "Typo.Lead"
|
|
2753
2884
|
}
|
|
2754
2885
|
});
|
|
2755
2886
|
}
|
|
2756
|
-
|
|
2757
|
-
function
|
|
2887
|
+
Qo.displayName = "Typo.Lead";
|
|
2888
|
+
function $o({ variant: e = "main", render: t, ...n }) {
|
|
2758
2889
|
return w({
|
|
2759
2890
|
defaultTagName: "p",
|
|
2760
|
-
render:
|
|
2891
|
+
render: t,
|
|
2761
2892
|
props: {
|
|
2762
|
-
...C(
|
|
2893
|
+
...C(n, { className: Q({
|
|
2763
2894
|
variant: e,
|
|
2764
|
-
className:
|
|
2895
|
+
className: m(Z.detail)
|
|
2765
2896
|
}) }),
|
|
2766
2897
|
"data-imf-ui-component": "Typo.Detail"
|
|
2767
2898
|
}
|
|
2768
2899
|
});
|
|
2769
2900
|
}
|
|
2770
|
-
|
|
2771
|
-
function
|
|
2901
|
+
$o.displayName = "Typo.Detail";
|
|
2902
|
+
function es({ variant: e = "minor", render: t, ...n }) {
|
|
2772
2903
|
return w({
|
|
2773
2904
|
defaultTagName: "small",
|
|
2774
|
-
render:
|
|
2905
|
+
render: t,
|
|
2775
2906
|
props: {
|
|
2776
|
-
...C(
|
|
2907
|
+
...C(n, { className: Q({
|
|
2777
2908
|
variant: e,
|
|
2778
|
-
className:
|
|
2909
|
+
className: m(Z.small)
|
|
2779
2910
|
}) }),
|
|
2780
2911
|
"data-imf-ui-component": "Typo.Small"
|
|
2781
2912
|
}
|
|
2782
2913
|
});
|
|
2783
2914
|
}
|
|
2784
|
-
|
|
2785
|
-
function
|
|
2915
|
+
es.displayName = "Typo.Small";
|
|
2916
|
+
function ts({ variant: e = "support", spacing: t = "default", render: n, ...r }) {
|
|
2786
2917
|
return w({
|
|
2787
2918
|
defaultTagName: "blockquote",
|
|
2788
|
-
render:
|
|
2919
|
+
render: n,
|
|
2789
2920
|
props: {
|
|
2790
|
-
...C(
|
|
2921
|
+
...C(r, { className: Q({
|
|
2791
2922
|
variant: e,
|
|
2792
|
-
className:
|
|
2923
|
+
className: m(Z.blockquote, $({ spacing: t }))
|
|
2793
2924
|
}) }),
|
|
2794
2925
|
"data-imf-ui-component": "Typo.Blockquote"
|
|
2795
2926
|
}
|
|
2796
2927
|
});
|
|
2797
2928
|
}
|
|
2798
|
-
|
|
2799
|
-
function
|
|
2800
|
-
return /* @__PURE__ */
|
|
2929
|
+
ts.displayName = "Typo.Blockquote";
|
|
2930
|
+
function ns(e) {
|
|
2931
|
+
return /* @__PURE__ */ g(ve, { ...e });
|
|
2801
2932
|
}
|
|
2802
|
-
|
|
2803
|
-
function
|
|
2933
|
+
ns.displayName = "Typo.InlineCode";
|
|
2934
|
+
function rs({ variant: e = "oncolor", render: t, ...n }) {
|
|
2804
2935
|
return w({
|
|
2805
2936
|
defaultTagName: "mark",
|
|
2806
|
-
render:
|
|
2937
|
+
render: t,
|
|
2807
2938
|
props: {
|
|
2808
|
-
...C(
|
|
2939
|
+
...C(n, { className: Q({
|
|
2809
2940
|
variant: e,
|
|
2810
|
-
className:
|
|
2941
|
+
className: m(Z.highlight)
|
|
2811
2942
|
}) }),
|
|
2812
2943
|
"data-imf-ui-component": "Typo.Highlight"
|
|
2813
2944
|
}
|
|
2814
2945
|
});
|
|
2815
2946
|
}
|
|
2816
|
-
|
|
2817
|
-
function
|
|
2947
|
+
rs.displayName = "Typo.Highlight";
|
|
2948
|
+
function is({ variant: e = "primary", kind: t = "external", render: n, ...r }) {
|
|
2818
2949
|
return w({
|
|
2819
2950
|
defaultTagName: "a",
|
|
2820
|
-
render:
|
|
2951
|
+
render: n,
|
|
2821
2952
|
props: {
|
|
2822
2953
|
...C(t === "external" ? {
|
|
2823
2954
|
target: "_blank",
|
|
2824
2955
|
rel: "noreferrer"
|
|
2825
|
-
} : {},
|
|
2956
|
+
} : {}, r, {
|
|
2826
2957
|
className: Q({
|
|
2827
2958
|
variant: e,
|
|
2828
|
-
className:
|
|
2959
|
+
className: m(Z.link)
|
|
2829
2960
|
}),
|
|
2830
|
-
children:
|
|
2961
|
+
children: r.children
|
|
2831
2962
|
}),
|
|
2832
2963
|
"data-imf-ui-component": "Typo.Link",
|
|
2833
2964
|
"data-kind": t
|
|
2834
2965
|
}
|
|
2835
2966
|
});
|
|
2836
2967
|
}
|
|
2837
|
-
|
|
2838
|
-
function
|
|
2968
|
+
is.displayName = "Typo.Link";
|
|
2969
|
+
function as({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2839
2970
|
return w({
|
|
2840
2971
|
defaultTagName: "ol",
|
|
2841
|
-
render:
|
|
2972
|
+
render: n,
|
|
2842
2973
|
props: {
|
|
2843
|
-
...C(
|
|
2974
|
+
...C(r, { className: Q({
|
|
2844
2975
|
variant: e,
|
|
2845
|
-
className:
|
|
2976
|
+
className: m(Z.orderedList, $({ spacing: t }))
|
|
2846
2977
|
}) }),
|
|
2847
2978
|
"data-imf-ui-component": "Typo.OrderedList"
|
|
2848
2979
|
}
|
|
2849
2980
|
});
|
|
2850
2981
|
}
|
|
2851
|
-
|
|
2852
|
-
function
|
|
2982
|
+
as.displayName = "Typo.OrderedList";
|
|
2983
|
+
function os({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2853
2984
|
return w({
|
|
2854
2985
|
defaultTagName: "ul",
|
|
2855
|
-
render:
|
|
2986
|
+
render: n,
|
|
2856
2987
|
props: {
|
|
2857
|
-
...C(
|
|
2988
|
+
...C(r, { className: Q({
|
|
2858
2989
|
variant: e,
|
|
2859
|
-
className:
|
|
2990
|
+
className: m(Z.unorderedList, $({ spacing: t }))
|
|
2860
2991
|
}) }),
|
|
2861
2992
|
"data-imf-ui-component": "Typo.UnorderedList"
|
|
2862
2993
|
}
|
|
2863
2994
|
});
|
|
2864
2995
|
}
|
|
2865
|
-
|
|
2996
|
+
os.displayName = "Typo.UnorderedList";
|
|
2866
2997
|
//#endregion
|
|
2867
2998
|
//#region src/components/typo/typo.meta.ts
|
|
2868
|
-
var
|
|
2999
|
+
var ss = {
|
|
2869
3000
|
name: "Typo",
|
|
2870
|
-
category:
|
|
3001
|
+
category: l.display,
|
|
2871
3002
|
status: "stable",
|
|
2872
3003
|
namespace: !0,
|
|
2873
3004
|
description: "Semantic text primitives for headings, paragraphs, lists, quotes, links, and inline code. The namespace uses native HTML elements and token-based text roles.",
|
|
2874
3005
|
origin: "native"
|
|
2875
|
-
},
|
|
3006
|
+
}, cs = we({
|
|
2876
3007
|
color: "currentColor",
|
|
2877
3008
|
width: "1.5em",
|
|
2878
3009
|
height: "1.5em",
|
|
2879
3010
|
strokeWidth: 1.5
|
|
2880
3011
|
});
|
|
2881
|
-
function
|
|
3012
|
+
function ls({ children: e, value: t }) {
|
|
2882
3013
|
let n = {
|
|
2883
|
-
...
|
|
3014
|
+
...Te(cs),
|
|
2884
3015
|
...t
|
|
2885
3016
|
};
|
|
2886
|
-
return /* @__PURE__ */
|
|
3017
|
+
return /* @__PURE__ */ g(cs, {
|
|
2887
3018
|
value: n,
|
|
2888
|
-
children: /* @__PURE__ */
|
|
3019
|
+
children: /* @__PURE__ */ g(Ce, {
|
|
2889
3020
|
iconProps: n,
|
|
2890
3021
|
children: e
|
|
2891
3022
|
})
|
|
2892
3023
|
});
|
|
2893
3024
|
}
|
|
2894
|
-
|
|
3025
|
+
ls.displayName = "IconConfig.Provider";
|
|
2895
3026
|
//#endregion
|
|
2896
3027
|
//#region src/provider/web-ui-provider.tsx
|
|
2897
|
-
function
|
|
2898
|
-
return
|
|
3028
|
+
function us({ children: e, icons: t, colorScheme: n }) {
|
|
3029
|
+
return ya({ value: n }), /* @__PURE__ */ g(ls, {
|
|
2899
3030
|
value: t,
|
|
2900
|
-
children: /* @__PURE__ */
|
|
3031
|
+
children: /* @__PURE__ */ _(_o, { children: [e, " "] })
|
|
2901
3032
|
});
|
|
2902
3033
|
}
|
|
2903
3034
|
//#endregion
|
|
2904
|
-
export {
|
|
3035
|
+
export { An as AppShell, Fe as Button, oi as Callout, Kn as Card, Ke as Checkbox, hi as Chip, ze as ChipLink, ge as Code, _i as Collapsible, l as ComponentCategories, Ue as CopyButton, er as Drawer, Qe as Field, mt as Fieldset, f as Icon, Ai as ImFusionLogo, xt as Input, Ei as Logo, Ca as NavigationMenu, Ct as NumberField, kr as Popover, a as Row, Bt as Select, ri as Separator, n as Slider, Pa as Spinner, r as Stack, o as Switch, Ia as Table, s as Tabs, ro as Toast, i as Toggle, c as ToggleGroup, ko as Tooltip, Ko as Typo, us as WebUIProvider, Gn as appShellMeta, Ie as buttonMeta, mi as calloutMeta, $n as cardMeta, Ze as checkboxMeta, Be as chipLinkMeta, gi as chipMeta, ye as codeMeta, wi as collapsibleMeta, W as config, We as copyButtonMeta, xe as cva, Se as cx, Or as drawerMeta, ft as fieldMeta, yt as fieldsetMeta, me as iconMeta, St as inputMeta, Di as logoMeta, wa as navigationMenuMeta, zt as numberFieldMeta, ei as popoverMeta, ti as rowMeta, Tn as selectMeta, ii as separatorMeta, En as sliderMeta, Fa as spinnerMeta, ai as stackMeta, Dn as switchMeta, to as tableMeta, no as tabsMeta, Oo as toastMeta, kn as toggleGroupMeta, On as toggleMeta, Go as tooltipMeta, ss as typoMeta, _e as useClipboard, ya as useColorScheme, xa as useMediaQuery };
|