@midas-ds/components 17.38.3 → 17.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/accordion/index.js +1 -1
  3. package/aria/index.d.ts +3 -1
  4. package/aria/index.js +1 -2
  5. package/assets/grid.css +1 -1
  6. package/badge/Badge.d.ts +5 -1
  7. package/badge/index.d.ts +1 -0
  8. package/button/index.js +1 -1
  9. package/calendar/index.js +1 -1
  10. package/checkbox/Checkbox.d.ts +4 -0
  11. package/checkbox/CheckboxGroup.d.ts +4 -0
  12. package/checkbox/index.js +1 -1
  13. package/chunks/{FeedbackStatusIcon-DX5ndhm3.js → FeedbackStatusIcon-UfooOyeI.js} +1 -1
  14. package/chunks/{accordion-DjL3rngW.js → accordion-PJZYLZCe.js} +2 -2
  15. package/chunks/aria-BikUfLIG.js +6 -0
  16. package/chunks/{button-Q51P-Ssk.js → button-Bz66bIrr.js} +2 -2
  17. package/chunks/{calendar-DyILzX_V.js → calendar-D0aiCkAv.js} +3 -3
  18. package/chunks/{checkbox-MN5mhbFU.js → checkbox-SsXhAn-g.js} +2 -2
  19. package/chunks/{clear-button-BYiazZ-1.js → clear-button-DvMuUjDR.js} +1 -1
  20. package/chunks/{color-scheme-switch-BlGoqk4H.js → color-scheme-switch-2oSS52vq.js} +4 -3
  21. package/chunks/{combobox-D2wPjTS5.js → combobox-Ccqxupn2.js} +3 -3
  22. package/chunks/{date-field-Afo_uDbQ.js → date-field-DKmbbOGo.js} +3 -3
  23. package/chunks/{date-picker-jH3-jQoL.js → date-picker-CAtF7M_p.js} +6 -6
  24. package/chunks/{file-list-BvBSJyRQ.js → file-list-Bg8-wkyR.js} +4 -4
  25. package/chunks/{file-picker-C8JWsO9f.js → file-picker-C05TDsQS.js} +1 -1
  26. package/chunks/grid-CEQVC8XG.js +224 -0
  27. package/chunks/{info-banner-CkXe0Xd8.js → info-banner-BBpsG8F_.js} +3 -3
  28. package/chunks/{label-DCpy2Iwh.js → label-C-Iks5zm.js} +3 -3
  29. package/chunks/{layout-CYcW4Dsm.js → layout-B8k_hYpe.js} +4 -4
  30. package/chunks/link-CegkRPqz.js +43 -0
  31. package/chunks/link-button-BRV_Hy7v.js +43 -0
  32. package/chunks/{list-box-YaPiKCld.js → list-box-DfpVnLLk.js} +3 -3
  33. package/chunks/{logo-CBGOnROk.js → logo-DUlLYUV2.js} +1 -1
  34. package/chunks/menu-CHZ0d9-S.js +51 -0
  35. package/chunks/{modal-BfWHExGd.js → modal-E4kV_R5n.js} +38 -38
  36. package/chunks/{progress-bar-XMAH7KIq.js → progress-bar-yFa08Xfd.js} +1 -1
  37. package/chunks/{radio-BXjMFwia.js → radio-DbIUs2iU.js} +1 -1
  38. package/chunks/{search-field-mQvQC_fC.js → search-field-D--4cgzH.js} +3 -3
  39. package/chunks/{select-B_o3hWvM.js → select-DLoIzTsv.js} +5 -5
  40. package/chunks/{spinner-V6QnHHAH.js → spinner-D3-NXLkB.js} +1 -1
  41. package/chunks/{table-BZsinvvB.js → table-DuzCUPCX.js} +2 -2
  42. package/chunks/{tag-DO8N54-r.js → tag-BpnVl9_M.js} +1 -1
  43. package/chunks/{textfield-O1kNTcwC.js → textfield-BuJeJV1g.js} +3 -3
  44. package/chunks/{time-field-Dte4G0is.js → time-field-Cr5P1aNn.js} +4 -4
  45. package/chunks/{toast-DhXnpJRF.js → toast-BgrlaMnw.js} +2 -2
  46. package/chunks/{useLocalizedStringFormatter-DU97U9ZX.js → useLocalizedStringFormatter-BFwXcMGl.js} +1 -1
  47. package/clear-button/index.js +1 -1
  48. package/color-scheme-switch/index.js +1 -1
  49. package/combobox/ComboBox.d.ts +4 -0
  50. package/combobox/index.js +1 -1
  51. package/date-field/DateField.d.ts +4 -0
  52. package/date-field/index.js +1 -1
  53. package/date-picker/DatePicker.d.ts +4 -0
  54. package/date-picker/DateRangePicker.d.ts +4 -0
  55. package/date-picker/index.js +1 -1
  56. package/file-list/index.js +1 -1
  57. package/file-picker/index.js +1 -1
  58. package/grid/index.js +1 -1
  59. package/index.d.ts +1 -1
  60. package/index.js +53 -53
  61. package/info-banner/index.js +1 -1
  62. package/label/index.js +1 -1
  63. package/layout/index.js +1 -1
  64. package/link/Link.d.ts +2 -2
  65. package/link/index.js +3 -1
  66. package/link-button/LinkButton.d.ts +2 -2
  67. package/link-button/index.js +3 -1
  68. package/list-box/index.js +1 -1
  69. package/logo/Logo.d.ts +3 -1
  70. package/logo/index.js +1 -1
  71. package/menu/Menu.d.ts +3 -2
  72. package/menu/index.js +3 -1
  73. package/modal/Modal.d.ts +1 -2
  74. package/modal/index.js +3 -1
  75. package/package.json +1 -1
  76. package/progress-bar/index.js +1 -1
  77. package/radio/RadioGroup.d.ts +4 -0
  78. package/radio/index.js +1 -1
  79. package/search-field/SearchField.d.ts +4 -0
  80. package/search-field/index.js +1 -1
  81. package/select/index.js +1 -1
  82. package/spinner/index.js +1 -1
  83. package/table/index.js +1 -1
  84. package/tag/index.js +1 -1
  85. package/textfield/TextFieldBase.d.ts +4 -0
  86. package/textfield/index.js +1 -1
  87. package/time-field/TimeField.d.ts +4 -0
  88. package/time-field/index.js +1 -1
  89. package/toast/index.js +1 -1
  90. package/utils/childrenSource.d.ts +19 -0
  91. package/utils/withDisplayName.d.ts +13 -0
  92. package/chunks/grid-CFn_pqQX.js +0 -224
  93. package/chunks/link-CyjmtEZP.js +0 -43
  94. package/chunks/link-button-D6t-8zQQ.js +0 -43
  95. package/chunks/menu-DVrvuxQk.js +0 -51
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { t as e } from "./grid-CFn_pqQX.js";
2
+ import { t as e } from "./grid-CEQVC8XG.js";
3
3
  import { t } from "./clsx-BtGY0yFD.js";
