@midas-ds/components 15.5.1 → 16.0.0

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 (70) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/accordion/Accordion.d.ts +0 -5
  3. package/accordion/index.js +1 -1
  4. package/assets/Popover.css +1 -1
  5. package/assets/Spinner.css +1 -1
  6. package/button/index.js +1 -1
  7. package/calendar/index.js +1 -1
  8. package/checkbox/index.js +1 -1
  9. package/chunks/{AccordionItem-BDkCTxFM.js → AccordionItem-O3_wicV2.js} +40 -44
  10. package/chunks/{Button-DbQwg49l.js → Button-wBgWrXj3.js} +1 -1
  11. package/chunks/{CheckboxGroup-CIFMaanI.js → CheckboxGroup-dofHjXkU.js} +1 -1
  12. package/chunks/{ComboBox-D86agoIk.js → ComboBox-XQqP_jga.js} +1 -1
  13. package/chunks/{DateField-CdJdPIuj.js → DateField-ltU-Jvra.js} +1 -1
  14. package/chunks/{DateRangePicker-p0l1tSMb.js → DateRangePicker-CdoVIV-F.js} +2 -2
  15. package/chunks/{Dialog-BndmKdiv.js → Dialog-x-HLOQFU.js} +1 -1
  16. package/chunks/{InfoBanner-tXWNVxpu.js → InfoBanner-DLiVpNON.js} +1 -1
  17. package/chunks/{Label-B7taTXkd.js → Label-DqmNWnmm.js} +2 -2
  18. package/chunks/{Layout-DPRkHK4y.js → Layout-DtwVUZus.js} +2 -2
  19. package/chunks/{ListBoxLoadMoreItem-BKptRAtt.js → ListBoxLoadMoreItem-D9X8YnwD.js} +1 -1
  20. package/chunks/Popover-D9tAN-g7.js +38 -0
  21. package/chunks/{ProgressBar-B2W7BTjA.js → ProgressBar-DXBCKRe_.js} +1 -1
  22. package/chunks/{Radio-BzuxVV_g.js → Radio-C1AFopLt.js} +1 -1
  23. package/chunks/{RangeCalendar-CuXHsT-k.js → RangeCalendar-CGk2btOp.js} +1 -1
  24. package/chunks/{SearchField-CLrAjcdA.js → SearchField-BfpeANM6.js} +1 -1
  25. package/chunks/{Select-C-0lWpoz.js → Select-Bcu1yvbR.js} +3 -3
  26. package/chunks/{Select-CzfIyTE7.js → Select-DAlreRs2.js} +2 -2
  27. package/chunks/Spinner-BORNnHph.js +43 -0
  28. package/chunks/{Tag-CEfQksg8.js → Tag-DxBoeE_n.js} +1 -1
  29. package/chunks/{TextArea-34YgkUEE.js → TextArea-CEiOylOx.js} +2 -2
  30. package/chunks/Toast-DgQ6BTmK.js +153 -0
  31. package/chunks/Tooltip-uNMG_UU-.js +44 -0
  32. package/combobox/index.js +1 -1
  33. package/date-field/index.js +1 -1
  34. package/date-picker/index.js +1 -1
  35. package/index.d.ts +0 -1
  36. package/index.js +113 -115
  37. package/info-banner/index.js +1 -1
  38. package/label/index.js +1 -1
  39. package/layout/index.js +1 -1
  40. package/legacy-select/index.js +1 -1
  41. package/list-box/ListBoxHeader.d.ts +1 -1
  42. package/list-box/index.js +1 -1
  43. package/modal/Dialog.d.ts +0 -11
  44. package/modal/index.d.ts +1 -1
  45. package/modal/index.js +1 -1
  46. package/package.json +2 -2
  47. package/popover/index.js +1 -1
  48. package/progress-bar/index.js +1 -1
  49. package/radio/index.js +1 -1
  50. package/search-field/SearchField.d.ts +1 -1
  51. package/search-field/index.js +1 -1
  52. package/select/index.js +1 -1
  53. package/spinner/Spinner.d.ts +0 -6
  54. package/spinner/index.js +1 -1
  55. package/tag/index.js +1 -1
  56. package/text/Text.d.ts +2 -2
  57. package/textfield/index.js +1 -1
  58. package/toast/Toast.d.ts +2 -6
  59. package/toast/index.js +5 -4
  60. package/tooltip/Tooltip.d.ts +6 -5
  61. package/tooltip/index.js +1 -1
  62. package/assets/Dropdown.css +0 -1
  63. package/chunks/Dropdown-CWP2clB2.js +0 -79
  64. package/chunks/Popover-BAdqdN6C.js +0 -38
  65. package/chunks/Spinner-CL9evrHm.js +0 -49
  66. package/chunks/Toast-CCA9sCnB.js +0 -162
  67. package/chunks/Tooltip-CtstfI8u.js +0 -46
  68. package/dropdown/Dropdown.d.ts +0 -31
  69. package/dropdown/index.d.ts +0 -1
  70. package/dropdown/index.js +0 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ # 16.0.0 (2025-12-17)
