@imfusion/web-ui 0.6.4-dev.29.g527b8ff6 → 0.6.4-dev.31.gcef47041

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