4
- import { n } from "./button-Q51P-Ssk.js";
4
+ import { n } from "./button-Bz66bIrr.js";
5
5
  import { n as r, t as i } from "./tooltip-CR1uxtPd.js";
6
6
  import { n as a, t as o } from "./badge-C5Sdu_uw.js";
7
- import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
8
- import { t as c } from "./logo-CBGOnROk.js";
7
+ import { t as s } from "./useLocalizedStringFormatter-BFwXcMGl.js";
8
+ import { t as c } from "./logo-DUlLYUV2.js";
9
9
  import * as l from "react";
10
10
  import { useEffect as u, useState as d } from "react";
11
11
  import { Link as f, RouterProvider as p } from "react-aria-components";
@@ -0,0 +1,43 @@
1
+ 'use client';
2
+ import { t as e } from "./clsx-BtGY0yFD.js";
3
+ import { t } from "./useLocalizedStringFormatter-BFwXcMGl.js";
4
+ import { Link as n } from "react-aria-components";
5
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { ArrowDownToLine as o, ArrowRight as s, SquareArrowOutUpRight as c } from "lucide-react";
7
+ import { VisuallyHidden as l } from "react-aria";
8
+ import '../assets/link.css';var u = {
9
+ link: "_link_duep2_1",
10
+ icon: "_icon_duep2_53",
11
+ standalone: "_standalone_duep2_57",
12
+ stretched: "_stretched_duep2_76"
13
+ }, d = {
14
+ en: {
15
+ opensInNewTab: "Opens in new tab",
16
+ downloadsFile: "Downloads file"
17
+ },
18
+ sv: {
19
+ opensInNewTab: "Öppnas i ny flik",
20
+ downloadsFile: "Hämtar fil"
21
+ }
22
+ }, f = ({ children: f, standalone: m, target: h, stretched: g, download: _, icon: v, className: y, as: b, ...x }) => {
23
+ let S = b || n, C = t(d), w = v ? { icon: v } : _ ? {
24
+ icon: o,
25
+ label: C.format("downloadsFile")
26
+ } : h === "_blank" ? {
27
+ icon: c,
28
+ label: C.format("opensInNewTab")
29
+ } : m ? { icon: s } : null;
30
+ return /* @__PURE__ */ a(S, {
31
+ className: e(u.link, m && u.standalone, g && u.stretched, y),
32
+ ...x,
33
+ target: h,
34
+ download: _,
35
+ children: [f, w ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(p, {
36
+ className: u.icon,
37
+ icon: w.icon,
38
+ size: 16,
39
+ "aria-hidden": !0
40
+ }), w.label && /* @__PURE__ */ i(l, { children: w.label })] }) : null]
41
+ });
42
+ }, p = ({ icon: e, ...t }) => /* @__PURE__ */ i(e, { ...t });
43
+ export { f as t };
@@ -0,0 +1,43 @@
1
+ 'use client';
2
+ import { t as e } from "./clsx-BtGY0yFD.js";
3
+ import { t } from "./useLocalizedStringFormatter-BFwXcMGl.js";
4
+ import "react";
5
+ import { Link as n } from "react-aria-components";
6
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
7
+ import { ArrowLeft as a, ArrowRight as o, SquareArrowOutUpRight as s } from "lucide-react";
8
+ import { VisuallyHidden as c } from "react-aria";
9
+ import '../assets/link-button.css';var l = {
10
+ linkButton: "_linkButton_1k5w6_1",
11
+ secondary: "_secondary_1k5w6_58",
12
+ icon: "_icon_1k5w6_63",
13
+ tertiary: "_tertiary_1k5w6_102",
14
+ danger: "_danger_1k5w6_130",
15
+ iconBtn: "_iconBtn_1k5w6_149",
16
+ medium: "_medium_1k5w6_173",
17
+ iconLeft: "_iconLeft_1k5w6_178",
18
+ fullwidth: "_fullwidth_1k5w6_182",
19
+ button: "_button_1k5w6_192"
20
+ }, u = {
21
+ en: { opensInNewTab: "Opens in new tab" },
22
+ sv: { opensInNewTab: "Öppnas i ny flik" }
23
+ }, d = ({ children: d, variant: p, fullwidth: m, icon: h, iconPlacement: g, className: _, as: v, size: y = "large", ...b }) => {
24
+ let x = v || n, S = t(u), C = h ? { icon: h } : b.target === "_blank" ? {
25
+ icon: s,
26
+ label: S.format("opensInNewTab")
27
+ } : g === "left" ? { icon: a } : { icon: o };
28
+ return /* @__PURE__ */ i(x, {
29
+ className: e(l.linkButton, p === "primary" && l.primary, p === "secondary" && l.secondary, p === "tertiary" && l.tertiary, p === "danger" && l.danger, p === "icon" && l.iconBtn, y === "medium" && l.medium, m && l.fullwidth, g === "left" && l.iconLeft, _),
30
+ ...b,
31
+ children: [
32
+ d,
33
+ /* @__PURE__ */ r(f, {
34
+ className: l.icon,
35
+ icon: C.icon,
36
+ size: 20,
37
+ "aria-hidden": !0
38
+ }),
39
+ C.label && /* @__PURE__ */ r(c, { children: C.label })
40
+ ]
41
+ });
42
+ }, f = ({ icon: e, ...t }) => /* @__PURE__ */ r(e, { ...t });
43
+ export { d as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
- import { Virtualizer as t } from "../aria/index.js";
3
- import { t as n } from "./spinner-V6QnHHAH.js";
4
- import { t as r } from "./useLocalizedStringFormatter-DU97U9ZX.js";
2
+ import { p as t } from "./aria-BikUfLIG.js";
3
+ import { t as n } from "./spinner-D3-NXLkB.js";
4
+ import { t as r } from "./useLocalizedStringFormatter-BFwXcMGl.js";
5
5
  import { t as i } from "./text-CtvUKU-v.js";
6
6
  import "react";
7
7
  import { Header as a, ListBox as o, ListBoxItem as s, ListBoxLoadMoreItem as c, ListBoxSection as l, ListLayout as u, Popover as d, composeRenderProps as f } from "react-aria-components";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
- import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
2
+ import { t } from "./useLocalizedStringFormatter-BFwXcMGl.js";
3
3
  import { createContext as n, useContext as r } from "react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  import '../assets/logo.css';var o = {
@@ -0,0 +1,51 @@
1
+ import { t as e } from "./clsx-BtGY0yFD.js";
2
+ import { Header as t, Menu as n, MenuItem as r, MenuSection as i, Popover as a, Separator as o } from "react-aria-components";
3
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
4
+ import { Check as u, ChevronRight as d } from "lucide-react";
5
+ import '../assets/menu.css';var f = {
6
+ menu: "_menu_hfwrp_1",
7
+ menuSectionHeader: "_menuSectionHeader_hfwrp_18",
8
+ menuSection: "_menuSection_hfwrp_18",
9
+ medium: "_medium_hfwrp_29",
10
+ menuItem: "_menuItem_hfwrp_35",
11
+ mainContent: "_mainContent_hfwrp_104",
12
+ checkMark: "_checkMark_hfwrp_115",
13
+ separator: "_separator_hfwrp_125",
14
+ menuPopover: "_menuPopover_hfwrp_148 _dropdownAnimation_1ljkv_4"
15
+ }, p = ({ className: t, size: r = "large", ...i }) => /* @__PURE__ */ c(n, {
16
+ className: e(t, f.menu, r === "medium" && f.medium),
17
+ ...i
18
+ }), m = ({ className: n, ...r }) => /* @__PURE__ */ c(t, {
19
+ className: e(n, f.menuSectionHeader),
20
+ ...r
21
+ }), h = (t) => /* @__PURE__ */ c(r, {
22
+ ...t,
23
+ textValue: t.textValue || (typeof t.children == "string" ? t.children : void 0),
24
+ className: e(f.menuItem, t.className),
25
+ children: (e) => {
26
+ let { children: n } = t, { selectionMode: r, isSelected: i, hasSubmenu: a } = e;
27
+ return /* @__PURE__ */ l(s, { children: [
28
+ r !== "none" && /* @__PURE__ */ c(u, {
29
+ size: 16,
30
+ className: f.checkMark,
31
+ "data-selected": i || void 0
32
+ }),
33
+ /* @__PURE__ */ c("div", {
34
+ className: f.mainContent,
35
+ children: typeof n == "function" ? n(e) : n
36
+ }),
37
+ a && /* @__PURE__ */ c(d, { size: 20 })
38
+ ] });
39
+ }
40
+ }), g = ({ className: t, ...n }) => /* @__PURE__ */ c(a, {
41
+ className: e(t, f.menuPopover),
42
+ offset: 4,
43
+ ...n
44
+ }), _ = ({ className: t, ...n }) => /* @__PURE__ */ c(i, {
45
+ className: e(t, f.menuSection),
46
+ ...n
47
+ }), v = ({ className: t, ...n }) => /* @__PURE__ */ c(o, {
48
+ className: e(t, f.separator),
49
+ ...n
50
+ });
51
+ export { m as a, h as i, _ as n, p as o, g as r, v as t };
@@ -1,12 +1,12 @@
1
- import { n as e } from "./button-Q51P-Ssk.js";
1
+ import { n as e } from "./button-Bz66bIrr.js";
2
2
  import { t } from "./heading-0P5rm7xK.js";
3
- import { t as n } from "./useLocalizedStringFormatter-DU97U9ZX.js";
3
+ import { t as n } from "./useLocalizedStringFormatter-BFwXcMGl.js";
4
4
  import { t as r } from "./clsx-BtGY0yFD.js";
5
5
  import { forwardRef as i, useCallback as a, useRef as o } from "react";
6
- import { Dialog as s, DialogTrigger as c, Modal as l, ModalOverlay as u, composeRenderProps as d } from "react-aria-components";
7
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
- import { X as m } from "lucide-react";
9
- import '../assets/modal.css';var h = {
6
+ import { Dialog as s, Modal as c, ModalOverlay as l, composeRenderProps as u } from "react-aria-components";
7
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
8
+ import { X as p } from "lucide-react";
9
+ import '../assets/modal.css';var m = {
10
10
  modal: "_modal_7r16o_1",
11
11
  dialog: "_dialog_7r16o_10",
12
12
  modalHeader: "_modalHeader_7r16o_45",
@@ -14,20 +14,20 @@ import '../assets/modal.css';var h = {
14
14
  closeButton: "_closeButton_7r16o_63",
15
15
  modalBody: "_modalBody_7r16o_70",
16
16
  modalFooter: "_modalFooter_7r16o_79"
17
- }, g = {
17
+ }, h = {
18
18
  en: { close: "Close" },
19
19
  sv: { close: "Stäng" }
20
- }, _ = {
20
+ }, g = {
21
21
  modalOverlay: "_modalOverlay_gwg3f_1",
22
22
  "modal-fade": "_modal-fade_gwg3f_1"
23
- }, v = i(({ className: e, ...t }, n) => /* @__PURE__ */ f(u, {
24
- className: r(e, _.modalOverlay),
23
+ }, _ = i(({ className: e, ...t }, n) => /* @__PURE__ */ d(l, {
24
+ className: r(e, g.modalOverlay),
25
25
  ref: n,
26
26
  ...t
27
27
  }));
28
- v.displayName = "ModalOverlay";
28
+ _.displayName = "ModalOverlay";
29
29
  // src/modal/useStickyHeight.ts
30
- var y = (e) => {
30
+ var v = (e) => {
31
31
  let t = o(void 0);
32
32
  return a((n) => {
33
33
  t.current?.(), t.current = void 0;
@@ -40,54 +40,54 @@ var y = (e) => {
40
40
  i.disconnect(), r.style.removeProperty(e);
41
41
  };
42
42
  }, [e]);
43
- }, b = () => {
43
+ }, y = () => {
44
44
  let e = o(void 0);
45
45
  return a((t) => {
46
46
  if (e.current?.(), e.current = void 0, !t) return;
47
47
  let n = ({ target: e }) => {
48
- if (!(e instanceof Element) || e === t || !e.matches(":focus-visible") || e.closest(`.${h.modalHeader}, .${h.modalFooter}`)) return;
48
+ if (!(e instanceof Element) || e === t || !e.matches(":focus-visible") || e.closest(`.${m.modalHeader}, .${m.modalFooter}`)) return;
49
49
  let n = getComputedStyle(t), r = t.getBoundingClientRect(), i = r.top + (parseFloat(n.scrollPaddingTop) || 0), a = r.bottom - (parseFloat(n.scrollPaddingBottom) || 0), { top: o, bottom: s } = e.getBoundingClientRect();
50
50
  o < i ? t.scrollTop -= i - o : s > a && (t.scrollTop += Math.min(s - a, o - i));
51
51
  };
52
52
  t.addEventListener("focusin", n), e.current = () => t.removeEventListener("focusin", n);
53
53
  }, []);
54
- }, x = i(({ children: r, title: i, hideCloseButton: a = !1, footer: o, ...c }, u) => {
55
- let _ = n(g), x = y("--modal-header-height"), S = y("--modal-footer-height"), C = b();
56
- return /* @__PURE__ */ f(v, {
57
- ...c,
58
- children: d(r, (n) => /* @__PURE__ */ f(l, {
59
- className: h.modal,
60
- ref: u,
61
- children: /* @__PURE__ */ p(s, {
62
- className: h.dialog,
54
+ }, b = i(({ children: r, title: i, hideCloseButton: a = !1, footer: o, ...l }, g) => {
55
+ let b = n(h), x = v("--modal-header-height"), S = v("--modal-footer-height"), C = y();
56
+ return /* @__PURE__ */ d(_, {
57
+ ...l,
58
+ children: u(r, (n) => /* @__PURE__ */ d(c, {
59
+ className: m.modal,
60
+ ref: g,
61
+ children: /* @__PURE__ */ f(s, {
62
+ className: m.dialog,
63
63
  ref: C,
64
64
  children: [
65
- /* @__PURE__ */ p("div", {
66
- className: h.modalHeader,
65
+ /* @__PURE__ */ f("div", {
66
+ className: m.modalHeader,
67
67
  ref: x,
68
- children: [/* @__PURE__ */ f("div", {
69
- className: h.modalTitle,
70
- children: i && /* @__PURE__ */ f(t, {
68
+ children: [/* @__PURE__ */ d("div", {
69
+ className: m.modalTitle,
70
+ children: i && /* @__PURE__ */ d(t, {
71
71
  level: 3,
72
72
  elementType: "h2",
73
73
  slot: "title",
74
74
  children: i
75
75
  })
76
- }), !a && /* @__PURE__ */ f(e, {
77
- "aria-label": _.format("close"),
78
- className: h.closeButton,
79
- icon: m,
76
+ }), !a && /* @__PURE__ */ d(e, {
77
+ "aria-label": b.format("close"),
78
+ className: m.closeButton,
79
+ icon: p,
80
80
  slot: "close",
81
81
  variant: "icon"
82
82
  })]
83
83
  }),
84
- /* @__PURE__ */ f("div", {
85
- className: h.modalBody,
84
+ /* @__PURE__ */ d("div", {
85
+ className: m.modalBody,
86
86
  tabIndex: -1,
87
87
  children: n
88
88
  }),
89
- o && /* @__PURE__ */ f("div", {
90
- className: h.modalFooter,
89
+ o && /* @__PURE__ */ d("div", {
90
+ className: m.modalFooter,
91
91
  ref: S,
92
92
  children: o
93
93
  })
@@ -96,5 +96,5 @@ var y = (e) => {
96
96
  }))
97
97
  });
98
98
  });
99
- x.displayName = "Modal";
100
- export { x as n, v as r, c as t };
99
+ b.displayName = "Modal";
100
+ export { _ as n, b as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./label-DCpy2Iwh.js";
1
+ import { t as e } from "./label-C-Iks5zm.js";
2
2
  import { t } from "./clsx-BtGY0yFD.js";
3
3
  import "react";
4
4
  import { ProgressBar as n } from "react-aria-components";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
2
  import { t } from "./splitDataAttributes-ChyO_Kvc.js";
3
- import { n, t as r } from "./label-DCpy2Iwh.js";
3
+ import { n, t as r } from "./label-C-Iks5zm.js";
4
4
  import { t as i } from "./text-CtvUKU-v.js";
5
5
  import { t as a } from "./field-error-DmG_1v1a.js";
6
6
  import { Group as o, RadioButton as s, RadioField as c, RadioGroup as l, composeRenderProps as u } from "react-aria-components";
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import { t as e } from "./TextField.module-DQfRPRIT.js";
3
- import { n as t } from "./button-Q51P-Ssk.js";
3
+ import { n as t } from "./button-Bz66bIrr.js";
4
4
  import { t as n } from "./clsx-BtGY0yFD.js";
5
5
  import { t as r } from "./field-error-DmG_1v1a.js";
6
6
  import { t as i } from "./text-CtvUKU-v.js";
7
- import { n as a, t as o } from "./label-DCpy2Iwh.js";
8
- import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
7
+ import { n as a, t as o } from "./label-C-Iks5zm.js";
8
+ import { t as s } from "./useLocalizedStringFormatter-BFwXcMGl.js";
9
9
  import { FormContext as c, Input as l, SearchField as u, useSlottedContext as d } from "react-aria-components";
10
10
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
11
11
  import { Search as h, X as g } from "lucide-react";
@@ -1,12 +1,12 @@
1
- import { n as e, t } from "./label-DCpy2Iwh.js";
1
+ import { n as e, t } from "./label-C-Iks5zm.js";
2
2
  import { t as n } from "./clsx-BtGY0yFD.js";
3
3
  import { t as r } from "./text-CtvUKU-v.js";
4
4
  import { t as i } from "./field-error-DmG_1v1a.js";
5
- import { n as a } from "./checkbox-MN5mhbFU.js";
6
- import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
7
- import { c as s } from "./list-box-YaPiKCld.js";
5
+ import { n as a } from "./checkbox-SsXhAn-g.js";
6
+ import { t as o } from "./useLocalizedStringFormatter-BFwXcMGl.js";
7
+ import { c as s } from "./list-box-DfpVnLLk.js";
8
8
  import { t as c } from "./popover-C7Ain5Qz.js";
9
- import { n as l, r as u, t as d } from "./tag-DO8N54-r.js";
9
+ import { n as l, r as u, t as d } from "./tag-BpnVl9_M.js";
10
10
  import f, { useContext as p } from "react";
11
11
  import m from "clsx";
12
12
  import { Button as h, Select as g, SelectStateContext as _, SelectValue as v } from "react-aria-components";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
- import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
2
+ import { t } from "./useLocalizedStringFormatter-BFwXcMGl.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import { LoaderCircle as i } from "lucide-react";
5
5
  import { VisuallyHidden as a } from "react-aria";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { Collection as e } from "../aria/index.js";
3
- import { n as t } from "./checkbox-MN5mhbFU.js";
2
+ import { n as e } from "./aria-BikUfLIG.js";
3
+ import { n as t } from "./checkbox-SsXhAn-g.js";
4
4
  import { t as n } from "./clsx-BtGY0yFD.js";
5
5
  import { Button as r, Cell as i, Column as a, Row as o, Table as s, TableBody as c, TableHeader as l, useTableOptions as u } from "react-aria-components";
6
6
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
- import { n as t } from "./button-Q51P-Ssk.js";
2
+ import { n as t } from "./button-Bz66bIrr.js";
3
3
  import { Children as n, forwardRef as r, isValidElement as i } from "react";
4
4
  import { Tag as a, TagGroup as o, TagGroupContext as s, TagList as c, TagListContext as l, composeRenderProps as u, useContextProps as d } from "react-aria-components";
5
5
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -3,10 +3,10 @@ import { t as e } from "./TextField.module-DQfRPRIT.js";
3
3
  import { t } from "./text-CtvUKU-v.js";
4
4
  import { t as n } from "./field-error-DmG_1v1a.js";
5
5
  import { t as r } from "./character-counter-IbkPoEcq.js";
6
- import { n as i, t as a } from "./label-DCpy2Iwh.js";
6
+ import { n as i, t as a } from "./label-C-Iks5zm.js";
7
7
  import { t as o } from "./clsx-BtGY0yFD.js";
8
- import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
9
- import { n as c } from "./button-Q51P-Ssk.js";
8
+ import { t as s } from "./useLocalizedStringFormatter-BFwXcMGl.js";
9
+ import { n as c } from "./button-Bz66bIrr.js";
10
10
  import { forwardRef as l, useState as u } from "react";
11
11
  import { clsx as d } from "clsx";
12
12
  import { Input as f, InputContext as p, TextArea as m, TextField as h, TextFieldContext as g, useContextProps as _ } from "react-aria-components";
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./clsx-BtGY0yFD.js";
2
- import { n as t, r as n } from "./date-field-Afo_uDbQ.js";
2
+ import { n as t, r as n } from "./date-field-DKmbbOGo.js";
3
3
  import { t as r } from "./field-error-DmG_1v1a.js";
4
- import { n as i, t as a } from "./label-DCpy2Iwh.js";
4
+ import { n as i, t as a } from "./label-C-Iks5zm.js";
5
5
  import { t as o } from "./text-CtvUKU-v.js";
6
- import { t as s } from "./clear-button-BYiazZ-1.js";
7
- import { t as c } from "./useLocalizedStringFormatter-DU97U9ZX.js";
6
+ import { t as s } from "./clear-button-DvMuUjDR.js";
7
+ import { t as c } from "./useLocalizedStringFormatter-BFwXcMGl.js";
8
8
  import * as l from "react";
9
9
  import { TimeField as u, TimeFieldStateContext as d } from "react-aria-components";
10
10
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { n as e } from "./button-Q51P-Ssk.js";
2
+ import { n as e } from "./button-Bz66bIrr.js";
3
3
  import { t } from "./clsx-BtGY0yFD.js";
4
- import { t as n } from "./FeedbackStatusIcon-DX5ndhm3.js";
4
+ import { t as n } from "./FeedbackStatusIcon-UfooOyeI.js";
5
5
  import r from "react";
6
6
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  import { X as s } from "lucide-react";
@@ -1,4 +1,4 @@
1
- import { useLocale as e } from "../aria/index.js";
1
+ import { m as e } from "./aria-BikUfLIG.js";
2
2
  import { useMemo as t } from "react";
3
3
  import { LocalizedStringDictionary as n, LocalizedStringFormatter as r } from "@internationalized/string";
4
4
  // src/utils/intl/useLocalizedStringFormatter.ts
@@ -1 +1 @@
1
- export { t as ClearButton } from "../chunks/clear-button-BYiazZ-1.js";
1
+ export { t as ClearButton } from "../chunks/clear-button-DvMuUjDR.js";
@@ -1 +1 @@
1
- export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-BlGoqk4H.js";
1
+ export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-2oSS52vq.js";
@@ -10,6 +10,10 @@ export interface ComboBoxProps<T extends object> extends Omit<AriaComboBoxProps<
10
10
  items?: Iterable<T>;
11
11
  children: ReactNode | ((item: T) => ReactNode);
12
12
  placeholder?: string;
13
+ /**
14
+ * The position of the error message
15
+ * @default 'top'
16
+ */
13
17
  errorPosition?: 'top' | 'bottom';
14
18
  /** Component size (large: height 48px, medium: height 40px)
15
19
  * @default 'large'
package/combobox/index.js CHANGED
@@ -1 +1 @@
1
- export { t as ComboBox } from "../chunks/combobox-D2wPjTS5.js";
1
+ export { t as ComboBox } from "../chunks/combobox-Ccqxupn2.js";
@@ -5,6 +5,10 @@ import * as React from 'react';
5
5
  export interface DateFieldProps<T extends DateValue> extends AriaDateFieldProps<T> {
6
6
  description?: string;
7
7
  errorMessage?: string | ((validation: ValidationResult) => string);
8
+ /**
9
+ * The position of the error message
10
+ * @default 'top'
11
+ */
8
12
  errorPosition?: 'top' | 'bottom';
9
13
  label?: string;
10
14
  /** Component size (large: height 48px, medium: height 40px)
@@ -1 +1 @@
1
- export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-Afo_uDbQ.js";
1
+ export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-DKmbbOGo.js";
@@ -5,6 +5,10 @@ import * as React from 'react';
5
5
  export interface DatePickerProps<T extends DateValue> extends AriaDatePickerProps<T> {
6
6
  description?: string;
7
7
  errorMessage?: string | ((validation: ValidationResult) => string);
8
+ /**
9
+ * The position of the error message
10
+ * @default 'top'
11
+ */
8
12
  errorPosition?: 'top' | 'bottom';
9
13
  label?: string;
10
14
  /** Component size (large: height 48px, medium: height 40px)
@@ -5,6 +5,10 @@ import * as React from 'react';
5
5
  export interface DateRangePickerProps extends AriaDateRangePickerProps<DateValue> {
6
6
  description?: string;
7
7
  errorMessage?: string | ((validation: ValidationResult) => string);
8
+ /**
9
+ * The position of the error message
10
+ * @default 'top'
11
+ */
8
12
  errorPosition?: 'top' | 'bottom';
9
13
  label?: string;
10
14
  /** Component size (large: height 48px, medium: height 40px)
@@ -1 +1 @@
1
- export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-jH3-jQoL.js";
1
+ export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-CAtF7M_p.js";
@@ -1 +1 @@
1
- export { n as FileList, t as FileListItem } from "../chunks/file-list-BvBSJyRQ.js";
1
+ export { n as FileList, t as FileListItem } from "../chunks/file-list-Bg8-wkyR.js";
@@ -1 +1 @@
1
- export { t as FilePicker } from "../chunks/file-picker-C8JWsO9f.js";
1
+ export { t as FilePicker } from "../chunks/file-picker-C05TDsQS.js";
package/grid/index.js CHANGED
@@ -1 +1 @@
1
- export { n as Grid, t as GridItem } from "../chunks/grid-CFn_pqQX.js";
1
+ export { n as Grid, t as GridItem } from "../chunks/grid-CEQVC8XG.js";
package/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export * from './info-banner';
24
24
  export * from './label';
25
25
  export * from './layout';
26
26
  export * from './link';
27
- export { RouterProvider } from './link';
27
+ export { RouterProvider } from './aria';
28
28
  export * from './link-button';
29
29
  export * from './logo';
30
30
  export * from './modal';