@midas-ds/components 16.6.5 → 16.7.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.
- package/CHANGELOG.md +38 -0
- package/assets/CharacterCounter.css +1 -1
- package/breadcrumbs/Breadcrumb.d.ts +3 -0
- package/breadcrumbs/Breadcrumbs.d.ts +3 -4
- package/breadcrumbs/Breadcrumbs.stories.d.ts +11 -2
- package/breadcrumbs/index.d.ts +1 -1
- package/breadcrumbs/index.js +3 -2
- package/character-counter/index.js +1 -1
- package/chunks/AccordionItem-CSvARy63.js +1 -0
- package/chunks/Breadcrumb-BQ_nyDfo.js +58 -0
- package/chunks/Button-CaLOUTDO.js +1 -0
- package/chunks/{CharacterCounter-R6vh7AE5.js → CharacterCounter-Dgnv-orm.js} +8 -8
- package/chunks/ClearButton-DPm_d7SL.js +1 -0
- package/chunks/ColorSchemeSwitch-DOQ0yjtt.js +1 -0
- package/chunks/ComboBox-B7T13rzp.js +1 -0
- package/chunks/DateRangePicker-D6lnN0ox.js +1 -0
- package/chunks/FileUpload-Cu8DCSjX.js +1 -0
- package/chunks/Layout-C2-vyEKy.js +1 -0
- package/chunks/Link-rqGQvFQq.js +1 -0
- package/chunks/LinkButton-B1zayj7k.js +1 -0
- package/chunks/Radio-Bp-JwJid.js +1 -0
- package/chunks/SearchField-Dcs9LjKo.js +1 -0
- package/chunks/TabList-BaR443mu.js +1 -0
- package/chunks/Table-UbdCFrkS.js +1 -0
- package/chunks/{TextArea-Ceo3ziOi.js → TextArea-Bb7H-w23.js} +2 -1
- package/chunks/Toast-D7PXIDa9.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +154 -148
- package/package.json +2 -2
- package/textfield/index.js +1 -1
- package/version.d.ts +1 -0
- package/chunks/Breadcrumbs-DFwP6lAP.js +0 -28
- /package/assets/{Breadcrumbs.css → Breadcrumb.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
## 16.7.1 (2026-02-05)
|
|
2
|
+
|
|
3
|
+
### 🔧 Maintenance
|
|
4
|
+
|
|
5
|
+
- add version export, add e2e version confirmation ([0215e0591c](https://github.com/migrationsverket/midas/commit/0215e0591c))
|
|
6
|
+
|
|
7
|
+
### 🧪 Tests updated
|
|
8
|
+
|
|
9
|
+
- add e2e next project ([#1034](https://github.com/migrationsverket/midas/pull/1034))
|
|
10
|
+
|
|
11
|
+
### 🧱 Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated theme to 3.10.6
|
|
14
|
+
|
|
15
|
+
## 16.7.0 (2026-02-05)
|
|
16
|
+
|
|
17
|
+
### 🚀 Features
|
|
18
|
+
|
|
19
|
+
- **components, breadcrumbs:** refactor breadcrumbs into separate components ([cdf22d5ff3](https://github.com/migrationsverket/midas/commit/cdf22d5ff3))
|
|
20
|
+
|
|
21
|
+
### 📖 Documentation changes
|
|
22
|
+
|
|
23
|
+
- **breadcrumbs:** update story ([50ea1c6692](https://github.com/migrationsverket/midas/commit/50ea1c6692))
|
|
24
|
+
|
|
25
|
+
### 🔧 Maintenance
|
|
26
|
+
|
|
27
|
+
- **components,breadcrumbs:** remove unnecessary exports ([12954b4cac](https://github.com/migrationsverket/midas/commit/12954b4cac))
|
|
28
|
+
- **breadcrumbs:** remove generic constraint ([bea4f078fd](https://github.com/migrationsverket/midas/commit/bea4f078fd))
|
|
29
|
+
- **breadcrumbs:** change semver in deprecation comment ([cac24ef9fc](https://github.com/migrationsverket/midas/commit/cac24ef9fc))
|
|
30
|
+
|
|
31
|
+
### 🧪 Tests updated
|
|
32
|
+
|
|
33
|
+
- **components, breadcrumbs:** change locator to getByRole ([b7122715a4](https://github.com/migrationsverket/midas/commit/b7122715a4))
|
|
34
|
+
|
|
35
|
+
### 🧱 Updated Dependencies
|
|
36
|
+
|
|
37
|
+
- Updated theme to 3.10.5
|
|
38
|
+
|
|
1
39
|
## 16.6.5 (2026-02-04)
|
|
2
40
|
|
|
3
41
|
### 🧱 Updated Dependencies
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._characterCounter_1cgvx_1{font-size:var(--midas-typography-font-size-20);line-height:var(--midas-typography-line-height-20);font-weight:400;font-family:var(--midas-typography-font-family);color:var(--midas-text-primary);text-align:right;grid-area:Count;align-self:flex-end;margin-bottom:.5rem}._characterCounter_1cgvx_1[data-lonely]{margin-bottom:.25rem}._characterCounter_1cgvx_1[data-exceeded]{color:var(--midas-text-warning)}._characterCounter_1cgvx_1>[data-readonly],[data-readonly] ._characterCounter_1cgvx_1{color:var(--midas-text-read-only)}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
|
|
2
|
+
/** @deprecated since v16.6.3 Use the compound `<Breadcrumbs>` + `<Breadcrumb>` API instead. */
|
|
2
3
|
export interface BreadcrumbItem {
|
|
3
4
|
href: string;
|
|
4
5
|
title: string;
|
|
5
6
|
isDisabled?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export declare const Breadcrumbs: <T extends BreadcrumbItem>({ items, className, ...rest }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export type BreadcrumbsProps<T> = AriaBreadcrumbsProps<T>;
|
|
9
|
+
export declare const Breadcrumbs: <T extends object>({ className, ...rest }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { Breadcrumbs } from './Breadcrumbs';
|
|
3
|
-
type
|
|
3
|
+
type Item = {
|
|
4
|
+
title: string;
|
|
5
|
+
href: string;
|
|
6
|
+
};
|
|
7
|
+
type Story = StoryObj<typeof Breadcrumbs<Item>>;
|
|
4
8
|
declare const _default: {
|
|
5
|
-
component: <T extends
|
|
9
|
+
component: <T extends object>({ className, ...rest }: import('./Breadcrumbs').BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
subcomponents: {
|
|
11
|
+
Breadcrumb: ({ className, ...rest }: import('./Breadcrumb').BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Link: <C extends React.ElementType = (props: import('react-aria-components').LinkProps & React.RefAttributes<HTMLAnchorElement>) => React.ReactElement | null>({ children, standalone, target, stretched, download, icon: customIcon, className, as, ...rest }: import('..').LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
};
|
|
6
14
|
title: string;
|
|
7
15
|
tags: string[];
|
|
8
16
|
args: {
|
|
@@ -10,6 +18,7 @@ declare const _default: {
|
|
|
10
18
|
title: string;
|
|
11
19
|
href: string;
|
|
12
20
|
}[];
|
|
21
|
+
children: (item: Item) => import("react/jsx-runtime").JSX.Element;
|
|
13
22
|
};
|
|
14
23
|
};
|
|
15
24
|
export default _default;
|
package/breadcrumbs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './Breadcrumbs';
|
|
2
|
-
export
|
|
2
|
+
export * from './Breadcrumb';
|
package/breadcrumbs/index.js
CHANGED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Breadcrumbs as c, Breadcrumb as t } from "react-aria-components";
|
|
3
|
+
import { c as a } from "./clsx-AexbMWKp.js";
|
|
4
|
+
import { L as f } from "./Link-rqGQvFQq.js";
|
|
5
|
+
import '../assets/Breadcrumb.css';const b = "_container_1k7pu_1", i = {
|
|
6
|
+
container: b
|
|
7
|
+
};
|
|
8
|
+
function h(r) {
|
|
9
|
+
if (!("items" in r) || !Array.isArray(r.items) || r.children != null && typeof r.children == "function")
|
|
10
|
+
return !1;
|
|
11
|
+
const e = r.items[0];
|
|
12
|
+
return e != null && "href" in e && "title" in e;
|
|
13
|
+
}
|
|
14
|
+
const N = ({
|
|
15
|
+
className: r,
|
|
16
|
+
...e
|
|
17
|
+
}) => {
|
|
18
|
+
if (h(e)) {
|
|
19
|
+
process.env.NODE_ENV !== "production" && console.warn(
|
|
20
|
+
"[Midas] Breadcrumbs: The `items` prop with {href, title} objects is deprecated. Use the compound <Breadcrumbs> + <Breadcrumb> API instead."
|
|
21
|
+
);
|
|
22
|
+
const { items: o, ...m } = e;
|
|
23
|
+
return /* @__PURE__ */ n(
|
|
24
|
+
c,
|
|
25
|
+
{
|
|
26
|
+
className: a(i.container, r),
|
|
27
|
+
...m,
|
|
28
|
+
children: o.map(
|
|
29
|
+
({ title: s, href: d, isDisabled: u }, l) => /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(
|
|
30
|
+
f,
|
|
31
|
+
{
|
|
32
|
+
href: d,
|
|
33
|
+
isDisabled: u,
|
|
34
|
+
children: s
|
|
35
|
+
}
|
|
36
|
+
) }, s.toLocaleLowerCase() + l)
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ n(
|
|
42
|
+
c,
|
|
43
|
+
{
|
|
44
|
+
className: a(i.container, r),
|
|
45
|
+
...e
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}, _ = ({ className: r, ...e }) => /* @__PURE__ */ n(
|
|
49
|
+
t,
|
|
50
|
+
{
|
|
51
|
+
className: a(r),
|
|
52
|
+
...e
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
export {
|
|
56
|
+
_ as B,
|
|
57
|
+
N as a
|
|
58
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
|
-
import { useContextProps as d, InputContext as
|
|
4
|
-
import '../assets/CharacterCounter.css';const
|
|
5
|
-
characterCounter:
|
|
6
|
-
},
|
|
7
|
-
[t] = d(t, a,
|
|
3
|
+
import { useContextProps as d, InputContext as C } from "react-aria-components";
|
|
4
|
+
import '../assets/CharacterCounter.css';const h = "_characterCounter_1cgvx_1", u = {
|
|
5
|
+
characterCounter: h
|
|
6
|
+
}, l = i((t, a) => {
|
|
7
|
+
[t] = d(t, a, C);
|
|
8
8
|
const { maxLength: e, value: n, isLonely: c } = t, { length: r } = n?.toString() ?? "", o = e !== void 0;
|
|
9
9
|
return /* @__PURE__ */ s(
|
|
10
10
|
"span",
|
|
11
11
|
{
|
|
12
|
-
className:
|
|
12
|
+
className: u.characterCounter,
|
|
13
13
|
"data-exceeded": o && r > e || void 0,
|
|
14
14
|
"data-lonely": c || void 0,
|
|
15
15
|
children: o ? `${r} / ${e}` : r
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
});
|
|
19
|
-
|
|
19
|
+
l.displayName = "CharacterCounter";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
l as C
|
|
22
22
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
3
|
import { Group as x, DatePickerStateContext as F, DateRangePickerStateContext as B, Popover as M, Dialog as S, DatePicker as N, DateRangePicker as R } from "react-aria-components";
|
|
3
4
|
import { a as k } from "./clsx-AexbMWKp.js";
|
package/chunks/Link-rqGQvFQq.js
CHANGED
package/chunks/Radio-Bp-JwJid.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as e, jsxs as b, Fragment as l } from "react/jsx-runtime";
|
|
2
3
|
import { Tabs as d, Tab as _, composeRenderProps as m, SelectionIndicator as T, TabPanel as f, TabList as u } from "react-aria-components";
|
|
3
4
|
import { c as o } from "./clsx-AexbMWKp.js";
|
package/chunks/Table-UbdCFrkS.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as e, jsxs as i, Fragment as b } from "react/jsx-runtime";
|
|
2
3
|
import { Cell as w, Column as g, useTableOptions as u, Row as N, Button as k, Collection as p, Table as f, TableBody as x, TableHeader as T } from "react-aria-components";
|
|
3
4
|
import { C as h } from "./Checkbox-CRLj7_Ox.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsxs as c, jsx as s, Fragment as P } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as l, useState as C } from "react";
|
|
3
4
|
import { useContextProps as p, TextFieldContext as b, TextField as g, InputContext as f, Input as I, TextArea as v } from "react-aria-components";
|
|
@@ -7,7 +8,7 @@ import { T as w } from "./Text-Bxww8mmL.js";
|
|
|
7
8
|
import { B } from "./Button-CaLOUTDO.js";
|
|
8
9
|
import { u as L } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
9
10
|
import { F as u } from "./FieldError-C_3uLAGY.js";
|
|
10
|
-
import { C as E } from "./CharacterCounter-
|
|
11
|
+
import { C as E } from "./CharacterCounter-Dgnv-orm.js";
|
|
11
12
|
import { a as S, L as $ } from "./Label-6GZmmff9.js";
|
|
12
13
|
const x = l(
|
|
13
14
|
(e, a) => {
|
package/chunks/Toast-D7PXIDa9.js
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,150 +1,156 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { B as m } from "./chunks/
|
|
4
|
-
import { B as f } from "./chunks/
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { C
|
|
8
|
-
import { C as G } from "./chunks/
|
|
9
|
-
import { C as
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { C as
|
|
13
|
-
import {
|
|
14
|
-
import { D as
|
|
15
|
-
import { D as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { G as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { L as lo } from "./chunks/
|
|
25
|
-
import { L as Co } from "./chunks/
|
|
26
|
-
import { L as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { P as
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { S as
|
|
33
|
-
import { S as
|
|
34
|
-
import { S as
|
|
35
|
-
import { S as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { T as
|
|
39
|
-
import { T as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { T as
|
|
43
|
-
import { T as
|
|
44
|
-
import {
|
|
45
|
-
import { L as
|
|
46
|
-
import { L as
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
1
|
+
'use client';
|
|
2
|
+
import { A as s, a as p } from "./chunks/AccordionItem-CSvARy63.js";
|
|
3
|
+
import { B as m, a as i } from "./chunks/BadgeContainer-CKVsfTlF.js";
|
|
4
|
+
import { B as f, a as d } from "./chunks/Breadcrumb-BQ_nyDfo.js";
|
|
5
|
+
import { B as c } from "./chunks/Button-CaLOUTDO.js";
|
|
6
|
+
import { B as u } from "./chunks/ButtonGroup-Dr6HOBo2.js";
|
|
7
|
+
import { C, R as b } from "./chunks/RangeCalendar-h9wkh43W.js";
|
|
8
|
+
import { C as L, a as S, b as I, c as D, d as R, e as G, f as P } from "./chunks/Card-DMSnokPn.js";
|
|
9
|
+
import { C as v } from "./chunks/CharacterCounter-Dgnv-orm.js";
|
|
10
|
+
import { C as M } from "./chunks/Checkbox-CRLj7_Ox.js";
|
|
11
|
+
import { C as h } from "./chunks/CheckboxGroup-DSXCj_ho.js";
|
|
12
|
+
import { C as y } from "./chunks/ColorSchemeSwitch-DOQ0yjtt.js";
|
|
13
|
+
import { C as w, a as E, b as z } from "./chunks/ComboBox-B7T13rzp.js";
|
|
14
|
+
import { D as Q } from "./chunks/DateField-zdUv4ooW.js";
|
|
15
|
+
import { D as Z, a as j, b as q } from "./chunks/DateInputDivider-DwopMIb9.js";
|
|
16
|
+
import { D as K, a as U } from "./chunks/DateRangePicker-D6lnN0ox.js";
|
|
17
|
+
import { F as X } from "./chunks/FieldError-C_3uLAGY.js";
|
|
18
|
+
import { D as _, F as $ } from "./chunks/FileUpload-Cu8DCSjX.js";
|
|
19
|
+
import { G as ao } from "./chunks/Grid-CettmpaZ.js";
|
|
20
|
+
import { G as eo } from "./chunks/GridItem-z7zclNdT.js";
|
|
21
|
+
import { H as so } from "./chunks/Heading-D8tNNJkt.js";
|
|
22
|
+
import { I as xo } from "./chunks/InfoBanner-C4HnaXQO.js";
|
|
23
|
+
import { L as io } from "./chunks/Label-6GZmmff9.js";
|
|
24
|
+
import { H as fo, L as To, N as co, S as lo, a as uo } from "./chunks/Layout-C2-vyEKy.js";
|
|
25
|
+
import { L as Co } from "./chunks/Link-rqGQvFQq.js";
|
|
26
|
+
import { L as Bo } from "./chunks/LinkButton-B1zayj7k.js";
|
|
27
|
+
import { L as So } from "./chunks/Logo-CCxPAmgw.js";
|
|
28
|
+
import { M as Do } from "./chunks/Dialog-BHxDzbf8.js";
|
|
29
|
+
import { P as Go } from "./chunks/Popover-BcEtFiU1.js";
|
|
30
|
+
import { P as ko } from "./chunks/ProgressBar-Dg0JMQ71.js";
|
|
31
|
+
import { R as Fo, a as Mo } from "./chunks/Radio-Bp-JwJid.js";
|
|
32
|
+
import { S as ho } from "./chunks/SearchField-Dcs9LjKo.js";
|
|
33
|
+
import { S as yo } from "./chunks/Select-w2o-VyrP.js";
|
|
34
|
+
import { S as wo } from "./chunks/Select-BYz3DdXs.js";
|
|
35
|
+
import { S as zo } from "./chunks/Skeleton-DqIHQLQl.js";
|
|
36
|
+
import { S as Qo } from "./chunks/Spinner-CfKMn18u.js";
|
|
37
|
+
import { C as Zo, a as jo, R as qo, T as Jo, b as Ko, c as Uo } from "./chunks/Table-UbdCFrkS.js";
|
|
38
|
+
import { T as Xo, a as Yo, b as _o, c as $o } from "./chunks/TabList-BaR443mu.js";
|
|
39
|
+
import { T as aa, a as ra } from "./chunks/Tag-C7VZ0T0o.js";
|
|
40
|
+
import { T as ta } from "./chunks/Text-Bxww8mmL.js";
|
|
41
|
+
import { I as pa, T as xa, a as ma, b as ia } from "./chunks/TextArea-Bb7H-w23.js";
|
|
42
|
+
import { G as fa, T as da, a as Ta, b as ca, t as la } from "./chunks/Toast-D7PXIDa9.js";
|
|
43
|
+
import { T as ga, a as Ca } from "./chunks/ToggleButtonGroup-CXKTrLbb.js";
|
|
44
|
+
import { T as Ba, a as La } from "./chunks/Tooltip-rDmOkGmX.js";
|
|
45
|
+
import { L as Ia } from "./chunks/ListBox-D5BBeZWL.js";
|
|
46
|
+
import { L as Ra, a as Ga } from "./chunks/ListBoxLoadMoreItem-ufPaJaNS.js";
|
|
47
|
+
import { L as ka, a as va, b as Fa, c as Ma } from "./chunks/ListBoxSection-C4y3K7T5.js";
|
|
48
|
+
import { M as ha, a as Ha, b as ya, c as Na, S as wa } from "./chunks/Separator-XIzn8lsq.js";
|
|
49
|
+
import { DialogTrigger as za, MenuTrigger as Oa, RouterProvider as Qa } from "react-aria-components";
|
|
50
|
+
import { u as Za } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
|
|
51
|
+
import { useToastState as qa } from "react-stately";
|
|
52
|
+
const o = "16.7.1", a = {
|
|
53
|
+
version: o
|
|
54
|
+
}, r = a.version;
|
|
51
55
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Co as
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
Ca as
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
56
|
+
s as Accordion,
|
|
57
|
+
p as AccordionItem,
|
|
58
|
+
m as Badge,
|
|
59
|
+
i as BadgeContainer,
|
|
60
|
+
f as Breadcrumb,
|
|
61
|
+
d as Breadcrumbs,
|
|
62
|
+
c as Button,
|
|
63
|
+
u as ButtonGroup,
|
|
64
|
+
C as Calendar,
|
|
65
|
+
L as Card,
|
|
66
|
+
S as CardActionArea,
|
|
67
|
+
I as CardActions,
|
|
68
|
+
D as CardContent,
|
|
69
|
+
R as CardImage,
|
|
70
|
+
G as CardLink,
|
|
71
|
+
P as CardTitle,
|
|
72
|
+
Zo as Cell,
|
|
73
|
+
v as CharacterCounter,
|
|
74
|
+
M as Checkbox,
|
|
75
|
+
h as CheckboxGroup,
|
|
76
|
+
y as ColorSchemeSwitch,
|
|
77
|
+
jo as Column,
|
|
78
|
+
w as ComboBox,
|
|
79
|
+
E as ComboBoxItem,
|
|
80
|
+
z as ComboBoxSection,
|
|
81
|
+
Q as DateField,
|
|
82
|
+
Z as DateInput,
|
|
83
|
+
j as DateInputDivider,
|
|
84
|
+
K as DatePicker,
|
|
85
|
+
U as DateRangePicker,
|
|
86
|
+
q as DateSegment,
|
|
87
|
+
za as DialogTrigger,
|
|
88
|
+
_ as DropZone,
|
|
89
|
+
X as FieldError,
|
|
90
|
+
$ as FileTrigger,
|
|
91
|
+
fa as GlobalToastRegion,
|
|
92
|
+
ao as Grid,
|
|
93
|
+
eo as GridItem,
|
|
94
|
+
fo as Header,
|
|
95
|
+
so as Heading,
|
|
96
|
+
xo as InfoBanner,
|
|
97
|
+
pa as Input,
|
|
98
|
+
io as Label,
|
|
99
|
+
To as Layout,
|
|
100
|
+
wo as LegacySelect,
|
|
101
|
+
Co as Link,
|
|
102
|
+
Bo as LinkButton,
|
|
103
|
+
Ia as ListBox,
|
|
104
|
+
Ra as ListBoxButton,
|
|
105
|
+
ka as ListBoxHeader,
|
|
106
|
+
va as ListBoxItem,
|
|
107
|
+
Ga as ListBoxLoadMoreItem,
|
|
108
|
+
Fa as ListBoxPopover,
|
|
109
|
+
Ma as ListBoxSection,
|
|
110
|
+
So as Logo,
|
|
111
|
+
ha as Menu,
|
|
112
|
+
Ha as MenuItem,
|
|
113
|
+
ya as MenuPopover,
|
|
114
|
+
Na as MenuSection,
|
|
115
|
+
Oa as MenuTrigger,
|
|
116
|
+
Do as Modal,
|
|
117
|
+
co as Navbar,
|
|
118
|
+
Go as Popover,
|
|
119
|
+
ko as ProgressBar,
|
|
120
|
+
Fo as Radio,
|
|
121
|
+
Mo as RadioGroup,
|
|
122
|
+
b as RangeCalendar,
|
|
123
|
+
Qa as RouterProvider,
|
|
124
|
+
qo as Row,
|
|
125
|
+
ho as SearchField,
|
|
126
|
+
yo as Select,
|
|
127
|
+
wa as Separator,
|
|
128
|
+
lo as Sidebar,
|
|
129
|
+
uo as SidebarLink,
|
|
130
|
+
zo as Skeleton,
|
|
131
|
+
Qo as Spinner,
|
|
132
|
+
Xo as Tab,
|
|
133
|
+
Yo as TabList,
|
|
134
|
+
_o as TabPanel,
|
|
135
|
+
Jo as Table,
|
|
136
|
+
Ko as TableBody,
|
|
137
|
+
Uo as TableHeader,
|
|
138
|
+
$o as Tabs,
|
|
139
|
+
aa as Tag,
|
|
140
|
+
ra as TagGroup,
|
|
141
|
+
ta as Text,
|
|
142
|
+
xa as TextArea,
|
|
143
|
+
ma as TextField,
|
|
144
|
+
ia as TextFieldBase,
|
|
145
|
+
da as Toast,
|
|
146
|
+
Ta as ToastProvider,
|
|
147
|
+
ca as ToastRegion,
|
|
148
|
+
ga as ToggleButton,
|
|
149
|
+
Ca as ToggleButtonGroup,
|
|
150
|
+
Ba as Tooltip,
|
|
151
|
+
La as TooltipTrigger,
|
|
152
|
+
r as VERSION,
|
|
153
|
+
la as toastQueue,
|
|
154
|
+
Za as useLocalizedStringFormatter,
|
|
155
|
+
qa as useToastState
|
|
150
156
|
};
|
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": "16.
|
|
17
|
+
"version": "16.7.1",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"./*": "./*/index.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@midas-ds/theme": "3.10.
|
|
44
|
+
"@midas-ds/theme": "3.10.6",
|
|
45
45
|
"react-aria-components": "1.14.0"
|
|
46
46
|
}
|
|
47
47
|
}
|
package/textfield/index.js
CHANGED
package/version.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION: string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Breadcrumbs as t, Breadcrumb as i } from "react-aria-components";
|
|
3
|
-
import { c as d } from "./clsx-AexbMWKp.js";
|
|
4
|
-
import { L as p } from "./Link-rqGQvFQq.js";
|
|
5
|
-
import '../assets/Breadcrumbs.css';const l = "_container_1k7pu_1", u = {
|
|
6
|
-
container: l
|
|
7
|
-
}, h = ({
|
|
8
|
-
items: c,
|
|
9
|
-
className: a,
|
|
10
|
-
...s
|
|
11
|
-
}) => /* @__PURE__ */ r(
|
|
12
|
-
t,
|
|
13
|
-
{
|
|
14
|
-
className: d(u.container, a),
|
|
15
|
-
...s,
|
|
16
|
-
children: c.map(({ title: o, href: e, isDisabled: n }, m) => /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(
|
|
17
|
-
p,
|
|
18
|
-
{
|
|
19
|
-
href: e,
|
|
20
|
-
isDisabled: n,
|
|
21
|
-
children: o
|
|
22
|
-
}
|
|
23
|
-
) }, o.toLocaleLowerCase() + m))
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
export {
|
|
27
|
-
h as B
|
|
28
|
-
};
|
|
File without changes
|