2
+
3
+ ### 🚀 Features
4
+
5
+ - ⚠️ **components, spinner:** remove deprecated prop "isOnColor" ([7141d87067](https://github.com/migrationsverket/midas/commit/7141d87067))
6
+ - ⚠️ **components, modal:** remove deprecated type "DialogProps" ([68401b15e0](https://github.com/migrationsverket/midas/commit/68401b15e0))
7
+ - ⚠️ **components, accordion:** remove deprecated prop "variant" ([5ae11869cc](https://github.com/migrationsverket/midas/commit/5ae11869cc))
8
+ - ⚠️ **components, dropdown:** remove component ([df9f54f4e7](https://github.com/migrationsverket/midas/commit/df9f54f4e7))
9
+
10
+ ### 🩹 Fixes
11
+
12
+ - **components, tooltip:** change definition of children prop ([684f43ceab](https://github.com/migrationsverket/midas/commit/684f43ceab))
13
+ - **components, search-field:** allow isRequired prop ([fc671ad083](https://github.com/migrationsverket/midas/commit/fc671ad083))
14
+
15
+ ### 🏭 Refactoring
16
+
17
+ - **components, toast:** remove temporary hook implementation ([580af11a1d](https://github.com/migrationsverket/midas/commit/580af11a1d))
18
+
19
+ ### 🔧 Maintenance
20
+
21
+ - **components:** update deprecation comments ([f95a58a0fb](https://github.com/migrationsverket/midas/commit/f95a58a0fb))
22
+ - update RAC to latest ([bc0b5708b3](https://github.com/migrationsverket/midas/commit/bc0b5708b3))
23
+
24
+ ### ⚠️ Breaking Changes
25
+
26
+ - **components, spinner:** remove deprecated prop "isOnColor" ([7141d87067](https://github.com/migrationsverket/midas/commit/7141d87067))
27
+ - **components, modal:** remove deprecated type "DialogProps" ([68401b15e0](https://github.com/migrationsverket/midas/commit/68401b15e0))
28
+ - **components, accordion:** remove deprecated prop "variant" ([5ae11869cc](https://github.com/migrationsverket/midas/commit/5ae11869cc))
29
+ - **components, dropdown:** remove component ([df9f54f4e7](https://github.com/migrationsverket/midas/commit/df9f54f4e7))
30
+
31
+ ## 15.5.2 (2025-12-12)
32
+
33
+ ### 🩹 Fixes
34
+
35
+ - **components, popover:** change caret size ([#981](https://github.com/migrationsverket/midas/pull/981))
36
+
1
37
  ## 15.5.1 (2025-12-12)
2
38
 
3
39
  ### 🧱 Updated Dependencies
@@ -2,11 +2,6 @@ import { DisclosureGroupProps } from 'react-aria-components';
2
2
  import { Size } from '../common/types';
3
3
  import * as React from 'react';
4
4
  export interface MidasAccordion extends DisclosureGroupProps {
5
- /**
6
- * Display either the larger contained variant or a smaller uncontained variant
7
- * @deprecated since 11.0.0. Please use `isContained` instead
8
- **/
9
- variant?: 'uncontained' | 'contained';
10
5
  children?: React.ReactNode;
11
6
  isDisabled?: boolean;
12
7
  isContained?: boolean;
@@ -1,4 +1,4 @@
1
- import { a as r, A as a } from "../chunks/AccordionItem-BDkCTxFM.js";
1
+ import { a as r, A as a } from "../chunks/AccordionItem-O3_wicV2.js";
2
2
  export {
3
3
  r as Accordion,
4
4
  a as AccordionItem
@@ -1 +1 @@
1
- ._popover_94l1i_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-20);padding:var(--midas-size-80);color:var(--midas-text-primary);background-color:var(--midas-layer-01-base);outline:none;transform:translateZ(0);box-shadow:0 4px 5px #0003;display:inline-block;max-width:min(90vw,320px);white-space:normal;overflow-wrap:break-word;box-sizing:border-box;transition:transform .2s,opacity .2s}@media(forced-colors:active){._popover_94l1i_1{border:1px solid}}._popover_94l1i_1 ._arrow_94l1i_23 svg{display:block;fill:var(--midas-layer-01-base)}@media(forced-colors:active){._popover_94l1i_1 ._arrow_94l1i_23 svg{fill:currentColor}}._popover_94l1i_1[data-entering],._popover_94l1i_1[data-exiting]{transform:var(--origin);opacity:0}._popover_94l1i_1[data-placement=top]{--origin: translateY(4px)}._popover_94l1i_1[data-placement=top]:has(._arrow_94l1i_23){margin-bottom:8px}._popover_94l1i_1[data-placement=bottom]{--origin: translateY(-4px)}._popover_94l1i_1[data-placement=bottom]:has(._arrow_94l1i_23){margin-top:8px}._popover_94l1i_1[data-placement=bottom] ._arrow_94l1i_23 svg{transform:rotate(180deg)}._popover_94l1i_1[data-placement=right]{--origin: translateX(-4px)}._popover_94l1i_1[data-placement=right]:has(._arrow_94l1i_23){margin-left:8px}._popover_94l1i_1[data-placement=right] ._arrow_94l1i_23 svg{transform:rotate(90deg)}._popover_94l1i_1[data-placement=left]{--origin: translateX(4px)}._popover_94l1i_1[data-placement=left]:has(._arrow_94l1i_23){margin-right:8px}._popover_94l1i_1[data-placement=left] ._arrow_94l1i_23 svg{transform:rotate(-90deg)}
1
+ ._popover_1hyo5_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-20);padding:var(--midas-size-80);color:var(--midas-text-primary);background-color:var(--midas-layer-01-base);outline:none;transform:translateZ(0);box-shadow:0 4px 5px #0003;display:inline-block;max-width:min(90vw,320px);white-space:normal;overflow-wrap:break-word;box-sizing:border-box;transition:transform .2s,opacity .2s}@media(forced-colors:active){._popover_1hyo5_1{border:1px solid}}._popover_1hyo5_1 ._arrow_1hyo5_23 svg{display:block;fill:var(--midas-layer-01-base)}@media(forced-colors:active){._popover_1hyo5_1 ._arrow_1hyo5_23 svg{fill:currentColor}}._popover_1hyo5_1[data-entering],._popover_1hyo5_1[data-exiting]{transform:var(--origin);transition:transform .2s ease-in-out;opacity:0}._popover_1hyo5_1:has(._arrow_1hyo5_23){box-shadow:none;filter:drop-shadow(calc(var(--shadow-x, 0) * 2px) calc(var(--shadow-y, 0) * 2px) 3px rgb(0 0 0 / 15%)) drop-shadow(calc(var(--shadow-x, 0) * 6px) calc(var(--shadow-y, 0) * 6px) 8px rgb(0 0 0 / 10%))}._popover_1hyo5_1[data-placement=top]{--origin: translateY(4px);--shadow-x: 0;--shadow-y: 1}._popover_1hyo5_1[data-placement=top]:has(._arrow_1hyo5_23){margin-bottom:4px}._popover_1hyo5_1[data-placement=bottom]{--origin: translateY(-4px);--shadow-x: 0;--shadow-y: -1}._popover_1hyo5_1[data-placement=bottom]:has(._arrow_1hyo5_23){margin-top:4px}._popover_1hyo5_1[data-placement=bottom] ._arrow_1hyo5_23 svg{transform:rotate(180deg)}._popover_1hyo5_1[data-placement=right]{--origin: translateX(-4px);--shadow-x: -1;--shadow-y: 0}._popover_1hyo5_1[data-placement=right]:has(._arrow_1hyo5_23){margin-left:4px}._popover_1hyo5_1[data-placement=right] ._arrow_1hyo5_23 svg{transform:rotate(90deg)}._popover_1hyo5_1[data-placement=left]{--origin: translateX(4px);--shadow-x: 1;--shadow-y: 0}._popover_1hyo5_1[data-placement=left]:has(._arrow_1hyo5_23){margin-right:4px}._popover_1hyo5_1[data-placement=left] ._arrow_1hyo5_23 svg{transform:rotate(-90deg)}
@@ -1 +1 @@
1
- ._container_vf3ec_1{display:inline-flex}._spinner_vf3ec_5{animation:_rotating_vf3ec_1 1s linear infinite;stroke-linecap:square}@media(prefers-reduced-motion){._spinner_vf3ec_5{animation-duration:2s}}@media(forced-colors:active){._spinner_vf3ec_5{color:CanvasText}}._large_vf3ec_18{color:var(--midas-icon-tertiary)}._dark_vf3ec_23{color:var(--midas-icon-on-color)}@media(forced-colors:active){._dark_vf3ec_23{color:CanvasText}}@keyframes _rotating_vf3ec_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
1
+ ._container_1qexx_1{display:inline-flex}._spinner_1qexx_5{animation:_rotating_1qexx_1 1s linear infinite;stroke-linecap:square}@media(prefers-reduced-motion){._spinner_1qexx_5{animation-duration:2s}}@media(forced-colors:active){._spinner_1qexx_5{color:CanvasText}}._large_1qexx_18{color:var(--midas-icon-tertiary)}@keyframes _rotating_1qexx_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
package/button/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as r } from "../chunks/Button-DbQwg49l.js";
1
+ import { B as r } from "../chunks/Button-wBgWrXj3.js";
2
2
  import { B as p } from "../chunks/ButtonGroup-Dr6HOBo2.js";
3
3
  export {
4
4
  r as Button,
package/calendar/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as r, R as n } from "../chunks/RangeCalendar-CuXHsT-k.js";
1
+ import { C as r, R as n } from "../chunks/RangeCalendar-CGk2btOp.js";
2
2
  export {
3
3
  r as Calendar,
4
4
  n as RangeCalendar
package/checkbox/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { C as e } from "../chunks/Checkbox-ClhO-AzB.js";
2
- import { C } from "../chunks/CheckboxGroup-CIFMaanI.js";
2
+ import { C } from "../chunks/CheckboxGroup-dofHjXkU.js";
3
3
  export {
4
4
  e as Checkbox,
5
5
  C as CheckboxGroup
@@ -1,36 +1,32 @@
1
- import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
- import { c as d } from "./clsx-AexbMWKp.js";
3
- import { DisclosureGroup as v, Disclosure as x, DisclosurePanel as I } from "react-aria-components";
1
+ import { jsx as t, jsxs as d } from "react/jsx-runtime";
2
+ import { c as m } from "./clsx-AexbMWKp.js";
3
+ import { DisclosureGroup as x, Disclosure as C, DisclosurePanel as I } from "react-aria-components";
4
4
  import { createContext as N, useContext as B, useEffect as b } from "react";
5
- import { B as k } from "./Button-DbQwg49l.js";
5
+ import { B as k } from "./Button-wBgWrXj3.js";
6
6
  import { H as w } from "./Heading-D8tNNJkt.js";
7
7
  import { F as A } from "./FeedbackStatusIcon-COWuMusk.js";
8
8
  import { C as T } from "./chevron-down-DgT-uSF9.js";
9
- import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_17bdp_5", _ = {
9
+ import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_17bdp_5", a = {
10
10
  root: D,
11
11
  contained: M
12
- }, u = N(void 0), ne = ({
13
- variant: o,
14
- children: c,
15
- className: r,
16
- isContained: i,
17
- size: n = "large",
18
- ...a
19
- }) => {
20
- const s = i || o === "contained";
21
- return /* @__PURE__ */ t(u.Provider, { value: { isContained: s, size: n }, children: /* @__PURE__ */ t(
22
- v,
23
- {
24
- className: d(
25
- _.root,
26
- s ? _.contained : _.uncontained,
27
- r
28
- ),
29
- ...a,
30
- children: c
31
- }
32
- ) });
33
- }, j = "_item_1em4f_1", z = "_contained_1em4f_18", F = "_medium_1em4f_28", H = "_success_1em4f_33", P = "_warning_1em4f_39", S = "_info_1em4f_45", y = "_important_1em4f_51", E = "_triggerButton_1em4f_62", G = "_triggerText_1em4f_66", R = "_trigger_1em4f_62", W = "_triggerMainContent_1em4f_77", $ = "_chevronIcon_1em4f_94", q = "_statusIcon_1em4f_100", J = "_panel_1em4f_122", K = "_content_1em4f_130", L = "_hasBackground_1em4f_135", O = "_header_1em4f_139", e = {
12
+ }, g = N(void 0), ne = ({
13
+ children: o,
14
+ className: c,
15
+ isContained: s,
16
+ size: r = "large",
17
+ ...n
18
+ }) => /* @__PURE__ */ t(g.Provider, { value: { isContained: s, size: r }, children: /* @__PURE__ */ t(
19
+ x,
20
+ {
21
+ className: m(
22
+ a.root,
23
+ s ? a.contained : a.uncontained,
24
+ c
25
+ ),
26
+ ...n,
27
+ children: o
28
+ }
29
+ ) }), j = "_item_1em4f_1", z = "_contained_1em4f_18", F = "_medium_1em4f_28", H = "_success_1em4f_33", P = "_warning_1em4f_39", S = "_info_1em4f_45", y = "_important_1em4f_51", E = "_triggerButton_1em4f_62", G = "_triggerText_1em4f_66", R = "_trigger_1em4f_62", W = "_triggerMainContent_1em4f_77", $ = "_chevronIcon_1em4f_94", q = "_statusIcon_1em4f_100", J = "_panel_1em4f_122", K = "_content_1em4f_130", L = "_hasBackground_1em4f_135", O = "_header_1em4f_139", e = {
34
30
  item: j,
35
31
  contained: z,
36
32
  medium: F,
@@ -52,33 +48,33 @@ import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_
52
48
  }, oe = ({
53
49
  title: o,
54
50
  children: c,
55
- className: r,
56
- headingLevel: i = "h2",
51
+ className: s,
52
+ headingLevel: r = "h2",
57
53
  type: n,
58
- hasBackground: a = !0,
59
- size: s = "large",
54
+ hasBackground: l = !0,
55
+ size: u = "large",
60
56
  isContained: f,
61
57
  iconAriaLabel: h,
62
58
  ...p
63
59
  }) => {
64
- const g = B(u), m = f ?? g?.isContained ?? !1, C = typeof o == "object";
60
+ const _ = B(g), i = f ?? _?.isContained ?? !1, v = typeof o == "object";
65
61
  return b(() => {
66
- n && !m && console.warn(
62
+ n && !i && console.warn(
67
63
  "AccordionItem: When 'type' is set, it is recommended to also set 'isContained' to true for visual consistency."
68
64
  );
69
- }, [n, m]), /* @__PURE__ */ l(
70
- x,
65
+ }, [n, i]), /* @__PURE__ */ d(
66
+ C,
71
67
  {
72
68
  ...p,
73
- className: d(
69
+ className: m(
74
70
  e.item,
75
71
  n && e[n],
76
- (s === "medium" || g?.size === "medium") && e.medium,
77
- m && e.contained,
78
- r
72
+ (u === "medium" || _?.size === "medium") && e.medium,
73
+ i && e.contained,
74
+ s
79
75
  ),
80
76
  children: [
81
- /* @__PURE__ */ t("div", { className: e.trigger, children: /* @__PURE__ */ l(
77
+ /* @__PURE__ */ t("div", { className: e.trigger, children: /* @__PURE__ */ d(
82
78
  k,
83
79
  {
84
80
  className: e.triggerButton,
@@ -92,11 +88,11 @@ import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_
92
88
  className: e.chevronIcon
93
89
  }
94
90
  ),
95
- /* @__PURE__ */ t("div", { className: e.triggerMainContent, children: C ? o : /* @__PURE__ */ t(
91
+ /* @__PURE__ */ t("div", { className: e.triggerMainContent, children: v ? o : /* @__PURE__ */ t(
96
92
  w,
97
93
  {
98
94
  level: 3,
99
- elementType: i,
95
+ elementType: r,
100
96
  className: e.triggerText,
101
97
  children: o
102
98
  }
@@ -115,9 +111,9 @@ import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_
115
111
  /* @__PURE__ */ t(I, { className: e.panel, children: /* @__PURE__ */ t(
116
112
  "div",
117
113
  {
118
- className: d(
114
+ className: m(
119
115
  e.content,
120
- a && e.hasBackground
116
+ l && e.hasBackground
121
117
  ),
122
118
  children: c
123
119
  }
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as c, Fragment as l } from "react/jsx-runtime";
2
2
  import { B as r } from "./Button.module-Cm0H98vy.js";
3
3
  import { Button as u } from "react-aria-components";
4
4
  import { c as p } from "./clsx-AexbMWKp.js";
5
- import { S as g } from "./Spinner-CL9evrHm.js";
5
+ import { S as g } from "./Spinner-BORNnHph.js";
6
6
  const S = ({
7
7
  variant: i = "primary",
8
8
  fullwidth: o,
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as h } from "react/jsx-runtime";
2
2
  import { useCheckboxGroup as C } from "react-aria";
3
3
  import { useCheckboxGroupState as v } from "react-stately";
4
- import { a as k, L as S } from "./Label-B7taTXkd.js";
4
+ import { a as k, L as S } from "./Label-DqmNWnmm.js";
5
5
  import { T as y } from "./Text-TWzJxnto.js";
6
6
  import * as r from "react";
7
7
  import { C as d, s as u, a as g } from "./Checkbox-ClhO-AzB.js";
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
2
  import y from "react";
3
3
  import { ComboBox as B, Input as F, Button as w, Collection as C } from "react-aria-components";
4
4
  import { c as s } from "./clsx-AexbMWKp.js";
5
- import { a as S, L as v } from "./Label-B7taTXkd.js";
5
+ import { a as S, L as v } from "./Label-DqmNWnmm.js";
6
6
  import { T as u } from "./Text-TWzJxnto.js";
7
7
  import { F as p } from "./FieldError-C0HRIcAx.js";
8
8
  import { L as R } from "./ListBox-D4tO_OrO.js";
@@ -3,7 +3,7 @@ import { DateField as u } from "react-aria-components";
3
3
  import { c as m } from "./clsx-AexbMWKp.js";
4
4
  import { a as _, D as f } from "./DateInputDivider-CkTB5q5k.js";
5
5
  import { F as s } from "./FieldError-C0HRIcAx.js";
6
- import { a as h, L as D } from "./Label-B7taTXkd.js";
6
+ import { a as h, L as D } from "./Label-DqmNWnmm.js";
7
7
  import { T as b } from "./Text-TWzJxnto.js";
8
8
  import '../assets/DateField.css';const x = "_dateField_y3sba_1", y = "_inputField_y3sba_7", L = "_medium_y3sba_37", i = {
9
9
  dateField: x,
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { Group as P, Button as b, Popover as f, Dialog as v, DatePicker as x, DateRangePicker as F } from "react-aria-components";
3
3
  import { a as m } from "./clsx-AexbMWKp.js";
4
- import { C as M, R as N } from "./RangeCalendar-CuXHsT-k.js";
4
+ import { C as M, R as N } from "./RangeCalendar-CGk2btOp.js";
5
5
  import { a as p, D as k, b as B } from "./DateInputDivider-CkTB5q5k.js";
6
6
  import { F as h } from "./FieldError-C0HRIcAx.js";
7
- import { a as u, L as y } from "./Label-B7taTXkd.js";
7
+ import { a as u, L as y } from "./Label-DqmNWnmm.js";
8
8
  import { T as _ } from "./Text-TWzJxnto.js";
9
9
  import { c as C } from "./createLucideIcon-D4r5Phnh.js";
10
10
  import '../assets/DateRangePicker.css';const I = [
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as e } from "react/jsx-runtime";
2
2
  import { ModalOverlay as c, Modal as i, Dialog as n } from "react-aria-components";
3
- import { B as _ } from "./Button-DbQwg49l.js";
3
+ import { B as _ } from "./Button-wBgWrXj3.js";
4
4
  import { H as y } from "./Heading-D8tNNJkt.js";
5
5
  import { c as v } from "./clsx-AexbMWKp.js";
6
6
  import { X as f } from "./x-BXShoIAM.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as e, jsx as n } from "react/jsx-runtime";
2
2
  import * as h from "react";
3
3
  import { c as j } from "./clsx-AexbMWKp.js";
4
- import { B as x } from "./Button-DbQwg49l.js";
4
+ import { B as x } from "./Button-wBgWrXj3.js";
5
5
  import { F as B } from "./FeedbackStatusIcon-COWuMusk.js";
6
6
  import { X as N } from "./x-BXShoIAM.js";
7
7
  import { u as b } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
@@ -3,8 +3,8 @@ import * as b from "react";
3
3
  import s from "react";
4
4
  import { c as f } from "./clsx-AexbMWKp.js";
5
5
  import { DialogTrigger as v, Label as d } from "react-aria-components";
6
- import { P as g } from "./Popover-BAdqdN6C.js";
7
- import { B as u } from "./Button-DbQwg49l.js";
6
+ import { P as g } from "./Popover-D9tAN-g7.js";
7
+ import { B as u } from "./Button-wBgWrXj3.js";
8
8
  import { I as P } from "./info-kdfED7Wh.js";
9
9
  import { u as _ } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
10
10
  import '../assets/Label.css';const I = "_labelBase_f5wtf_1", x = {
@@ -3,8 +3,8 @@ import { G as T } from "./GridItem-5t1Z14sM.js";
3
3
  import * as v from "react";
4
4
  import { c as u } from "./clsx-AexbMWKp.js";
5
5
  import { Link as j, RouterProvider as B } from "react-aria-components";
6
- import { B as I } from "./Button-DbQwg49l.js";
7
- import { a as H, T as G } from "./Tooltip-CtstfI8u.js";
6
+ import { B as I } from "./Button-wBgWrXj3.js";
7
+ import { a as H, T as G } from "./Tooltip-uNMG_UU-.js";
8
8
  import { a as L, B as y } from "./BadgeContainer-CKVsfTlF.js";
9
9
  import { c as M } from "./createLucideIcon-D4r5Phnh.js";
10
10
  import { u as k } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
2
  import { c as e } from "./clsx-AexbMWKp.js";
3
3
  import { s as a } from "./ListBox-D4tO_OrO.js";
4
4
  import { ListBoxLoadMoreItem as l } from "react-aria-components";
5
- import { S as c } from "./Spinner-CL9evrHm.js";
5
+ import { S as c } from "./Spinner-BORNnHph.js";
6
6
  import { u as L } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
7
7
  const S = ({ className: t, children: s, ...r }) => /* @__PURE__ */ o(
8
8
  "button",
@@ -0,0 +1,38 @@
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { c as i } from "./clsx-AexbMWKp.js";
3
+ import { Popover as v, OverlayArrow as h } from "react-aria-components";
4
+ import '../assets/Popover.css';const l = "_popover_1hyo5_1", n = "_arrow_1hyo5_23", r = {
5
+ popover: l,
6
+ arrow: n
7
+ };
8
+ function d({
9
+ children: e,
10
+ className: s,
11
+ offset: p = 4,
12
+ hideArrow: a = !1,
13
+ ...t
14
+ }) {
15
+ return /* @__PURE__ */ c(
16
+ v,
17
+ {
18
+ ...t,
19
+ offset: p,
20
+ className: i(r.popover, s),
21
+ children: [
22
+ !a && /* @__PURE__ */ o(h, { className: r.arrow, children: /* @__PURE__ */ o(
23
+ "svg",
24
+ {
25
+ width: 16,
26
+ height: 16,
27
+ viewBox: "0 0 16 16",
28
+ children: /* @__PURE__ */ o("path", { d: "M0 0 L8 8 L16 0" })
29
+ }
30
+ ) }),
31
+ e
32
+ ]
33
+ }
34
+ );
35
+ }
36
+ export {
37
+ d as P
38
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as _, Fragment as j } from "react/jsx-runtime";
2
2
  import { ProgressBar as d } from "react-aria-components";
3
- import { L as c } from "./Label-B7taTXkd.js";
3
+ import { L as c } from "./Label-DqmNWnmm.js";
4
4
  import { c as l } from "./clsx-AexbMWKp.js";
5
5
  import '../assets/ProgressBar.css';const f = "_progressBar_ojm9j_1", N = "_label_ojm9j_9", g = "_value_ojm9j_14", p = "_bar_ojm9j_19", v = "_fill_ojm9j_29", e = {
6
6
  progressBar: f,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as n } from "react/jsx-runtime";
2
2
  import { Radio as u, RadioGroup as _, Group as f } from "react-aria-components";
3
3
  import { c as t } from "./clsx-AexbMWKp.js";
4
- import { a as G, L as R } from "./Label-B7taTXkd.js";
4
+ import { a as G, L as R } from "./Label-DqmNWnmm.js";
5
5
  import { T as h } from "./Text-TWzJxnto.js";
6
6
  import { F as p } from "./FieldError-C0HRIcAx.js";
7
7
  import '../assets/Radio.css';const x = "_radioGroup_1q7p6_1", w = "_wrap_1q7p6_12", q = "_radio_1q7p6_1", i = {
@@ -3,7 +3,7 @@ import { RangeCalendarContext as h, CalendarGrid as C, CalendarCell as g, Calend
3
3
  import { c as p, a as l } from "./clsx-AexbMWKp.js";
4
4
  import { F as c } from "./FieldError-C0HRIcAx.js";
5
5
  import * as y from "react";
6
- import { B as i } from "./Button-DbQwg49l.js";
6
+ import { B as i } from "./Button-wBgWrXj3.js";
7
7
  import { H as f } from "./Heading-D8tNNJkt.js";
8
8
  import { c as R } from "./createLucideIcon-D4r5Phnh.js";
9
9
  import { C as x } from "./chevron-right-GpyqdYK4.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, jsx as n } from "react/jsx-runtime";
2
2
  import { s as N } from "./TextField.module-DZslrEPC.js";
3
- import { B as _ } from "./Button-DbQwg49l.js";
3
+ import { B as _ } from "./Button-wBgWrXj3.js";
4
4
  import { c as l } from "./clsx-AexbMWKp.js";
5
5
  import * as x from "react";
6
6
  import { useSearchFieldState as j } from "react-stately";
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
2
  import { SelectStateContext as m, Button as _, TagList as A, Select as V, SelectValue as x } from "react-aria-components";
3
3
  import { FocusScope as C } from "@react-aria/focus";
4
- import { a as T, L as N } from "./Label-B7taTXkd.js";
4
+ import { a as T, L as N } from "./Label-DqmNWnmm.js";
5
5
  import { a as y, c as h } from "./clsx-AexbMWKp.js";
6
6
  import { T as B } from "./Text-TWzJxnto.js";
7
7
  import { F as b } from "./FieldError-C0HRIcAx.js";
@@ -11,8 +11,8 @@ import { u } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
11
11
  import { useFocusManager as M } from "react-aria";
12
12
  import { X as F } from "./x-BXShoIAM.js";
13
13
  import { L as I } from "./ListBox-D4tO_OrO.js";
14
- import { P as G } from "./Popover-BAdqdN6C.js";
15
- import { a as j, T as k } from "./Tag-CEfQksg8.js";
14
+ import { P as G } from "./Popover-D9tAN-g7.js";
15
+ import { a as j, T as k } from "./Tag-DxBoeE_n.js";
16
16
  import { C as R } from "./chevron-down-DgT-uSF9.js";
17
17
  import '../assets/Select.css';const $ = { clearAll: "Clear all", selectAll: "Select all", selectedItems: "Selected items", selected: "selected" }, w = { clearAll: "Rensa alla", selectAll: "Välj alla", selectedItems: "Valda objekt", selected: "valda" }, g = {
18
18
  en: $,
@@ -14,10 +14,10 @@ import { ListKeyboardDelegate as le, useTypeSelect as oe } from "@react-aria/sel
14
14
  import { useMenuTriggerState as ne } from "@react-stately/menu";
15
15
  import { useFormValidationState as ie } from "@react-stately/form";
16
16
  import { useListState as re } from "@react-stately/list";
17
- import { a as se, T as ae } from "./Tag-CEfQksg8.js";
17
+ import { a as se, T as ae } from "./Tag-DxBoeE_n.js";
18
18
  import { useFormValidation as ce } from "@react-aria/form";
19
19
  import { useVisuallyHidden as de } from "@react-aria/visually-hidden";
20
- import { a as ue, L as me } from "./Label-B7taTXkd.js";
20
+ import { a as ue, L as me } from "./Label-DqmNWnmm.js";
21
21
  import { T as ge } from "./Text-TWzJxnto.js";
22
22
  import { C as fe } from "./Checkbox-ClhO-AzB.js";
23
23
  import { X as pe } from "./x-BXShoIAM.js";
@@ -0,0 +1,43 @@
1
+ import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
+ import { c as r } from "./clsx-AexbMWKp.js";
3
+ import { VisuallyHidden as c } from "react-aria";
4
+ import { u as l } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
5
+ import { c as d } from "./createLucideIcon-D4r5Phnh.js";
6
+ import '../assets/Spinner.css';const m = "_container_1qexx_1", p = "_spinner_1qexx_5", g = "_large_1qexx_18", n = {
7
+ container: m,
8
+ spinner: p,
9
+ large: g
10
+ };
11
+ const _ = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], x = d("loader-circle", _), u = { loadingPleaseWait: "Loading, please wait..." }, f = { loadingPleaseWait: "Laddar, vänligen vänta..." }, h = {
12
+ en: u,
13
+ sv: f
14
+ }, q = ({
15
+ small: e,
16
+ color: t,
17
+ className: a
18
+ }) => {
19
+ const o = l(h);
20
+ return /* @__PURE__ */ i(
21
+ "div",
22
+ {
23
+ className: r(n.container, a),
24
+ role: "status",
25
+ children: [
26
+ /* @__PURE__ */ s(
27
+ x,
28
+ {
29
+ className: r(n.spinner, !e && n.large),
30
+ size: e ? 20 : 96,
31
+ strokeWidth: e ? 2 : 8,
32
+ absoluteStrokeWidth: !0,
33
+ color: t
34
+ }
35
+ ),
36
+ /* @__PURE__ */ s(c, { children: o.format("loadingPleaseWait") })
37
+ ]
38
+ }
39
+ );
40
+ };
41
+ export {
42
+ q as S
43
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as n } from "react/jsx-runtime";
2
2
  import { Tag as c, TagGroup as _, TagList as e } from "react-aria-components";
3
- import { B as g } from "./Button-DbQwg49l.js";
3
+ import { B as g } from "./Button-wBgWrXj3.js";
4
4
  import { c as u } from "./clsx-AexbMWKp.js";
5
5
  import { X as l } from "./x-BXShoIAM.js";
6
6
  import '../assets/Tag.css';const T = "_button_1nm6n_1", p = "_success_1nm6n_16", f = "_warning_1nm6n_17", d = "_info_1nm6n_18", x = "_important_1nm6n_19", b = "_tag_1nm6n_31", w = "_tagText_1nm6n_83", L = "_dismissable_1nm6n_88", N = "_tagList_1nm6n_92", s = {
@@ -4,11 +4,11 @@ import { useContextProps as m, TextFieldContext as C, TextField as P, InputConte
4
4
  import { a as R, c as f } from "./clsx-AexbMWKp.js";
5
5
  import { s as d } from "./TextField.module-DZslrEPC.js";
6
6
  import { T as x } from "./Text-TWzJxnto.js";
7
- import { B as v } from "./Button-DbQwg49l.js";
7
+ import { B as v } from "./Button-wBgWrXj3.js";
8
8
  import { u as I } from "./useLocalizedStringFormatter-ZgRJmvHC.js";
9
9
  import { F as h } from "./FieldError-C0HRIcAx.js";
10
10
  import { C as L } from "./CharacterCounter-DeuE2det.js";
11
- import { a as y, L as A } from "./Label-B7taTXkd.js";
11
+ import { a as y, L as A } from "./Label-DqmNWnmm.js";
12
12
  const u = c.forwardRef((e, t) => {
13
13
  [e] = m(e, t, C);
14
14
  const {