@midas-ds/components 17.23.7 → 17.23.9
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/CHANGELOG.md +25 -0
- package/accordion/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +1 -1
- package/card/index.js +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/{FeedbackStatusIcon-A1trvSCf.js → FeedbackStatusIcon-BS5VX-s6.js} +4 -4
- package/chunks/{accordion-CcRZQ3sN.js → accordion-BxxPnJau.js} +5 -5
- package/chunks/{arrow-right-7yeXXFNV.js → arrow-right-Db_H9KjE.js} +1 -1
- package/chunks/{badge-DwPG4Jz8.js → badge-BplGU5BS.js} +1 -1
- package/chunks/{breadcrumbs-XTH3axtt.js → breadcrumbs-C-Z6UlQn.js} +1 -1
- package/chunks/{button-CFjf-bDe.js → button-Ch860h28.js} +3 -3
- package/chunks/{calendar-C0rlcHfr.js → calendar-R7x0m8ch.js} +6 -6
- package/chunks/{card-Dpx9A9Ro.js → card-Bzc8kToe.js} +4 -4
- package/chunks/{check-BiPE7lAA.js → check-DV00NPU0.js} +1 -1
- package/chunks/{checkbox-Bj-P9WYH.js → checkbox-BjPgN3h_.js} +12 -12
- package/chunks/{chevron-down-Buf0eTzo.js → chevron-down-CP7nEDei.js} +1 -1
- package/chunks/{chevron-right-DJ7qKNKG.js → chevron-right-DwqboCdU.js} +1 -1
- package/chunks/{clear-button-Cb4MTvBR.js → clear-button-la4Fb9_w.js} +3 -3
- package/chunks/{clsx-BtlV5Vo3.js → clsx-B1NYyfch.js} +2 -2
- package/chunks/{color-scheme-switch-FjmPZdE4.js → color-scheme-switch-jgoxUu3x.js} +8 -8
- package/chunks/{combobox-C1dZD0c7.js → combobox-DDO4fEtI.js} +8 -8
- package/chunks/{createLucideIcon-DhIhuN5D.js → createLucideIcon-BgluSHFG.js} +1 -1
- package/chunks/{date-field-CkL0qbpM.js → date-field-DG5TYsTF.js} +6 -6
- package/chunks/{date-picker-CD15o56d.js → date-picker-1W7OmCT0.js} +10 -10
- package/chunks/{field-error-DYp2kgFr.js → field-error-pJiSw4PN.js} +2 -2
- package/chunks/{file-list-DYOuch5G.js → file-list-DM1Vtkun.js} +4 -4
- package/chunks/{file-upload-CZRTVw5O.js → file-upload-DInuSFCB.js} +1 -1
- package/chunks/{grid-CUYMbO7c.js → grid-DZB3GGDg.js} +1 -1
- package/chunks/{heading-595zCrRS.js → heading-bnDePIbv.js} +1 -1
- package/chunks/{icons-Dw_ZbztW.js → icons-UBHIX2oV.js} +1 -1
- package/chunks/{info-banner-hHq0Atii.js → info-banner-DnFNZ1_o.js} +5 -5
- package/chunks/{info-Bm2gRija.js → info-jCyacVsy.js} +1 -1
- package/chunks/{label-BKaJ7cXX.js → label-CEYHiWSa.js} +6 -6
- package/chunks/{layout-DibnX6Za.js → layout-DVj8wSj3.js} +9 -9
- package/chunks/{link-CZNuhFX6.js → link-CQoSw1Pv.js} +5 -5
- package/chunks/{link-button-ZsK6UGko.js → link-button-BMFzCHH8.js} +5 -5
- package/chunks/{list-box-DvX6VTa1.js → list-box-VdBVTwZK.js} +6 -6
- package/chunks/{logo-D7tz-4hp.js → logo-CDxNjDeI.js} +2 -2
- package/chunks/{menu-CB6VDQ-u.js → menu-CPCGm0MC.js} +3 -3
- package/chunks/{modal-Dr0ythpF.js → modal-C-xHt7Ds.js} +6 -6
- package/chunks/{popover-BTJ1dvWc.js → popover-wAwxm_cM.js} +1 -1
- package/chunks/{progress-bar-DTm2orq7.js → progress-bar-Cft_RPHz.js} +2 -2
- package/chunks/{radio-DeK1SK_e.js → radio-DmCYqo3Z.js} +4 -4
- package/chunks/{search-field-CQwe74Bd.js → search-field-d7FV4Kuv.js} +9 -9
- package/chunks/{select-C-Pu74Uq.js → select-CZklrPAQ.js} +12 -12
- package/chunks/{skeleton-OqKFBcmO.js → skeleton-DWmvym7R.js} +1 -1
- package/chunks/{spinner-C3WiZYld.js → spinner-DMR5G-6u.js} +3 -3
- package/chunks/{square-arrow-out-up-right-Bobm4VNc.js → square-arrow-out-up-right-DkgXD7hj.js} +1 -1
- package/chunks/{table-BDG9pACN.js → table-BrA5r_BP.js} +3 -3
- package/chunks/{tabs-C08F_2gW.js → tabs-BFFTnO4i.js} +2 -2
- package/chunks/{tag-CELJrUEQ.js → tag-mzNjP8EX.js} +3 -3
- package/chunks/{text-mAeDlv5N.js → text-EUdAWwZz.js} +1 -1
- package/chunks/{textfield-B2fUOuhs.js → textfield-BsijPPRD.js} +9 -9
- package/chunks/{time-field-BL8LO0Bv.js → time-field-BlNUOjUJ.js} +7 -7
- package/chunks/{toast-AYzfHBcQ.js → toast-Cz0JDIr1.js} +4 -4
- package/chunks/{toggle-button-DlPo9GJW.js → toggle-button-BgUQKcK-.js} +1 -1
- package/chunks/{tooltip-BE_r_CBm.js → tooltip-D7LYQwj0.js} +2 -2
- package/chunks/{useLocalizedStringFormatter-bRLuRzVD.js → useLocalizedStringFormatter-CeyBc0x0.js} +1 -1
- package/chunks/{x-Bs_QW3q8.js → x-BJAOO5a5.js} +1 -1
- package/clear-button/index.js +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.js +1 -1
- package/date-picker/index.js +1 -1
- package/field-error/index.js +1 -1
- package/file-list/index.js +1 -1
- package/file-upload/index.js +1 -1
- package/grid/index.js +1 -1
- package/heading/index.js +1 -1
- package/icons/index.js +1 -1
- package/index.js +48 -50
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/link-button/index.js +1 -1
- package/list-box/ListBox.stories.d.ts +3 -2
- package/list-box/index.js +1 -1
- package/logo/index.js +1 -1
- package/menu/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +3 -5
- package/popover/index.js +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.js +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.js +1 -1
- package/table/index.js +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.js +1 -1
- package/text/index.js +1 -1
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/index.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
3
|
import { OverlayArrow as n, Popover as r, PopoverContext as i, composeRenderProps as a, useContextProps as o } from "react-aria-components";
|
|
4
4
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
2
|
-
import { t } from "./label-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
+
import { t } from "./label-CEYHiWSa.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { ProgressBar as n } from "react-aria-components";
|
|
5
5
|
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clsx-
|
|
3
|
-
import { t } from "./text-
|
|
4
|
-
import { t as n } from "./field-error-
|
|
5
|
-
import { n as r, t as i } from "./label-
|
|
2
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
3
|
+
import { t } from "./text-EUdAWwZz.js";
|
|
4
|
+
import { t as n } from "./field-error-pJiSw4PN.js";
|
|
5
|
+
import { n as r, t as i } from "./label-CEYHiWSa.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Group as a, Radio as o, RadioGroup as s, composeRenderProps as c } from "react-aria-components";
|
|
8
8
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clsx-
|
|
3
|
-
import { t } from "./createLucideIcon-
|
|
4
|
-
import { t as n } from "./x-
|
|
5
|
-
import { t as r } from "./useLocalizedStringFormatter-
|
|
6
|
-
import { n as i } from "./button-
|
|
7
|
-
import { t as a } from "./text-
|
|
8
|
-
import { t as o } from "./field-error-
|
|
9
|
-
import { n as s, t as c } from "./label-
|
|
2
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
3
|
+
import { t } from "./createLucideIcon-BgluSHFG.js";
|
|
4
|
+
import { t as n } from "./x-BJAOO5a5.js";
|
|
5
|
+
import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
6
|
+
import { n as i } from "./button-Ch860h28.js";
|
|
7
|
+
import { t as a } from "./text-EUdAWwZz.js";
|
|
8
|
+
import { t as o } from "./field-error-pJiSw4PN.js";
|
|
9
|
+
import { n as s, t as c } from "./label-CEYHiWSa.js";
|
|
10
10
|
import { t as l } from "./TextField.module-D_tUnemB.js";
|
|
11
11
|
import { FormContext as u, Input as d, SearchField as f, useSlottedContext as p } from "react-aria-components";
|
|
12
12
|
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
@@ -31,7 +31,7 @@ import '../assets/search-field.css';var _ = t("search", [["path", {
|
|
|
31
31
|
sv: { search: "Sök" }
|
|
32
32
|
};
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region
|
|
34
|
+
//#region src/search-field/SearchField.tsx
|
|
35
35
|
function b(e) {
|
|
36
36
|
return !!e?.length;
|
|
37
37
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as e, t } from "./clsx-
|
|
2
|
-
import { t as n } from "./chevron-down-
|
|
3
|
-
import { n as r } from "./checkbox-
|
|
4
|
-
import { t as i } from "./x-
|
|
5
|
-
import { t as a } from "./useLocalizedStringFormatter-
|
|
6
|
-
import { t as o } from "./text-
|
|
7
|
-
import { t as s } from "./field-error-
|
|
8
|
-
import { n as c, t as l } from "./label-
|
|
9
|
-
import { t as u } from "./popover-
|
|
10
|
-
import { c as d } from "./list-box-
|
|
11
|
-
import { n as f, r as p, t as m } from "./tag-
|
|
1
|
+
import { n as e, t } from "./clsx-B1NYyfch.js";
|
|
2
|
+
import { t as n } from "./chevron-down-CP7nEDei.js";
|
|
3
|
+
import { n as r } from "./checkbox-BjPgN3h_.js";
|
|
4
|
+
import { t as i } from "./x-BJAOO5a5.js";
|
|
5
|
+
import { t as a } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
6
|
+
import { t as o } from "./text-EUdAWwZz.js";
|
|
7
|
+
import { t as s } from "./field-error-pJiSw4PN.js";
|
|
8
|
+
import { n as c, t as l } from "./label-CEYHiWSa.js";
|
|
9
|
+
import { t as u } from "./popover-wAwxm_cM.js";
|
|
10
|
+
import { c as d } from "./list-box-VdBVTwZK.js";
|
|
11
|
+
import { n as f, r as p, t as m } from "./tag-mzNjP8EX.js";
|
|
12
12
|
import h, { useContext as g } from "react";
|
|
13
13
|
import { Button as _, Select as v, SelectStateContext as y, SelectValue as b } from "react-aria-components";
|
|
14
14
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
@@ -126,7 +126,7 @@ import '../assets/select.css';var E = {
|
|
|
126
126
|
});
|
|
127
127
|
};
|
|
128
128
|
//#endregion
|
|
129
|
-
//#region
|
|
129
|
+
//#region src/select/Select.tsx
|
|
130
130
|
function N({ children: e, description: n, errorMessage: r, errorPosition: i = "top", items: a, label: f, popover: p, popoverProps: m, listBoxProps: h, size: g = "large", ..._ }) {
|
|
131
131
|
return /* @__PURE__ */ S(w, { children: /* @__PURE__ */ C(v, {
|
|
132
132
|
..._,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
2
|
-
import { t } from "./createLucideIcon-
|
|
3
|
-
import { t as n } from "./useLocalizedStringFormatter-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
+
import { t } from "./createLucideIcon-BgluSHFG.js";
|
|
3
|
+
import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { VisuallyHidden as a } from "react-aria";
|
|
6
6
|
import '../assets/spinner.css';var o = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clsx-
|
|
3
|
-
import { t } from "./createLucideIcon-
|
|
4
|
-
import { n } from "./checkbox-
|
|
2
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
3
|
+
import { t } from "./createLucideIcon-BgluSHFG.js";
|
|
4
|
+
import { n } from "./checkbox-BjPgN3h_.js";
|
|
5
5
|
import { Button as r, Cell as i, Collection as a, Column as o, Row as s, Table as c, TableBody as l, TableHeader as u, useTableOptions as d } from "react-aria-components";
|
|
6
6
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
import '../assets/table.css';var h = t("arrow-down", [["path", {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clsx-
|
|
2
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
3
3
|
import * as t from "react";
|
|
4
4
|
import { createContext as n } from "react";
|
|
5
5
|
import { DialogContext as r, SelectionIndicator as i, Tab as a, TabList as o, TabPanel as s, Tabs as c, composeRenderProps as l } from "react-aria-components";
|
|
6
6
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
|
-
import '../assets/tabs.css';//#region
|
|
7
|
+
import '../assets/tabs.css';//#region src/tabs/TabsContext.ts
|
|
8
8
|
var p = n({
|
|
9
9
|
variant: "uncontained",
|
|
10
10
|
size: "large"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
2
|
-
import { t } from "./x-
|
|
3
|
-
import { n } from "./button-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
+
import { t } from "./x-BJAOO5a5.js";
|
|
3
|
+
import { n } from "./button-Ch860h28.js";
|
|
4
4
|
import { Children as r, forwardRef as i, isValidElement as a } from "react";
|
|
5
5
|
import { Tag as o, TagGroup as s, TagGroupContext as c, TagList as l, TagListContext as u, composeRenderProps as d, useContextProps as f } from "react-aria-components";
|
|
6
6
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { n as e, t } from "./clsx-
|
|
3
|
-
import { t as n } from "./useLocalizedStringFormatter-
|
|
4
|
-
import { n as r } from "./button-
|
|
5
|
-
import { t as i } from "./text-
|
|
6
|
-
import { t as a } from "./field-error-
|
|
2
|
+
import { n as e, t } from "./clsx-B1NYyfch.js";
|
|
3
|
+
import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
4
|
+
import { n as r } from "./button-Ch860h28.js";
|
|
5
|
+
import { t as i } from "./text-EUdAWwZz.js";
|
|
6
|
+
import { t as a } from "./field-error-pJiSw4PN.js";
|
|
7
7
|
import { t as o } from "./character-counter-CSoVSrxZ.js";
|
|
8
|
-
import { n as s, t as c } from "./label-
|
|
8
|
+
import { n as s, t as c } from "./label-CEYHiWSa.js";
|
|
9
9
|
import { t as l } from "./TextField.module-D_tUnemB.js";
|
|
10
10
|
import { forwardRef as u, useState as d } from "react";
|
|
11
11
|
import { Input as f, InputContext as p, TextArea as m, TextField as h, TextFieldContext as g, useContextProps as _ } from "react-aria-components";
|
|
12
12
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
13
|
-
//#region
|
|
13
|
+
//#region src/textfield/TextFieldBase.tsx
|
|
14
14
|
var b = u((t, n) => {
|
|
15
15
|
[t] = _(t, n, g);
|
|
16
16
|
let { label: r, description: u, errorMessage: d, showCounter: f, errorPosition: p = "top", size: m = "large", popover: b, children: x } = t;
|
|
@@ -79,7 +79,7 @@ var x = {
|
|
|
79
79
|
});
|
|
80
80
|
C.displayName = "Input";
|
|
81
81
|
//#endregion
|
|
82
|
-
//#region
|
|
82
|
+
//#region src/textfield/TextField.tsx
|
|
83
83
|
var w = u(({ className: e, list: n, type: r, min: i, max: a, form: o, ...s }, c) => /* @__PURE__ */ v(b, {
|
|
84
84
|
...s,
|
|
85
85
|
children: /* @__PURE__ */ v(C, {
|
|
@@ -95,7 +95,7 @@ var w = u(({ className: e, list: n, type: r, min: i, max: a, form: o, ...s }, c)
|
|
|
95
95
|
}));
|
|
96
96
|
w.displayName = "TextField";
|
|
97
97
|
//#endregion
|
|
98
|
-
//#region
|
|
98
|
+
//#region src/textfield/TextArea.tsx
|
|
99
99
|
var T = u(({ className: e, cols: n, form: r, rows: i, wrap: a, ...o }, s) => /* @__PURE__ */ v(b, {
|
|
100
100
|
...o,
|
|
101
101
|
children: /* @__PURE__ */ v(m, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
2
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
3
|
-
import { t as n } from "./text-
|
|
4
|
-
import { t as r } from "./field-error-
|
|
5
|
-
import { n as i, t as a } from "./label-
|
|
6
|
-
import { t as o } from "./clear-button-
|
|
7
|
-
import { n as s, r as c } from "./date-field-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
+
import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
3
|
+
import { t as n } from "./text-EUdAWwZz.js";
|
|
4
|
+
import { t as r } from "./field-error-pJiSw4PN.js";
|
|
5
|
+
import { n as i, t as a } from "./label-CEYHiWSa.js";
|
|
6
|
+
import { t as o } from "./clear-button-la4Fb9_w.js";
|
|
7
|
+
import { n as s, r as c } from "./date-field-DG5TYsTF.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,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clsx-
|
|
3
|
-
import { t } from "./FeedbackStatusIcon-
|
|
4
|
-
import { t as n } from "./x-
|
|
5
|
-
import { n as r } from "./button-
|
|
2
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
3
|
+
import { t } from "./FeedbackStatusIcon-BS5VX-s6.js";
|
|
4
|
+
import { t as n } from "./x-BJAOO5a5.js";
|
|
5
|
+
import { n as r } from "./button-Ch860h28.js";
|
|
6
6
|
import i from "react";
|
|
7
7
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
8
|
import { useToast as c, useToastRegion as l } from "react-aria";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./clsx-
|
|
1
|
+
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { OverlayArrow as t, Tooltip as n, TooltipTrigger as r } from "react-aria-components";
|
|
4
4
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import '../assets/tooltip.css';var s = {
|
|
|
7
7
|
arrow: "_arrow_exq12_18"
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region
|
|
10
|
+
//#region src/tooltip/Tooltip.tsx
|
|
11
11
|
function c({ children: r, className: c, ...l }) {
|
|
12
12
|
return /* @__PURE__ */ a(n, {
|
|
13
13
|
className: e(s.tooltip, c),
|
package/chunks/{useLocalizedStringFormatter-bRLuRzVD.js → useLocalizedStringFormatter-CeyBc0x0.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo as e } from "react";
|
|
2
2
|
import { useLocale as t } from "react-aria-components";
|
|
3
3
|
import { LocalizedStringDictionary as n, LocalizedStringFormatter as r } from "@internationalized/string";
|
|
4
|
-
//#region
|
|
4
|
+
//#region src/utils/intl/useLocalizedStringFormatter.ts
|
|
5
5
|
var i = "sv", a = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
function o(e) {
|
|
7
7
|
let t = a.get(e);
|
package/clear-button/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/clear-button-
|
|
1
|
+
import { t as e } from "../chunks/clear-button-la4Fb9_w.js";
|
|
2
2
|
export { e as ClearButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/color-scheme-switch-
|
|
1
|
+
import { n as e, t } from "../chunks/color-scheme-switch-jgoxUu3x.js";
|
|
2
2
|
export { e as ColorSchemeSwitch, t as ColorSchemeSwitchMenu };
|
package/combobox/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/combobox-
|
|
1
|
+
import { t as e } from "../chunks/combobox-DDO4fEtI.js";
|
|
2
2
|
export { e as ComboBox };
|
package/date-field/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/date-field-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/date-field-DG5TYsTF.js";
|
|
2
2
|
export { e as DateField, t as DateInput, r as DateInputDivider, n as DateSegment };
|
package/date-picker/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/date-picker-
|
|
1
|
+
import { n as e, t } from "../chunks/date-picker-1W7OmCT0.js";
|
|
2
2
|
export { e as DatePicker, t as DateRangePicker };
|
package/field-error/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/field-error-
|
|
1
|
+
import { t as e } from "../chunks/field-error-pJiSw4PN.js";
|
|
2
2
|
export { e as FieldError };
|
package/file-list/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/file-list-
|
|
1
|
+
import { n as e, t } from "../chunks/file-list-DM1Vtkun.js";
|
|
2
2
|
export { e as FileList, t as FileListItem };
|
package/file-upload/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/file-upload-
|
|
1
|
+
import { n as e, t } from "../chunks/file-upload-DInuSFCB.js";
|
|
2
2
|
export { t as DropZone, e as FileTrigger };
|
package/grid/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/grid-
|
|
1
|
+
import { n as e, t } from "../chunks/grid-DZB3GGDg.js";
|
|
2
2
|
export { e as Grid, t as GridItem };
|
package/heading/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/heading-
|
|
1
|
+
import { t as e } from "../chunks/heading-bnDePIbv.js";
|
|
2
2
|
export { e as Heading };
|
package/icons/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/icons-
|
|
1
|
+
import { t as e } from "../chunks/icons-UBHIX2oV.js";
|
|
2
2
|
export { e as ContrastFilled };
|
package/index.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
4
|
-
import { t as n } from "./chunks/clsx-
|
|
5
|
-
import { t as r } from "./chunks/spinner-
|
|
6
|
-
import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-
|
|
7
|
-
import { n as l, t as u } from "./chunks/link-
|
|
8
|
-
import { a as d, i as f, n as p, o as m, r as h, t as g } from "./chunks/table-
|
|
9
|
-
import { t as _ } from "./chunks/link-button-
|
|
10
|
-
import { n as v, t as y } from "./chunks/date-picker-
|
|
11
|
-
import { n as b, t as x } from "./chunks/calendar-
|
|
12
|
-
import { n as S, t as C } from "./chunks/checkbox-
|
|
13
|
-
import { n as w, t as T } from "./chunks/color-scheme-switch-
|
|
14
|
-
import { t as E } from "./chunks/search-field-
|
|
15
|
-
import { n as D, t as O } from "./chunks/file-list-
|
|
16
|
-
import { t as k } from "./chunks/useLocalizedStringFormatter-
|
|
17
|
-
import { n as A, t as j } from "./chunks/button-
|
|
18
|
-
import { t as M } from "./chunks/heading-
|
|
19
|
-
import { n as N, t as P } from "./chunks/badge-
|
|
20
|
-
import { n as F, t as I } from "./chunks/breadcrumbs-
|
|
21
|
-
import { t as L } from "./chunks/text-
|
|
22
|
-
import { t as R } from "./chunks/field-error-
|
|
23
|
-
import { a as z, c as B, i as V, l as H, n as U, o as W, r as G, s as K, t as q } from "./chunks/card-
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-BxxPnJau.js";
|
|
4
|
+
import { t as n } from "./chunks/clsx-B1NYyfch.js";
|
|
5
|
+
import { t as r } from "./chunks/spinner-DMR5G-6u.js";
|
|
6
|
+
import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-DVj8wSj3.js";
|
|
7
|
+
import { n as l, t as u } from "./chunks/link-CQoSw1Pv.js";
|
|
8
|
+
import { a as d, i as f, n as p, o as m, r as h, t as g } from "./chunks/table-BrA5r_BP.js";
|
|
9
|
+
import { t as _ } from "./chunks/link-button-BMFzCHH8.js";
|
|
10
|
+
import { n as v, t as y } from "./chunks/date-picker-1W7OmCT0.js";
|
|
11
|
+
import { n as b, t as x } from "./chunks/calendar-R7x0m8ch.js";
|
|
12
|
+
import { n as S, t as C } from "./chunks/checkbox-BjPgN3h_.js";
|
|
13
|
+
import { n as w, t as T } from "./chunks/color-scheme-switch-jgoxUu3x.js";
|
|
14
|
+
import { t as E } from "./chunks/search-field-d7FV4Kuv.js";
|
|
15
|
+
import { n as D, t as O } from "./chunks/file-list-DM1Vtkun.js";
|
|
16
|
+
import { t as k } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
|
|
17
|
+
import { n as A, t as j } from "./chunks/button-Ch860h28.js";
|
|
18
|
+
import { t as M } from "./chunks/heading-bnDePIbv.js";
|
|
19
|
+
import { n as N, t as P } from "./chunks/badge-BplGU5BS.js";
|
|
20
|
+
import { n as F, t as I } from "./chunks/breadcrumbs-C-Z6UlQn.js";
|
|
21
|
+
import { t as L } from "./chunks/text-EUdAWwZz.js";
|
|
22
|
+
import { t as R } from "./chunks/field-error-pJiSw4PN.js";
|
|
23
|
+
import { a as z, c as B, i as V, l as H, n as U, o as W, r as G, s as K, t as q } from "./chunks/card-Bzc8kToe.js";
|
|
24
24
|
import { t as J } from "./chunks/character-counter-CSoVSrxZ.js";
|
|
25
|
-
import { t as Y } from "./chunks/label-
|
|
26
|
-
import { t as X } from "./chunks/popover-
|
|
27
|
-
import { n as Z, r as Q, t as $ } from "./chunks/modal-
|
|
28
|
-
import { t as ee } from "./chunks/icons-
|
|
29
|
-
import { n as te, t as ne } from "./chunks/toggle-button-
|
|
30
|
-
import { a as re, i as ie, n as ae, o as oe, r as se, t as ce } from "./chunks/menu-
|
|
31
|
-
import { t as le } from "./chunks/combobox-
|
|
32
|
-
import { a as ue, c as de, i as fe, n as pe, o as me, r as he, s as ge, t as _e } from "./chunks/list-box-
|
|
33
|
-
import { i as ve, n as ye, r as be, t as xe } from "./chunks/date-field-
|
|
34
|
-
import { n as Se, t as Ce } from "./chunks/file-upload-
|
|
35
|
-
import { n as we, t as Te } from "./chunks/grid-
|
|
36
|
-
import { t as Ee } from "./chunks/info-banner-
|
|
37
|
-
import { n as De, t as Oe } from "./chunks/tooltip-
|
|
38
|
-
import { n as ke, t as Ae } from "./chunks/logo-
|
|
39
|
-
import { t as je } from "./chunks/progress-bar-
|
|
40
|
-
import { n as Me, t as Ne } from "./chunks/radio-
|
|
41
|
-
import { t as Pe } from "./chunks/select-
|
|
42
|
-
import { n as Fe, r as Ie, t as Le } from "./chunks/tag-
|
|
43
|
-
import { t as Re } from "./chunks/skeleton-
|
|
44
|
-
import { i as ze, n as Be, r as Ve, t as He } from "./chunks/tabs-
|
|
45
|
-
import { i as Ue, n as We, r as Ge, t as Ke } from "./chunks/textfield-
|
|
46
|
-
import { t as qe } from "./chunks/time-field-
|
|
47
|
-
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./chunks/toast-
|
|
25
|
+
import { t as Y } from "./chunks/label-CEYHiWSa.js";
|
|
26
|
+
import { t as X } from "./chunks/popover-wAwxm_cM.js";
|
|
27
|
+
import { n as Z, r as Q, t as $ } from "./chunks/modal-C-xHt7Ds.js";
|
|
28
|
+
import { t as ee } from "./chunks/icons-UBHIX2oV.js";
|
|
29
|
+
import { n as te, t as ne } from "./chunks/toggle-button-BgUQKcK-.js";
|
|
30
|
+
import { a as re, i as ie, n as ae, o as oe, r as se, t as ce } from "./chunks/menu-CPCGm0MC.js";
|
|
31
|
+
import { t as le } from "./chunks/combobox-DDO4fEtI.js";
|
|
32
|
+
import { a as ue, c as de, i as fe, n as pe, o as me, r as he, s as ge, t as _e } from "./chunks/list-box-VdBVTwZK.js";
|
|
33
|
+
import { i as ve, n as ye, r as be, t as xe } from "./chunks/date-field-DG5TYsTF.js";
|
|
34
|
+
import { n as Se, t as Ce } from "./chunks/file-upload-DInuSFCB.js";
|
|
35
|
+
import { n as we, t as Te } from "./chunks/grid-DZB3GGDg.js";
|
|
36
|
+
import { t as Ee } from "./chunks/info-banner-DnFNZ1_o.js";
|
|
37
|
+
import { n as De, t as Oe } from "./chunks/tooltip-D7LYQwj0.js";
|
|
38
|
+
import { n as ke, t as Ae } from "./chunks/logo-CDxNjDeI.js";
|
|
39
|
+
import { t as je } from "./chunks/progress-bar-Cft_RPHz.js";
|
|
40
|
+
import { n as Me, t as Ne } from "./chunks/radio-DmCYqo3Z.js";
|
|
41
|
+
import { t as Pe } from "./chunks/select-CZklrPAQ.js";
|
|
42
|
+
import { n as Fe, r as Ie, t as Le } from "./chunks/tag-mzNjP8EX.js";
|
|
43
|
+
import { t as Re } from "./chunks/skeleton-DWmvym7R.js";
|
|
44
|
+
import { i as ze, n as Be, r as Ve, t as He } from "./chunks/tabs-BFFTnO4i.js";
|
|
45
|
+
import { i as Ue, n as We, r as Ge, t as Ke } from "./chunks/textfield-BsijPPRD.js";
|
|
46
|
+
import { t as qe } from "./chunks/time-field-BlNUOjUJ.js";
|
|
47
|
+
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./chunks/toast-Cz0JDIr1.js";
|
|
48
48
|
//#endregion
|
|
49
|
-
//#region
|
|
49
|
+
//#region src/version.ts
|
|
50
50
|
var et = {
|
|
51
51
|
name: "@midas-ds/components",
|
|
52
52
|
author: { name: "Migrationsverket" },
|
|
@@ -59,7 +59,7 @@ var et = {
|
|
|
59
59
|
description: "Midas Components",
|
|
60
60
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
61
61
|
license: "CC0-1.0",
|
|
62
|
-
version: "17.23.
|
|
62
|
+
version: "17.23.9",
|
|
63
63
|
module: "./index.js",
|
|
64
64
|
type: "module",
|
|
65
65
|
main: "./index.js",
|
|
@@ -84,11 +84,9 @@ var et = {
|
|
|
84
84
|
dependencies: {
|
|
85
85
|
"@internationalized/string": "^3.2.10",
|
|
86
86
|
"@midas-ds/theme": "3.17.0",
|
|
87
|
-
"@react-
|
|
88
|
-
"@react-stately/toggle": "^3.9.5",
|
|
89
|
-
"@react-stately/utils": "^3.11.0",
|
|
90
|
-
"react-aria": "^3.51.0",
|
|
87
|
+
"@react-stately/utils": "^3.12.1",
|
|
91
88
|
"react-aria-components": "1.20.0",
|
|
89
|
+
"react-aria": "^3.51.0",
|
|
92
90
|
"react-stately": "^3.49.0"
|
|
93
91
|
}
|
|
94
92
|
}.version;
|
package/info-banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/info-banner-
|
|
1
|
+
import { t as e } from "../chunks/info-banner-DnFNZ1_o.js";
|
|
2
2
|
export { e as InfoBanner };
|
package/label/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/label-
|
|
1
|
+
import { t as e } from "../chunks/label-CEYHiWSa.js";
|
|
2
2
|
export { e as Label };
|
package/layout/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../chunks/layout-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../chunks/layout-DVj8wSj3.js";
|
|
2
2
|
export { r as Header, i as Layout, n as Navbar, t as Sidebar, e as SidebarLink };
|
package/link/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/link-
|
|
1
|
+
import { n as e, t } from "../chunks/link-CQoSw1Pv.js";
|
|
2
2
|
export { t as Link, e as RouterProvider };
|
package/link-button/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/link-button-
|
|
1
|
+
import { n as e, t } from "../chunks/link-button-BMFzCHH8.js";
|
|
2
2
|
export { t as LinkButton, e as RouterProvider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Fruit } from '../../../../tools/test-utils/src/index.ts';
|
|
2
|
+
import { Fruit, optionsWithSections } from '../../../../tools/test-utils/src/index.ts';
|
|
3
3
|
import { ListBox } from './ListBox';
|
|
4
|
-
type Story = StoryObj<typeof ListBox<
|
|
4
|
+
type Story<T extends object = Fruit> = StoryObj<typeof ListBox<T>>;
|
|
5
5
|
declare const _default: {
|
|
6
6
|
component: <T extends object>({ className, children, virtualized, ...rest }: import('./ListBox').ListBoxProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
subcomponents: {
|
|
@@ -20,4 +20,5 @@ declare const _default: {
|
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
22
22
|
export declare const SelectionModeSingle: Story;
|
|
23
|
+
export declare const Sectioned: Story<(typeof optionsWithSections)[0]>;
|
|
23
24
|
export declare const NotVirtualized: Story;
|
package/list-box/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-VdBVTwZK.js";
|
|
2
2
|
export { t as ListBox, o as ListBoxButton, s as ListBoxEmptyState, r as ListBoxHeader, i as ListBoxItem, a as ListBoxLoadMoreItem, e as ListBoxPopover, n as ListBoxSection };
|
package/logo/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/logo-
|
|
1
|
+
import { n as e, t } from "../chunks/logo-CDxNjDeI.js";
|
|
2
2
|
export { t as Logo, e as LogoContext };
|
package/menu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-CPCGm0MC.js";
|
|
2
2
|
export { e as Menu, t as MenuItem, i as MenuPopover, n as MenuSection, r as MenuTrigger, a as Separator };
|
package/modal/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../chunks/modal-
|
|
1
|
+
import { n as e, r as t, t as n } from "../chunks/modal-C-xHt7Ds.js";
|
|
2
2
|
export { n as DialogTrigger, e as Modal, t as ModalOverlay };
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas Components",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "17.23.
|
|
17
|
+
"version": "17.23.9",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -43,11 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@internationalized/string": "^3.2.10",
|
|
45
45
|
"@midas-ds/theme": "3.17.0",
|
|
46
|
-
"@react-
|
|
47
|
-
"@react-stately/toggle": "^3.9.5",
|
|
48
|
-
"@react-stately/utils": "^3.11.0",
|
|
49
|
-
"react-aria": "^3.51.0",
|
|
46
|
+
"@react-stately/utils": "^3.12.1",
|
|
50
47
|
"react-aria-components": "1.20.0",
|
|
48
|
+
"react-aria": "^3.51.0",
|
|
51
49
|
"react-stately": "^3.49.0"
|
|
52
50
|
}
|
|
53
51
|
}
|
package/popover/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/popover-
|
|
1
|
+
import { t as e } from "../chunks/popover-wAwxm_cM.js";
|
|
2
2
|
export { e as Popover };
|
package/progress-bar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/progress-bar-
|
|
1
|
+
import { t as e } from "../chunks/progress-bar-Cft_RPHz.js";
|
|
2
2
|
export { e as ProgressBar };
|
package/radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/radio-
|
|
1
|
+
import { n as e, t } from "../chunks/radio-DmCYqo3Z.js";
|
|
2
2
|
export { t as Radio, e as RadioGroup };
|
package/search-field/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/search-field-
|
|
1
|
+
import { t as e } from "../chunks/search-field-d7FV4Kuv.js";
|
|
2
2
|
export { e as SearchField };
|
package/select/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/select-
|
|
1
|
+
import { t as e } from "../chunks/select-CZklrPAQ.js";
|
|
2
2
|
export { e as Select };
|
package/skeleton/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/skeleton-
|
|
1
|
+
import { t as e } from "../chunks/skeleton-DWmvym7R.js";
|
|
2
2
|
export { e as Skeleton };
|
package/spinner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/spinner-
|
|
1
|
+
import { t as e } from "../chunks/spinner-DMR5G-6u.js";
|
|
2
2
|
export { e as Spinner };
|
package/table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-BrA5r_BP.js";
|
|
2
2
|
export { a as Cell, n as Column, i as Row, t as Table, e as TableBody, r as TableHeader };
|
package/tabs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/tabs-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/tabs-BFFTnO4i.js";
|
|
2
2
|
export { n as Tab, r as TabList, t as TabPanel, e as Tabs };
|