@imfusion/web-ui 0.7.1 → 0.7.2-dev.10.gaae39295
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/components/navigation-menu/subs/link.d.ts +1 -4
- package/dist/index.js +503 -513
- package/dist/style.css +1 -1
- package/dist/tokens/control-registry.d.ts +5 -0
- package/dist/tokens/types.d.ts +1 -0
- package/dist/web-ui-cli.js +78 -72
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +1 -1
- package/src/llms/skills/imf-web-ui-update/SKILL.md +5 -0
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as e } from "./chunk-DmhlhrBa.js";
|
|
2
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-BS6rqrrA.js";
|
|
3
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
|
|
5
|
-
import { a as
|
|
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
|
|
15
|
-
import { NumberField as
|
|
16
|
-
import { Select as
|
|
17
|
-
import { Drawer as
|
|
18
|
-
import { Popover as
|
|
19
|
-
import { Separator as
|
|
20
|
-
import { mergeProps as
|
|
21
|
-
import { useRender as
|
|
22
|
-
import { Collapsible as
|
|
23
|
-
import { NavigationMenu as
|
|
24
|
-
import { Toast as
|
|
25
|
-
import { Tooltip as
|
|
26
|
-
var
|
|
4
|
+
import { At as ee, GT as u, Kv as te, Ma as ne, Na as re, Pm as ie, Qt as ae, Qv as oe, RA as se, Wk as ce, Xo as le, aE as ue, hn as de, iv as fe, r as d, rn as pe, sn as me, t as he, zk as ge } from "./icons-CaGCCwG-.js";
|
|
5
|
+
import { a as _e, o as ve, r as ye, t as be } from "./code-D2lwxHgd.js";
|
|
6
|
+
import { Button as xe } from "@base-ui/react/button";
|
|
7
|
+
import { cva as Se, cva as f, cx as Ce, cx as p } from "class-variance-authority";
|
|
8
|
+
import { Fragment as we, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
9
|
+
import { IconoirProvider as Te } from "iconoir-react";
|
|
10
|
+
import { createContext as Ee, createElement as De, useContext as Oe, useEffect as ke, useState as g } from "react";
|
|
11
|
+
import { Checkbox as Ae } from "@base-ui/react/checkbox";
|
|
12
|
+
import { Field as _ } from "@base-ui/react/field";
|
|
13
|
+
import { Fieldset as je } from "@base-ui/react/fieldset";
|
|
14
|
+
import { Input as Me } from "@base-ui/react/input";
|
|
15
|
+
import { NumberField as v } from "@base-ui/react/number-field";
|
|
16
|
+
import { Select as y } from "@base-ui/react/select";
|
|
17
|
+
import { Drawer as b } from "@base-ui/react/drawer";
|
|
18
|
+
import { Popover as x } from "@base-ui/react/popover";
|
|
19
|
+
import { Separator as Ne } from "@base-ui/react/separator";
|
|
20
|
+
import { mergeProps as S } from "@base-ui/react/merge-props";
|
|
21
|
+
import { useRender as C } from "@base-ui/react/use-render";
|
|
22
|
+
import { Collapsible as Pe } from "@base-ui/react/collapsible";
|
|
23
|
+
import { NavigationMenu as w } from "@base-ui/react/navigation-menu";
|
|
24
|
+
import { Toast as T } from "@base-ui/react/toast";
|
|
25
|
+
import { Tooltip as E } from "@base-ui/react/tooltip";
|
|
26
|
+
var D = {
|
|
27
27
|
chamfer: "imf-ui-button-module-chamfer",
|
|
28
28
|
contextOncolor: "imf-ui-button-module-contextOncolor",
|
|
29
29
|
endIcon: "imf-ui-button-module-endIcon",
|
|
@@ -44,42 +44,42 @@ var A = {
|
|
|
44
44
|
variantPositive: "imf-ui-button-module-variantPositive",
|
|
45
45
|
variantPrimary: "imf-ui-button-module-variantPrimary",
|
|
46
46
|
variantSecondary: "imf-ui-button-module-variantSecondary"
|
|
47
|
-
},
|
|
47
|
+
}, Fe = f(D.root, { variants: {
|
|
48
48
|
variant: {
|
|
49
|
-
primary:
|
|
50
|
-
secondary:
|
|
51
|
-
positive:
|
|
52
|
-
negative:
|
|
53
|
-
outline:
|
|
54
|
-
ghost:
|
|
49
|
+
primary: D.variantPrimary,
|
|
50
|
+
secondary: D.variantSecondary,
|
|
51
|
+
positive: D.variantPositive,
|
|
52
|
+
negative: D.variantNegative,
|
|
53
|
+
outline: D.variantOutline,
|
|
54
|
+
ghost: D.variantGhost
|
|
55
55
|
},
|
|
56
56
|
size: {
|
|
57
|
-
sm:
|
|
58
|
-
md:
|
|
59
|
-
lg:
|
|
60
|
-
hero:
|
|
57
|
+
sm: D.sizeSm,
|
|
58
|
+
md: D.sizeMd,
|
|
59
|
+
lg: D.sizeLg,
|
|
60
|
+
hero: D.sizeHero
|
|
61
61
|
},
|
|
62
62
|
chamfer: {
|
|
63
63
|
false: null,
|
|
64
|
-
true:
|
|
64
|
+
true: D.chamfer
|
|
65
65
|
},
|
|
66
66
|
radius: {
|
|
67
67
|
none: null,
|
|
68
|
-
sm:
|
|
69
|
-
md:
|
|
70
|
-
lg:
|
|
71
|
-
round:
|
|
68
|
+
sm: D.radiusSm,
|
|
69
|
+
md: D.radiusMd,
|
|
70
|
+
lg: D.radiusLg,
|
|
71
|
+
round: D.radiusRound
|
|
72
72
|
},
|
|
73
73
|
context: {
|
|
74
74
|
default: null,
|
|
75
|
-
oncolor:
|
|
75
|
+
oncolor: D.contextOncolor
|
|
76
76
|
}
|
|
77
77
|
} });
|
|
78
|
-
function
|
|
79
|
-
return /* @__PURE__ */
|
|
78
|
+
function Ie({ 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__ */ h(xe, {
|
|
80
80
|
...l,
|
|
81
81
|
"data-imf-ui-component": "Button",
|
|
82
|
-
className: (o) =>
|
|
82
|
+
className: (o) => Fe({
|
|
83
83
|
variant: e,
|
|
84
84
|
size: n,
|
|
85
85
|
chamfer: i,
|
|
@@ -88,17 +88,17 @@ function Ne({ variant: e = "primary", size: n = "md", context: r = "default", ch
|
|
|
88
88
|
className: t(l.className, o)
|
|
89
89
|
}),
|
|
90
90
|
children: [
|
|
91
|
-
o != null && /* @__PURE__ */
|
|
92
|
-
className:
|
|
91
|
+
o != null && /* @__PURE__ */ m("span", {
|
|
92
|
+
className: D.startIcon,
|
|
93
93
|
"aria-hidden": !0,
|
|
94
94
|
children: o
|
|
95
95
|
}),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
className:
|
|
96
|
+
/* @__PURE__ */ m("span", {
|
|
97
|
+
className: D.label,
|
|
98
98
|
children: c
|
|
99
99
|
}),
|
|
100
|
-
s != null && /* @__PURE__ */
|
|
101
|
-
className:
|
|
100
|
+
s != null && /* @__PURE__ */ m("span", {
|
|
101
|
+
className: D.endIcon,
|
|
102
102
|
"aria-hidden": !0,
|
|
103
103
|
children: s
|
|
104
104
|
})
|
|
@@ -107,7 +107,7 @@ function Ne({ variant: e = "primary", size: n = "md", context: r = "default", ch
|
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/button/button.meta.ts
|
|
110
|
-
var
|
|
110
|
+
var Le = {
|
|
111
111
|
name: "Button",
|
|
112
112
|
category: l.buttons,
|
|
113
113
|
status: "stable",
|
|
@@ -119,7 +119,7 @@ var Pe = {
|
|
|
119
119
|
docLink: "https://base-ui.com/react/components/button",
|
|
120
120
|
llmDocLink: "https://base-ui.com/react/components/button.md"
|
|
121
121
|
}
|
|
122
|
-
},
|
|
122
|
+
}, O = {
|
|
123
123
|
appearanceOutline: "imf-ui-chip-module-appearanceOutline",
|
|
124
124
|
appearanceSolid: "imf-ui-chip-module-appearanceSolid",
|
|
125
125
|
appearanceSubtle: "imf-ui-chip-module-appearanceSubtle",
|
|
@@ -137,39 +137,39 @@ var Pe = {
|
|
|
137
137
|
variantPrimary: "imf-ui-chip-module-variantPrimary",
|
|
138
138
|
variantSupport: "imf-ui-chip-module-variantSupport",
|
|
139
139
|
variantWarning: "imf-ui-chip-module-variantWarning"
|
|
140
|
-
},
|
|
140
|
+
}, Re = f(O.root, { variants: {
|
|
141
141
|
variant: {
|
|
142
|
-
main:
|
|
143
|
-
support:
|
|
144
|
-
minor:
|
|
145
|
-
brand:
|
|
146
|
-
primary:
|
|
147
|
-
negative:
|
|
148
|
-
positive:
|
|
149
|
-
warning:
|
|
150
|
-
info:
|
|
151
|
-
"accent-1":
|
|
152
|
-
"accent-2":
|
|
153
|
-
"accent-3":
|
|
142
|
+
main: O.variantMain,
|
|
143
|
+
support: O.variantSupport,
|
|
144
|
+
minor: O.variantMinor,
|
|
145
|
+
brand: O.variantBrand,
|
|
146
|
+
primary: O.variantPrimary,
|
|
147
|
+
negative: O.variantNegative,
|
|
148
|
+
positive: O.variantPositive,
|
|
149
|
+
warning: O.variantWarning,
|
|
150
|
+
info: O.variantInfo,
|
|
151
|
+
"accent-1": O.variantAccent1,
|
|
152
|
+
"accent-2": O.variantAccent2,
|
|
153
|
+
"accent-3": O.variantAccent3
|
|
154
154
|
},
|
|
155
155
|
appearance: {
|
|
156
|
-
outline:
|
|
157
|
-
solid:
|
|
158
|
-
subtle:
|
|
156
|
+
outline: O.appearanceOutline,
|
|
157
|
+
solid: O.appearanceSolid,
|
|
158
|
+
subtle: O.appearanceSubtle
|
|
159
159
|
},
|
|
160
160
|
inline: {
|
|
161
161
|
false: null,
|
|
162
|
-
true:
|
|
162
|
+
true: O.inline
|
|
163
163
|
}
|
|
164
|
-
} }),
|
|
164
|
+
} }), ze = {
|
|
165
165
|
icon: "imf-ui-chip-link-module-icon",
|
|
166
166
|
root: "imf-ui-chip-link-module-root"
|
|
167
167
|
};
|
|
168
168
|
//#endregion
|
|
169
169
|
//#region src/components/chip-link/chip-link.tsx
|
|
170
|
-
function
|
|
171
|
-
let s = r === "external" ?
|
|
172
|
-
return /* @__PURE__ */
|
|
170
|
+
function Be({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kind: r = "external", className: i, children: a, ...o }) {
|
|
171
|
+
let s = r === "external" ? de : ae;
|
|
172
|
+
return /* @__PURE__ */ h("a", {
|
|
173
173
|
...r === "external" ? {
|
|
174
174
|
target: "_blank",
|
|
175
175
|
rel: "noreferrer"
|
|
@@ -177,16 +177,16 @@ function Le({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kin
|
|
|
177
177
|
...o,
|
|
178
178
|
"data-imf-ui-component": "ChipLink",
|
|
179
179
|
"data-kind": r,
|
|
180
|
-
className:
|
|
180
|
+
className: Re({
|
|
181
181
|
variant: e,
|
|
182
182
|
appearance: t,
|
|
183
183
|
inline: n,
|
|
184
|
-
className:
|
|
184
|
+
className: p(ze.root, i)
|
|
185
185
|
}),
|
|
186
|
-
children: [a, /* @__PURE__ */
|
|
187
|
-
className:
|
|
186
|
+
children: [a, /* @__PURE__ */ m("span", {
|
|
187
|
+
className: ze.icon,
|
|
188
188
|
"aria-hidden": !0,
|
|
189
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ m(d, {
|
|
190
190
|
glyph: s,
|
|
191
191
|
size: 12
|
|
192
192
|
})
|
|
@@ -195,24 +195,24 @@ function Le({ variant: e = "info", appearance: t = "subtle", inline: n = !1, kin
|
|
|
195
195
|
}
|
|
196
196
|
//#endregion
|
|
197
197
|
//#region src/components/chip-link/chip-link.meta.ts
|
|
198
|
-
var
|
|
198
|
+
var Ve = {
|
|
199
199
|
name: "ChipLink",
|
|
200
200
|
category: l.buttons,
|
|
201
201
|
status: "stable",
|
|
202
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.",
|
|
203
203
|
origin: "native"
|
|
204
|
-
},
|
|
205
|
-
function
|
|
206
|
-
let { copied: s, copy: c } =
|
|
207
|
-
return /* @__PURE__ */
|
|
204
|
+
}, He = { root: "imf-ui-copy-button-module-root" }, Ue = 1500;
|
|
205
|
+
function We({ value: e, label: n = "Copy", copiedLabel: r = "Copied", variant: i = "secondary", size: a = "sm", ...o }) {
|
|
206
|
+
let { copied: s, copy: c } = ve({ timeout: Ue }), l = s ? ne : le;
|
|
207
|
+
return /* @__PURE__ */ m(Ie, {
|
|
208
208
|
...o,
|
|
209
209
|
variant: i,
|
|
210
210
|
size: a,
|
|
211
211
|
"data-copied": s || void 0,
|
|
212
212
|
"aria-label": s ? r : n,
|
|
213
213
|
onClick: () => c(e),
|
|
214
|
-
className: (e) =>
|
|
215
|
-
children: /* @__PURE__ */
|
|
214
|
+
className: (e) => p(He.root, t(o.className, e)),
|
|
215
|
+
children: /* @__PURE__ */ m(d, {
|
|
216
216
|
glyph: l,
|
|
217
217
|
size: 15,
|
|
218
218
|
strokeWidth: 2,
|
|
@@ -220,61 +220,61 @@ function Ve({ value: e, label: n = "Copy", copiedLabel: r = "Copied", variant: i
|
|
|
220
220
|
})
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
We.displayName = "CopyButton";
|
|
224
224
|
//#endregion
|
|
225
225
|
//#region src/components/copy-button/copy-button.meta.ts
|
|
226
|
-
var
|
|
226
|
+
var Ge = {
|
|
227
227
|
name: "CopyButton",
|
|
228
228
|
category: l.buttons,
|
|
229
229
|
status: "stable",
|
|
230
230
|
description: "Copies a value to the clipboard and briefly shows confirmation. Also called a copy-to-clipboard button; commonly used with Code.Block.",
|
|
231
231
|
origin: "native",
|
|
232
232
|
internalDependencies: ["Button"]
|
|
233
|
-
},
|
|
233
|
+
}, k = {
|
|
234
234
|
iconCheck: "imf-ui-checkbox-module-iconCheck",
|
|
235
235
|
iconIndeterminate: "imf-ui-checkbox-module-iconIndeterminate",
|
|
236
236
|
indicator: "imf-ui-checkbox-module-indicator",
|
|
237
237
|
root: "imf-ui-checkbox-module-root"
|
|
238
|
-
},
|
|
239
|
-
Indicator: () =>
|
|
240
|
-
Root: () =>
|
|
241
|
-
}),
|
|
242
|
-
function
|
|
243
|
-
return /* @__PURE__ */
|
|
238
|
+
}, Ke = /* @__PURE__ */ e({
|
|
239
|
+
Indicator: () => Xe,
|
|
240
|
+
Root: () => Ye
|
|
241
|
+
}), qe = f(k.root), Je = f(k.indicator);
|
|
242
|
+
function Ye(e) {
|
|
243
|
+
return /* @__PURE__ */ m(Ae.Root, {
|
|
244
244
|
...e,
|
|
245
245
|
"data-imf-ui-component": "Checkbox.Root",
|
|
246
|
-
className: (n) =>
|
|
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__ */ m(Ae.Indicator, {
|
|
252
252
|
...n,
|
|
253
253
|
"data-imf-ui-component": "Checkbox.Indicator",
|
|
254
|
-
className: (e) =>
|
|
255
|
-
children: e ?? /* @__PURE__ */
|
|
256
|
-
className:
|
|
254
|
+
className: (e) => Je({ className: t(n.className, e) }),
|
|
255
|
+
children: e ?? /* @__PURE__ */ h(we, { children: [/* @__PURE__ */ m("span", {
|
|
256
|
+
className: k.iconCheck,
|
|
257
257
|
"aria-hidden": !0,
|
|
258
|
-
children: /* @__PURE__ */
|
|
258
|
+
children: /* @__PURE__ */ m(d, {
|
|
259
259
|
glyph: ne,
|
|
260
260
|
size: 12,
|
|
261
261
|
strokeWidth: 3
|
|
262
262
|
})
|
|
263
|
-
}), /* @__PURE__ */
|
|
264
|
-
className:
|
|
263
|
+
}), /* @__PURE__ */ m("span", {
|
|
264
|
+
className: k.iconIndeterminate,
|
|
265
265
|
"aria-hidden": !0,
|
|
266
|
-
children: /* @__PURE__ */
|
|
267
|
-
glyph:
|
|
266
|
+
children: /* @__PURE__ */ m(d, {
|
|
267
|
+
glyph: fe,
|
|
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
279
|
category: l.inputs,
|
|
280
280
|
status: "stable",
|
|
@@ -286,77 +286,77 @@ var Ye = {
|
|
|
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__ */ _
|
|
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 = f(A.root), et = f(A.item), tt = f(A.label), nt = f(A.description), rt = f(A.control), it = f(A.error);
|
|
305
|
+
function at(e) {
|
|
306
|
+
return /* @__PURE__ */ m(_.Root, {
|
|
307
307
|
...e,
|
|
308
308
|
"data-imf-ui-component": "Field.Root",
|
|
309
|
-
className: (n) =>
|
|
309
|
+
className: (n) => $e({ className: t(e.className, n) })
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
|
-
|
|
313
|
-
function
|
|
314
|
-
return /* @__PURE__ */ _
|
|
312
|
+
at.displayName = "Field.Root";
|
|
313
|
+
function ot(e) {
|
|
314
|
+
return /* @__PURE__ */ m(_.Item, {
|
|
315
315
|
...e,
|
|
316
316
|
"data-imf-ui-component": "Field.Item",
|
|
317
|
-
className: (n) =>
|
|
317
|
+
className: (n) => et({ className: t(e.className, n) })
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
function
|
|
322
|
-
return /* @__PURE__ */ _
|
|
320
|
+
ot.displayName = "Field.Item";
|
|
321
|
+
function st(e) {
|
|
322
|
+
return /* @__PURE__ */ m(_.Label, {
|
|
323
323
|
...e,
|
|
324
324
|
"data-imf-ui-component": "Field.Label",
|
|
325
|
-
className: (n) =>
|
|
325
|
+
className: (n) => tt({ className: t(e.className, n) })
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
|
-
|
|
329
|
-
function
|
|
330
|
-
return /* @__PURE__ */ _
|
|
328
|
+
st.displayName = "Field.Label";
|
|
329
|
+
function ct(e) {
|
|
330
|
+
return /* @__PURE__ */ m(_.Description, {
|
|
331
331
|
...e,
|
|
332
332
|
"data-imf-ui-component": "Field.Description",
|
|
333
|
-
className: (n) =>
|
|
333
|
+
className: (n) => nt({ className: t(e.className, n) })
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
function
|
|
338
|
-
return /* @__PURE__ */ _
|
|
336
|
+
ct.displayName = "Field.Description";
|
|
337
|
+
function lt(e) {
|
|
338
|
+
return /* @__PURE__ */ m(_.Control, {
|
|
339
339
|
...e,
|
|
340
340
|
"data-imf-ui-component": "Field.Control",
|
|
341
|
-
className: (n) =>
|
|
341
|
+
className: (n) => rt({ className: t(e.className, n) })
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
function
|
|
346
|
-
return /* @__PURE__ */ _
|
|
344
|
+
lt.displayName = "Field.Control";
|
|
345
|
+
function ut(e) {
|
|
346
|
+
return /* @__PURE__ */ m(_.Error, {
|
|
347
347
|
...e,
|
|
348
348
|
"data-imf-ui-component": "Field.Error",
|
|
349
|
-
className: (n) =>
|
|
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__ */ m(_.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
361
|
category: l.inputs,
|
|
362
362
|
status: "stable",
|
|
@@ -368,32 +368,32 @@ var ut = {
|
|
|
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__ */
|
|
374
|
+
}, mt = /* @__PURE__ */ e({
|
|
375
|
+
Legend: () => vt,
|
|
376
|
+
Root: () => _t
|
|
377
|
+
}), ht = f(pt.root), gt = f(pt.legend);
|
|
378
|
+
function _t(e) {
|
|
379
|
+
return /* @__PURE__ */ m(je.Root, {
|
|
380
380
|
...e,
|
|
381
381
|
"data-imf-ui-component": "Fieldset.Root",
|
|
382
|
-
className: (n) =>
|
|
382
|
+
className: (n) => ht({ className: t(e.className, n) })
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
function
|
|
387
|
-
return /* @__PURE__ */
|
|
385
|
+
_t.displayName = "Fieldset.Root";
|
|
386
|
+
function vt(e) {
|
|
387
|
+
return /* @__PURE__ */ m(je.Legend, {
|
|
388
388
|
...e,
|
|
389
389
|
"data-imf-ui-component": "Fieldset.Legend",
|
|
390
|
-
className: (n) =>
|
|
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
398
|
category: l.inputs,
|
|
399
399
|
status: "stable",
|
|
@@ -405,7 +405,7 @@ var _t = {
|
|
|
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,55 +415,55 @@ var _t = {
|
|
|
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 = f(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 u = r === "search", [te, ne] =
|
|
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] = g(a ?? ""), re = i ?? te, ie = re != null && String(re).length > 0, ae = (e, t) => {
|
|
432
432
|
u && i === void 0 && ne(e), o?.(e, t);
|
|
433
|
-
},
|
|
433
|
+
}, oe = /* @__PURE__ */ m(Me, {
|
|
434
434
|
...ee,
|
|
435
435
|
type: r,
|
|
436
|
-
value: u ?
|
|
436
|
+
value: u ? re : i,
|
|
437
437
|
defaultValue: u ? void 0 : a,
|
|
438
438
|
disabled: c,
|
|
439
|
-
onValueChange: u ?
|
|
439
|
+
onValueChange: u ? ae : o,
|
|
440
440
|
"data-imf-ui-component": "Input",
|
|
441
|
-
className: (r) =>
|
|
441
|
+
className: (r) => bt({
|
|
442
442
|
variant: e,
|
|
443
443
|
size: n,
|
|
444
444
|
className: t(l, r)
|
|
445
445
|
})
|
|
446
446
|
});
|
|
447
|
-
return u ? /* @__PURE__ */
|
|
448
|
-
className: typeof l == "string" ? `${
|
|
449
|
-
children: [
|
|
447
|
+
return u ? /* @__PURE__ */ h("div", {
|
|
448
|
+
className: typeof l == "string" ? `${j.searchRoot} ${l}` : j.searchRoot,
|
|
449
|
+
children: [oe, ie && !c && /* @__PURE__ */ m("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__ */ m(d, {
|
|
457
|
+
glyph: se,
|
|
458
458
|
size: 16,
|
|
459
459
|
"aria-hidden": !0
|
|
460
460
|
})
|
|
461
461
|
})]
|
|
462
|
-
}) :
|
|
462
|
+
}) : oe;
|
|
463
463
|
}
|
|
464
464
|
//#endregion
|
|
465
465
|
//#region src/components/input/input.meta.ts
|
|
466
|
-
var
|
|
466
|
+
var St = {
|
|
467
467
|
name: "Input",
|
|
468
468
|
category: l.inputs,
|
|
469
469
|
status: "stable",
|
|
@@ -475,7 +475,7 @@ var bt = {
|
|
|
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
479
|
decrement: "imf-ui-number-field-module-decrement",
|
|
480
480
|
group: "imf-ui-number-field-module-group",
|
|
481
481
|
increment: "imf-ui-number-field-module-increment",
|
|
@@ -492,32 +492,32 @@ var bt = {
|
|
|
492
492
|
variantPrimary: "imf-ui-number-field-module-variantPrimary",
|
|
493
493
|
widthAuto: "imf-ui-number-field-module-widthAuto",
|
|
494
494
|
widthFull: "imf-ui-number-field-module-widthFull"
|
|
495
|
-
},
|
|
496
|
-
Decrement: () =>
|
|
497
|
-
Group: () =>
|
|
498
|
-
Increment: () =>
|
|
499
|
-
Input: () =>
|
|
500
|
-
Root: () =>
|
|
495
|
+
}, Ct = /* @__PURE__ */ e({
|
|
496
|
+
Decrement: () => P,
|
|
497
|
+
Group: () => Nt,
|
|
498
|
+
Increment: () => N,
|
|
499
|
+
Input: () => Pt,
|
|
500
|
+
Root: () => Mt,
|
|
501
501
|
ScrubArea: () => Ft,
|
|
502
502
|
ScrubAreaCursor: () => It,
|
|
503
503
|
Stepper: () => Lt
|
|
504
|
-
}),
|
|
505
|
-
auto:
|
|
506
|
-
full:
|
|
507
|
-
} } }),
|
|
504
|
+
}), wt = f(M.root, { variants: { width: {
|
|
505
|
+
auto: M.widthAuto,
|
|
506
|
+
full: M.widthFull
|
|
507
|
+
} } }), Tt = f(M.group, { variants: {
|
|
508
508
|
variant: {
|
|
509
|
-
outline:
|
|
510
|
-
primary:
|
|
511
|
-
filled:
|
|
512
|
-
ghost:
|
|
509
|
+
outline: M.variantOutline,
|
|
510
|
+
primary: M.variantPrimary,
|
|
511
|
+
filled: M.variantFilled,
|
|
512
|
+
ghost: M.variantGhost
|
|
513
513
|
},
|
|
514
514
|
size: {
|
|
515
|
-
sm:
|
|
516
|
-
md:
|
|
517
|
-
lg:
|
|
515
|
+
sm: M.sizeSm,
|
|
516
|
+
md: M.sizeMd,
|
|
517
|
+
lg: M.sizeLg
|
|
518
518
|
}
|
|
519
|
-
} }),
|
|
520
|
-
function
|
|
519
|
+
} }), Et = f(M.input), Dt = f(M.increment), Ot = f(M.decrement), kt = f(M.scrubArea), At = f(M.scrubAreaCursor);
|
|
520
|
+
function jt(e, t) {
|
|
521
521
|
if (typeof e != "number" || t?.minimumFractionDigits !== void 0) return t;
|
|
522
522
|
let n = (String(e).split(".")[1] ?? "").length;
|
|
523
523
|
return n === 0 ? t : {
|
|
@@ -525,92 +525,92 @@ function kt(e, t) {
|
|
|
525
525
|
minimumFractionDigits: n
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
|
-
function
|
|
529
|
-
return /* @__PURE__ */
|
|
528
|
+
function Mt({ width: e = "auto", step: n, format: r, ...i }) {
|
|
529
|
+
return /* @__PURE__ */ m(v.Root, {
|
|
530
530
|
...i,
|
|
531
531
|
step: n,
|
|
532
|
-
format:
|
|
532
|
+
format: jt(n, r),
|
|
533
533
|
"data-imf-ui-component": "NumberField.Root",
|
|
534
|
-
className: (n) =>
|
|
534
|
+
className: (n) => wt({
|
|
535
535
|
width: e,
|
|
536
536
|
className: t(i.className, n)
|
|
537
537
|
})
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
|
|
541
|
-
function
|
|
542
|
-
return /* @__PURE__ */
|
|
540
|
+
Mt.displayName = "NumberField.Root";
|
|
541
|
+
function Nt({ variant: e = "outline", size: n = "md", ...r }) {
|
|
542
|
+
return /* @__PURE__ */ m(v.Group, {
|
|
543
543
|
...r,
|
|
544
544
|
"data-imf-ui-component": "NumberField.Group",
|
|
545
|
-
className: (i) =>
|
|
545
|
+
className: (i) => Tt({
|
|
546
546
|
variant: e,
|
|
547
547
|
size: n,
|
|
548
548
|
className: t(r.className, i)
|
|
549
549
|
})
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
|
|
553
|
-
function
|
|
554
|
-
return /* @__PURE__ */
|
|
552
|
+
Nt.displayName = "NumberField.Group";
|
|
553
|
+
function Pt(e) {
|
|
554
|
+
return /* @__PURE__ */ m(v.Input, {
|
|
555
555
|
...e,
|
|
556
556
|
"data-imf-ui-component": "NumberField.Input",
|
|
557
|
-
className: (n) =>
|
|
557
|
+
className: (n) => Et({ className: t(e.className, n) })
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
|
|
561
|
-
function
|
|
562
|
-
return /* @__PURE__ */
|
|
560
|
+
Pt.displayName = "NumberField.Input";
|
|
561
|
+
function N(e) {
|
|
562
|
+
return /* @__PURE__ */ m(v.Increment, {
|
|
563
563
|
...e,
|
|
564
564
|
"data-imf-ui-component": "NumberField.Increment",
|
|
565
|
-
className: (n) =>
|
|
565
|
+
className: (n) => Dt({ className: t(e.className, n) }),
|
|
566
566
|
children: "+"
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
|
-
|
|
570
|
-
function
|
|
571
|
-
return /* @__PURE__ */
|
|
569
|
+
N.displayName = "NumberField.Increment";
|
|
570
|
+
function P(e) {
|
|
571
|
+
return /* @__PURE__ */ m(v.Decrement, {
|
|
572
572
|
...e,
|
|
573
573
|
"data-imf-ui-component": "NumberField.Decrement",
|
|
574
|
-
className: (n) =>
|
|
574
|
+
className: (n) => Ot({ className: t(e.className, n) }),
|
|
575
575
|
children: "-"
|
|
576
576
|
});
|
|
577
577
|
}
|
|
578
|
-
|
|
578
|
+
P.displayName = "NumberField.Decrement";
|
|
579
579
|
function Ft(e) {
|
|
580
|
-
return /* @__PURE__ */
|
|
580
|
+
return /* @__PURE__ */ m(v.ScrubArea, {
|
|
581
581
|
...e,
|
|
582
582
|
"data-imf-ui-component": "NumberField.ScrubArea",
|
|
583
|
-
className: (n) =>
|
|
583
|
+
className: (n) => kt({ className: t(e.className, n) })
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
Ft.displayName = "NumberField.ScrubArea";
|
|
587
587
|
function It(e) {
|
|
588
|
-
return /* @__PURE__ */
|
|
588
|
+
return /* @__PURE__ */ m(v.ScrubAreaCursor, {
|
|
589
589
|
...e,
|
|
590
590
|
"data-imf-ui-component": "NumberField.ScrubAreaCursor",
|
|
591
|
-
className: (n) =>
|
|
591
|
+
className: (n) => At({ className: t(e.className, n) })
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
It.displayName = "NumberField.ScrubAreaCursor";
|
|
595
595
|
function Lt({ layout: e = "trailing", variant: t = "outline", size: n = "md", width: r = "auto", scrub: i, ...a }) {
|
|
596
|
-
return /* @__PURE__ */
|
|
596
|
+
return /* @__PURE__ */ h(Mt, {
|
|
597
597
|
...a,
|
|
598
598
|
width: r,
|
|
599
|
-
children: [i != null && /* @__PURE__ */
|
|
600
|
-
glyph:
|
|
599
|
+
children: [i != null && /* @__PURE__ */ h(Ft, { children: [i, /* @__PURE__ */ m(It, { children: /* @__PURE__ */ m(d, {
|
|
600
|
+
glyph: pe,
|
|
601
601
|
size: 20,
|
|
602
602
|
"aria-hidden": !0
|
|
603
|
-
}) })] }), /* @__PURE__ */
|
|
603
|
+
}) })] }), /* @__PURE__ */ m(Nt, {
|
|
604
604
|
variant: t,
|
|
605
605
|
size: n,
|
|
606
|
-
children: e === "flanking" ? /* @__PURE__ */
|
|
607
|
-
/* @__PURE__ */
|
|
608
|
-
/* @__PURE__ */
|
|
609
|
-
/* @__PURE__ */
|
|
610
|
-
] }) : /* @__PURE__ */
|
|
611
|
-
/* @__PURE__ */
|
|
612
|
-
/* @__PURE__ */
|
|
613
|
-
/* @__PURE__ */
|
|
606
|
+
children: e === "flanking" ? /* @__PURE__ */ h(we, { children: [
|
|
607
|
+
/* @__PURE__ */ m(P, {}),
|
|
608
|
+
/* @__PURE__ */ m(Pt, {}),
|
|
609
|
+
/* @__PURE__ */ m(N, {})
|
|
610
|
+
] }) : /* @__PURE__ */ h(we, { children: [
|
|
611
|
+
/* @__PURE__ */ m(Pt, {}),
|
|
612
|
+
/* @__PURE__ */ m(P, {}),
|
|
613
|
+
/* @__PURE__ */ m(N, {})
|
|
614
614
|
] })
|
|
615
615
|
})]
|
|
616
616
|
});
|
|
@@ -668,17 +668,17 @@ var Rt = {
|
|
|
668
668
|
Separator: () => xn,
|
|
669
669
|
Trigger: () => sn,
|
|
670
670
|
Value: () => cn
|
|
671
|
-
}), Bt =
|
|
671
|
+
}), Bt = f(F.root), Vt = f(F.label), Ht = f(F.trigger), Ut = f(F.value), Wt = f(F.icon), Gt = f(F.backdrop), Kt = f(F.positioner), qt = f(F.popup), Jt = f(F.arrow), Yt = f(F.list), Xt = f(F.item), Zt = f(F.itemIndicator), Qt = f(F.itemText), $t = f(F.group), en = f(F.groupLabel), tn = f(F.separator), nn = f(F.scrollUpArrow), rn = f(F.scrollDownArrow);
|
|
672
672
|
function an({ className: e, style: t, ...n }) {
|
|
673
|
-
return /* @__PURE__ */
|
|
673
|
+
return /* @__PURE__ */ m("div", {
|
|
674
674
|
className: Bt({ className: e }),
|
|
675
675
|
style: t,
|
|
676
|
-
children: /* @__PURE__ */
|
|
676
|
+
children: /* @__PURE__ */ m(y.Root, { ...n })
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
679
|
an.displayName = "Select.Root";
|
|
680
680
|
function on(e) {
|
|
681
|
-
return /* @__PURE__ */
|
|
681
|
+
return /* @__PURE__ */ m(y.Label, {
|
|
682
682
|
...e,
|
|
683
683
|
"data-imf-ui-component": "Select.Label",
|
|
684
684
|
className: (n) => Vt({ className: t(e.className, n) })
|
|
@@ -686,7 +686,7 @@ function on(e) {
|
|
|
686
686
|
}
|
|
687
687
|
on.displayName = "Select.Label";
|
|
688
688
|
function sn(e) {
|
|
689
|
-
return /* @__PURE__ */
|
|
689
|
+
return /* @__PURE__ */ m(y.Trigger, {
|
|
690
690
|
...e,
|
|
691
691
|
"data-imf-ui-component": "Select.Trigger",
|
|
692
692
|
className: (n) => Ht({ className: t(e.className, n) })
|
|
@@ -694,7 +694,7 @@ function sn(e) {
|
|
|
694
694
|
}
|
|
695
695
|
sn.displayName = "Select.Trigger";
|
|
696
696
|
function cn({ children: e, ...n }) {
|
|
697
|
-
return /* @__PURE__ */
|
|
697
|
+
return /* @__PURE__ */ m(y.Value, {
|
|
698
698
|
...n,
|
|
699
699
|
"data-imf-ui-component": "Select.Value",
|
|
700
700
|
className: (e) => Ut({ className: t(n.className, e) }),
|
|
@@ -703,7 +703,7 @@ function cn({ children: e, ...n }) {
|
|
|
703
703
|
}
|
|
704
704
|
cn.displayName = "Select.Value";
|
|
705
705
|
function ln(e) {
|
|
706
|
-
return /* @__PURE__ */
|
|
706
|
+
return /* @__PURE__ */ m(y.Icon, {
|
|
707
707
|
...e,
|
|
708
708
|
"data-imf-ui-component": "Select.Icon",
|
|
709
709
|
className: (n) => Wt({ className: t(e.className, n) })
|
|
@@ -711,11 +711,11 @@ function ln(e) {
|
|
|
711
711
|
}
|
|
712
712
|
ln.displayName = "Select.Icon";
|
|
713
713
|
function un(e) {
|
|
714
|
-
return /* @__PURE__ */
|
|
714
|
+
return /* @__PURE__ */ m(y.Portal, { ...e });
|
|
715
715
|
}
|
|
716
716
|
un.displayName = "Select.Portal";
|
|
717
717
|
function dn(e) {
|
|
718
|
-
return /* @__PURE__ */
|
|
718
|
+
return /* @__PURE__ */ m(y.Backdrop, {
|
|
719
719
|
...e,
|
|
720
720
|
"data-imf-ui-component": "Select.Backdrop",
|
|
721
721
|
className: (n) => Gt({ className: t(e.className, n) })
|
|
@@ -723,7 +723,7 @@ function dn(e) {
|
|
|
723
723
|
}
|
|
724
724
|
dn.displayName = "Select.Backdrop";
|
|
725
725
|
function fn({ align: e = "start", alignItemWithTrigger: n = !1, ...r }) {
|
|
726
|
-
return /* @__PURE__ */
|
|
726
|
+
return /* @__PURE__ */ m(y.Positioner, {
|
|
727
727
|
...r,
|
|
728
728
|
align: e,
|
|
729
729
|
alignItemWithTrigger: n,
|
|
@@ -733,7 +733,7 @@ function fn({ align: e = "start", alignItemWithTrigger: n = !1, ...r }) {
|
|
|
733
733
|
}
|
|
734
734
|
fn.displayName = "Select.Positioner";
|
|
735
735
|
function pn(e) {
|
|
736
|
-
return /* @__PURE__ */
|
|
736
|
+
return /* @__PURE__ */ m(y.Popup, {
|
|
737
737
|
...e,
|
|
738
738
|
"data-imf-ui-component": "Select.Popup",
|
|
739
739
|
className: (n) => qt({ className: t(e.className, n) })
|
|
@@ -741,7 +741,7 @@ function pn(e) {
|
|
|
741
741
|
}
|
|
742
742
|
pn.displayName = "Select.Popup";
|
|
743
743
|
function mn(e) {
|
|
744
|
-
return /* @__PURE__ */
|
|
744
|
+
return /* @__PURE__ */ m(y.Arrow, {
|
|
745
745
|
...e,
|
|
746
746
|
"data-imf-ui-component": "Select.Arrow",
|
|
747
747
|
className: (n) => Jt({ className: t(e.className, n) })
|
|
@@ -749,7 +749,7 @@ function mn(e) {
|
|
|
749
749
|
}
|
|
750
750
|
mn.displayName = "Select.Arrow";
|
|
751
751
|
function hn(e) {
|
|
752
|
-
return /* @__PURE__ */
|
|
752
|
+
return /* @__PURE__ */ m(y.List, {
|
|
753
753
|
...e,
|
|
754
754
|
"data-imf-ui-component": "Select.List",
|
|
755
755
|
className: (n) => Yt({ className: t(e.className, n) })
|
|
@@ -757,7 +757,7 @@ function hn(e) {
|
|
|
757
757
|
}
|
|
758
758
|
hn.displayName = "Select.List";
|
|
759
759
|
function gn(e) {
|
|
760
|
-
return /* @__PURE__ */
|
|
760
|
+
return /* @__PURE__ */ m(y.Item, {
|
|
761
761
|
...e,
|
|
762
762
|
"data-imf-ui-component": "Select.Item",
|
|
763
763
|
className: (n) => Xt({ className: t(e.className, n) })
|
|
@@ -765,7 +765,7 @@ function gn(e) {
|
|
|
765
765
|
}
|
|
766
766
|
gn.displayName = "Select.Item";
|
|
767
767
|
function _n(e) {
|
|
768
|
-
return /* @__PURE__ */
|
|
768
|
+
return /* @__PURE__ */ m(y.ItemIndicator, {
|
|
769
769
|
...e,
|
|
770
770
|
"data-imf-ui-component": "Select.ItemIndicator",
|
|
771
771
|
className: (n) => Zt({ className: t(e.className, n) })
|
|
@@ -773,7 +773,7 @@ function _n(e) {
|
|
|
773
773
|
}
|
|
774
774
|
_n.displayName = "Select.ItemIndicator";
|
|
775
775
|
function vn(e) {
|
|
776
|
-
return /* @__PURE__ */
|
|
776
|
+
return /* @__PURE__ */ m(y.ItemText, {
|
|
777
777
|
...e,
|
|
778
778
|
"data-imf-ui-component": "Select.ItemText",
|
|
779
779
|
className: (n) => Qt({ className: t(e.className, n) })
|
|
@@ -781,7 +781,7 @@ function vn(e) {
|
|
|
781
781
|
}
|
|
782
782
|
vn.displayName = "Select.ItemText";
|
|
783
783
|
function yn(e) {
|
|
784
|
-
return /* @__PURE__ */
|
|
784
|
+
return /* @__PURE__ */ m(y.Group, {
|
|
785
785
|
...e,
|
|
786
786
|
"data-imf-ui-component": "Select.Group",
|
|
787
787
|
className: (n) => $t({ className: t(e.className, n) })
|
|
@@ -789,7 +789,7 @@ function yn(e) {
|
|
|
789
789
|
}
|
|
790
790
|
yn.displayName = "Select.Group";
|
|
791
791
|
function bn(e) {
|
|
792
|
-
return /* @__PURE__ */
|
|
792
|
+
return /* @__PURE__ */ m(y.GroupLabel, {
|
|
793
793
|
...e,
|
|
794
794
|
"data-imf-ui-component": "Select.GroupLabel",
|
|
795
795
|
className: (n) => en({ className: t(e.className, n) })
|
|
@@ -797,7 +797,7 @@ function bn(e) {
|
|
|
797
797
|
}
|
|
798
798
|
bn.displayName = "Select.GroupLabel";
|
|
799
799
|
function xn(e) {
|
|
800
|
-
return /* @__PURE__ */
|
|
800
|
+
return /* @__PURE__ */ m(y.Separator, {
|
|
801
801
|
...e,
|
|
802
802
|
"data-imf-ui-component": "Select.Separator",
|
|
803
803
|
className: (n) => tn({ className: t(e.className, n) })
|
|
@@ -805,7 +805,7 @@ function xn(e) {
|
|
|
805
805
|
}
|
|
806
806
|
xn.displayName = "Select.Separator";
|
|
807
807
|
function Sn(e) {
|
|
808
|
-
return /* @__PURE__ */
|
|
808
|
+
return /* @__PURE__ */ m(y.ScrollUpArrow, {
|
|
809
809
|
...e,
|
|
810
810
|
"data-imf-ui-component": "Select.ScrollUpArrow",
|
|
811
811
|
className: (n) => nn({ className: t(e.className, n) })
|
|
@@ -813,7 +813,7 @@ function Sn(e) {
|
|
|
813
813
|
}
|
|
814
814
|
Sn.displayName = "Select.ScrollUpArrow";
|
|
815
815
|
function Cn(e) {
|
|
816
|
-
return /* @__PURE__ */
|
|
816
|
+
return /* @__PURE__ */ m(y.ScrollDownArrow, {
|
|
817
817
|
...e,
|
|
818
818
|
"data-imf-ui-component": "Select.ScrollDownArrow",
|
|
819
819
|
className: (n) => rn({ className: t(e.className, n) })
|
|
@@ -898,9 +898,9 @@ var wn = {
|
|
|
898
898
|
Navbar: () => zn,
|
|
899
899
|
Root: () => Ln,
|
|
900
900
|
Section: () => Un
|
|
901
|
-
}), An =
|
|
901
|
+
}), An = f(I.root), jn = f(I.header), Mn = f(I.navbar), Nn = f(I.aside), Pn = f(I.footer), Fn = f(I.main), In = f(I.section);
|
|
902
902
|
function Ln(e) {
|
|
903
|
-
return /* @__PURE__ */
|
|
903
|
+
return /* @__PURE__ */ m("div", {
|
|
904
904
|
...e,
|
|
905
905
|
"data-imf-ui-component": "AppShell.Root",
|
|
906
906
|
className: An({ className: e.className })
|
|
@@ -908,7 +908,7 @@ function Ln(e) {
|
|
|
908
908
|
}
|
|
909
909
|
Ln.displayName = "AppShell.Root";
|
|
910
910
|
function Rn(e) {
|
|
911
|
-
return /* @__PURE__ */
|
|
911
|
+
return /* @__PURE__ */ m("header", {
|
|
912
912
|
...e,
|
|
913
913
|
"data-imf-ui-component": "AppShell.Header",
|
|
914
914
|
className: jn({ className: e.className })
|
|
@@ -916,7 +916,7 @@ function Rn(e) {
|
|
|
916
916
|
}
|
|
917
917
|
Rn.displayName = "AppShell.Header";
|
|
918
918
|
function zn({ open: e, ...t }) {
|
|
919
|
-
return /* @__PURE__ */
|
|
919
|
+
return /* @__PURE__ */ m("nav", {
|
|
920
920
|
...t,
|
|
921
921
|
"data-imf-ui-component": "AppShell.Navbar",
|
|
922
922
|
"data-open": e ? "" : void 0,
|
|
@@ -925,7 +925,7 @@ function zn({ open: e, ...t }) {
|
|
|
925
925
|
}
|
|
926
926
|
zn.displayName = "AppShell.Navbar";
|
|
927
927
|
function Bn({ open: e, ...t }) {
|
|
928
|
-
return /* @__PURE__ */
|
|
928
|
+
return /* @__PURE__ */ m("aside", {
|
|
929
929
|
...t,
|
|
930
930
|
"data-imf-ui-component": "AppShell.Aside",
|
|
931
931
|
"data-open": e ? "" : void 0,
|
|
@@ -934,7 +934,7 @@ function Bn({ open: e, ...t }) {
|
|
|
934
934
|
}
|
|
935
935
|
Bn.displayName = "AppShell.Aside";
|
|
936
936
|
function Vn(e) {
|
|
937
|
-
return /* @__PURE__ */
|
|
937
|
+
return /* @__PURE__ */ m("footer", {
|
|
938
938
|
...e,
|
|
939
939
|
"data-imf-ui-component": "AppShell.Footer",
|
|
940
940
|
className: Pn({ className: e.className })
|
|
@@ -942,7 +942,7 @@ function Vn(e) {
|
|
|
942
942
|
}
|
|
943
943
|
Vn.displayName = "AppShell.Footer";
|
|
944
944
|
function Hn(e) {
|
|
945
|
-
return /* @__PURE__ */
|
|
945
|
+
return /* @__PURE__ */ m("main", {
|
|
946
946
|
...e,
|
|
947
947
|
"data-imf-ui-component": "AppShell.Main",
|
|
948
948
|
className: Fn({ className: e.className })
|
|
@@ -950,7 +950,7 @@ function Hn(e) {
|
|
|
950
950
|
}
|
|
951
951
|
Hn.displayName = "AppShell.Main";
|
|
952
952
|
function Un({ grow: e, ...t }) {
|
|
953
|
-
return /* @__PURE__ */
|
|
953
|
+
return /* @__PURE__ */ m("div", {
|
|
954
954
|
...t,
|
|
955
955
|
"data-imf-ui-component": "AppShell.Section",
|
|
956
956
|
"data-grow": e ? "" : void 0,
|
|
@@ -996,7 +996,7 @@ var Wn = {
|
|
|
996
996
|
Header: () => Yn,
|
|
997
997
|
Image: () => Jn,
|
|
998
998
|
Root: () => qn
|
|
999
|
-
}), Kn =
|
|
999
|
+
}), Kn = f(L.root, { variants: {
|
|
1000
1000
|
density: {
|
|
1001
1001
|
compact: L.densityCompact,
|
|
1002
1002
|
comfortable: L.densityComfortable,
|
|
@@ -1028,7 +1028,7 @@ var Wn = {
|
|
|
1028
1028
|
} });
|
|
1029
1029
|
function qn({ density: e = "comfortable", variant: t = "main", shadow: n = "lg", radius: r = "brand", orientation: i = "vertical", withBorder: a = !0, ...o }) {
|
|
1030
1030
|
let s = a && t !== "primary" && t !== "brand";
|
|
1031
|
-
return /* @__PURE__ */
|
|
1031
|
+
return /* @__PURE__ */ m("div", {
|
|
1032
1032
|
...o,
|
|
1033
1033
|
"data-imf-ui-component": "Card.Root",
|
|
1034
1034
|
"data-with-border": s ? "" : void 0,
|
|
@@ -1044,11 +1044,11 @@ function qn({ density: e = "comfortable", variant: t = "main", shadow: n = "lg",
|
|
|
1044
1044
|
}
|
|
1045
1045
|
qn.displayName = "Card.Root";
|
|
1046
1046
|
function Jn({ alt: e = "", aspectRatio: t = 16 / 10, style: n, ...r }) {
|
|
1047
|
-
return /* @__PURE__ */
|
|
1047
|
+
return /* @__PURE__ */ m("img", {
|
|
1048
1048
|
...r,
|
|
1049
1049
|
alt: e,
|
|
1050
1050
|
"data-imf-ui-component": "Card.Image",
|
|
1051
|
-
className:
|
|
1051
|
+
className: f(L.image)({ className: r.className }),
|
|
1052
1052
|
style: {
|
|
1053
1053
|
aspectRatio: t,
|
|
1054
1054
|
...n
|
|
@@ -1057,26 +1057,26 @@ function Jn({ alt: e = "", aspectRatio: t = 16 / 10, style: n, ...r }) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
Jn.displayName = "Card.Image";
|
|
1059
1059
|
function Yn(e) {
|
|
1060
|
-
return /* @__PURE__ */
|
|
1060
|
+
return /* @__PURE__ */ m("div", {
|
|
1061
1061
|
...e,
|
|
1062
1062
|
"data-imf-ui-component": "Card.Header",
|
|
1063
|
-
className:
|
|
1063
|
+
className: f(L.header)({ className: e.className })
|
|
1064
1064
|
});
|
|
1065
1065
|
}
|
|
1066
1066
|
Yn.displayName = "Card.Header";
|
|
1067
1067
|
function Xn(e) {
|
|
1068
|
-
return /* @__PURE__ */
|
|
1068
|
+
return /* @__PURE__ */ m("div", {
|
|
1069
1069
|
...e,
|
|
1070
1070
|
"data-imf-ui-component": "Card.Content",
|
|
1071
|
-
className:
|
|
1071
|
+
className: f(L.content)({ className: e.className })
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
1074
|
Xn.displayName = "Card.Content";
|
|
1075
1075
|
function Zn(e) {
|
|
1076
|
-
return /* @__PURE__ */
|
|
1076
|
+
return /* @__PURE__ */ m("div", {
|
|
1077
1077
|
...e,
|
|
1078
1078
|
"data-imf-ui-component": "Card.Footer",
|
|
1079
|
-
className:
|
|
1079
|
+
className: f(L.footer)({ className: e.className })
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
Zn.displayName = "Card.Footer";
|
|
@@ -1127,10 +1127,10 @@ var Qn = {
|
|
|
1127
1127
|
Title: () => br,
|
|
1128
1128
|
Trigger: () => pr,
|
|
1129
1129
|
Viewport: () => gr
|
|
1130
|
-
}), er =
|
|
1130
|
+
}), er = Ee({
|
|
1131
1131
|
borderColor: "primary",
|
|
1132
1132
|
borderStyle: "solid"
|
|
1133
|
-
}), tr =
|
|
1133
|
+
}), tr = f(R.trigger), nr = f(R.backdrop), rr = f(R.viewport), ir = f(R.popup, {
|
|
1134
1134
|
variants: {
|
|
1135
1135
|
borderColor: {
|
|
1136
1136
|
primary: R.borderColorPrimary,
|
|
@@ -1148,19 +1148,19 @@ var Qn = {
|
|
|
1148
1148
|
borderColor: "primary",
|
|
1149
1149
|
borderStyle: "solid"
|
|
1150
1150
|
}
|
|
1151
|
-
}), ar =
|
|
1151
|
+
}), ar = f(R.content), or = f(R.title), sr = f(R.close), cr = f(R.description), lr = f(R.indent), ur = f(R.indentBackground), dr = f(R.swipeArea);
|
|
1152
1152
|
function fr({ borderColor: e = "primary", borderStyle: t = "solid", ...n }) {
|
|
1153
|
-
return /* @__PURE__ */
|
|
1153
|
+
return /* @__PURE__ */ m(er.Provider, {
|
|
1154
1154
|
value: {
|
|
1155
1155
|
borderColor: e,
|
|
1156
1156
|
borderStyle: t
|
|
1157
1157
|
},
|
|
1158
|
-
children: /* @__PURE__ */
|
|
1158
|
+
children: /* @__PURE__ */ m(b.Root, { ...n })
|
|
1159
1159
|
});
|
|
1160
1160
|
}
|
|
1161
1161
|
fr.displayName = "Drawer.Root";
|
|
1162
1162
|
function pr(e) {
|
|
1163
|
-
return /* @__PURE__ */
|
|
1163
|
+
return /* @__PURE__ */ m(b.Trigger, {
|
|
1164
1164
|
...e,
|
|
1165
1165
|
"data-imf-ui-component": "Drawer.Trigger",
|
|
1166
1166
|
className: (n) => tr({ className: t(e.className, n) })
|
|
@@ -1168,11 +1168,11 @@ function pr(e) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
pr.displayName = "Drawer.Trigger";
|
|
1170
1170
|
function mr(e) {
|
|
1171
|
-
return /* @__PURE__ */
|
|
1171
|
+
return /* @__PURE__ */ m(b.Portal, { ...e });
|
|
1172
1172
|
}
|
|
1173
1173
|
mr.displayName = "Drawer.Portal";
|
|
1174
1174
|
function hr(e) {
|
|
1175
|
-
return /* @__PURE__ */
|
|
1175
|
+
return /* @__PURE__ */ m(b.Backdrop, {
|
|
1176
1176
|
...e,
|
|
1177
1177
|
"data-imf-ui-component": "Drawer.Backdrop",
|
|
1178
1178
|
className: (n) => nr({ className: t(e.className, n) })
|
|
@@ -1180,7 +1180,7 @@ function hr(e) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
hr.displayName = "Drawer.Backdrop";
|
|
1182
1182
|
function gr(e) {
|
|
1183
|
-
return /* @__PURE__ */
|
|
1183
|
+
return /* @__PURE__ */ m(b.Viewport, {
|
|
1184
1184
|
...e,
|
|
1185
1185
|
"data-imf-ui-component": "Drawer.Viewport",
|
|
1186
1186
|
className: (n) => rr({ className: t(e.className, n) })
|
|
@@ -1194,20 +1194,20 @@ var _r = {
|
|
|
1194
1194
|
up: R.popupTop
|
|
1195
1195
|
};
|
|
1196
1196
|
function vr({ borderColor: e, borderStyle: n, ...r }) {
|
|
1197
|
-
let i =
|
|
1198
|
-
return /* @__PURE__ */
|
|
1197
|
+
let i = Oe(er), a = e ?? i.borderColor, o = n ?? i.borderStyle;
|
|
1198
|
+
return /* @__PURE__ */ m(b.Popup, {
|
|
1199
1199
|
...r,
|
|
1200
1200
|
"data-imf-ui-component": "Drawer.Popup",
|
|
1201
1201
|
className: (e) => ir({
|
|
1202
1202
|
borderColor: a,
|
|
1203
1203
|
borderStyle: o,
|
|
1204
|
-
className:
|
|
1204
|
+
className: p(_r[e.swipeDirection], t(r.className, e))
|
|
1205
1205
|
})
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
1208
|
vr.displayName = "Drawer.Popup";
|
|
1209
1209
|
function yr(e) {
|
|
1210
|
-
return /* @__PURE__ */
|
|
1210
|
+
return /* @__PURE__ */ m(b.Content, {
|
|
1211
1211
|
...e,
|
|
1212
1212
|
"data-imf-ui-component": "Drawer.Content",
|
|
1213
1213
|
className: (n) => ar({ className: t(e.className, n) })
|
|
@@ -1215,7 +1215,7 @@ function yr(e) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
yr.displayName = "Drawer.Content";
|
|
1217
1217
|
function br(e) {
|
|
1218
|
-
return /* @__PURE__ */
|
|
1218
|
+
return /* @__PURE__ */ m(b.Title, {
|
|
1219
1219
|
...e,
|
|
1220
1220
|
"data-imf-ui-component": "Drawer.Title",
|
|
1221
1221
|
className: or({ className: e.className })
|
|
@@ -1223,7 +1223,7 @@ function br(e) {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
br.displayName = "Drawer.Title";
|
|
1225
1225
|
function xr(e) {
|
|
1226
|
-
return /* @__PURE__ */
|
|
1226
|
+
return /* @__PURE__ */ m(b.Close, {
|
|
1227
1227
|
...e,
|
|
1228
1228
|
"data-imf-ui-component": "Drawer.Close",
|
|
1229
1229
|
className: (n) => sr({ className: t(e.className, n) })
|
|
@@ -1231,7 +1231,7 @@ function xr(e) {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
xr.displayName = "Drawer.Close";
|
|
1233
1233
|
function Sr(e) {
|
|
1234
|
-
return /* @__PURE__ */
|
|
1234
|
+
return /* @__PURE__ */ m(b.Description, {
|
|
1235
1235
|
...e,
|
|
1236
1236
|
"data-imf-ui-component": "Drawer.Description",
|
|
1237
1237
|
className: cr({ className: e.className })
|
|
@@ -1239,11 +1239,11 @@ function Sr(e) {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
Sr.displayName = "Drawer.Description";
|
|
1241
1241
|
function Cr(e) {
|
|
1242
|
-
return /* @__PURE__ */
|
|
1242
|
+
return /* @__PURE__ */ m(b.Provider, { ...e });
|
|
1243
1243
|
}
|
|
1244
1244
|
Cr.displayName = "Drawer.Provider";
|
|
1245
1245
|
function wr(e) {
|
|
1246
|
-
return /* @__PURE__ */
|
|
1246
|
+
return /* @__PURE__ */ m(b.Indent, {
|
|
1247
1247
|
...e,
|
|
1248
1248
|
"data-imf-ui-component": "Drawer.Indent",
|
|
1249
1249
|
className: (n) => lr({ className: t(e.className, n) })
|
|
@@ -1251,7 +1251,7 @@ function wr(e) {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
wr.displayName = "Drawer.Indent";
|
|
1253
1253
|
function Tr(e) {
|
|
1254
|
-
return /* @__PURE__ */
|
|
1254
|
+
return /* @__PURE__ */ m(b.IndentBackground, {
|
|
1255
1255
|
...e,
|
|
1256
1256
|
"data-imf-ui-component": "Drawer.IndentBackground",
|
|
1257
1257
|
className: (n) => ur({ className: t(e.className, n) })
|
|
@@ -1259,7 +1259,7 @@ function Tr(e) {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
Tr.displayName = "Drawer.IndentBackground";
|
|
1261
1261
|
function Er(e) {
|
|
1262
|
-
return /* @__PURE__ */
|
|
1262
|
+
return /* @__PURE__ */ m(b.SwipeArea, {
|
|
1263
1263
|
...e,
|
|
1264
1264
|
"data-imf-ui-component": "Drawer.SwipeArea",
|
|
1265
1265
|
className: (n) => dr({ className: t(e.className, n) })
|
|
@@ -1319,7 +1319,7 @@ var Dr = {
|
|
|
1319
1319
|
Trigger: () => Vr,
|
|
1320
1320
|
Viewport: () => qr,
|
|
1321
1321
|
createHandle: () => zr
|
|
1322
|
-
}), kr =
|
|
1322
|
+
}), kr = f(z.trigger, { variants: {
|
|
1323
1323
|
variant: {
|
|
1324
1324
|
ghost: z.variantGhost,
|
|
1325
1325
|
outline: z.variantOutline,
|
|
@@ -1329,20 +1329,20 @@ var Dr = {
|
|
|
1329
1329
|
negative: z.variantNegative
|
|
1330
1330
|
},
|
|
1331
1331
|
inline: { true: z.triggerInline }
|
|
1332
|
-
} }), Ar =
|
|
1332
|
+
} }), Ar = f(z.backdrop), jr = f(z.positioner), Mr = f(z.popup, { variants: { variant: {
|
|
1333
1333
|
ghost: z.popupVariantGhost,
|
|
1334
1334
|
outline: z.popupVariantOutline,
|
|
1335
1335
|
primary: z.popupVariantPrimary,
|
|
1336
1336
|
secondary: z.popupVariantSecondary,
|
|
1337
1337
|
positive: z.popupVariantPositive,
|
|
1338
1338
|
negative: z.popupVariantNegative
|
|
1339
|
-
} } }), Nr =
|
|
1339
|
+
} } }), Nr = f(z.arrow), Pr = f(z.viewport), Fr = f(z.eyebrow), Ir = f(z.title), Lr = f(z.description), Rr = f(z.close), zr = x.createHandle;
|
|
1340
1340
|
function Br(e) {
|
|
1341
|
-
return /* @__PURE__ */
|
|
1341
|
+
return /* @__PURE__ */ m(x.Root, { ...e });
|
|
1342
1342
|
}
|
|
1343
1343
|
Br.displayName = "Popover.Root";
|
|
1344
1344
|
function Vr({ variant: e = "ghost", inline: n = !1, ...r }) {
|
|
1345
|
-
return /* @__PURE__ */
|
|
1345
|
+
return /* @__PURE__ */ m(x.Trigger, {
|
|
1346
1346
|
...r,
|
|
1347
1347
|
"data-imf-ui-component": "Popover.Trigger",
|
|
1348
1348
|
className: (i) => kr({
|
|
@@ -1354,11 +1354,11 @@ function Vr({ variant: e = "ghost", inline: n = !1, ...r }) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
Vr.displayName = "Popover.Trigger";
|
|
1356
1356
|
function Hr(e) {
|
|
1357
|
-
return /* @__PURE__ */
|
|
1357
|
+
return /* @__PURE__ */ m(x.Portal, { ...e });
|
|
1358
1358
|
}
|
|
1359
1359
|
Hr.displayName = "Popover.Portal";
|
|
1360
1360
|
function Ur(e) {
|
|
1361
|
-
return /* @__PURE__ */
|
|
1361
|
+
return /* @__PURE__ */ m(x.Backdrop, {
|
|
1362
1362
|
...e,
|
|
1363
1363
|
"data-imf-ui-component": "Popover.Backdrop",
|
|
1364
1364
|
className: (n) => Ar({ className: t(e.className, n) })
|
|
@@ -1366,7 +1366,7 @@ function Ur(e) {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
Ur.displayName = "Popover.Backdrop";
|
|
1368
1368
|
function Wr(e) {
|
|
1369
|
-
return /* @__PURE__ */
|
|
1369
|
+
return /* @__PURE__ */ m(x.Positioner, {
|
|
1370
1370
|
...e,
|
|
1371
1371
|
"data-imf-ui-component": "Popover.Positioner",
|
|
1372
1372
|
className: (n) => jr({ className: t(e.className, n) })
|
|
@@ -1374,7 +1374,7 @@ function Wr(e) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
Wr.displayName = "Popover.Positioner";
|
|
1376
1376
|
function Gr({ variant: e, ...n }) {
|
|
1377
|
-
return /* @__PURE__ */
|
|
1377
|
+
return /* @__PURE__ */ m(x.Popup, {
|
|
1378
1378
|
...n,
|
|
1379
1379
|
"data-imf-ui-component": "Popover.Popup",
|
|
1380
1380
|
className: (r) => Mr({
|
|
@@ -1385,7 +1385,7 @@ function Gr({ variant: e, ...n }) {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
Gr.displayName = "Popover.Popup";
|
|
1387
1387
|
function Kr(e) {
|
|
1388
|
-
return /* @__PURE__ */
|
|
1388
|
+
return /* @__PURE__ */ m(x.Arrow, {
|
|
1389
1389
|
...e,
|
|
1390
1390
|
"data-imf-ui-component": "Popover.Arrow",
|
|
1391
1391
|
className: (n) => Nr({ className: t(e.className, n) })
|
|
@@ -1393,7 +1393,7 @@ function Kr(e) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
Kr.displayName = "Popover.Arrow";
|
|
1395
1395
|
function qr(e) {
|
|
1396
|
-
return /* @__PURE__ */
|
|
1396
|
+
return /* @__PURE__ */ m(x.Viewport, {
|
|
1397
1397
|
...e,
|
|
1398
1398
|
"data-imf-ui-component": "Popover.Viewport",
|
|
1399
1399
|
className: (n) => Pr({ className: t(e.className, n) })
|
|
@@ -1401,7 +1401,7 @@ function qr(e) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
qr.displayName = "Popover.Viewport";
|
|
1403
1403
|
function Jr(e) {
|
|
1404
|
-
return /* @__PURE__ */
|
|
1404
|
+
return /* @__PURE__ */ m("p", {
|
|
1405
1405
|
...e,
|
|
1406
1406
|
"data-imf-ui-component": "Popover.Eyebrow",
|
|
1407
1407
|
className: Fr({ className: e.className })
|
|
@@ -1409,7 +1409,7 @@ function Jr(e) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
Jr.displayName = "Popover.Eyebrow";
|
|
1411
1411
|
function Yr(e) {
|
|
1412
|
-
return /* @__PURE__ */
|
|
1412
|
+
return /* @__PURE__ */ m(x.Title, {
|
|
1413
1413
|
...e,
|
|
1414
1414
|
"data-imf-ui-component": "Popover.Title",
|
|
1415
1415
|
className: Ir({ className: e.className })
|
|
@@ -1417,7 +1417,7 @@ function Yr(e) {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
Yr.displayName = "Popover.Title";
|
|
1419
1419
|
function Xr(e) {
|
|
1420
|
-
return /* @__PURE__ */
|
|
1420
|
+
return /* @__PURE__ */ m(x.Description, {
|
|
1421
1421
|
...e,
|
|
1422
1422
|
"data-imf-ui-component": "Popover.Description",
|
|
1423
1423
|
className: Lr({ className: e.className })
|
|
@@ -1425,7 +1425,7 @@ function Xr(e) {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
Xr.displayName = "Popover.Description";
|
|
1427
1427
|
function Zr(e) {
|
|
1428
|
-
return /* @__PURE__ */
|
|
1428
|
+
return /* @__PURE__ */ m(x.Close, {
|
|
1429
1429
|
...e,
|
|
1430
1430
|
"data-imf-ui-component": "Popover.Close",
|
|
1431
1431
|
className: (n) => Rr({ className: t(e.className, n) })
|
|
@@ -1433,15 +1433,15 @@ function Zr(e) {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
Zr.displayName = "Popover.Close";
|
|
1435
1435
|
function Qr({ trigger: e, title: t, children: n, delay: r = 150, side: i = "top", sideOffset: a = 6 }) {
|
|
1436
|
-
return /* @__PURE__ */
|
|
1436
|
+
return /* @__PURE__ */ h(Br, { children: [/* @__PURE__ */ m(Vr, {
|
|
1437
1437
|
inline: !0,
|
|
1438
1438
|
openOnHover: !0,
|
|
1439
1439
|
delay: r,
|
|
1440
1440
|
children: e
|
|
1441
|
-
}), /* @__PURE__ */
|
|
1441
|
+
}), /* @__PURE__ */ m(Hr, { children: /* @__PURE__ */ m(Wr, {
|
|
1442
1442
|
side: i,
|
|
1443
1443
|
sideOffset: a,
|
|
1444
|
-
children: /* @__PURE__ */
|
|
1444
|
+
children: /* @__PURE__ */ h(Gr, { children: [t && /* @__PURE__ */ m(Yr, { children: t }), n && /* @__PURE__ */ m(Xr, { children: n })] })
|
|
1445
1445
|
}) })] });
|
|
1446
1446
|
}
|
|
1447
1447
|
Qr.displayName = "Popover.Inline";
|
|
@@ -1474,7 +1474,7 @@ var $r = {
|
|
|
1474
1474
|
variantDashed: "imf-ui-separator-module-variantDashed",
|
|
1475
1475
|
variantDotted: "imf-ui-separator-module-variantDotted",
|
|
1476
1476
|
variantSolid: "imf-ui-separator-module-variantSolid"
|
|
1477
|
-
}, ti =
|
|
1477
|
+
}, ti = f(B.root, { variants: {
|
|
1478
1478
|
variant: {
|
|
1479
1479
|
solid: B.variantSolid,
|
|
1480
1480
|
dashed: B.variantDashed,
|
|
@@ -1489,7 +1489,7 @@ var $r = {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
} });
|
|
1491
1491
|
function ni({ orientation: e = "horizontal", variant: t = "solid", spacing: n = "none", ...r }) {
|
|
1492
|
-
return /* @__PURE__ */
|
|
1492
|
+
return /* @__PURE__ */ m(Ne, {
|
|
1493
1493
|
...r,
|
|
1494
1494
|
orientation: e,
|
|
1495
1495
|
"data-imf-ui-component": "Separator",
|
|
@@ -1541,7 +1541,7 @@ var ri = {
|
|
|
1541
1541
|
Icon: () => ui,
|
|
1542
1542
|
Root: () => li,
|
|
1543
1543
|
Title: () => di
|
|
1544
|
-
}), oi =
|
|
1544
|
+
}), oi = f(V.root, { variants: {
|
|
1545
1545
|
variant: {
|
|
1546
1546
|
info: V.variantInfo,
|
|
1547
1547
|
positive: V.variantPositive,
|
|
@@ -1558,19 +1558,19 @@ var ri = {
|
|
|
1558
1558
|
full: V.maxWidthFull
|
|
1559
1559
|
}
|
|
1560
1560
|
} }), si = {
|
|
1561
|
-
info:
|
|
1562
|
-
positive:
|
|
1563
|
-
warning:
|
|
1564
|
-
negative:
|
|
1565
|
-
"accent-1":
|
|
1566
|
-
"accent-2":
|
|
1567
|
-
"accent-3":
|
|
1568
|
-
}, ci =
|
|
1561
|
+
info: ie,
|
|
1562
|
+
positive: re,
|
|
1563
|
+
warning: ce,
|
|
1564
|
+
negative: ge,
|
|
1565
|
+
"accent-1": ue,
|
|
1566
|
+
"accent-2": ue,
|
|
1567
|
+
"accent-3": ue
|
|
1568
|
+
}, ci = Ee("info");
|
|
1569
1569
|
function li({ variant: e = "info", maxWidth: t = "md", children: n, ...r }) {
|
|
1570
1570
|
let i = e ?? "info";
|
|
1571
|
-
return /* @__PURE__ */
|
|
1571
|
+
return /* @__PURE__ */ m(ci.Provider, {
|
|
1572
1572
|
value: i,
|
|
1573
|
-
children: /* @__PURE__ */
|
|
1573
|
+
children: /* @__PURE__ */ m("div", {
|
|
1574
1574
|
...r,
|
|
1575
1575
|
role: "note",
|
|
1576
1576
|
"data-imf-ui-component": "Callout.Root",
|
|
@@ -1585,13 +1585,13 @@ function li({ variant: e = "info", maxWidth: t = "md", children: n, ...r }) {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
li.displayName = "Callout.Root";
|
|
1587
1587
|
function ui({ children: e, ...t }) {
|
|
1588
|
-
let n = si[
|
|
1589
|
-
return /* @__PURE__ */
|
|
1588
|
+
let n = si[Oe(ci)];
|
|
1589
|
+
return /* @__PURE__ */ m("span", {
|
|
1590
1590
|
...t,
|
|
1591
1591
|
"aria-hidden": !0,
|
|
1592
1592
|
"data-imf-ui-component": "Callout.Icon",
|
|
1593
|
-
className:
|
|
1594
|
-
children: e ?? /* @__PURE__ */
|
|
1593
|
+
className: f(V.icon)({ className: t.className }),
|
|
1594
|
+
children: e ?? /* @__PURE__ */ m(d, {
|
|
1595
1595
|
glyph: n,
|
|
1596
1596
|
size: 24,
|
|
1597
1597
|
strokeWidth: 2
|
|
@@ -1600,18 +1600,18 @@ function ui({ children: e, ...t }) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
ui.displayName = "Callout.Icon";
|
|
1602
1602
|
function di(e) {
|
|
1603
|
-
return /* @__PURE__ */
|
|
1603
|
+
return /* @__PURE__ */ m("div", {
|
|
1604
1604
|
...e,
|
|
1605
1605
|
"data-imf-ui-component": "Callout.Title",
|
|
1606
|
-
className:
|
|
1606
|
+
className: f(V.title)({ className: e.className })
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
1609
1609
|
di.displayName = "Callout.Title";
|
|
1610
1610
|
function fi(e) {
|
|
1611
|
-
return /* @__PURE__ */
|
|
1611
|
+
return /* @__PURE__ */ m("div", {
|
|
1612
1612
|
...e,
|
|
1613
1613
|
"data-imf-ui-component": "Callout.Description",
|
|
1614
|
-
className:
|
|
1614
|
+
className: f(V.description)({ className: e.className })
|
|
1615
1615
|
});
|
|
1616
1616
|
}
|
|
1617
1617
|
fi.displayName = "Callout.Description";
|
|
@@ -1628,10 +1628,10 @@ var pi = {
|
|
|
1628
1628
|
//#endregion
|
|
1629
1629
|
//#region src/components/chip/chip.tsx
|
|
1630
1630
|
function mi({ variant: e = "minor", appearance: t = "outline", inline: n = !1, ...r }) {
|
|
1631
|
-
return /* @__PURE__ */
|
|
1631
|
+
return /* @__PURE__ */ m("span", {
|
|
1632
1632
|
...r,
|
|
1633
1633
|
"data-imf-ui-component": "Chip",
|
|
1634
|
-
className:
|
|
1634
|
+
className: Re({
|
|
1635
1635
|
variant: e,
|
|
1636
1636
|
appearance: t,
|
|
1637
1637
|
inline: n,
|
|
@@ -1658,12 +1658,12 @@ var hi = {
|
|
|
1658
1658
|
Panel: () => Si,
|
|
1659
1659
|
Root: () => vi,
|
|
1660
1660
|
Trigger: () => bi
|
|
1661
|
-
}), _i =
|
|
1661
|
+
}), _i = f(H.root, { variants: { variant: {
|
|
1662
1662
|
default: null,
|
|
1663
1663
|
solid: H.variantSolid
|
|
1664
1664
|
} } });
|
|
1665
1665
|
function vi({ variant: e = "default", ...n }) {
|
|
1666
|
-
return /* @__PURE__ */
|
|
1666
|
+
return /* @__PURE__ */ m(Pe.Root, {
|
|
1667
1667
|
...n,
|
|
1668
1668
|
"data-imf-ui-component": "Collapsible.Root",
|
|
1669
1669
|
className: (r) => _i({
|
|
@@ -1673,28 +1673,28 @@ function vi({ variant: e = "default", ...n }) {
|
|
|
1673
1673
|
});
|
|
1674
1674
|
}
|
|
1675
1675
|
vi.displayName = "Collapsible.Root";
|
|
1676
|
-
var yi =
|
|
1676
|
+
var yi = f(H.trigger);
|
|
1677
1677
|
function bi({ children: e, ...n }) {
|
|
1678
|
-
return /* @__PURE__ */
|
|
1678
|
+
return /* @__PURE__ */ h(Pe.Trigger, {
|
|
1679
1679
|
...n,
|
|
1680
1680
|
"data-imf-ui-component": "Collapsible.Trigger",
|
|
1681
1681
|
className: (e) => yi({ className: t(n.className, e) }),
|
|
1682
1682
|
children: [
|
|
1683
1683
|
e,
|
|
1684
|
-
/* @__PURE__ */
|
|
1684
|
+
/* @__PURE__ */ m("span", {
|
|
1685
1685
|
className: H.iconClosed,
|
|
1686
1686
|
"aria-hidden": !0,
|
|
1687
|
-
children: /* @__PURE__ */
|
|
1687
|
+
children: /* @__PURE__ */ m(d, {
|
|
1688
1688
|
glyph: te,
|
|
1689
1689
|
size: 16,
|
|
1690
1690
|
strokeWidth: 1.5
|
|
1691
1691
|
})
|
|
1692
1692
|
}),
|
|
1693
|
-
/* @__PURE__ */
|
|
1693
|
+
/* @__PURE__ */ m("span", {
|
|
1694
1694
|
className: H.iconOpen,
|
|
1695
1695
|
"aria-hidden": !0,
|
|
1696
|
-
children: /* @__PURE__ */
|
|
1697
|
-
glyph:
|
|
1696
|
+
children: /* @__PURE__ */ m(d, {
|
|
1697
|
+
glyph: oe,
|
|
1698
1698
|
size: 16,
|
|
1699
1699
|
strokeWidth: 1.5
|
|
1700
1700
|
})
|
|
@@ -1703,9 +1703,9 @@ function bi({ children: e, ...n }) {
|
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
1705
|
bi.displayName = "Collapsible.Trigger";
|
|
1706
|
-
var xi =
|
|
1706
|
+
var xi = f(H.panel);
|
|
1707
1707
|
function Si(e) {
|
|
1708
|
-
return /* @__PURE__ */
|
|
1708
|
+
return /* @__PURE__ */ m(Pe.Panel, {
|
|
1709
1709
|
...e,
|
|
1710
1710
|
"data-imf-ui-component": "Collapsible.Panel",
|
|
1711
1711
|
className: (n) => xi({ className: t(e.className, n) })
|
|
@@ -1741,7 +1741,7 @@ var Ci = {
|
|
|
1741
1741
|
variantMinor: "imf-ui-logo-module-variantMinor",
|
|
1742
1742
|
variantOncolor: "imf-ui-logo-module-variantOncolor",
|
|
1743
1743
|
variantSupport: "imf-ui-logo-module-variantSupport"
|
|
1744
|
-
}, wi =
|
|
1744
|
+
}, wi = f(U.root, { variants: {
|
|
1745
1745
|
size: {
|
|
1746
1746
|
xs: U.sizeXs,
|
|
1747
1747
|
sm: U.sizeSm,
|
|
@@ -1761,7 +1761,7 @@ var Ci = {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
} });
|
|
1763
1763
|
function Ti({ src: e, alt: t, size: n = "md", variant: r = "brand", height: i, style: a, ...o }) {
|
|
1764
|
-
return /* @__PURE__ */
|
|
1764
|
+
return /* @__PURE__ */ m("span", {
|
|
1765
1765
|
...o,
|
|
1766
1766
|
"data-imf-ui-component": "Logo",
|
|
1767
1767
|
className: wi({
|
|
@@ -1775,7 +1775,7 @@ function Ti({ src: e, alt: t, size: n = "md", variant: r = "brand", height: i, s
|
|
|
1775
1775
|
...a,
|
|
1776
1776
|
height: i
|
|
1777
1777
|
},
|
|
1778
|
-
children: typeof e == "string" ? /* @__PURE__ */
|
|
1778
|
+
children: typeof e == "string" ? /* @__PURE__ */ m("img", {
|
|
1779
1779
|
src: e,
|
|
1780
1780
|
alt: "",
|
|
1781
1781
|
"aria-hidden": "true"
|
|
@@ -1816,21 +1816,21 @@ var Ei = {
|
|
|
1816
1816
|
//#endregion
|
|
1817
1817
|
//#region src/components/logo/imfusion/imfusion.tsx
|
|
1818
1818
|
function ki({ mark: e, ...t }) {
|
|
1819
|
-
return /* @__PURE__ */
|
|
1819
|
+
return /* @__PURE__ */ m("svg", {
|
|
1820
1820
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1821
1821
|
viewBox: e.viewBox,
|
|
1822
1822
|
fill: "currentColor",
|
|
1823
1823
|
...t,
|
|
1824
|
-
children: e.shapes.map(([e, t], n) =>
|
|
1824
|
+
children: e.shapes.map(([e, t], n) => De(e, {
|
|
1825
1825
|
key: n,
|
|
1826
1826
|
...t
|
|
1827
1827
|
}))
|
|
1828
1828
|
});
|
|
1829
1829
|
}
|
|
1830
1830
|
function Ai({ glyph: e = !1, alt: t = "ImFusion", variant: n = "brand", ...r }) {
|
|
1831
|
-
return /* @__PURE__ */
|
|
1831
|
+
return /* @__PURE__ */ m(Ti, {
|
|
1832
1832
|
...r,
|
|
1833
|
-
src: /* @__PURE__ */
|
|
1833
|
+
src: /* @__PURE__ */ m(ki, { mark: e ? Oi : Di }),
|
|
1834
1834
|
alt: t,
|
|
1835
1835
|
variant: n
|
|
1836
1836
|
});
|
|
@@ -1842,9 +1842,9 @@ var ji = {
|
|
|
1842
1842
|
}, Mi = {
|
|
1843
1843
|
content: "imf-ui-navigation-menu-structure-module-content",
|
|
1844
1844
|
viewport: "imf-ui-navigation-menu-structure-module-viewport"
|
|
1845
|
-
}, Ni =
|
|
1845
|
+
}, Ni = f(ji.root), Pi = f(ji.list), Fi = f(ji.item), Ii = f(Mi.content), Li = f(Mi.viewport);
|
|
1846
1846
|
function Ri({ orientation: e = "horizontal", className: n, ...r }) {
|
|
1847
|
-
return /* @__PURE__ */
|
|
1847
|
+
return /* @__PURE__ */ m(w.Root, {
|
|
1848
1848
|
...r,
|
|
1849
1849
|
orientation: e,
|
|
1850
1850
|
"data-imf-ui-component": "NavigationMenu.Root",
|
|
@@ -1854,7 +1854,7 @@ function Ri({ orientation: e = "horizontal", className: n, ...r }) {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
Ri.displayName = "NavigationMenu.Root";
|
|
1856
1856
|
function zi(e) {
|
|
1857
|
-
return /* @__PURE__ */
|
|
1857
|
+
return /* @__PURE__ */ m(w.List, {
|
|
1858
1858
|
...e,
|
|
1859
1859
|
"data-imf-ui-component": "NavigationMenu.List",
|
|
1860
1860
|
className: (n) => Pi({ className: t(e.className, n) })
|
|
@@ -1862,7 +1862,7 @@ function zi(e) {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
zi.displayName = "NavigationMenu.List";
|
|
1864
1864
|
function Bi(e) {
|
|
1865
|
-
return /* @__PURE__ */
|
|
1865
|
+
return /* @__PURE__ */ m(w.Item, {
|
|
1866
1866
|
...e,
|
|
1867
1867
|
"data-imf-ui-component": "NavigationMenu.Item",
|
|
1868
1868
|
className: (n) => Fi({ className: t(e.className, n) })
|
|
@@ -1870,7 +1870,7 @@ function Bi(e) {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
Bi.displayName = "NavigationMenu.Item";
|
|
1872
1872
|
function Vi(e) {
|
|
1873
|
-
return /* @__PURE__ */
|
|
1873
|
+
return /* @__PURE__ */ m(w.Content, {
|
|
1874
1874
|
...e,
|
|
1875
1875
|
"data-imf-ui-component": "NavigationMenu.Content",
|
|
1876
1876
|
className: (n) => Ii({ className: t(e.className, n) })
|
|
@@ -1878,7 +1878,7 @@ function Vi(e) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
Vi.displayName = "NavigationMenu.Content";
|
|
1880
1880
|
function Hi(e) {
|
|
1881
|
-
return /* @__PURE__ */
|
|
1881
|
+
return /* @__PURE__ */ m(w.Viewport, {
|
|
1882
1882
|
...e,
|
|
1883
1883
|
"data-imf-ui-component": "NavigationMenu.Viewport",
|
|
1884
1884
|
className: (n) => Li({ className: t(e.className, n) })
|
|
@@ -1888,15 +1888,15 @@ Hi.displayName = "NavigationMenu.Viewport";
|
|
|
1888
1888
|
var Ui = {
|
|
1889
1889
|
icon: "imf-ui-navigation-menu-trigger-module-icon",
|
|
1890
1890
|
trigger: "imf-ui-navigation-menu-trigger-module-trigger"
|
|
1891
|
-
}, Wi =
|
|
1891
|
+
}, Wi = f(Ui.trigger), Gi = f(Ui.icon);
|
|
1892
1892
|
function Ki({ active: e = !1, hideChevron: n = !1, nested: r = !1, children: i, ...a }) {
|
|
1893
|
-
return /* @__PURE__ */
|
|
1893
|
+
return /* @__PURE__ */ h(w.Trigger, {
|
|
1894
1894
|
...a,
|
|
1895
1895
|
"data-imf-ui-component": "NavigationMenu.Trigger",
|
|
1896
1896
|
"data-active": e ? "" : void 0,
|
|
1897
1897
|
"data-nested": r ? "" : void 0,
|
|
1898
1898
|
className: (e) => Wi({ className: t(a.className, e) }),
|
|
1899
|
-
children: [i, !n && /* @__PURE__ */
|
|
1899
|
+
children: [i, !n && /* @__PURE__ */ m(qi, { children: /* @__PURE__ */ m(d, {
|
|
1900
1900
|
glyph: te,
|
|
1901
1901
|
size: 14
|
|
1902
1902
|
}) })]
|
|
@@ -1904,7 +1904,7 @@ function Ki({ active: e = !1, hideChevron: n = !1, nested: r = !1, children: i,
|
|
|
1904
1904
|
}
|
|
1905
1905
|
Ki.displayName = "NavigationMenu.Trigger";
|
|
1906
1906
|
function qi(e) {
|
|
1907
|
-
return /* @__PURE__ */
|
|
1907
|
+
return /* @__PURE__ */ m(w.Icon, {
|
|
1908
1908
|
...e,
|
|
1909
1909
|
"data-imf-ui-component": "NavigationMenu.Icon",
|
|
1910
1910
|
className: (n) => Gi({ className: t(e.className, n) })
|
|
@@ -1916,13 +1916,13 @@ var Ji = {
|
|
|
1916
1916
|
backdrop: "imf-ui-navigation-menu-overlay-module-backdrop",
|
|
1917
1917
|
popup: "imf-ui-navigation-menu-overlay-module-popup",
|
|
1918
1918
|
positioner: "imf-ui-navigation-menu-overlay-module-positioner"
|
|
1919
|
-
}, Yi =
|
|
1919
|
+
}, Yi = f(Ji.positioner), Xi = f(Ji.popup), Zi = f(Ji.arrow), Qi = f(Ji.backdrop);
|
|
1920
1920
|
function $i(e) {
|
|
1921
|
-
return /* @__PURE__ */
|
|
1921
|
+
return /* @__PURE__ */ m(w.Portal, { ...e });
|
|
1922
1922
|
}
|
|
1923
1923
|
$i.displayName = "NavigationMenu.Portal";
|
|
1924
1924
|
function ea({ align: e = "start", ...n }) {
|
|
1925
|
-
return /* @__PURE__ */
|
|
1925
|
+
return /* @__PURE__ */ m(w.Positioner, {
|
|
1926
1926
|
...n,
|
|
1927
1927
|
align: e,
|
|
1928
1928
|
"data-imf-ui-component": "NavigationMenu.Positioner",
|
|
@@ -1931,7 +1931,7 @@ function ea({ align: e = "start", ...n }) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
ea.displayName = "NavigationMenu.Positioner";
|
|
1933
1933
|
function ta(e) {
|
|
1934
|
-
return /* @__PURE__ */
|
|
1934
|
+
return /* @__PURE__ */ m(w.Popup, {
|
|
1935
1935
|
...e,
|
|
1936
1936
|
"data-imf-ui-component": "NavigationMenu.Popup",
|
|
1937
1937
|
className: (n) => Xi({ className: t(e.className, n) })
|
|
@@ -1939,7 +1939,7 @@ function ta(e) {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
ta.displayName = "NavigationMenu.Popup";
|
|
1941
1941
|
function na(e) {
|
|
1942
|
-
return /* @__PURE__ */
|
|
1942
|
+
return /* @__PURE__ */ m(w.Arrow, {
|
|
1943
1943
|
...e,
|
|
1944
1944
|
"data-imf-ui-component": "NavigationMenu.Arrow",
|
|
1945
1945
|
className: (n) => Zi({ className: t(e.className, n) })
|
|
@@ -1947,7 +1947,7 @@ function na(e) {
|
|
|
1947
1947
|
}
|
|
1948
1948
|
na.displayName = "NavigationMenu.Arrow";
|
|
1949
1949
|
function ra(e) {
|
|
1950
|
-
return /* @__PURE__ */
|
|
1950
|
+
return /* @__PURE__ */ m(w.Backdrop, {
|
|
1951
1951
|
...e,
|
|
1952
1952
|
"data-imf-ui-component": "NavigationMenu.Backdrop",
|
|
1953
1953
|
className: (n) => Qi({ className: t(e.className, n) })
|
|
@@ -1956,31 +1956,21 @@ function ra(e) {
|
|
|
1956
1956
|
ra.displayName = "NavigationMenu.Backdrop";
|
|
1957
1957
|
var W = {
|
|
1958
1958
|
link: "imf-ui-navigation-menu-link-module-link",
|
|
1959
|
-
linkArrow: "imf-ui-navigation-menu-link-module-linkArrow",
|
|
1960
1959
|
linkCard: "imf-ui-navigation-menu-link-module-linkCard",
|
|
1961
1960
|
linkCardDescription: "imf-ui-navigation-menu-link-module-linkCardDescription",
|
|
1962
1961
|
linkCardTitle: "imf-ui-navigation-menu-link-module-linkCardTitle",
|
|
1963
1962
|
linkList: "imf-ui-navigation-menu-link-module-linkList"
|
|
1964
|
-
}, ia =
|
|
1965
|
-
function sa(
|
|
1966
|
-
return /* @__PURE__ */
|
|
1967
|
-
...
|
|
1968
|
-
render: n,
|
|
1963
|
+
}, ia = f(W.link), aa = f(W.linkList), oa = f(W.linkCard);
|
|
1964
|
+
function sa(e) {
|
|
1965
|
+
return /* @__PURE__ */ m(w.Link, {
|
|
1966
|
+
...e,
|
|
1969
1967
|
"data-imf-ui-component": "NavigationMenu.Link",
|
|
1970
|
-
className: (
|
|
1971
|
-
children: n ? e : /* @__PURE__ */ v(g, { children: [e, /* @__PURE__ */ _("span", {
|
|
1972
|
-
className: W.linkArrow,
|
|
1973
|
-
"aria-hidden": !0,
|
|
1974
|
-
children: /* @__PURE__ */ _(p, {
|
|
1975
|
-
glyph: f,
|
|
1976
|
-
size: 14
|
|
1977
|
-
})
|
|
1978
|
-
})] })
|
|
1968
|
+
className: (n) => ia({ className: t(e.className, n) })
|
|
1979
1969
|
});
|
|
1980
1970
|
}
|
|
1981
1971
|
sa.displayName = "NavigationMenu.Link";
|
|
1982
1972
|
function ca(e) {
|
|
1983
|
-
return /* @__PURE__ */
|
|
1973
|
+
return /* @__PURE__ */ m("ul", {
|
|
1984
1974
|
...e,
|
|
1985
1975
|
"data-imf-ui-component": "NavigationMenu.LinkList",
|
|
1986
1976
|
className: aa({ className: e.className })
|
|
@@ -1988,24 +1978,24 @@ function ca(e) {
|
|
|
1988
1978
|
}
|
|
1989
1979
|
ca.displayName = "NavigationMenu.LinkList";
|
|
1990
1980
|
function la({ title: e, description: n, image: r, imageAlt: i = "", ...a }) {
|
|
1991
|
-
return /* @__PURE__ */
|
|
1981
|
+
return /* @__PURE__ */ m(w.Link, {
|
|
1992
1982
|
...a,
|
|
1993
1983
|
"data-imf-ui-component": "NavigationMenu.LinkCard",
|
|
1994
1984
|
className: (e) => oa({ className: t(a.className, e) }),
|
|
1995
|
-
children: /* @__PURE__ */
|
|
1985
|
+
children: /* @__PURE__ */ h(qn, {
|
|
1996
1986
|
variant: "main",
|
|
1997
1987
|
density: "compact",
|
|
1998
1988
|
withBorder: !1,
|
|
1999
1989
|
children: [
|
|
2000
|
-
r && /* @__PURE__ */
|
|
1990
|
+
r && /* @__PURE__ */ m(Jn, {
|
|
2001
1991
|
src: r,
|
|
2002
1992
|
alt: i
|
|
2003
1993
|
}),
|
|
2004
|
-
/* @__PURE__ */
|
|
1994
|
+
/* @__PURE__ */ m(Yn, { children: /* @__PURE__ */ m("span", {
|
|
2005
1995
|
className: W.linkCardTitle,
|
|
2006
1996
|
children: e
|
|
2007
1997
|
}) }),
|
|
2008
|
-
n && /* @__PURE__ */
|
|
1998
|
+
n && /* @__PURE__ */ m(Xn, { children: /* @__PURE__ */ m("span", {
|
|
2009
1999
|
className: W.linkCardDescription,
|
|
2010
2000
|
children: n
|
|
2011
2001
|
}) })
|
|
@@ -2017,18 +2007,18 @@ la.displayName = "NavigationMenu.LinkCard";
|
|
|
2017
2007
|
var ua = {
|
|
2018
2008
|
flyoutLink: "imf-ui-navigation-menu-flyout-link-module-flyoutLink",
|
|
2019
2009
|
linkArrow: "imf-ui-navigation-menu-flyout-link-module-linkArrow"
|
|
2020
|
-
}, da =
|
|
2010
|
+
}, da = f(ua.flyoutLink);
|
|
2021
2011
|
function fa({ children: e, render: n, ...r }) {
|
|
2022
|
-
return /* @__PURE__ */
|
|
2012
|
+
return /* @__PURE__ */ m(w.Link, {
|
|
2023
2013
|
...r,
|
|
2024
2014
|
render: n,
|
|
2025
2015
|
"data-imf-ui-component": "NavigationMenu.FlyoutLink",
|
|
2026
2016
|
className: (e) => da({ className: t(r.className, e) }),
|
|
2027
|
-
children: n ? e : /* @__PURE__ */
|
|
2017
|
+
children: n ? e : /* @__PURE__ */ h(we, { children: [e, /* @__PURE__ */ m("span", {
|
|
2028
2018
|
className: ua.linkArrow,
|
|
2029
2019
|
"aria-hidden": !0,
|
|
2030
|
-
children: /* @__PURE__ */
|
|
2031
|
-
glyph:
|
|
2020
|
+
children: /* @__PURE__ */ m(d, {
|
|
2021
|
+
glyph: ae,
|
|
2032
2022
|
size: 14
|
|
2033
2023
|
})
|
|
2034
2024
|
})] })
|
|
@@ -2075,8 +2065,8 @@ function va() {
|
|
|
2075
2065
|
return _a(localStorage.getItem(G.colorScheme.storageKey));
|
|
2076
2066
|
}
|
|
2077
2067
|
function ya({ value: e } = {}) {
|
|
2078
|
-
let t = e !== void 0, [n, r] =
|
|
2079
|
-
|
|
2068
|
+
let t = e !== void 0, [n, r] = g(() => e ?? va()), i = e ?? n, [a, o] = g(() => i === "system" ? ga() : i);
|
|
2069
|
+
ke(function() {
|
|
2080
2070
|
if (i !== "system") {
|
|
2081
2071
|
document.documentElement.setAttribute(G.colorScheme.attr, i), o(i);
|
|
2082
2072
|
return;
|
|
@@ -2106,8 +2096,8 @@ function ba(e, t) {
|
|
|
2106
2096
|
return typeof t == "boolean" ? t : typeof window < "u" && "matchMedia" in window ? window.matchMedia(e).matches : !1;
|
|
2107
2097
|
}
|
|
2108
2098
|
function xa(e, t, { getInitialValueInEffect: n } = { getInitialValueInEffect: !0 }) {
|
|
2109
|
-
let [r, i] =
|
|
2110
|
-
return
|
|
2099
|
+
let [r, i] = g(n ? t : ba(e));
|
|
2100
|
+
return ke(() => {
|
|
2111
2101
|
try {
|
|
2112
2102
|
if ("matchMedia" in window) {
|
|
2113
2103
|
let t = window.matchMedia(e);
|
|
@@ -2139,42 +2129,42 @@ var K = {
|
|
|
2139
2129
|
//#region src/components/navigation-menu/subs/inline-submenu.tsx
|
|
2140
2130
|
function Sa({ items: e, defaultValue: t }) {
|
|
2141
2131
|
let n = xa(ma("md"), !0);
|
|
2142
|
-
return /* @__PURE__ */
|
|
2132
|
+
return /* @__PURE__ */ m(w.Root, {
|
|
2143
2133
|
orientation: n ? "vertical" : "horizontal",
|
|
2144
2134
|
defaultValue: t,
|
|
2145
2135
|
"data-imf-ui-component": "NavigationMenu.Root",
|
|
2146
2136
|
"data-orientation": n ? "vertical" : "horizontal",
|
|
2147
2137
|
className: K.submenuRoot,
|
|
2148
|
-
children: /* @__PURE__ */
|
|
2138
|
+
children: /* @__PURE__ */ h("div", {
|
|
2149
2139
|
className: K.submenuLayout,
|
|
2150
|
-
children: [/* @__PURE__ */
|
|
2140
|
+
children: [/* @__PURE__ */ m(w.List, {
|
|
2151
2141
|
"data-imf-ui-component": "NavigationMenu.List",
|
|
2152
2142
|
className: K.submenuList,
|
|
2153
|
-
children: e.map((e) => /* @__PURE__ */
|
|
2143
|
+
children: e.map((e) => /* @__PURE__ */ h(w.Item, {
|
|
2154
2144
|
value: e.value,
|
|
2155
2145
|
"data-imf-ui-component": "NavigationMenu.Item",
|
|
2156
|
-
children: [/* @__PURE__ */
|
|
2146
|
+
children: [/* @__PURE__ */ h(w.Trigger, {
|
|
2157
2147
|
"data-imf-ui-component": "NavigationMenu.Trigger",
|
|
2158
2148
|
className: K.submenuTrigger,
|
|
2159
|
-
children: [/* @__PURE__ */
|
|
2149
|
+
children: [/* @__PURE__ */ m("span", {
|
|
2160
2150
|
className: K.submenuLabel,
|
|
2161
2151
|
children: e.label
|
|
2162
|
-
}), e.hint && /* @__PURE__ */
|
|
2152
|
+
}), e.hint && /* @__PURE__ */ m("span", {
|
|
2163
2153
|
className: K.submenuHint,
|
|
2164
2154
|
children: e.hint
|
|
2165
2155
|
})]
|
|
2166
|
-
}), /* @__PURE__ */
|
|
2156
|
+
}), /* @__PURE__ */ h(w.Content, {
|
|
2167
2157
|
"data-imf-ui-component": "NavigationMenu.Content",
|
|
2168
2158
|
className: K.submenuContent,
|
|
2169
|
-
children: [/* @__PURE__ */
|
|
2159
|
+
children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("h4", {
|
|
2170
2160
|
className: K.submenuTitle,
|
|
2171
2161
|
children: e.title
|
|
2172
|
-
}), e.description && /* @__PURE__ */
|
|
2162
|
+
}), e.description && /* @__PURE__ */ m("p", {
|
|
2173
2163
|
className: K.submenuDescription,
|
|
2174
2164
|
children: e.description
|
|
2175
|
-
})] }), /* @__PURE__ */
|
|
2165
|
+
})] }), /* @__PURE__ */ m("ul", {
|
|
2176
2166
|
className: K.submenuLinkList,
|
|
2177
|
-
children: e.links.map((e, t) => /* @__PURE__ */
|
|
2167
|
+
children: e.links.map((e, t) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(la, {
|
|
2178
2168
|
href: e.href,
|
|
2179
2169
|
title: e.title,
|
|
2180
2170
|
description: e.description
|
|
@@ -2182,7 +2172,7 @@ function Sa({ items: e, defaultValue: t }) {
|
|
|
2182
2172
|
})]
|
|
2183
2173
|
})]
|
|
2184
2174
|
}, e.value))
|
|
2185
|
-
}), /* @__PURE__ */
|
|
2175
|
+
}), /* @__PURE__ */ m(w.Viewport, {
|
|
2186
2176
|
"data-imf-ui-component": "NavigationMenu.Viewport",
|
|
2187
2177
|
className: K.submenuViewport
|
|
2188
2178
|
})]
|
|
@@ -2233,13 +2223,13 @@ var Ca = /* @__PURE__ */ e({
|
|
|
2233
2223
|
blue: Ea,
|
|
2234
2224
|
white: Da,
|
|
2235
2225
|
black: Ta
|
|
2236
|
-
}, ka =
|
|
2226
|
+
}, ka = f(q.root, { variants: { size: {
|
|
2237
2227
|
sm: q.sizeSm,
|
|
2238
2228
|
md: q.sizeMd,
|
|
2239
2229
|
lg: q.sizeLg
|
|
2240
2230
|
} } });
|
|
2241
2231
|
function Aa({ size: e = "md", variant: t = "blue", label: n = "Loading", ...r }) {
|
|
2242
|
-
return /* @__PURE__ */
|
|
2232
|
+
return /* @__PURE__ */ m("span", {
|
|
2243
2233
|
...r,
|
|
2244
2234
|
"data-imf-ui-component": "Spinner",
|
|
2245
2235
|
className: ka({
|
|
@@ -2248,7 +2238,7 @@ function Aa({ size: e = "md", variant: t = "blue", label: n = "Loading", ...r })
|
|
|
2248
2238
|
}),
|
|
2249
2239
|
role: "status",
|
|
2250
2240
|
"aria-label": n,
|
|
2251
|
-
children: /* @__PURE__ */
|
|
2241
|
+
children: /* @__PURE__ */ m("img", {
|
|
2252
2242
|
className: q.glyph,
|
|
2253
2243
|
src: Oa[t],
|
|
2254
2244
|
alt: "",
|
|
@@ -2282,9 +2272,9 @@ var ja = {
|
|
|
2282
2272
|
Root: () => Va,
|
|
2283
2273
|
Row: () => Wa,
|
|
2284
2274
|
SortableHeaderCell: () => Xa
|
|
2285
|
-
}), Na =
|
|
2275
|
+
}), Na = f(J.root), Pa = f(J.header), Fa = f(J.body), Ia = f(J.row), La = f(J.headerCell), Ra = f(J.cell), za = f(J.headerButton), Ba = f(J.sortIndicator);
|
|
2286
2276
|
function Va(e) {
|
|
2287
|
-
return /* @__PURE__ */
|
|
2277
|
+
return /* @__PURE__ */ m("table", {
|
|
2288
2278
|
...e,
|
|
2289
2279
|
"data-imf-ui-component": "Table.Root",
|
|
2290
2280
|
className: Na({ className: e.className })
|
|
@@ -2292,7 +2282,7 @@ function Va(e) {
|
|
|
2292
2282
|
}
|
|
2293
2283
|
Va.displayName = "Table.Root";
|
|
2294
2284
|
function Ha(e) {
|
|
2295
|
-
return /* @__PURE__ */
|
|
2285
|
+
return /* @__PURE__ */ m("thead", {
|
|
2296
2286
|
...e,
|
|
2297
2287
|
"data-imf-ui-component": "Table.Header",
|
|
2298
2288
|
className: Pa({ className: e.className })
|
|
@@ -2300,7 +2290,7 @@ function Ha(e) {
|
|
|
2300
2290
|
}
|
|
2301
2291
|
Ha.displayName = "Table.Header";
|
|
2302
2292
|
function Ua(e) {
|
|
2303
|
-
return /* @__PURE__ */
|
|
2293
|
+
return /* @__PURE__ */ m("tbody", {
|
|
2304
2294
|
...e,
|
|
2305
2295
|
"data-imf-ui-component": "Table.Body",
|
|
2306
2296
|
className: Fa({ className: e.className })
|
|
@@ -2308,7 +2298,7 @@ function Ua(e) {
|
|
|
2308
2298
|
}
|
|
2309
2299
|
Ua.displayName = "Table.Body";
|
|
2310
2300
|
function Wa(e) {
|
|
2311
|
-
return /* @__PURE__ */
|
|
2301
|
+
return /* @__PURE__ */ m("tr", {
|
|
2312
2302
|
...e,
|
|
2313
2303
|
"data-imf-ui-component": "Table.Row",
|
|
2314
2304
|
className: Ia({ className: e.className })
|
|
@@ -2316,7 +2306,7 @@ function Wa(e) {
|
|
|
2316
2306
|
}
|
|
2317
2307
|
Wa.displayName = "Table.Row";
|
|
2318
2308
|
function Ga(e) {
|
|
2319
|
-
return /* @__PURE__ */
|
|
2309
|
+
return /* @__PURE__ */ m("th", {
|
|
2320
2310
|
...e,
|
|
2321
2311
|
"data-imf-ui-component": "Table.HeaderCell",
|
|
2322
2312
|
className: La({ className: e.className })
|
|
@@ -2324,7 +2314,7 @@ function Ga(e) {
|
|
|
2324
2314
|
}
|
|
2325
2315
|
Ga.displayName = "Table.HeaderCell";
|
|
2326
2316
|
function Ka(e) {
|
|
2327
|
-
return /* @__PURE__ */
|
|
2317
|
+
return /* @__PURE__ */ m("td", {
|
|
2328
2318
|
...e,
|
|
2329
2319
|
"data-imf-ui-component": "Table.Cell",
|
|
2330
2320
|
className: Ra({ className: e.className })
|
|
@@ -2332,7 +2322,7 @@ function Ka(e) {
|
|
|
2332
2322
|
}
|
|
2333
2323
|
Ka.displayName = "Table.Cell";
|
|
2334
2324
|
function qa({ type: e = "button", ...t }) {
|
|
2335
|
-
return /* @__PURE__ */
|
|
2325
|
+
return /* @__PURE__ */ m("button", {
|
|
2336
2326
|
...t,
|
|
2337
2327
|
type: e,
|
|
2338
2328
|
"data-imf-ui-component": "Table.HeaderButton",
|
|
@@ -2344,12 +2334,12 @@ function Ja(e) {
|
|
|
2344
2334
|
return e === "asc" ? "ascending" : e === "desc" ? "descending" : "none";
|
|
2345
2335
|
}
|
|
2346
2336
|
function Ya({ sorted: e }) {
|
|
2347
|
-
let t = e === "asc" ?
|
|
2348
|
-
return /* @__PURE__ */
|
|
2337
|
+
let t = e === "asc" ? me : e === "desc" ? ee : u;
|
|
2338
|
+
return /* @__PURE__ */ m("span", {
|
|
2349
2339
|
className: Ba(),
|
|
2350
2340
|
"data-sorted": e || void 0,
|
|
2351
2341
|
"aria-hidden": !0,
|
|
2352
|
-
children: /* @__PURE__ */
|
|
2342
|
+
children: /* @__PURE__ */ m(d, {
|
|
2353
2343
|
glyph: t,
|
|
2354
2344
|
size: 14,
|
|
2355
2345
|
strokeWidth: 1.5
|
|
@@ -2357,14 +2347,14 @@ function Ya({ sorted: e }) {
|
|
|
2357
2347
|
});
|
|
2358
2348
|
}
|
|
2359
2349
|
function Xa({ sortDirection: e, onToggle: t, children: n, ...r }) {
|
|
2360
|
-
return t ? /* @__PURE__ */
|
|
2350
|
+
return t ? /* @__PURE__ */ m(Ga, {
|
|
2361
2351
|
...r,
|
|
2362
2352
|
"aria-sort": Ja(e),
|
|
2363
|
-
children: /* @__PURE__ */
|
|
2353
|
+
children: /* @__PURE__ */ h(qa, {
|
|
2364
2354
|
onClick: t,
|
|
2365
|
-
children: [n, /* @__PURE__ */
|
|
2355
|
+
children: [n, /* @__PURE__ */ m(Ya, { sorted: e })]
|
|
2366
2356
|
})
|
|
2367
|
-
}) : /* @__PURE__ */
|
|
2357
|
+
}) : /* @__PURE__ */ m(Ga, {
|
|
2368
2358
|
...r,
|
|
2369
2359
|
children: n
|
|
2370
2360
|
});
|
|
@@ -2430,7 +2420,7 @@ var Za = {
|
|
|
2430
2420
|
Viewport: () => ho,
|
|
2431
2421
|
createToastManager: () => fo,
|
|
2432
2422
|
useToastManager: () => uo
|
|
2433
|
-
}), eo =
|
|
2423
|
+
}), eo = f(Y.portal), to = f(Y.viewport, {
|
|
2434
2424
|
variants: {
|
|
2435
2425
|
position: {
|
|
2436
2426
|
"top-left": Y.positionTopLeft,
|
|
@@ -2451,7 +2441,7 @@ var Za = {
|
|
|
2451
2441
|
position: "bottom-center",
|
|
2452
2442
|
width: "default"
|
|
2453
2443
|
}
|
|
2454
|
-
}), no =
|
|
2444
|
+
}), no = f(Y.root, {
|
|
2455
2445
|
variants: { variant: {
|
|
2456
2446
|
neutral: null,
|
|
2457
2447
|
info: Y.variantInfo,
|
|
@@ -2460,9 +2450,9 @@ var Za = {
|
|
|
2460
2450
|
error: Y.variantError
|
|
2461
2451
|
} },
|
|
2462
2452
|
defaultVariants: { variant: "neutral" }
|
|
2463
|
-
}), ro =
|
|
2453
|
+
}), ro = f(Y.content), io = f(Y.title), ao = f(Y.description), oo = f(Y.close), so = f(Y.action), co = f(Y.positioner), lo = f(Y.arrow), uo = T.useToastManager, fo = T.createToastManager;
|
|
2464
2454
|
function po({ timeout: e = 5e3, limit: t = 3, ...n }) {
|
|
2465
|
-
return /* @__PURE__ */
|
|
2455
|
+
return /* @__PURE__ */ m(T.Provider, {
|
|
2466
2456
|
...n,
|
|
2467
2457
|
timeout: e,
|
|
2468
2458
|
limit: t
|
|
@@ -2470,7 +2460,7 @@ function po({ timeout: e = 5e3, limit: t = 3, ...n }) {
|
|
|
2470
2460
|
}
|
|
2471
2461
|
po.displayName = "Toast.Provider";
|
|
2472
2462
|
function mo(e) {
|
|
2473
|
-
return /* @__PURE__ */
|
|
2463
|
+
return /* @__PURE__ */ m(T.Portal, {
|
|
2474
2464
|
...e,
|
|
2475
2465
|
"data-imf-ui-component": "Toast.Portal",
|
|
2476
2466
|
className: (n) => eo({ className: t(e.className, n) })
|
|
@@ -2478,7 +2468,7 @@ function mo(e) {
|
|
|
2478
2468
|
}
|
|
2479
2469
|
mo.displayName = "Toast.Portal";
|
|
2480
2470
|
function ho({ position: e = "bottom-center", width: n = "default", ...r }) {
|
|
2481
|
-
return /* @__PURE__ */
|
|
2471
|
+
return /* @__PURE__ */ m(T.Viewport, {
|
|
2482
2472
|
...r,
|
|
2483
2473
|
"data-imf-ui-component": "Toast.Viewport",
|
|
2484
2474
|
className: (i) => to({
|
|
@@ -2490,7 +2480,7 @@ function ho({ position: e = "bottom-center", width: n = "default", ...r }) {
|
|
|
2490
2480
|
}
|
|
2491
2481
|
ho.displayName = "Toast.Viewport";
|
|
2492
2482
|
function go({ variant: e = "neutral", ...n }) {
|
|
2493
|
-
return /* @__PURE__ */
|
|
2483
|
+
return /* @__PURE__ */ m(T.Root, {
|
|
2494
2484
|
...n,
|
|
2495
2485
|
"data-imf-ui-component": "Toast.Root",
|
|
2496
2486
|
className: (r) => no({
|
|
@@ -2501,7 +2491,7 @@ function go({ variant: e = "neutral", ...n }) {
|
|
|
2501
2491
|
}
|
|
2502
2492
|
go.displayName = "Toast.Root";
|
|
2503
2493
|
function _o(e) {
|
|
2504
|
-
return /* @__PURE__ */
|
|
2494
|
+
return /* @__PURE__ */ m(T.Content, {
|
|
2505
2495
|
...e,
|
|
2506
2496
|
"data-imf-ui-component": "Toast.Content",
|
|
2507
2497
|
className: (n) => ro({ className: t(e.className, n) })
|
|
@@ -2509,7 +2499,7 @@ function _o(e) {
|
|
|
2509
2499
|
}
|
|
2510
2500
|
_o.displayName = "Toast.Content";
|
|
2511
2501
|
function vo(e) {
|
|
2512
|
-
return /* @__PURE__ */
|
|
2502
|
+
return /* @__PURE__ */ m(T.Title, {
|
|
2513
2503
|
...e,
|
|
2514
2504
|
"data-imf-ui-component": "Toast.Title",
|
|
2515
2505
|
className: (n) => io({ className: t(e.className, n) })
|
|
@@ -2517,7 +2507,7 @@ function vo(e) {
|
|
|
2517
2507
|
}
|
|
2518
2508
|
vo.displayName = "Toast.Title";
|
|
2519
2509
|
function yo(e) {
|
|
2520
|
-
return /* @__PURE__ */
|
|
2510
|
+
return /* @__PURE__ */ m(T.Description, {
|
|
2521
2511
|
...e,
|
|
2522
2512
|
"data-imf-ui-component": "Toast.Description",
|
|
2523
2513
|
className: (n) => ao({ className: t(e.className, n) })
|
|
@@ -2525,7 +2515,7 @@ function yo(e) {
|
|
|
2525
2515
|
}
|
|
2526
2516
|
yo.displayName = "Toast.Description";
|
|
2527
2517
|
function bo(e) {
|
|
2528
|
-
return /* @__PURE__ */
|
|
2518
|
+
return /* @__PURE__ */ m(T.Close, {
|
|
2529
2519
|
...e,
|
|
2530
2520
|
"data-imf-ui-component": "Toast.Close",
|
|
2531
2521
|
className: (n) => oo({ className: t(e.className, n) })
|
|
@@ -2533,7 +2523,7 @@ function bo(e) {
|
|
|
2533
2523
|
}
|
|
2534
2524
|
bo.displayName = "Toast.Close";
|
|
2535
2525
|
function xo(e) {
|
|
2536
|
-
return /* @__PURE__ */
|
|
2526
|
+
return /* @__PURE__ */ m(T.Action, {
|
|
2537
2527
|
...e,
|
|
2538
2528
|
"data-imf-ui-component": "Toast.Action",
|
|
2539
2529
|
className: (n) => so({ className: t(e.className, n) })
|
|
@@ -2541,7 +2531,7 @@ function xo(e) {
|
|
|
2541
2531
|
}
|
|
2542
2532
|
xo.displayName = "Toast.Action";
|
|
2543
2533
|
function So(e) {
|
|
2544
|
-
return /* @__PURE__ */
|
|
2534
|
+
return /* @__PURE__ */ m(T.Positioner, {
|
|
2545
2535
|
...e,
|
|
2546
2536
|
"data-imf-ui-component": "Toast.Positioner",
|
|
2547
2537
|
className: (n) => co({ className: t(e.className, n) })
|
|
@@ -2549,7 +2539,7 @@ function So(e) {
|
|
|
2549
2539
|
}
|
|
2550
2540
|
So.displayName = "Toast.Positioner";
|
|
2551
2541
|
function Co(e) {
|
|
2552
|
-
return /* @__PURE__ */
|
|
2542
|
+
return /* @__PURE__ */ m(T.Arrow, {
|
|
2553
2543
|
...e,
|
|
2554
2544
|
"data-imf-ui-component": "Toast.Arrow",
|
|
2555
2545
|
className: (n) => lo({ className: t(e.className, n) })
|
|
@@ -2596,7 +2586,7 @@ var wo = {
|
|
|
2596
2586
|
Trigger: () => Po,
|
|
2597
2587
|
Viewport: () => zo,
|
|
2598
2588
|
createHandle: () => jo
|
|
2599
|
-
}), Eo =
|
|
2589
|
+
}), Eo = f(X.trigger, { variants: {
|
|
2600
2590
|
variant: {
|
|
2601
2591
|
primary: X.variantPrimary,
|
|
2602
2592
|
secondary: X.variantSecondary,
|
|
@@ -2604,22 +2594,22 @@ var wo = {
|
|
|
2604
2594
|
negative: X.variantNegative
|
|
2605
2595
|
},
|
|
2606
2596
|
inline: { true: X.triggerInline }
|
|
2607
|
-
} }), Do =
|
|
2597
|
+
} }), Do = f(X.positioner), Oo = f(X.popup, { variants: { variant: {
|
|
2608
2598
|
primary: X.popupVariantPrimary,
|
|
2609
2599
|
secondary: X.popupVariantSecondary,
|
|
2610
2600
|
positive: X.popupVariantPositive,
|
|
2611
2601
|
negative: X.popupVariantNegative
|
|
2612
|
-
} } }), ko =
|
|
2602
|
+
} } }), ko = f(X.arrow), Ao = f(X.viewport), jo = E.createHandle;
|
|
2613
2603
|
function Mo(e) {
|
|
2614
|
-
return /* @__PURE__ */
|
|
2604
|
+
return /* @__PURE__ */ m(E.Provider, { ...e });
|
|
2615
2605
|
}
|
|
2616
2606
|
Mo.displayName = "Tooltip.Provider";
|
|
2617
2607
|
function No(e) {
|
|
2618
|
-
return /* @__PURE__ */
|
|
2608
|
+
return /* @__PURE__ */ m(E.Root, { ...e });
|
|
2619
2609
|
}
|
|
2620
2610
|
No.displayName = "Tooltip.Root";
|
|
2621
2611
|
function Po({ variant: e = "secondary", inline: n = !1, delay: r = 250, ...i }) {
|
|
2622
|
-
return /* @__PURE__ */
|
|
2612
|
+
return /* @__PURE__ */ m(E.Trigger, {
|
|
2623
2613
|
...i,
|
|
2624
2614
|
delay: r,
|
|
2625
2615
|
"data-imf-ui-component": "Tooltip.Trigger",
|
|
@@ -2632,11 +2622,11 @@ function Po({ variant: e = "secondary", inline: n = !1, delay: r = 250, ...i })
|
|
|
2632
2622
|
}
|
|
2633
2623
|
Po.displayName = "Tooltip.Trigger";
|
|
2634
2624
|
function Fo(e) {
|
|
2635
|
-
return /* @__PURE__ */
|
|
2625
|
+
return /* @__PURE__ */ m(E.Portal, { ...e });
|
|
2636
2626
|
}
|
|
2637
2627
|
Fo.displayName = "Tooltip.Portal";
|
|
2638
2628
|
function Io({ sideOffset: e = 13, ...n }) {
|
|
2639
|
-
return /* @__PURE__ */
|
|
2629
|
+
return /* @__PURE__ */ m(E.Positioner, {
|
|
2640
2630
|
...n,
|
|
2641
2631
|
sideOffset: e,
|
|
2642
2632
|
"data-imf-ui-component": "Tooltip.Positioner",
|
|
@@ -2645,7 +2635,7 @@ function Io({ sideOffset: e = 13, ...n }) {
|
|
|
2645
2635
|
}
|
|
2646
2636
|
Io.displayName = "Tooltip.Positioner";
|
|
2647
2637
|
function Lo({ variant: e, ...n }) {
|
|
2648
|
-
return /* @__PURE__ */
|
|
2638
|
+
return /* @__PURE__ */ m(E.Popup, {
|
|
2649
2639
|
...n,
|
|
2650
2640
|
"data-imf-ui-component": "Tooltip.Popup",
|
|
2651
2641
|
className: (r) => Oo({
|
|
@@ -2656,7 +2646,7 @@ function Lo({ variant: e, ...n }) {
|
|
|
2656
2646
|
}
|
|
2657
2647
|
Lo.displayName = "Tooltip.Popup";
|
|
2658
2648
|
function Ro(e) {
|
|
2659
|
-
return /* @__PURE__ */
|
|
2649
|
+
return /* @__PURE__ */ m(E.Arrow, {
|
|
2660
2650
|
...e,
|
|
2661
2651
|
"data-imf-ui-component": "Tooltip.Arrow",
|
|
2662
2652
|
className: (n) => ko({ className: t(e.className, n) })
|
|
@@ -2664,7 +2654,7 @@ function Ro(e) {
|
|
|
2664
2654
|
}
|
|
2665
2655
|
Ro.displayName = "Tooltip.Arrow";
|
|
2666
2656
|
function zo(e) {
|
|
2667
|
-
return /* @__PURE__ */
|
|
2657
|
+
return /* @__PURE__ */ m(E.Viewport, {
|
|
2668
2658
|
...e,
|
|
2669
2659
|
"data-imf-ui-component": "Tooltip.Viewport",
|
|
2670
2660
|
className: (n) => Ao({ className: t(e.className, n) })
|
|
@@ -2672,14 +2662,14 @@ function zo(e) {
|
|
|
2672
2662
|
}
|
|
2673
2663
|
zo.displayName = "Tooltip.Viewport";
|
|
2674
2664
|
function Bo({ trigger: e, children: t, delay: n = 150, side: r = "top", sideOffset: i = 13 }) {
|
|
2675
|
-
return /* @__PURE__ */
|
|
2665
|
+
return /* @__PURE__ */ h(No, { children: [/* @__PURE__ */ m(Po, {
|
|
2676
2666
|
inline: !0,
|
|
2677
2667
|
delay: n,
|
|
2678
2668
|
children: e
|
|
2679
|
-
}), /* @__PURE__ */
|
|
2669
|
+
}), /* @__PURE__ */ m(Fo, { children: /* @__PURE__ */ m(Io, {
|
|
2680
2670
|
side: r,
|
|
2681
2671
|
sideOffset: i,
|
|
2682
|
-
children: /* @__PURE__ */
|
|
2672
|
+
children: /* @__PURE__ */ m(Lo, { children: t })
|
|
2683
2673
|
}) })] });
|
|
2684
2674
|
}
|
|
2685
2675
|
Bo.displayName = "Tooltip.Inline";
|
|
@@ -2743,7 +2733,7 @@ var Vo = {
|
|
|
2743
2733
|
P: () => Jo,
|
|
2744
2734
|
Small: () => Zo,
|
|
2745
2735
|
UnorderedList: () => rs
|
|
2746
|
-
}), Q =
|
|
2736
|
+
}), Q = f("", { variants: { variant: {
|
|
2747
2737
|
main: Z.variantMain,
|
|
2748
2738
|
support: Z.variantSupport,
|
|
2749
2739
|
minor: Z.variantMinor,
|
|
@@ -2757,18 +2747,18 @@ var Vo = {
|
|
|
2757
2747
|
"accent-1": Z.variantAccent1,
|
|
2758
2748
|
"accent-2": Z.variantAccent2,
|
|
2759
2749
|
"accent-3": Z.variantAccent3
|
|
2760
|
-
} } }), $ =
|
|
2750
|
+
} } }), $ = f("", { variants: { spacing: {
|
|
2761
2751
|
default: Z.spacingDefault,
|
|
2762
2752
|
none: Z.spacingNone
|
|
2763
2753
|
} } });
|
|
2764
2754
|
function Uo({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine: n = !0, render: r, ...i }) {
|
|
2765
|
-
return
|
|
2755
|
+
return C({
|
|
2766
2756
|
defaultTagName: "h1",
|
|
2767
2757
|
render: r,
|
|
2768
2758
|
props: {
|
|
2769
|
-
...
|
|
2759
|
+
...S(i, { className: Q({
|
|
2770
2760
|
variant: e,
|
|
2771
|
-
className:
|
|
2761
|
+
className: p(Z.hero, n && Z.fadeAfterFirstLine, $({ spacing: t }))
|
|
2772
2762
|
}) }),
|
|
2773
2763
|
"data-imf-ui-component": "Typo.Hero"
|
|
2774
2764
|
}
|
|
@@ -2776,13 +2766,13 @@ function Uo({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine
|
|
|
2776
2766
|
}
|
|
2777
2767
|
Uo.displayName = "Typo.Hero";
|
|
2778
2768
|
function Wo({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine: n = !0, render: r, ...i }) {
|
|
2779
|
-
return
|
|
2769
|
+
return C({
|
|
2780
2770
|
defaultTagName: "h1",
|
|
2781
2771
|
render: r,
|
|
2782
2772
|
props: {
|
|
2783
|
-
...
|
|
2773
|
+
...S(i, { className: Q({
|
|
2784
2774
|
variant: e,
|
|
2785
|
-
className:
|
|
2775
|
+
className: p(Z.h1, n && Z.fadeAfterFirstLine, $({ spacing: t }))
|
|
2786
2776
|
}) }),
|
|
2787
2777
|
"data-imf-ui-component": "Typo.H1"
|
|
2788
2778
|
}
|
|
@@ -2790,13 +2780,13 @@ function Wo({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine
|
|
|
2790
2780
|
}
|
|
2791
2781
|
Wo.displayName = "Typo.H1";
|
|
2792
2782
|
function Go({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine: n = !0, render: r, ...i }) {
|
|
2793
|
-
return
|
|
2783
|
+
return C({
|
|
2794
2784
|
defaultTagName: "h2",
|
|
2795
2785
|
render: r,
|
|
2796
2786
|
props: {
|
|
2797
|
-
...
|
|
2787
|
+
...S(i, { className: Q({
|
|
2798
2788
|
variant: e,
|
|
2799
|
-
className:
|
|
2789
|
+
className: p(Z.h2, n && Z.fadeAfterFirstLine, $({ spacing: t }))
|
|
2800
2790
|
}) }),
|
|
2801
2791
|
"data-imf-ui-component": "Typo.H2"
|
|
2802
2792
|
}
|
|
@@ -2804,13 +2794,13 @@ function Go({ variant: e = "primary", spacing: t = "default", fadeAfterFirstLine
|
|
|
2804
2794
|
}
|
|
2805
2795
|
Go.displayName = "Typo.H2";
|
|
2806
2796
|
function Ko({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2807
|
-
return
|
|
2797
|
+
return C({
|
|
2808
2798
|
defaultTagName: "h3",
|
|
2809
2799
|
render: n,
|
|
2810
2800
|
props: {
|
|
2811
|
-
...
|
|
2801
|
+
...S(r, { className: Q({
|
|
2812
2802
|
variant: e,
|
|
2813
|
-
className:
|
|
2803
|
+
className: p(Z.h3, $({ spacing: t }))
|
|
2814
2804
|
}) }),
|
|
2815
2805
|
"data-imf-ui-component": "Typo.H3"
|
|
2816
2806
|
}
|
|
@@ -2818,13 +2808,13 @@ function Ko({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
|
2818
2808
|
}
|
|
2819
2809
|
Ko.displayName = "Typo.H3";
|
|
2820
2810
|
function qo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2821
|
-
return
|
|
2811
|
+
return C({
|
|
2822
2812
|
defaultTagName: "h4",
|
|
2823
2813
|
render: n,
|
|
2824
2814
|
props: {
|
|
2825
|
-
...
|
|
2815
|
+
...S(r, { className: Q({
|
|
2826
2816
|
variant: e,
|
|
2827
|
-
className:
|
|
2817
|
+
className: p(Z.h4, $({ spacing: t }))
|
|
2828
2818
|
}) }),
|
|
2829
2819
|
"data-imf-ui-component": "Typo.H4"
|
|
2830
2820
|
}
|
|
@@ -2832,13 +2822,13 @@ function qo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
|
2832
2822
|
}
|
|
2833
2823
|
qo.displayName = "Typo.H4";
|
|
2834
2824
|
function Jo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2835
|
-
return
|
|
2825
|
+
return C({
|
|
2836
2826
|
defaultTagName: "p",
|
|
2837
2827
|
render: n,
|
|
2838
2828
|
props: {
|
|
2839
|
-
...
|
|
2829
|
+
...S(r, { className: Q({
|
|
2840
2830
|
variant: e,
|
|
2841
|
-
className:
|
|
2831
|
+
className: p(Z.p, $({ spacing: t }))
|
|
2842
2832
|
}) }),
|
|
2843
2833
|
"data-imf-ui-component": "Typo.P"
|
|
2844
2834
|
}
|
|
@@ -2846,13 +2836,13 @@ function Jo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
|
2846
2836
|
}
|
|
2847
2837
|
Jo.displayName = "Typo.P";
|
|
2848
2838
|
function Yo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2849
|
-
return
|
|
2839
|
+
return C({
|
|
2850
2840
|
defaultTagName: "p",
|
|
2851
2841
|
render: n,
|
|
2852
2842
|
props: {
|
|
2853
|
-
...
|
|
2843
|
+
...S(r, { className: Q({
|
|
2854
2844
|
variant: e,
|
|
2855
|
-
className:
|
|
2845
|
+
className: p(Z.lead, $({ spacing: t }))
|
|
2856
2846
|
}) }),
|
|
2857
2847
|
"data-imf-ui-component": "Typo.Lead"
|
|
2858
2848
|
}
|
|
@@ -2860,13 +2850,13 @@ function Yo({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
|
2860
2850
|
}
|
|
2861
2851
|
Yo.displayName = "Typo.Lead";
|
|
2862
2852
|
function Xo({ variant: e = "main", render: t, ...n }) {
|
|
2863
|
-
return
|
|
2853
|
+
return C({
|
|
2864
2854
|
defaultTagName: "p",
|
|
2865
2855
|
render: t,
|
|
2866
2856
|
props: {
|
|
2867
|
-
...
|
|
2857
|
+
...S(n, { className: Q({
|
|
2868
2858
|
variant: e,
|
|
2869
|
-
className:
|
|
2859
|
+
className: p(Z.detail)
|
|
2870
2860
|
}) }),
|
|
2871
2861
|
"data-imf-ui-component": "Typo.Detail"
|
|
2872
2862
|
}
|
|
@@ -2874,13 +2864,13 @@ function Xo({ variant: e = "main", render: t, ...n }) {
|
|
|
2874
2864
|
}
|
|
2875
2865
|
Xo.displayName = "Typo.Detail";
|
|
2876
2866
|
function Zo({ variant: e = "minor", render: t, ...n }) {
|
|
2877
|
-
return
|
|
2867
|
+
return C({
|
|
2878
2868
|
defaultTagName: "small",
|
|
2879
2869
|
render: t,
|
|
2880
2870
|
props: {
|
|
2881
|
-
...
|
|
2871
|
+
...S(n, { className: Q({
|
|
2882
2872
|
variant: e,
|
|
2883
|
-
className:
|
|
2873
|
+
className: p(Z.small)
|
|
2884
2874
|
}) }),
|
|
2885
2875
|
"data-imf-ui-component": "Typo.Small"
|
|
2886
2876
|
}
|
|
@@ -2888,13 +2878,13 @@ function Zo({ variant: e = "minor", render: t, ...n }) {
|
|
|
2888
2878
|
}
|
|
2889
2879
|
Zo.displayName = "Typo.Small";
|
|
2890
2880
|
function Qo({ variant: e = "support", spacing: t = "default", render: n, ...r }) {
|
|
2891
|
-
return
|
|
2881
|
+
return C({
|
|
2892
2882
|
defaultTagName: "blockquote",
|
|
2893
2883
|
render: n,
|
|
2894
2884
|
props: {
|
|
2895
|
-
...
|
|
2885
|
+
...S(r, { className: Q({
|
|
2896
2886
|
variant: e,
|
|
2897
|
-
className:
|
|
2887
|
+
className: p(Z.blockquote, $({ spacing: t }))
|
|
2898
2888
|
}) }),
|
|
2899
2889
|
"data-imf-ui-component": "Typo.Blockquote"
|
|
2900
2890
|
}
|
|
@@ -2902,17 +2892,17 @@ function Qo({ variant: e = "support", spacing: t = "default", render: n, ...r })
|
|
|
2902
2892
|
}
|
|
2903
2893
|
Qo.displayName = "Typo.Blockquote";
|
|
2904
2894
|
function $o(e) {
|
|
2905
|
-
return /* @__PURE__ */
|
|
2895
|
+
return /* @__PURE__ */ m(ye, { ...e });
|
|
2906
2896
|
}
|
|
2907
2897
|
$o.displayName = "Typo.InlineCode";
|
|
2908
2898
|
function es({ variant: e = "oncolor", render: t, ...n }) {
|
|
2909
|
-
return
|
|
2899
|
+
return C({
|
|
2910
2900
|
defaultTagName: "mark",
|
|
2911
2901
|
render: t,
|
|
2912
2902
|
props: {
|
|
2913
|
-
...
|
|
2903
|
+
...S(n, { className: Q({
|
|
2914
2904
|
variant: e,
|
|
2915
|
-
className:
|
|
2905
|
+
className: p(Z.highlight)
|
|
2916
2906
|
}) }),
|
|
2917
2907
|
"data-imf-ui-component": "Typo.Highlight"
|
|
2918
2908
|
}
|
|
@@ -2920,17 +2910,17 @@ function es({ variant: e = "oncolor", render: t, ...n }) {
|
|
|
2920
2910
|
}
|
|
2921
2911
|
es.displayName = "Typo.Highlight";
|
|
2922
2912
|
function ts({ variant: e = "primary", kind: t = "external", render: n, ...r }) {
|
|
2923
|
-
return
|
|
2913
|
+
return C({
|
|
2924
2914
|
defaultTagName: "a",
|
|
2925
2915
|
render: n,
|
|
2926
2916
|
props: {
|
|
2927
|
-
...
|
|
2917
|
+
...S(t === "external" ? {
|
|
2928
2918
|
target: "_blank",
|
|
2929
2919
|
rel: "noreferrer"
|
|
2930
2920
|
} : {}, r, {
|
|
2931
2921
|
className: Q({
|
|
2932
2922
|
variant: e,
|
|
2933
|
-
className:
|
|
2923
|
+
className: p(Z.link)
|
|
2934
2924
|
}),
|
|
2935
2925
|
children: r.children
|
|
2936
2926
|
}),
|
|
@@ -2941,13 +2931,13 @@ function ts({ variant: e = "primary", kind: t = "external", render: n, ...r }) {
|
|
|
2941
2931
|
}
|
|
2942
2932
|
ts.displayName = "Typo.Link";
|
|
2943
2933
|
function ns({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2944
|
-
return
|
|
2934
|
+
return C({
|
|
2945
2935
|
defaultTagName: "ol",
|
|
2946
2936
|
render: n,
|
|
2947
2937
|
props: {
|
|
2948
|
-
...
|
|
2938
|
+
...S(r, { className: Q({
|
|
2949
2939
|
variant: e,
|
|
2950
|
-
className:
|
|
2940
|
+
className: p(Z.orderedList, $({ spacing: t }))
|
|
2951
2941
|
}) }),
|
|
2952
2942
|
"data-imf-ui-component": "Typo.OrderedList"
|
|
2953
2943
|
}
|
|
@@ -2955,13 +2945,13 @@ function ns({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
|
2955
2945
|
}
|
|
2956
2946
|
ns.displayName = "Typo.OrderedList";
|
|
2957
2947
|
function rs({ variant: e = "main", spacing: t = "default", render: n, ...r }) {
|
|
2958
|
-
return
|
|
2948
|
+
return C({
|
|
2959
2949
|
defaultTagName: "ul",
|
|
2960
2950
|
render: n,
|
|
2961
2951
|
props: {
|
|
2962
|
-
...
|
|
2952
|
+
...S(r, { className: Q({
|
|
2963
2953
|
variant: e,
|
|
2964
|
-
className:
|
|
2954
|
+
className: p(Z.unorderedList, $({ spacing: t }))
|
|
2965
2955
|
}) }),
|
|
2966
2956
|
"data-imf-ui-component": "Typo.UnorderedList"
|
|
2967
2957
|
}
|
|
@@ -2977,7 +2967,7 @@ var is = {
|
|
|
2977
2967
|
namespace: !0,
|
|
2978
2968
|
description: "Semantic text primitives for display and standard headings, paragraphs, lists, quotes, links, and inline code. The namespace uses native HTML elements and token-based text roles.",
|
|
2979
2969
|
origin: "native"
|
|
2980
|
-
}, as =
|
|
2970
|
+
}, as = Ee({
|
|
2981
2971
|
color: "currentColor",
|
|
2982
2972
|
width: "1.5em",
|
|
2983
2973
|
height: "1.5em",
|
|
@@ -2985,12 +2975,12 @@ var is = {
|
|
|
2985
2975
|
});
|
|
2986
2976
|
function os({ children: e, value: t }) {
|
|
2987
2977
|
let n = {
|
|
2988
|
-
...
|
|
2978
|
+
...Oe(as),
|
|
2989
2979
|
...t
|
|
2990
2980
|
};
|
|
2991
|
-
return /* @__PURE__ */
|
|
2981
|
+
return /* @__PURE__ */ m(as, {
|
|
2992
2982
|
value: n,
|
|
2993
|
-
children: /* @__PURE__ */
|
|
2983
|
+
children: /* @__PURE__ */ m(Te, {
|
|
2994
2984
|
iconProps: n,
|
|
2995
2985
|
children: e
|
|
2996
2986
|
})
|
|
@@ -3000,10 +2990,10 @@ os.displayName = "IconConfig.Provider";
|
|
|
3000
2990
|
//#endregion
|
|
3001
2991
|
//#region src/provider/web-ui-provider.tsx
|
|
3002
2992
|
function ss({ children: e, icons: t, colorScheme: n }) {
|
|
3003
|
-
return ya({ value: n }), /* @__PURE__ */
|
|
2993
|
+
return ya({ value: n }), /* @__PURE__ */ m(os, {
|
|
3004
2994
|
value: t,
|
|
3005
|
-
children: /* @__PURE__ */
|
|
2995
|
+
children: /* @__PURE__ */ h(po, { children: [e, " "] })
|
|
3006
2996
|
});
|
|
3007
2997
|
}
|
|
3008
2998
|
//#endregion
|
|
3009
|
-
export { kn as AppShell,
|
|
2999
|
+
export { kn as AppShell, Ie as Button, ai as Callout, Gn as Card, Ke as Checkbox, mi as Chip, Be as ChipLink, _e as Code, gi as Collapsible, l as ComponentCategories, We as CopyButton, $n as Drawer, Qe as Field, mt as Fieldset, d as Icon, Ai as ImFusionLogo, xt as Input, Ti as Logo, Ca as NavigationMenu, Ct as NumberField, Or as Popover, a as Row, zt as Select, ni as Separator, n as Slider, Aa as Spinner, r as Stack, o as Switch, Ma as Table, s as Tabs, $a as Toast, i as Toggle, c as ToggleGroup, To as Tooltip, Ho as Typo, ss as WebUIProvider, Wn as appShellMeta, Le as buttonMeta, pi as calloutMeta, Qn as cardMeta, Ze as checkboxMeta, Ve as chipLinkMeta, hi as chipMeta, be as codeMeta, Ci as collapsibleMeta, G as config, Ge as copyButtonMeta, Se as cva, Ce as cx, Dr as drawerMeta, ft as fieldMeta, yt as fieldsetMeta, he as iconMeta, St as inputMeta, Ei as logoMeta, wa as navigationMenuMeta, Rt as numberFieldMeta, $r as popoverMeta, ei as rowMeta, wn as selectMeta, ri as separatorMeta, Tn as sliderMeta, ja as spinnerMeta, ii as stackMeta, En as switchMeta, Za as tableMeta, Qa as tabsMeta, wo as toastMeta, On as toggleGroupMeta, Dn as toggleMeta, Vo as tooltipMeta, is as typoMeta, ve as useClipboard, ya as useColorScheme, xa as useMediaQuery };
|