@midas-ds/components 17.34.0 → 17.35.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.
- package/CHANGELOG.md +17 -0
- package/accordion/index.js +1 -1
- package/assets/TextField.css +1 -1
- package/assets/empty-state.css +1 -0
- 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/TextField.module-DQfRPRIT.js +11 -0
- package/chunks/{accordion-DCylOvk-.js → accordion-gXivv8Ra.js} +2 -2
- package/chunks/{button-Vq0ARno3.js → button-BZHl22O1.js} +15 -12
- package/chunks/{calendar-CdKnEG5o.js → calendar-uy8xBuNV.js} +5 -5
- package/chunks/{card-mIB1NewO.js → card-CFy9gV47.js} +2 -2
- package/chunks/{checkbox-BAYWLn77.js → checkbox-_8t0WxFw.js} +3 -3
- package/chunks/{clear-button-q2aTPqmU.js → clear-button-BBOWDvaE.js} +1 -1
- package/chunks/{color-scheme-switch-D--ppbpi.js → color-scheme-switch-CZGgC68M.js} +1 -1
- package/chunks/{combobox-DC8escnY.js → combobox-Ck-7IepP.js} +4 -4
- package/chunks/{date-field-B6STeIzX.js → date-field-DkypCMfi.js} +4 -4
- package/chunks/{date-picker-DCFHCDjr.js → date-picker-Cn9qhe2G.js} +7 -7
- package/chunks/empty-state-CnDZoO65.js +40 -0
- package/chunks/{field-error-C5ynuTRu.js → field-error-CUYIkJWj.js} +1 -1
- package/chunks/{file-list-BqPDm31w.js → file-list-Dld4Shgt.js} +3 -3
- package/chunks/heading-0P5rm7xK.js +31 -0
- package/chunks/{info-banner-DxN9h_6W.js → info-banner-CFmkzyL-.js} +1 -1
- package/chunks/{label-aX8yboSc.js → label-Biu5Hi7b.js} +2 -2
- package/chunks/{layout-CHum4Cpf.js → layout-BwW7Scqj.js} +1 -1
- package/chunks/{list-box-Cs65YWMd.js → list-box-Cyiu3Rq7.js} +1 -1
- package/chunks/{modal-RqzWc_NN.js → modal-DvTcNZNd.js} +2 -2
- package/chunks/{progress-bar-BHdz8PFO.js → progress-bar-BvueZ-dg.js} +1 -1
- package/chunks/{radio-D0PA15IV.js → radio-Li_ZoHYq.js} +3 -3
- package/chunks/{search-field-h6K4GeXC.js → search-field-BdS63CpD.js} +5 -5
- package/chunks/{select-C0o_SEd0.js → select-b6vie6hj.js} +6 -6
- package/chunks/{table-EjKTmTGr.js → table-Cvg_n39H.js} +1 -1
- package/chunks/{tag-BNARNuvq.js → tag-vxSxMsqS.js} +1 -1
- package/chunks/text-CtvUKU-v.js +28 -0
- package/chunks/{textfield-DGF0M-RX.js → textfield-i0dO0qgs.js} +5 -5
- package/chunks/{time-field-KpetgpDY.js → time-field-BG2BH5HH.js} +5 -5
- package/chunks/{toast-BO158amn.js → toast-CZHBaKdY.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/empty-state/EmptyState.d.ts +12 -0
- package/empty-state/empty-state-actions/EmptyStateActions.d.ts +3 -0
- package/empty-state/empty-state-actions/index.d.ts +1 -0
- package/empty-state/empty-state-heading/EmptyStateHeading.d.ts +3 -0
- package/empty-state/empty-state-heading/index.d.ts +1 -0
- package/empty-state/empty-state-text/EmptyStateText.d.ts +3 -0
- package/empty-state/empty-state-text/index.d.ts +1 -0
- package/empty-state/empty-state-visual/EmptyStateVisual.d.ts +3 -0
- package/empty-state/empty-state-visual/index.d.ts +1 -0
- package/empty-state/index.d.ts +5 -0
- package/empty-state/index.js +1 -0
- package/field-error/index.js +1 -1
- package/file-list/index.js +1 -1
- package/heading/Heading.d.ts +1 -2
- package/heading/index.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +40 -39
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/list-box/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +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/table/index.js +1 -1
- package/tag/index.js +1 -1
- package/text/Text.d.ts +1 -2
- 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/chunks/TextField.module-B-5HJOZt.js +0 -11
- package/chunks/heading-CIlMdywy.js +0 -30
- package/chunks/text-D7tnzTru.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 17.35.0 (2026-11-17)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **components,empty-state:** new component EmptyState ([b25edcf1703](https://github.com/migrationsverket/midas/commit/b25edcf1703))
|
|
6
|
+
- **components,text,heading:** forward refs ([27348f56bcc](https://github.com/migrationsverket/midas/commit/27348f56bcc))
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- **components,button:** call handlers from RAC context once ([7f625ea237c](https://github.com/migrationsverket/midas/commit/7f625ea237c))
|
|
11
|
+
|
|
12
|
+
## 17.34.1 (2026-11-16)
|
|
13
|
+
|
|
14
|
+
### 🩹 Fixes
|
|
15
|
+
|
|
16
|
+
- **components,textarea:** only allow vertical resizing ([173a7b2ffcc](https://github.com/migrationsverket/midas/commit/173a7b2ffcc))
|
|
17
|
+
|
|
1
18
|
## 17.34.0 (2026-11-16)
|
|
2
19
|
|
|
3
20
|
### 🚀 Features
|
package/accordion/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Accordion, t as AccordionItem } from "../chunks/accordion-
|
|
1
|
+
export { n as Accordion, t as AccordionItem } from "../chunks/accordion-gXivv8Ra.js";
|
package/assets/TextField.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._textField_yzlmr_1{grid-template-rows:repeat(5,min-content);grid-template-columns:1fr auto;grid-template-areas:"Label Count""Desc Count""Error Count""Input Input""BottomError BottomError";grid-auto-rows:1fr 1fr;grid-auto-columns:1fr;align-content:flex-end;width:100%;display:grid}._textField_yzlmr_1>[slot=description]{grid-area:Desc}._textField_yzlmr_1>._bottomError_yzlmr_20{grid-area:BottomError}._textField_yzlmr_1[data-disabled]{color:var(--midas-text-disabled)}._textField_yzlmr_1[data-readonly] ._textArea_yzlmr_29,._textField_yzlmr_1[data-readonly] ._input_yzlmr_30{border-color:var(--midas-border-color-subtle);background-color:#0000}._textArea_yzlmr_29{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);border-bottom:1px solid var(--midas-border-color-primary);background-color:var(--midas-field-base,var(--midas-field-01-base));box-sizing:border-box;overflow-wrap:break-word;resize:vertical;grid-area:Input;justify-content:center;align-items:center;width:100%;padding:1rem 1rem 1.25rem;font-size:1rem;display:flex;overflow:auto}@media (forced-colors:active){._textArea_yzlmr_29{outline-offset:2px;outline:3px solid}}._textArea_yzlmr_29[data-hovered]{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._textArea_yzlmr_29[data-focused],._textArea_yzlmr_29[data-focus-visible]{box-shadow:var(--midas-state-focus)}@media (forced-colors:active){._textArea_yzlmr_29[data-focused],._textArea_yzlmr_29[data-focus-visible]{border:1px solid}}._textArea_yzlmr_29[data-invalid]{box-shadow:var(--midas-state-invalid);border:none}._textArea_yzlmr_29[data-disabled]{cursor:not-allowed;background-color:var(--midas-field-disabled,var(--midas-field-01-disabled));border:none;border-bottom:1px solid var(--midas-border-color-disabled);color:var(--midas-text-disabled)}._wrap_yzlmr_90{grid-area:Input;position:relative}._medium_yzlmr_95 ._input_yzlmr_30{min-height:var(--midas-size-control-md)}._input_yzlmr_30{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);border-bottom:1px solid var(--midas-border-color-primary);background-color:var(--midas-field-base,var(--midas-field-01-base));box-sizing:border-box;width:100%;min-height:var(--midas-size-control);border-radius:0;grid-area:Input;padding:0 1rem;font-size:1rem;line-height:1}@media (forced-colors:active){._input_yzlmr_30{border:1px solid}}._input_yzlmr_30[data-hovered]{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._input_yzlmr_30[data-hovered]+._passwordText_yzlmr_123{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._input_yzlmr_30[data-focused]{box-shadow:var(--midas-state-focus)}@media (forced-colors:active){._input_yzlmr_30[data-focused]{outline-offset:2px;outline:3px solid highlight}}._input_yzlmr_30[data-invalid]{box-shadow:var(--midas-state-invalid);border:none}@media (forced-colors:active){._input_yzlmr_30[data-invalid]{border:1px solid}}._input_yzlmr_30[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-field-disabled,var(--midas-field-01-disabled));border:none;border-bottom:1px solid var(--midas-border-color-disabled)}@media (forced-colors:active){._input_yzlmr_30[data-disabled]{border:1px solid}}._input_yzlmr_30::-ms-reveal{display:none}._passwordButton_yzlmr_166{z-index:calc(var(--midas-z-index-base) + var(--midas-z-index-above));position:absolute;right:0}._passwordButton_yzlmr_166[data-pressed]{background-color:#0000!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._emptyStateActions_17oo8_1{margin-block-start:var(--midas-space-small)}._emptyStateHeading_1wq5i_1,._emptyStateText_itela_1{flex-basis:100%;margin-block:0}._emptyStateVisual_dhkzu_1{margin-block-end:var(--midas-space-small)}._emptyStateVisual_dhkzu_1,._emptyStateVisual_dhkzu_1>svg{height:var(--midas-base-120);width:var(--midas-base-120)}._emptyState_1b7ad_1{font-family:var(--midas-typography-font-family);align-items:center;gap:var(--midas-space-small);max-inline-size:38rem;padding-block:var(--midas-space-xlarge);flex-flow:wrap;display:flex}._emptyState_1b7ad_1[data-align=center]{text-align:center;justify-content:center;margin-inline:auto}
|
package/button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Button, t as ButtonGroup } from "../chunks/button-
|
|
1
|
+
export { n as Button, t as ButtonGroup } from "../chunks/button-BZHl22O1.js";
|
package/calendar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Calendar, t as RangeCalendar } from "../chunks/calendar-
|
|
1
|
+
export { n as Calendar, t as RangeCalendar } from "../chunks/calendar-uy8xBuNV.js";
|
package/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Card, i as CardActionArea, a as CardActions, n as CardBody, o as CardContent, t as CardHeader, s as CardImage, c as CardLink, l as CardTitle } from "../chunks/card-
|
|
1
|
+
export { r as Card, i as CardActionArea, a as CardActions, n as CardBody, o as CardContent, t as CardHeader, s as CardImage, c as CardLink, l as CardTitle } from "../chunks/card-CFy9gV47.js";
|
package/checkbox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Checkbox, r as CheckboxButton, i as CheckboxField, t as CheckboxGroup } from "../chunks/checkbox-
|
|
1
|
+
export { n as Checkbox, r as CheckboxButton, i as CheckboxField, t as CheckboxGroup } from "../chunks/checkbox-_8t0WxFw.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '../assets/TextField.css';var e = {
|
|
2
|
+
textField: "_textField_yzlmr_1",
|
|
3
|
+
bottomError: "_bottomError_yzlmr_20",
|
|
4
|
+
textArea: "_textArea_yzlmr_29",
|
|
5
|
+
input: "_input_yzlmr_30",
|
|
6
|
+
wrap: "_wrap_yzlmr_90",
|
|
7
|
+
medium: "_medium_yzlmr_95",
|
|
8
|
+
passwordText: "_passwordText_yzlmr_123",
|
|
9
|
+
passwordButton: "_passwordButton_yzlmr_166"
|
|
10
|
+
};
|
|
11
|
+
export { e as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t } from "./button-
|
|
4
|
-
import { t as n } from "./heading-
|
|
3
|
+
import { n as t } from "./button-BZHl22O1.js";
|
|
4
|
+
import { t as n } from "./heading-0P5rm7xK.js";
|
|
5
5
|
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
6
6
|
import { createContext as i, useContext as a, useEffect as o } from "react";
|
|
7
7
|
import { Disclosure as s, DisclosureGroup as c, DisclosurePanel as l, composeRenderProps as u } from "react-aria-components";
|
|
@@ -9,18 +9,21 @@ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
|
9
9
|
import '../assets/button2.css';// src/button/Button.tsx
|
|
10
10
|
var d = i((i, d) => {
|
|
11
11
|
let [f, p] = s(i, d, e), { className: m, fullwidth: h, icon: g, iconPlacement: _, iconSize: v, isPending: y, size: b = "large", variant: x = "primary", ...S } = f;
|
|
12
|
-
return /* @__PURE__ */ l(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
return /* @__PURE__ */ l(e.Provider, {
|
|
13
|
+
value: null,
|
|
14
|
+
children: /* @__PURE__ */ l(a, {
|
|
15
|
+
className: t(r.button, x === "primary" && r.primary, x === "secondary" && r.secondary, x === "tertiary" && r.tertiary, x === "danger" && r.danger, x === "icon" && r.iconBtn, h && r.fullwidth, b === "medium" && r.medium, _ === "right" && r.iconRight, m),
|
|
16
|
+
ref: p,
|
|
17
|
+
...S,
|
|
18
|
+
children: o(f.children, (e) => /* @__PURE__ */ u(c, { children: [
|
|
19
|
+
g && !y && /* @__PURE__ */ l(g, {
|
|
20
|
+
"aria-hidden": !0,
|
|
21
|
+
size: v ?? 20
|
|
22
|
+
}),
|
|
23
|
+
y && /* @__PURE__ */ l(n, { small: !0 }),
|
|
24
|
+
e
|
|
25
|
+
] }))
|
|
26
|
+
})
|
|
24
27
|
});
|
|
25
28
|
});
|
|
26
29
|
d.displayName = "Button";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
3
|
-
import { t as n } from "./heading-
|
|
4
|
-
import { n as r } from "./select-
|
|
5
|
-
import { a as i, c as a, o } from "./list-box-
|
|
6
|
-
import { t as s } from "./field-error-
|
|
2
|
+
import { n as t } from "./button-BZHl22O1.js";
|
|
3
|
+
import { t as n } from "./heading-0P5rm7xK.js";
|
|
4
|
+
import { n as r } from "./select-b6vie6hj.js";
|
|
5
|
+
import { a as i, c as a, o } from "./list-box-Cyiu3Rq7.js";
|
|
6
|
+
import { t as s } from "./field-error-CUYIkJWj.js";
|
|
7
7
|
import * as c from "react";
|
|
8
8
|
import { clsx as l } from "clsx";
|
|
9
9
|
import { Calendar as u, CalendarCell as d, CalendarGrid as f, CalendarMonthPicker as p, CalendarYearPicker as m, RangeCalendar as h, RangeCalendarContext as g, Select as _ } from "react-aria-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "./heading-
|
|
3
|
-
import { t as n } from "./text-
|
|
2
|
+
import { t } from "./heading-0P5rm7xK.js";
|
|
3
|
+
import { t as n } from "./text-CtvUKU-v.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { Button as i, Link as a } from "react-aria-components";
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./field-error-
|
|
3
|
-
import { t } from "./text-
|
|
2
|
+
import { t as e } from "./field-error-CUYIkJWj.js";
|
|
3
|
+
import { t } from "./text-CtvUKU-v.js";
|
|
4
4
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
5
5
|
import { t as r } from "./splitDataAttributes-ChyO_Kvc.js";
|
|
6
|
-
import { n as i, t as a } from "./label-
|
|
6
|
+
import { n as i, t as a } from "./label-Biu5Hi7b.js";
|
|
7
7
|
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import * as s from "react";
|
|
9
9
|
import { forwardRef as c, useContext as l } from "react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as e } from "./icons-a0WawN46.js";
|
|
3
3
|
import { n as t, t as n } from "./toggle-button-BVyG8F2K.js";
|
|
4
4
|
import { t as r } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
5
|
-
import { n as i } from "./button-
|
|
5
|
+
import { n as i } from "./button-BZHl22O1.js";
|
|
6
6
|
import { a, o, r as s } from "./menu-7gP2Sovj.js";
|
|
7
7
|
import { t as c } from "./clsx-BtGY0yFD.js";
|
|
8
8
|
import * as l from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t, t as n } from "./label-
|
|
4
|
-
import { t as r } from "./text-
|
|
5
|
-
import { t as i } from "./field-error-
|
|
6
|
-
import { a, c as o, t as s } from "./list-box-
|
|
3
|
+
import { n as t, t as n } from "./label-Biu5Hi7b.js";
|
|
4
|
+
import { t as r } from "./text-CtvUKU-v.js";
|
|
5
|
+
import { t as i } from "./field-error-CUYIkJWj.js";
|
|
6
|
+
import { a, c as o, t as s } from "./list-box-Cyiu3Rq7.js";
|
|
7
7
|
import { t as c } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import { useRef as l } from "react";
|
|
9
9
|
import { Button as u, ComboBox as d, Input as f } from "react-aria-components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "./field-error-
|
|
3
|
-
import { n, t as r } from "./label-
|
|
4
|
-
import { t as i } from "./text-
|
|
5
|
-
import { t as a } from "./clear-button-
|
|
2
|
+
import { t } from "./field-error-CUYIkJWj.js";
|
|
3
|
+
import { n, t as r } from "./label-Biu5Hi7b.js";
|
|
4
|
+
import { t as i } from "./text-CtvUKU-v.js";
|
|
5
|
+
import { t as a } from "./clear-button-BBOWDvaE.js";
|
|
6
6
|
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
7
7
|
import * as s from "react";
|
|
8
8
|
import { DateField as c, DateFieldStateContext as l, DateInput as u, DateSegment as d } from "react-aria-components";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clear-button-
|
|
2
|
+
import { t as e } from "./clear-button-BBOWDvaE.js";
|
|
3
3
|
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
|
-
import { a as n, n as r, r as i, t as a } from "./date-field-
|
|
5
|
-
import { n as o } from "./button-
|
|
6
|
-
import { n as s, t as c } from "./calendar-
|
|
7
|
-
import { t as l } from "./field-error-
|
|
8
|
-
import { n as u, t as d } from "./label-
|
|
9
|
-
import { t as f } from "./text-
|
|
4
|
+
import { a as n, n as r, r as i, t as a } from "./date-field-DkypCMfi.js";
|
|
5
|
+
import { n as o } from "./button-BZHl22O1.js";
|
|
6
|
+
import { n as s, t as c } from "./calendar-uy8xBuNV.js";
|
|
7
|
+
import { t as l } from "./field-error-CUYIkJWj.js";
|
|
8
|
+
import { n as u, t as d } from "./label-Biu5Hi7b.js";
|
|
9
|
+
import { t as f } from "./text-CtvUKU-v.js";
|
|
10
10
|
import * as p from "react";
|
|
11
11
|
import { clsx as m } from "clsx";
|
|
12
12
|
import { DatePicker as h, DatePickerStateContext as g, DateRangePicker as _, DateRangePickerStateContext as v, Group as y, Popover as b } from "react-aria-components";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
+
import { t } from "./heading-0P5rm7xK.js";
|
|
4
|
+
import { t as n } from "./text-CtvUKU-v.js";
|
|
5
|
+
import { forwardRef as r } from "react";
|
|
6
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
+
import '../assets/empty-state.css';var a = { emptyStateActions: "_emptyStateActions_17oo8_1" }, o = r(({ className: t, ...n }, r) => /* @__PURE__ */ i("div", {
|
|
8
|
+
...n,
|
|
9
|
+
ref: r,
|
|
10
|
+
className: e(a.emptyStateActions, t)
|
|
11
|
+
}));
|
|
12
|
+
o.displayName = "EmptyStateActions";
|
|
13
|
+
var s = { emptyStateHeading: "_emptyStateHeading_1wq5i_1" }, c = r(({ className: n, level: r = 2, ...a }, o) => /* @__PURE__ */ i(t, {
|
|
14
|
+
className: e(s.emptyStateHeading, n),
|
|
15
|
+
level: r,
|
|
16
|
+
ref: o,
|
|
17
|
+
...a
|
|
18
|
+
}));
|
|
19
|
+
c.displayName = "EmptyStateHeading";
|
|
20
|
+
var l = { emptyStateText: "_emptyStateText_itela_1" }, u = r(({ className: t, elementType: r = "p", ...a }, o) => /* @__PURE__ */ i(n, {
|
|
21
|
+
className: e(l.emptyStateText, t),
|
|
22
|
+
elementType: r,
|
|
23
|
+
ref: o,
|
|
24
|
+
...a
|
|
25
|
+
}));
|
|
26
|
+
u.displayName = "EmptyStateText";
|
|
27
|
+
var d = { emptyStateVisual: "_emptyStateVisual_dhkzu_1" }, f = r(({ className: t, ...n }, r) => /* @__PURE__ */ i("div", {
|
|
28
|
+
...n,
|
|
29
|
+
ref: r,
|
|
30
|
+
className: e(d.emptyStateVisual, t)
|
|
31
|
+
}));
|
|
32
|
+
f.displayName = "EmptyStateVisual";
|
|
33
|
+
var p = { emptyState: "_emptyState_1b7ad_1" }, m = r(({ align: t = "center", className: n, ...r }, a) => /* @__PURE__ */ i("div", {
|
|
34
|
+
...r,
|
|
35
|
+
ref: a,
|
|
36
|
+
className: e(p.emptyState, n),
|
|
37
|
+
"data-align": t
|
|
38
|
+
}));
|
|
39
|
+
m.displayName = "EmptyState";
|
|
40
|
+
export { o as a, c as i, f as n, u as r, m as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "./text-
|
|
2
|
+
import { t } from "./text-CtvUKU-v.js";
|
|
3
3
|
import { forwardRef as n, useContext as r } from "react";
|
|
4
4
|
import { FieldError as i, FieldErrorContext as a } from "react-aria-components";
|
|
5
5
|
import { jsx as o } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t } from "./button-
|
|
4
|
-
import { t as n } from "./progress-bar-
|
|
3
|
+
import { n as t } from "./button-BZHl22O1.js";
|
|
4
|
+
import { t as n } from "./progress-bar-BvueZ-dg.js";
|
|
5
5
|
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
6
|
-
import { t as i } from "./field-error-
|
|
6
|
+
import { t as i } from "./field-error-CUYIkJWj.js";
|
|
7
7
|
import { t as a } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import { useEffect as o, useId as s, useRef as c } from "react";
|
|
9
9
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { Heading as n } from "react-aria-components";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import '../assets/heading.css';var i = {
|
|
6
|
+
h1: "_h1_13alg_1",
|
|
7
|
+
h2: "_h2_13alg_2",
|
|
8
|
+
h3: "_h3_13alg_3",
|
|
9
|
+
h4: "_h4_13alg_4",
|
|
10
|
+
h5: "_h5_13alg_5",
|
|
11
|
+
h6: "_h6_13alg_6"
|
|
12
|
+
}, a = t(({ className: t, enableMargins: a = !1, isExpressive: o = !1, level: s = 3, elementType: c, ...l }, u) => {
|
|
13
|
+
let d = c && parseInt(c.split("h")[1]);
|
|
14
|
+
return /* @__PURE__ */ r(n, {
|
|
15
|
+
ref: u,
|
|
16
|
+
level: d || s,
|
|
17
|
+
className: e([
|
|
18
|
+
i.h1,
|
|
19
|
+
i.h2,
|
|
20
|
+
i.h3,
|
|
21
|
+
i.h4,
|
|
22
|
+
i.h5,
|
|
23
|
+
i.h6
|
|
24
|
+
][s - 1], t),
|
|
25
|
+
...o && { "data-expressive": !0 },
|
|
26
|
+
...a && { "data-margin": !0 },
|
|
27
|
+
...l
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
a.displayName = "Heading";
|
|
31
|
+
export { a as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
2
|
+
import { n as t } from "./button-BZHl22O1.js";
|
|
3
3
|
import { t as n } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
4
|
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
2
|
import { t } from "./popover-C7Ain5Qz.js";
|
|
3
|
-
import { n } from "./button-
|
|
4
|
-
import { t as r } from "./modal-
|
|
3
|
+
import { n } from "./button-BZHl22O1.js";
|
|
4
|
+
import { t as r } from "./modal-DvTcNZNd.js";
|
|
5
5
|
import { t as i } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import o, { useContext as s } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./grid-CFn_pqQX.js";
|
|
3
3
|
import { t } from "./clsx-BtGY0yFD.js";
|
|
4
|
-
import { n } from "./button-
|
|
4
|
+
import { n } from "./button-BZHl22O1.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
7
|
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
@@ -2,7 +2,7 @@ import { t as e } from "./clsx-BtGY0yFD.js";
|
|
|
2
2
|
import { Virtualizer as t } from "../aria/index.js";
|
|
3
3
|
import { t as n } from "./spinner-V6QnHHAH.js";
|
|
4
4
|
import { t as r } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
5
|
-
import { t as i } from "./text-
|
|
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";
|
|
8
8
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./button-
|
|
2
|
-
import { t } from "./heading-
|
|
1
|
+
import { n as e } from "./button-BZHl22O1.js";
|
|
2
|
+
import { t } from "./heading-0P5rm7xK.js";
|
|
3
3
|
import { t as n } from "./useLocalizedStringFormatter-DU97U9ZX.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
-
import { t as i } from "./text-
|
|
5
|
-
import { t as a } from "./field-error-
|
|
3
|
+
import { n, t as r } from "./label-Biu5Hi7b.js";
|
|
4
|
+
import { t as i } from "./text-CtvUKU-v.js";
|
|
5
|
+
import { t as a } from "./field-error-CUYIkJWj.js";
|
|
6
6
|
import { Group as o, RadioButton as s, RadioField as c, RadioGroup as l, composeRenderProps as u } from "react-aria-components";
|
|
7
7
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
8
|
import '../assets/radio.css';// src/radio/RadioField.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./TextField.module-
|
|
3
|
-
import { n as t } from "./button-
|
|
2
|
+
import { t as e } from "./TextField.module-DQfRPRIT.js";
|
|
3
|
+
import { n as t } from "./button-BZHl22O1.js";
|
|
4
4
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
5
|
-
import { t as r } from "./field-error-
|
|
6
|
-
import { t as i } from "./text-
|
|
7
|
-
import { n as a, t as o } from "./label-
|
|
5
|
+
import { t as r } from "./field-error-CUYIkJWj.js";
|
|
6
|
+
import { t as i } from "./text-CtvUKU-v.js";
|
|
7
|
+
import { n as a, t as o } from "./label-Biu5Hi7b.js";
|
|
8
8
|
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, t } from "./label-
|
|
1
|
+
import { n as e, t } from "./label-Biu5Hi7b.js";
|
|
2
2
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { t as r } from "./text-
|
|
4
|
-
import { t as i } from "./field-error-
|
|
5
|
-
import { n as a } from "./checkbox-
|
|
3
|
+
import { t as r } from "./text-CtvUKU-v.js";
|
|
4
|
+
import { t as i } from "./field-error-CUYIkJWj.js";
|
|
5
|
+
import { n as a } from "./checkbox-_8t0WxFw.js";
|
|
6
6
|
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
7
|
-
import { c as s } from "./list-box-
|
|
7
|
+
import { c as s } from "./list-box-Cyiu3Rq7.js";
|
|
8
8
|
import { t as c } from "./popover-C7Ain5Qz.js";
|
|
9
|
-
import { n as l, r as u, t as d } from "./tag-
|
|
9
|
+
import { n as l, r as u, t as d } from "./tag-vxSxMsqS.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,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Collection as e } from "../aria/index.js";
|
|
3
|
-
import { n as t } from "./checkbox-
|
|
3
|
+
import { n as t } from "./checkbox-_8t0WxFw.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 { Fragment as d, jsx as f, jsxs as p } 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-
|
|
2
|
+
import { n as t } from "./button-BZHl22O1.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";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { Text as n } from "react-aria-components";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import '../assets/text.css';var i = {
|
|
6
|
+
body: "_body_g096r_1",
|
|
7
|
+
"body-small": "_body-small_g096r_2",
|
|
8
|
+
description: "_description_g096r_3",
|
|
9
|
+
"description-small": "_description-small_g096r_4",
|
|
10
|
+
bold: "_bold_g096r_24",
|
|
11
|
+
italic: "_italic_g096r_28"
|
|
12
|
+
}, a = "span", o = t(({ className: t, size: o, isExpressive: s = !1, elementType: c = a, ...l }, u) => {
|
|
13
|
+
let d = {
|
|
14
|
+
className: e(l.slot === "description" ? o === "small" ? i["description-small"] : i.description : o === "small" ? i["body-small"] : i.body, {
|
|
15
|
+
[i.bold]: ["b", "strong"].includes(c),
|
|
16
|
+
[i.italic]: ["i", "em"].includes(c)
|
|
17
|
+
}, t),
|
|
18
|
+
elementType: c || a,
|
|
19
|
+
...s && { "data-expressive": !0 },
|
|
20
|
+
...l
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ r(n, {
|
|
23
|
+
ref: u,
|
|
24
|
+
...d
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
o.displayName = "Text";
|
|
28
|
+
export { o as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./TextField.module-
|
|
3
|
-
import { t } from "./text-
|
|
4
|
-
import { t as n } from "./field-error-
|
|
2
|
+
import { t as e } from "./TextField.module-DQfRPRIT.js";
|
|
3
|
+
import { t } from "./text-CtvUKU-v.js";
|
|
4
|
+
import { t as n } from "./field-error-CUYIkJWj.js";
|
|
5
5
|
import { t as r } from "./character-counter-IbkPoEcq.js";
|
|
6
|
-
import { n as i, t as a } from "./label-
|
|
6
|
+
import { n as i, t as a } from "./label-Biu5Hi7b.js";
|
|
7
7
|
import { t as o } from "./clsx-BtGY0yFD.js";
|
|
8
8
|
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
9
|
-
import { n as c } from "./button-
|
|
9
|
+
import { n as c } from "./button-BZHl22O1.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,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t, r as n } from "./date-field-
|
|
3
|
-
import { t as r } from "./field-error-
|
|
4
|
-
import { n as i, t as a } from "./label-
|
|
5
|
-
import { t as o } from "./text-
|
|
6
|
-
import { t as s } from "./clear-button-
|
|
2
|
+
import { n as t, r as n } from "./date-field-DkypCMfi.js";
|
|
3
|
+
import { t as r } from "./field-error-CUYIkJWj.js";
|
|
4
|
+
import { n as i, t as a } from "./label-Biu5Hi7b.js";
|
|
5
|
+
import { t as o } from "./text-CtvUKU-v.js";
|
|
6
|
+
import { t as s } from "./clear-button-BBOWDvaE.js";
|
|
7
7
|
import { t as c } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import * as l from "react";
|
|
9
9
|
import { TimeField as u, TimeFieldStateContext as d } from "react-aria-components";
|
package/clear-button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ClearButton } from "../chunks/clear-button-
|
|
1
|
+
export { t as ClearButton } from "../chunks/clear-button-BBOWDvaE.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-
|
|
1
|
+
export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-CZGgC68M.js";
|
package/combobox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ComboBox } from "../chunks/combobox-
|
|
1
|
+
export { t as ComboBox } from "../chunks/combobox-Ck-7IepP.js";
|
package/date-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-
|
|
1
|
+
export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-DkypCMfi.js";
|
package/date-picker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-
|
|
1
|
+
export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-Cn9qhe2G.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Text and calls to action for empty search results, blank pages etc.
|
|
4
|
+
*/
|
|
5
|
+
export interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Center the content, or align it to the start.
|
|
8
|
+
* @default 'center'
|
|
9
|
+
*/
|
|
10
|
+
align?: 'start' | 'center';
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyState: import('react').ForwardRefExoticComponent<EmptyStateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateHeading';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateVisual';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as EmptyState, a as EmptyStateActions, i as EmptyStateHeading, r as EmptyStateText, n as EmptyStateVisual } from "../chunks/empty-state-CnDZoO65.js";
|
package/field-error/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as FieldError } from "../chunks/field-error-
|
|
1
|
+
export { t as FieldError } from "../chunks/field-error-CUYIkJWj.js";
|
package/file-list/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as FileList, t as FileListItem } from "../chunks/file-list-
|
|
1
|
+
export { n as FileList, t as FileListItem } from "../chunks/file-list-Dld4Shgt.js";
|
package/heading/Heading.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HeadingProps as AriaHeadingProps } from 'react-aria-components';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
export interface HeadingProps extends AriaHeadingProps {
|
|
4
3
|
/**
|
|
5
4
|
* Override the semantic element of the component but keep the look of the level property
|
|
@@ -16,4 +15,4 @@ export interface HeadingProps extends AriaHeadingProps {
|
|
|
16
15
|
*/
|
|
17
16
|
isExpressive?: boolean;
|
|
18
17
|
}
|
|
19
|
-
export declare const Heading:
|
|
18
|
+
export declare const Heading: import('react').ForwardRefExoticComponent<HeadingProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
package/heading/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Heading } from "../chunks/heading-
|
|
1
|
+
export { t as Heading } from "../chunks/heading-0P5rm7xK.js";
|
package/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './common/types';
|
|
|
13
13
|
export * from './date-field';
|
|
14
14
|
export * from './date-picker';
|
|
15
15
|
export * from './drop-zone';
|
|
16
|
+
export * from './empty-state';
|
|
16
17
|
export * from './field-error';
|
|
17
18
|
export * from './file-list';
|
|
18
19
|
export * from './file-trigger';
|
package/index.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-gXivv8Ra.js";
|
|
4
4
|
import { ButtonContext as n, Collection as r, Focusable as i, Form as a, I18nProvider as o, Pressable as s, TableLayout as c, Virtualizer as l, useLocale as u } from "./aria/index.js";
|
|
5
5
|
import { n as d, t as f } from "./chunks/link-CyjmtEZP.js";
|
|
6
6
|
import { t as p } from "./chunks/spinner-V6QnHHAH.js";
|
|
7
7
|
import { t as m } from "./chunks/useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
|
-
import { n as h, t as g } from "./chunks/button-
|
|
9
|
-
import { t as _ } from "./chunks/heading-
|
|
8
|
+
import { n as h, t as g } from "./chunks/button-BZHl22O1.js";
|
|
9
|
+
import { t as _ } from "./chunks/heading-0P5rm7xK.js";
|
|
10
10
|
import { n as v, t as y } from "./chunks/badge-C5Sdu_uw.js";
|
|
11
11
|
import { n as b, t as x } from "./chunks/breadcrumbs-BwYDyKWo.js";
|
|
12
|
-
import { n as S, t as C } from "./chunks/calendar-
|
|
13
|
-
import { t as w } from "./chunks/label-
|
|
12
|
+
import { n as S, t as C } from "./chunks/calendar-uy8xBuNV.js";
|
|
13
|
+
import { t as w } from "./chunks/label-Biu5Hi7b.js";
|
|
14
14
|
import { t as T } from "./chunks/popover-C7Ain5Qz.js";
|
|
15
|
-
import { n as E, r as D, t as O } from "./chunks/modal-
|
|
16
|
-
import { t as k } from "./chunks/text-
|
|
17
|
-
import { t as A } from "./chunks/field-error-
|
|
18
|
-
import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-
|
|
19
|
-
import { n as F, t as I } from "./chunks/select-
|
|
20
|
-
import { a as L, c as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./chunks/list-box-
|
|
21
|
-
import { n as G, r as K, t as q } from "./chunks/tag-
|
|
22
|
-
import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./chunks/card-
|
|
15
|
+
import { n as E, r as D, t as O } from "./chunks/modal-DvTcNZNd.js";
|
|
16
|
+
import { t as k } from "./chunks/text-CtvUKU-v.js";
|
|
17
|
+
import { t as A } from "./chunks/field-error-CUYIkJWj.js";
|
|
18
|
+
import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-_8t0WxFw.js";
|
|
19
|
+
import { n as F, t as I } from "./chunks/select-b6vie6hj.js";
|
|
20
|
+
import { a as L, c as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./chunks/list-box-Cyiu3Rq7.js";
|
|
21
|
+
import { n as G, r as K, t as q } from "./chunks/tag-vxSxMsqS.js";
|
|
22
|
+
import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./chunks/card-CFy9gV47.js";
|
|
23
23
|
import { t as re } from "./chunks/character-counter-IbkPoEcq.js";
|
|
24
24
|
import { t as ie } from "./chunks/icons-a0WawN46.js";
|
|
25
25
|
import { n as ae, t as oe } from "./chunks/toggle-button-BVyG8F2K.js";
|
|
26
|
-
import { n as se, t as ce } from "./chunks/color-scheme-switch-
|
|
26
|
+
import { n as se, t as ce } from "./chunks/color-scheme-switch-CZGgC68M.js";
|
|
27
27
|
import { a as le, i as ue, n as de, o as fe, r as pe, t as me } from "./chunks/menu-7gP2Sovj.js";
|
|
28
|
-
import { t as he } from "./chunks/combobox-
|
|
29
|
-
import { i as ge, n as _e, r as ve, t as ye } from "./chunks/date-field-
|
|
30
|
-
import { n as be, t as xe } from "./chunks/date-picker-
|
|
28
|
+
import { t as he } from "./chunks/combobox-Ck-7IepP.js";
|
|
29
|
+
import { i as ge, n as _e, r as ve, t as ye } from "./chunks/date-field-DkypCMfi.js";
|
|
30
|
+
import { n as be, t as xe } from "./chunks/date-picker-Cn9qhe2G.js";
|
|
31
31
|
import { t as Se } from "./chunks/drop-zone-BL3Z-Sbj.js";
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { n as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
46
|
-
import {
|
|
47
|
-
import { i as et, n as tt,
|
|
48
|
-
import { i as
|
|
49
|
-
import { t as
|
|
50
|
-
import {
|
|
32
|
+
import { a as Ce, i as we, n as Te, r as Ee, t as De } from "./chunks/empty-state-CnDZoO65.js";
|
|
33
|
+
import { n as Oe, t as ke } from "./chunks/file-list-Dld4Shgt.js";
|
|
34
|
+
import { t as Ae } from "./chunks/progress-bar-BvueZ-dg.js";
|
|
35
|
+
import { t as je } from "./chunks/file-trigger-gOeeZzDP.js";
|
|
36
|
+
import { n as Me, t as Ne } from "./chunks/grid-CFn_pqQX.js";
|
|
37
|
+
import { t as Pe } from "./chunks/info-banner-CFmkzyL-.js";
|
|
38
|
+
import { a as Fe, i as Ie, n as Le, r as Re, t as ze } from "./chunks/layout-BwW7Scqj.js";
|
|
39
|
+
import { n as Be, t as Ve } from "./chunks/tooltip-CR1uxtPd.js";
|
|
40
|
+
import { n as He, t as Ue } from "./chunks/logo-CBGOnROk.js";
|
|
41
|
+
import { t as We } from "./chunks/clsx-BtGY0yFD.js";
|
|
42
|
+
import { t as Ge } from "./chunks/link-button-D6t-8zQQ.js";
|
|
43
|
+
import { i as Ke, n as qe, r as Je, t as Ye } from "./chunks/radio-Li_ZoHYq.js";
|
|
44
|
+
import { t as Xe } from "./chunks/search-field-BdS63CpD.js";
|
|
45
|
+
import { t as Ze } from "./chunks/skeleton-6y5HNJZp.js";
|
|
46
|
+
import { t as Qe } from "./chunks/stack-DKjRicm1.js";
|
|
47
|
+
import { a as $e, i as et, n as tt, o as nt, r as rt, t as it } from "./chunks/table-Cvg_n39H.js";
|
|
48
|
+
import { i as at, n as ot, r as st, t as ct } from "./chunks/tabs-ZCpVhr_r.js";
|
|
49
|
+
import { i as lt, n as ut, r as dt, t as ft } from "./chunks/textfield-i0dO0qgs.js";
|
|
50
|
+
import { t as pt } from "./chunks/time-field-BG2BH5HH.js";
|
|
51
|
+
import { a as mt, i as ht, n as gt, o as _t, r as vt, t as yt } from "./chunks/toast-CZHBaKdY.js";
|
|
51
52
|
// src/version.ts
|
|
52
|
-
var
|
|
53
|
+
var bt = {
|
|
53
54
|
name: "@midas-ds/components",
|
|
54
55
|
author: { name: "Migrationsverket" },
|
|
55
56
|
keywords: [
|
|
@@ -61,7 +62,7 @@ var ht = {
|
|
|
61
62
|
description: "Midas Components",
|
|
62
63
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
63
64
|
license: "CC0-1.0",
|
|
64
|
-
version: "17.
|
|
65
|
+
version: "17.35.0",
|
|
65
66
|
module: "./index.js",
|
|
66
67
|
type: "module",
|
|
67
68
|
main: "./index.js",
|
|
@@ -94,4 +95,4 @@ var ht = {
|
|
|
94
95
|
"react-stately": "3.50.0"
|
|
95
96
|
}
|
|
96
97
|
}.version;
|
|
97
|
-
export { e as Accordion, t as AccordionItem, v as Badge, y as BadgeContainer, x as Breadcrumb, b as Breadcrumbs, h as Button, n as ButtonContext, g as ButtonGroup, S as Calendar, ee as Card, X as CardActionArea, J as CardActions, Q as CardBody, $ as CardContent, ne as CardHeader, te as CardImage, Y as CardLink, Z as CardTitle,
|
|
98
|
+
export { e as Accordion, t as AccordionItem, v as Badge, y as BadgeContainer, x as Breadcrumb, b as Breadcrumbs, h as Button, n as ButtonContext, g as ButtonGroup, S as Calendar, ee as Card, X as CardActionArea, J as CardActions, Q as CardBody, $ as CardContent, ne as CardHeader, te as CardImage, Y as CardLink, Z as CardTitle, it as Cell, re as CharacterCounter, M as Checkbox, N as CheckboxButton, j as CheckboxField, P as CheckboxGroup, r as Collection, se as ColorSchemeSwitch, ce as ColorSchemeSwitchMenu, tt as Column, he as ComboBox, ie as ContrastFilled, ge as DateField, _e as DateInput, ye as DateInputDivider, be as DatePicker, xe as DateRangePicker, ve as DateSegment, O as DialogTrigger, Se as DropZone, De as EmptyState, Ce as EmptyStateActions, we as EmptyStateHeading, Ee as EmptyStateText, Te as EmptyStateVisual, A as FieldError, Oe as FileList, ke as FileListItem, je as FileTrigger, i as Focusable, a as Form, yt as GlobalToastRegion, Me as Grid, Ne as GridItem, Re as Header, _ as Heading, o as I18nProvider, Pe as InfoBanner, dt as Input, w as Label, ze as Layout, f as Link, Ge as LinkButton, R as ListBox, U as ListBoxButton, W as ListBoxEmptyState, B as ListBoxHeader, V as ListBoxItem, H as ListBoxLoadMoreItem, L as ListBoxPopover, z as ListBoxSection, Ue as Logo, He as LogoContext, le as Menu, ue as MenuItem, pe as MenuPopover, de as MenuSection, fe as MenuTrigger, E as Modal, D as ModalOverlay, Le as Navbar, T as Popover, s as Pressable, Ae as ProgressBar, qe as Radio, Je as RadioButton, Ke as RadioField, Ye as RadioGroup, C as RangeCalendar, d as RouterProvider, rt as Row, Xe as SearchField, I as Select, F as SelectTrigger, me as Separator, Ie as Sidebar, Fe as SidebarLink, Ze as Skeleton, p as Spinner, Qe as Stack, st as Tab, ct as TabList, ot as TabPanel, et as Table, $e as TableBody, nt as TableHeader, c as TableLayout, at as Tabs, K as Tag, q as TagGroup, G as TagList, k as Text, ft as TextArea, ut as TextField, lt as TextFieldBase, pt as TimeField, gt as Toast, vt as ToastProvider, ht as ToastRegion, ae as ToggleButton, oe as ToggleButtonGroup, Ve as Tooltip, Be as TooltipTrigger, bt as VERSION, l as Virtualizer, We as clsx, mt as toastQueue, u as useLocale, m as useLocalizedStringFormatter, _t as useToastState };
|
package/info-banner/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as InfoBanner } from "../chunks/info-banner-
|
|
1
|
+
export { t as InfoBanner } from "../chunks/info-banner-CFmkzyL-.js";
|
package/label/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Label } from "../chunks/label-
|
|
1
|
+
export { t as Label } from "../chunks/label-Biu5Hi7b.js";
|
package/layout/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-
|
|
1
|
+
export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-BwW7Scqj.js";
|
package/list-box/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-
|
|
1
|
+
export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-Cyiu3Rq7.js";
|
package/modal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DialogTrigger, n as Modal, r as ModalOverlay } from "../chunks/modal-
|
|
1
|
+
export { t as DialogTrigger, n as Modal, r as ModalOverlay } from "../chunks/modal-DvTcNZNd.js";
|
package/package.json
CHANGED
package/progress-bar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ProgressBar } from "../chunks/progress-bar-
|
|
1
|
+
export { t as ProgressBar } from "../chunks/progress-bar-BvueZ-dg.js";
|
package/radio/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-
|
|
1
|
+
export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-Li_ZoHYq.js";
|
package/search-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SearchField } from "../chunks/search-field-
|
|
1
|
+
export { t as SearchField } from "../chunks/search-field-BdS63CpD.js";
|
package/select/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Select, n as SelectTrigger } from "../chunks/select-
|
|
1
|
+
export { t as Select, n as SelectTrigger } from "../chunks/select-b6vie6hj.js";
|
package/table/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-
|
|
1
|
+
export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-Cvg_n39H.js";
|
package/tag/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-
|
|
1
|
+
export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-vxSxMsqS.js";
|
package/text/Text.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextProps as AriaTextProps } from 'react-aria-components';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
export type TextSize = 'small';
|
|
4
3
|
export interface TextProps extends AriaTextProps {
|
|
5
4
|
/**
|
|
@@ -12,4 +11,4 @@ export interface TextProps extends AriaTextProps {
|
|
|
12
11
|
*/
|
|
13
12
|
isExpressive?: boolean;
|
|
14
13
|
}
|
|
15
|
-
export declare const Text:
|
|
14
|
+
export declare const Text: import('react').ForwardRefExoticComponent<TextProps & import('react').RefAttributes<HTMLElement>>;
|
package/text/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Text } from "../chunks/text-
|
|
1
|
+
export { t as Text } from "../chunks/text-CtvUKU-v.js";
|
package/textfield/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-
|
|
1
|
+
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-i0dO0qgs.js";
|
package/time-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TimeField } from "../chunks/time-field-
|
|
1
|
+
export { t as TimeField } from "../chunks/time-field-BG2BH5HH.js";
|
package/toast/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-
|
|
1
|
+
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-CZHBaKdY.js";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import '../assets/TextField.css';var e = {
|
|
2
|
-
textField: "_textField_k9lqd_1",
|
|
3
|
-
bottomError: "_bottomError_k9lqd_20",
|
|
4
|
-
textArea: "_textArea_k9lqd_29",
|
|
5
|
-
input: "_input_k9lqd_30",
|
|
6
|
-
wrap: "_wrap_k9lqd_90",
|
|
7
|
-
medium: "_medium_k9lqd_95",
|
|
8
|
-
passwordText: "_passwordText_k9lqd_123",
|
|
9
|
-
passwordButton: "_passwordButton_k9lqd_166"
|
|
10
|
-
};
|
|
11
|
-
export { e as t };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Heading as t } from "react-aria-components";
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
import '../assets/heading.css';var r = {
|
|
6
|
-
h1: "_h1_13alg_1",
|
|
7
|
-
h2: "_h2_13alg_2",
|
|
8
|
-
h3: "_h3_13alg_3",
|
|
9
|
-
h4: "_h4_13alg_4",
|
|
10
|
-
h5: "_h5_13alg_5",
|
|
11
|
-
h6: "_h6_13alg_6"
|
|
12
|
-
}, i = ({ children: i, className: a, enableMargins: o = !1, isExpressive: s = !1, level: c = 3, elementType: l, ...u }) => {
|
|
13
|
-
let d = l && parseInt(l.split("h")[1]);
|
|
14
|
-
return /* @__PURE__ */ n(t, {
|
|
15
|
-
level: d || c,
|
|
16
|
-
className: e([
|
|
17
|
-
r.h1,
|
|
18
|
-
r.h2,
|
|
19
|
-
r.h3,
|
|
20
|
-
r.h4,
|
|
21
|
-
r.h5,
|
|
22
|
-
r.h6
|
|
23
|
-
][c - 1], a),
|
|
24
|
-
...s && { "data-expressive": !0 },
|
|
25
|
-
...o && { "data-margin": !0 },
|
|
26
|
-
...u,
|
|
27
|
-
children: i
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
export { i as t };
|
package/chunks/text-D7tnzTru.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Text as t } from "react-aria-components";
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
import '../assets/text.css';var r = {
|
|
6
|
-
body: "_body_g096r_1",
|
|
7
|
-
"body-small": "_body-small_g096r_2",
|
|
8
|
-
description: "_description_g096r_3",
|
|
9
|
-
"description-small": "_description-small_g096r_4",
|
|
10
|
-
bold: "_bold_g096r_24",
|
|
11
|
-
italic: "_italic_g096r_28"
|
|
12
|
-
}, i = "span", a = ({ children: a, className: o, size: s, isExpressive: c = !1, elementType: l = i, ...u }) => {
|
|
13
|
-
let d = {
|
|
14
|
-
className: e(u.slot === "description" ? s === "small" ? r["description-small"] : r.description : s === "small" ? r["body-small"] : r.body, {
|
|
15
|
-
[r.bold]: ["b", "strong"].includes(l),
|
|
16
|
-
[r.italic]: ["i", "em"].includes(l)
|
|
17
|
-
}, o),
|
|
18
|
-
elementType: l || i,
|
|
19
|
-
...c && { "data-expressive": !0 },
|
|
20
|
-
...u
|
|
21
|
-
};
|
|
22
|
-
return /* @__PURE__ */ n(t, {
|
|
23
|
-
...d,
|
|
24
|
-
children: a
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
export { a as t };
|