@imfusion/web-ui 0.6.4-dev.30.g1907865c → 0.6.4-dev.36.ga02df89a

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