@imfusion/web-ui 0.6.4-dev.31.gcef47041 → 0.6.4-dev.36.ga02df89a

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