@midas-ds/components 16.6.3 → 16.6.4
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 +11 -0
- package/accordion/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 +2 -2
- package/chunks/{AccordionItem-BvJQhuYO.js → AccordionItem-CSvARy63.js} +3 -3
- package/chunks/{Breadcrumbs-By2bMbQd.js → Breadcrumbs-DFwP6lAP.js} +1 -1
- package/chunks/{Button-BGu-SRi7.js → Button-CaLOUTDO.js} +1 -1
- package/chunks/{Card-ia98VoKL.js → Card-DMSnokPn.js} +7 -7
- package/chunks/Checkbox-CRLj7_Ox.js +146 -0
- package/chunks/{CheckboxGroup-KqlchsTK.js → CheckboxGroup-DSXCj_ho.js} +2 -2
- package/chunks/{ClearButton-Dtkd_M_7.js → ClearButton-DPm_d7SL.js} +2 -2
- package/chunks/{ColorSchemeSwitch-CaqrCGTA.js → ColorSchemeSwitch-DOQ0yjtt.js} +1 -1
- package/chunks/{ComboBox-C-pAiys0.js → ComboBox-B7T13rzp.js} +3 -3
- package/chunks/{DateField-Scz9gaJl.js → DateField-zdUv4ooW.js} +3 -3
- package/chunks/{DateInputDivider-CkTB5q5k.js → DateInputDivider-DwopMIb9.js} +3 -3
- package/chunks/{DateRangePicker-DQfV97yu.js → DateRangePicker-D6lnN0ox.js} +6 -6
- package/chunks/{Dialog-DRpxD3Gh.js → Dialog-BHxDzbf8.js} +2 -2
- package/chunks/{FeedbackStatusIcon-YJaUAfjp.js → FeedbackStatusIcon-X9Bjgeta.js} +3 -3
- package/chunks/{FileUpload-h1PxqQmb.js → FileUpload-Cu8DCSjX.js} +3 -3
- package/chunks/{InfoBanner-DEwlyEud.js → InfoBanner-C4HnaXQO.js} +3 -3
- package/chunks/{Label-xWKvOuML.js → Label-6GZmmff9.js} +2 -2
- package/chunks/{Layout-MPNSphLF.js → Layout-C2-vyEKy.js} +4 -4
- package/chunks/Link-rqGQvFQq.js +58 -0
- package/chunks/LinkButton-B1zayj7k.js +67 -0
- package/chunks/{ListBoxLoadMoreItem-CygpsU3W.js → ListBoxLoadMoreItem-ufPaJaNS.js} +1 -1
- package/chunks/{ListBoxSection-MZB_5DdD.js → ListBoxSection-C4y3K7T5.js} +4 -4
- package/chunks/{Logo-CsWcKqIg.js → Logo-CCxPAmgw.js} +45 -39
- package/chunks/{ProgressBar-KQdaaME2.js → ProgressBar-Dg0JMQ71.js} +1 -1
- package/chunks/{Radio-BD-ICPhb.js → Radio-Bp-JwJid.js} +1 -1
- package/chunks/{RangeCalendar-CW38S2L8.js → RangeCalendar-h9wkh43W.js} +3 -3
- package/chunks/{SearchField-44UKmB8Z.js → SearchField-Dcs9LjKo.js} +3 -3
- package/chunks/{Select-BJlDjYWX.js → Select-BYz3DdXs.js} +14 -14
- package/chunks/{Select-Cz3Y8abd.js → Select-w2o-VyrP.js} +6 -6
- package/chunks/{Separator-BcnQEA9f.js → Separator-XIzn8lsq.js} +2 -2
- package/chunks/{Spinner-tvJ7rPiT.js → Spinner-CfKMn18u.js} +1 -1
- package/chunks/{TabList-D2XV5ixe.js → TabList-BaR443mu.js} +3 -3
- package/chunks/{Table-BgsgXhC_.js → Table-UbdCFrkS.js} +12 -12
- package/chunks/{Tag-CZrQBEgv.js → Tag-C7VZ0T0o.js} +2 -2
- package/chunks/{TextArea-Dudj2zg4.js → TextArea-Ceo3ziOi.js} +4 -4
- package/chunks/{Toast-PDCyyP45.js → Toast-D7PXIDa9.js} +9 -9
- package/chunks/{arrow-right-DNeP8Eqv.js → arrow-right-BVcFGZmy.js} +1 -1
- package/chunks/{check-BxlvVsvD.js → check-Bt2UikoU.js} +1 -1
- package/chunks/{chevron-down-DgT-uSF9.js → chevron-down-BBFYYzZq.js} +1 -1
- package/chunks/{chevron-right-GpyqdYK4.js → chevron-right-DvXGOiS_.js} +1 -1
- package/chunks/{createLucideIcon-D4r5Phnh.js → createLucideIcon-CP-mMPfa.js} +15 -10
- package/chunks/{info-kdfED7Wh.js → info-N5jWZg2A.js} +1 -1
- package/chunks/{square-arrow-out-up-right-XMqOAsOL.js → square-arrow-out-up-right-x_I6wdNi.js} +1 -1
- package/chunks/{x-BXShoIAM.js → x-B9bYxG31.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 +2 -2
- package/date-picker/index.js +1 -1
- package/file-upload/index.js +1 -1
- package/index.js +40 -40
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/legacy-select/index.js +1 -1
- package/link/Link.d.ts +1 -1
- package/link/index.js +1 -1
- package/link-button/LinkButton.d.ts +3 -3
- package/link-button/index.js +1 -1
- package/list-box/index.js +2 -2
- package/logo/Logo.d.ts +1 -1
- package/logo/index.js +1 -1
- package/menu/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +2 -2
- 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/spinner/index.js +1 -1
- package/table/index.js +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.js +1 -1
- package/textfield/TextArea.stories.d.ts +9 -9
- package/textfield/index.js +1 -1
- package/toast/index.js +1 -1
- package/chunks/Checkbox-BTAfwDxU.js +0 -130
- package/chunks/Link-yTNUNv3C.js +0 -54
- package/chunks/LinkButton-3nAekUJ4.js +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 16.6.4 (2026-02-02)
|
|
2
|
+
|
|
3
|
+
### 🔧 Maintenance
|
|
4
|
+
|
|
5
|
+
- **components, layout:** revert refactor and bypass linter ([829a2e1274](https://github.com/migrationsverket/midas/commit/829a2e1274))
|
|
6
|
+
- **deps:** update eslint-plugin-react-hooks to latest ([04d26d69ac](https://github.com/migrationsverket/midas/commit/04d26d69ac))
|
|
7
|
+
|
|
8
|
+
### 🧱 Updated Dependencies
|
|
9
|
+
|
|
10
|
+
- Updated theme to 3.10.3
|
|
11
|
+
|
|
1
12
|
## 16.6.3 (2026-01-30)
|
|
2
13
|
|
|
3
14
|
### 🩹 Fixes
|
package/accordion/index.js
CHANGED
package/breadcrumbs/index.js
CHANGED
package/button/index.js
CHANGED
package/calendar/index.js
CHANGED
package/card/index.js
CHANGED
package/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e } from "../chunks/Checkbox-
|
|
2
|
-
import { C } from "../chunks/CheckboxGroup-
|
|
1
|
+
import { C as e } from "../chunks/Checkbox-CRLj7_Ox.js";
|
|
2
|
+
import { C } from "../chunks/CheckboxGroup-DSXCj_ho.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Checkbox,
|
|
5
5
|
C as CheckboxGroup
|
|
@@ -2,10 +2,10 @@ import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as d } from "./clsx-AexbMWKp.js";
|
|
3
3
|
import { DisclosureGroup as f, Disclosure as v, DisclosurePanel as C } from "react-aria-components";
|
|
4
4
|
import { createContext as I, useContext as N, useEffect as B } from "react";
|
|
5
|
-
import { B as k } from "./Button-
|
|
5
|
+
import { B as k } from "./Button-CaLOUTDO.js";
|
|
6
6
|
import { H as w } from "./Heading-D8tNNJkt.js";
|
|
7
|
-
import { F as A } from "./FeedbackStatusIcon-
|
|
8
|
-
import { C as T } from "./chevron-down-
|
|
7
|
+
import { F as A } from "./FeedbackStatusIcon-X9Bjgeta.js";
|
|
8
|
+
import { C as T } from "./chevron-down-BBFYYzZq.js";
|
|
9
9
|
import '../assets/AccordionItem.css';const D = "_root_17bdp_1", M = "_contained_17bdp_5", a = {
|
|
10
10
|
root: D,
|
|
11
11
|
contained: M
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Breadcrumbs as t, Breadcrumb as i } from "react-aria-components";
|
|
3
3
|
import { c as d } from "./clsx-AexbMWKp.js";
|
|
4
|
-
import { L as p } from "./Link-
|
|
4
|
+
import { L as p } from "./Link-rqGQvFQq.js";
|
|
5
5
|
import '../assets/Breadcrumbs.css';const l = "_container_1k7pu_1", u = {
|
|
6
6
|
container: l
|
|
7
7
|
}, h = ({
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as h, Fragment as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { B as r } from "./Button.module-Cm0H98vy.js";
|
|
3
3
|
import { useContextProps as B, ButtonContext as x, Button as P } from "react-aria-components";
|
|
4
4
|
import { c as S } from "./clsx-AexbMWKp.js";
|
|
5
|
-
import { S as w } from "./Spinner-
|
|
5
|
+
import { S as w } from "./Spinner-CfKMn18u.js";
|
|
6
6
|
import { forwardRef as z } from "react";
|
|
7
7
|
const F = z(
|
|
8
8
|
(i, a) => {
|
|
@@ -3,7 +3,7 @@ import { c } from "./clsx-AexbMWKp.js";
|
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { H as m } from "./Heading-D8tNNJkt.js";
|
|
5
5
|
import { Button as _, Link as C } from "react-aria-components";
|
|
6
|
-
import { A as x } from "./arrow-right-
|
|
6
|
+
import { A as x } from "./arrow-right-BVcFGZmy.js";
|
|
7
7
|
import '../assets/Card.css';const A = "_card_1x9yi_1", h = "_horizontal_1x9yi_11", u = "_cardLink_1x9yi_16", I = "_cardContent_1x9yi_21", z = "_cardActions_1x9yi_40", k = "_cardActionArea_1x9yi_50", p = "_cardImage_1x9yi_83", y = "_cardLinkIcon_1x9yi_115", n = {
|
|
8
8
|
card: A,
|
|
9
9
|
horizontal: h,
|
|
@@ -121,10 +121,10 @@ import '../assets/Card.css';const A = "_card_1x9yi_1", h = "_horizontal_1x9yi_11
|
|
|
121
121
|
);
|
|
122
122
|
export {
|
|
123
123
|
j as C,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
w as a,
|
|
125
|
+
T as b,
|
|
126
|
+
H as c,
|
|
127
|
+
B as d,
|
|
128
|
+
E as e,
|
|
129
|
+
R as f
|
|
130
130
|
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { jsxs as L, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import S, { forwardRef as u, useContext as H, useRef as j } from "react";
|
|
3
|
+
import { VisuallyHidden as D, mergeProps as h, useCheckboxGroupItem as M, useCheckbox as O, useHover as V, usePress as q, useFocusRing as w } from "react-aria";
|
|
4
|
+
import { useContextProps as A, CheckboxContext as T, useSlottedContext as E, FormContext as J } from "react-aria-components";
|
|
5
|
+
import { a as x } from "./clsx-AexbMWKp.js";
|
|
6
|
+
import { variables as m } from "@midas-ds/theme";
|
|
7
|
+
import { c as K } from "./createLucideIcon-CP-mMPfa.js";
|
|
8
|
+
import { C as Q } from "./check-Bt2UikoU.js";
|
|
9
|
+
import { useToggleState as U } from "@react-stately/toggle";
|
|
10
|
+
import '../assets/Checkbox.css';const W = [["path", { d: "M5 12h14", key: "1ays0h" }]], X = K("minus", W), Y = S.createContext(null), Z = "_checkboxInner_tzrii_1", $ = "_checkbox_tzrii_1", ee = "_checkboxGroup_tzrii_143", oe = "_checkboxList_tzrii_154", b = {
|
|
11
|
+
checkboxInner: Z,
|
|
12
|
+
checkbox: $,
|
|
13
|
+
checkboxGroup: ee,
|
|
14
|
+
checkboxList: oe
|
|
15
|
+
}, l = u(
|
|
16
|
+
({
|
|
17
|
+
hoverResult: e,
|
|
18
|
+
pressResult: o,
|
|
19
|
+
focusRingAria: c,
|
|
20
|
+
labelProps: i,
|
|
21
|
+
slot: n,
|
|
22
|
+
className: a,
|
|
23
|
+
isSelected: r,
|
|
24
|
+
isIndeterminate: s,
|
|
25
|
+
isDisabled: d,
|
|
26
|
+
isInvalid: C,
|
|
27
|
+
isReadOnly: f,
|
|
28
|
+
isRequired: _,
|
|
29
|
+
inputProps: p,
|
|
30
|
+
inputRef: I,
|
|
31
|
+
children: R
|
|
32
|
+
}, y) => {
|
|
33
|
+
const { hoverProps: G, isHovered: P } = e, { pressProps: g, isPressed: N } = o, { isFocused: z, isFocusVisible: B, focusProps: F } = c;
|
|
34
|
+
return /* @__PURE__ */ L(
|
|
35
|
+
"label",
|
|
36
|
+
{
|
|
37
|
+
ref: y,
|
|
38
|
+
...h(G, g, i),
|
|
39
|
+
slot: n || void 0,
|
|
40
|
+
className: x(b.checkbox, a),
|
|
41
|
+
"data-hovered": P || void 0,
|
|
42
|
+
"data-selected": r || void 0,
|
|
43
|
+
"data-indeterminate": s || void 0,
|
|
44
|
+
"data-pressed": N || void 0,
|
|
45
|
+
"data-disabled": d || void 0,
|
|
46
|
+
"data-readonly": f || void 0,
|
|
47
|
+
"data-invalid": C || void 0,
|
|
48
|
+
"data-focused": z || void 0,
|
|
49
|
+
"data-focus-visible": B || void 0,
|
|
50
|
+
"data-required": _ || void 0,
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ t("div", { className: x(b.checkboxInner), children: s ? /* @__PURE__ */ t(
|
|
53
|
+
X,
|
|
54
|
+
{
|
|
55
|
+
size: 14,
|
|
56
|
+
color: m.iconOnColor
|
|
57
|
+
}
|
|
58
|
+
) : /* @__PURE__ */ t(
|
|
59
|
+
Q,
|
|
60
|
+
{
|
|
61
|
+
size: 14,
|
|
62
|
+
color: m.iconOnColor
|
|
63
|
+
}
|
|
64
|
+
) }),
|
|
65
|
+
/* @__PURE__ */ t(D, { children: /* @__PURE__ */ t(
|
|
66
|
+
"input",
|
|
67
|
+
{
|
|
68
|
+
...h(p, F),
|
|
69
|
+
ref: I
|
|
70
|
+
}
|
|
71
|
+
) }),
|
|
72
|
+
R
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
l.displayName = "CheckboxInner";
|
|
79
|
+
const k = u((e, o) => {
|
|
80
|
+
const c = M(
|
|
81
|
+
{
|
|
82
|
+
...e,
|
|
83
|
+
value: e.value || ""
|
|
84
|
+
},
|
|
85
|
+
e.state,
|
|
86
|
+
e.inputRef
|
|
87
|
+
);
|
|
88
|
+
return /* @__PURE__ */ t(
|
|
89
|
+
l,
|
|
90
|
+
{
|
|
91
|
+
...e,
|
|
92
|
+
...c,
|
|
93
|
+
ref: o
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
});
|
|
97
|
+
k.displayName = "CheckBoxGroupItem";
|
|
98
|
+
const v = u((e, o) => {
|
|
99
|
+
const c = O(e, U(e), e.inputRef);
|
|
100
|
+
return /* @__PURE__ */ t(
|
|
101
|
+
l,
|
|
102
|
+
{
|
|
103
|
+
...e,
|
|
104
|
+
...c,
|
|
105
|
+
ref: o
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
});
|
|
109
|
+
v.displayName = "SingleCheckbox";
|
|
110
|
+
const te = u(
|
|
111
|
+
(e, o) => {
|
|
112
|
+
[e, o] = A(e, o, T);
|
|
113
|
+
const c = E(J), i = e.validationBehavior ?? c?.validationBehavior ?? "native", n = H(Y), a = j(null), r = V(e), s = q({
|
|
114
|
+
ref: o,
|
|
115
|
+
isDisabled: e.isDisabled
|
|
116
|
+
}), d = w();
|
|
117
|
+
return n ? /* @__PURE__ */ t(
|
|
118
|
+
k,
|
|
119
|
+
{
|
|
120
|
+
...e,
|
|
121
|
+
state: n,
|
|
122
|
+
inputRef: a,
|
|
123
|
+
hoverResult: r,
|
|
124
|
+
pressResult: s,
|
|
125
|
+
focusRingAria: d,
|
|
126
|
+
validationBehavior: i
|
|
127
|
+
}
|
|
128
|
+
) : /* @__PURE__ */ t(
|
|
129
|
+
v,
|
|
130
|
+
{
|
|
131
|
+
...e,
|
|
132
|
+
inputRef: a,
|
|
133
|
+
hoverResult: r,
|
|
134
|
+
pressResult: s,
|
|
135
|
+
focusRingAria: d,
|
|
136
|
+
validationBehavior: i
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
te.displayName = "Checkbox";
|
|
142
|
+
export {
|
|
143
|
+
te as C,
|
|
144
|
+
Y as a,
|
|
145
|
+
b as s
|
|
146
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { useCheckboxGroup as C } from "react-aria";
|
|
3
3
|
import { useCheckboxGroupState as v } from "react-stately";
|
|
4
|
-
import { a as k, L as S } from "./Label-
|
|
4
|
+
import { a as k, L as S } from "./Label-6GZmmff9.js";
|
|
5
5
|
import { T as y } from "./Text-Bxww8mmL.js";
|
|
6
6
|
import * as r from "react";
|
|
7
|
-
import { C as d, s as u, a as g } from "./Checkbox-
|
|
7
|
+
import { C as d, s as u, a as g } from "./Checkbox-CRLj7_Ox.js";
|
|
8
8
|
import { FieldErrorContext as A } from "react-aria-components";
|
|
9
9
|
import { F as P } from "./FieldError-C_3uLAGY.js";
|
|
10
10
|
import { u as V } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { B as o } from "./Button-
|
|
3
|
-
import { X as i } from "./x-
|
|
2
|
+
import { B as o } from "./Button-CaLOUTDO.js";
|
|
3
|
+
import { X as i } from "./x-B9bYxG31.js";
|
|
4
4
|
const m = (t) => /* @__PURE__ */ r(
|
|
5
5
|
o,
|
|
6
6
|
{
|
|
@@ -2,7 +2,7 @@ import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { VisuallyHidden as a } from "react-aria";
|
|
4
4
|
import { a as y, T as r } from "./ToggleButtonGroup-CXKTrLbb.js";
|
|
5
|
-
import { c as d } from "./createLucideIcon-
|
|
5
|
+
import { c as d } from "./createLucideIcon-CP-mMPfa.js";
|
|
6
6
|
import { u } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
7
7
|
import '../assets/ColorSchemeSwitch.css';const g = [
|
|
8
8
|
[
|
|
@@ -2,12 +2,12 @@ import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import y from "react";
|
|
3
3
|
import { ComboBox as B, Input as F, Button as w, Collection as C } from "react-aria-components";
|
|
4
4
|
import { c as s } from "./clsx-AexbMWKp.js";
|
|
5
|
-
import { a as S, L as v } from "./Label-
|
|
5
|
+
import { a as S, L as v } from "./Label-6GZmmff9.js";
|
|
6
6
|
import { T as u } from "./Text-Bxww8mmL.js";
|
|
7
7
|
import { F as f } from "./FieldError-C_3uLAGY.js";
|
|
8
8
|
import { L as R } from "./ListBox-D5BBeZWL.js";
|
|
9
|
-
import {
|
|
10
|
-
import { C as I } from "./chevron-down-
|
|
9
|
+
import { b as N, a as g, c as E } from "./ListBoxSection-C4y3K7T5.js";
|
|
10
|
+
import { C as I } from "./chevron-down-BBFYYzZq.js";
|
|
11
11
|
import { u as T } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
12
12
|
import '../assets/ComboBox.css';const j = "_combobox_1m9te_1", O = "_inputField_1m9te_6", U = "_medium_1m9te_27", z = "_wrap_1m9te_79", D = "_button_1m9te_85", M = "_icon_1m9te_121", V = "_emptyState_1m9te_127", o = {
|
|
13
13
|
combobox: j,
|
|
@@ -2,11 +2,11 @@ import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as x from "react";
|
|
3
3
|
import { DateField as g, DateFieldStateContext as h } from "react-aria-components";
|
|
4
4
|
import { c as d } from "./clsx-AexbMWKp.js";
|
|
5
|
-
import {
|
|
5
|
+
import { D, b as B } from "./DateInputDivider-DwopMIb9.js";
|
|
6
6
|
import { F } from "./FieldError-C_3uLAGY.js";
|
|
7
|
-
import { a as C, L as b } from "./Label-
|
|
7
|
+
import { a as C, L as b } from "./Label-6GZmmff9.js";
|
|
8
8
|
import { T as L } from "./Text-Bxww8mmL.js";
|
|
9
|
-
import { C as S } from "./ClearButton-
|
|
9
|
+
import { C as S } from "./ClearButton-DPm_d7SL.js";
|
|
10
10
|
import { FocusScope as v, useFocusManager as N } from "@react-aria/focus";
|
|
11
11
|
import { u as V } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
12
12
|
import '../assets/DateField.css';const j = { clear: "Clear date" }, T = { clear: "Rensa datum" }, E = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
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
3
|
import { a as k } from "./clsx-AexbMWKp.js";
|
|
4
|
-
import { C as G, R as L } from "./RangeCalendar-
|
|
5
|
-
import {
|
|
4
|
+
import { C as G, R as L } from "./RangeCalendar-h9wkh43W.js";
|
|
5
|
+
import { D as _, b as f, a as I } from "./DateInputDivider-DwopMIb9.js";
|
|
6
6
|
import { F as P } from "./FieldError-C_3uLAGY.js";
|
|
7
|
-
import { a as y, L as v } from "./Label-
|
|
7
|
+
import { a as y, L as v } from "./Label-6GZmmff9.js";
|
|
8
8
|
import { T as D } from "./Text-Bxww8mmL.js";
|
|
9
9
|
import * as g from "react";
|
|
10
|
-
import { C as V } from "./ClearButton-
|
|
10
|
+
import { C as V } from "./ClearButton-DPm_d7SL.js";
|
|
11
11
|
import { FocusScope as j, useFocusManager as w } from "@react-aria/focus";
|
|
12
|
-
import { B as O } from "./Button-
|
|
13
|
-
import { c as T } from "./createLucideIcon-
|
|
12
|
+
import { B as O } from "./Button-CaLOUTDO.js";
|
|
13
|
+
import { c as T } from "./createLucideIcon-CP-mMPfa.js";
|
|
14
14
|
import { u as $ } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
15
15
|
import '../assets/DateRangePicker.css';const E = [
|
|
16
16
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import { ModalOverlay as n, Modal as c, Dialog as i } from "react-aria-components";
|
|
3
|
-
import { B as _ } from "./Button-
|
|
3
|
+
import { B as _ } from "./Button-CaLOUTDO.js";
|
|
4
4
|
import { H as y } from "./Heading-D8tNNJkt.js";
|
|
5
5
|
import { c as v } from "./clsx-AexbMWKp.js";
|
|
6
|
-
import { X as x } from "./x-
|
|
6
|
+
import { X as x } from "./x-B9bYxG31.js";
|
|
7
7
|
import { u as f } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
8
8
|
import '../assets/Dialog.css';const h = "_modal_nxs78_1", p = "_overlay_nxs78_24", g = "_modalHeader_nxs78_48", B = "_modalTitle_nxs78_59", H = "_modalBody_nxs78_65", a = {
|
|
9
9
|
modal: h,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as n } from "./createLucideIcon-
|
|
3
|
-
import { I as m } from "./info-
|
|
4
|
-
import { C as c } from "./check-
|
|
2
|
+
import { c as n } from "./createLucideIcon-CP-mMPfa.js";
|
|
3
|
+
import { I as m } from "./info-N5jWZg2A.js";
|
|
4
|
+
import { C as c } from "./check-Bt2UikoU.js";
|
|
5
5
|
import { u as f } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
6
6
|
const p = [
|
|
7
7
|
[
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { DropZone as s, FileTrigger as n } from "react-aria-components";
|
|
3
3
|
import { c as p } from "./clsx-AexbMWKp.js";
|
|
4
4
|
import '../assets/FileUpload.css';const t = "_dropzone_ffm4g_1", i = {
|
|
5
5
|
dropzone: t
|
|
6
6
|
}, g = ({ className: o, ...e }) => /* @__PURE__ */ r(
|
|
7
|
-
|
|
7
|
+
s,
|
|
8
8
|
{
|
|
9
9
|
...e,
|
|
10
10
|
className: p(i.dropzone, o)
|
|
11
11
|
}
|
|
12
|
-
), l = (o) => /* @__PURE__ */ r(
|
|
12
|
+
), l = (o) => /* @__PURE__ */ r(n, { ...o });
|
|
13
13
|
export {
|
|
14
14
|
g as D,
|
|
15
15
|
l as F
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as e, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as h from "react";
|
|
3
3
|
import { c as j } from "./clsx-AexbMWKp.js";
|
|
4
|
-
import { B as x } from "./Button-
|
|
5
|
-
import { F as B } from "./FeedbackStatusIcon-
|
|
6
|
-
import { X as N } from "./x-
|
|
4
|
+
import { B as x } from "./Button-CaLOUTDO.js";
|
|
5
|
+
import { F as B } from "./FeedbackStatusIcon-X9Bjgeta.js";
|
|
6
|
+
import { X as N } from "./x-B9bYxG31.js";
|
|
7
7
|
import { u as b } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
8
8
|
import '../assets/InfoBanner.css';const v = "_infoBanner_1oj11_1", S = "_success_1oj11_11", w = "_info_1oj11_1", C = "_important_1oj11_21", F = "_warning_1oj11_26", I = "_content_1oj11_40", z = "_heading_1oj11_46", O = "_text_1oj11_51", k = "_icon_1oj11_57", y = "_dismissable_1oj11_66", s = {
|
|
9
9
|
infoBanner: v,
|
|
@@ -4,8 +4,8 @@ import s from "react";
|
|
|
4
4
|
import { c as f } from "./clsx-AexbMWKp.js";
|
|
5
5
|
import { DialogTrigger as v, Label as d } from "react-aria-components";
|
|
6
6
|
import { P as g } from "./Popover-BcEtFiU1.js";
|
|
7
|
-
import { B as u } from "./Button-
|
|
8
|
-
import { I as P } from "./info-
|
|
7
|
+
import { B as u } from "./Button-CaLOUTDO.js";
|
|
8
|
+
import { I as P } from "./info-N5jWZg2A.js";
|
|
9
9
|
import { u as _ } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
10
10
|
import '../assets/Label.css';const I = "_labelBase_f5wtf_1", x = {
|
|
11
11
|
labelBase: I
|
|
@@ -4,14 +4,14 @@ import * as N from "react";
|
|
|
4
4
|
import { useState as G, useEffect as W } from "react";
|
|
5
5
|
import { c as u } from "./clsx-AexbMWKp.js";
|
|
6
6
|
import { Link as L, RouterProvider as O } from "react-aria-components";
|
|
7
|
-
import { B as M } from "./Button-
|
|
7
|
+
import { B as M } from "./Button-CaLOUTDO.js";
|
|
8
8
|
import { a as j, T as D } from "./Tooltip-rDmOkGmX.js";
|
|
9
9
|
import { a as y, B as I } from "./BadgeContainer-CKVsfTlF.js";
|
|
10
|
-
import { c as E } from "./createLucideIcon-
|
|
10
|
+
import { c as E } from "./createLucideIcon-CP-mMPfa.js";
|
|
11
11
|
import { u as C } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
12
12
|
import { variables as q } from "@midas-ds/theme";
|
|
13
|
-
import { L as g } from "./Logo-
|
|
14
|
-
import { X as A } from "./x-
|
|
13
|
+
import { L as g } from "./Logo-CCxPAmgw.js";
|
|
14
|
+
import { X as A } from "./x-B9bYxG31.js";
|
|
15
15
|
import '../assets/Layout.css';const R = [
|
|
16
16
|
["path", { d: "M4 5h16", key: "1tepv9" }],
|
|
17
17
|
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as r, jsxs as u, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { Link as p } from "react-aria-components";
|
|
3
|
+
import { c as h } from "./clsx-AexbMWKp.js";
|
|
4
|
+
import { c as k } from "./createLucideIcon-CP-mMPfa.js";
|
|
5
|
+
import { S as g } from "./square-arrow-out-up-right-x_I6wdNi.js";
|
|
6
|
+
import { A as w } from "./arrow-right-BVcFGZmy.js";
|
|
7
|
+
import '../assets/Link.css';const L = [
|
|
8
|
+
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
9
|
+
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
10
|
+
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
11
|
+
], x = k("arrow-down-to-line", L), v = "_link_u43gv_1", y = "_icon_u43gv_51", A = "_standalone_u43gv_55", j = "_stretched_u43gv_72", o = {
|
|
12
|
+
link: v,
|
|
13
|
+
icon: y,
|
|
14
|
+
standalone: A,
|
|
15
|
+
stretched: j
|
|
16
|
+
}, C = ({
|
|
17
|
+
children: t,
|
|
18
|
+
standalone: n,
|
|
19
|
+
target: e,
|
|
20
|
+
stretched: s,
|
|
21
|
+
download: a,
|
|
22
|
+
icon: c,
|
|
23
|
+
className: l,
|
|
24
|
+
as: m,
|
|
25
|
+
...d
|
|
26
|
+
}) => {
|
|
27
|
+
const _ = m || p, i = c || (a ? x : e === "_blank" ? g : n ? w : null);
|
|
28
|
+
return /* @__PURE__ */ r(
|
|
29
|
+
_,
|
|
30
|
+
{
|
|
31
|
+
className: h(
|
|
32
|
+
o.link,
|
|
33
|
+
n && o.standalone,
|
|
34
|
+
s && o.stretched,
|
|
35
|
+
l
|
|
36
|
+
),
|
|
37
|
+
...d,
|
|
38
|
+
target: e,
|
|
39
|
+
children: /* @__PURE__ */ u(f, { children: [
|
|
40
|
+
t,
|
|
41
|
+
i ? /* @__PURE__ */ r(
|
|
42
|
+
I,
|
|
43
|
+
{
|
|
44
|
+
className: o.icon,
|
|
45
|
+
icon: i,
|
|
46
|
+
size: 16
|
|
47
|
+
}
|
|
48
|
+
) : null
|
|
49
|
+
] })
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}, I = ({
|
|
53
|
+
icon: t,
|
|
54
|
+
...n
|
|
55
|
+
}) => /* @__PURE__ */ r(t, { ...n });
|
|
56
|
+
export {
|
|
57
|
+
C as L
|
|
58
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as f, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { Link as u } from "react-aria-components";
|
|
3
|
+
import { c as j } from "./clsx-AexbMWKp.js";
|
|
4
|
+
import { S as y } from "./square-arrow-out-up-right-x_I6wdNi.js";
|
|
5
|
+
import { c as p } from "./createLucideIcon-CP-mMPfa.js";
|
|
6
|
+
import { A as g } from "./arrow-right-BVcFGZmy.js";
|
|
7
|
+
import '../assets/LinkButton.css';const h = [
|
|
8
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
9
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
10
|
+
], k = p("arrow-left", h), B = "_linkButton_138jj_1", L = "_secondary_138jj_56", w = "_icon_138jj_61", x = "_tertiary_138jj_98", A = "_danger_138jj_124", I = "_iconBtn_138jj_141", N = "_medium_138jj_163", z = "_iconLeft_138jj_168", R = "_fullwidth_138jj_172", t = {
|
|
11
|
+
linkButton: B,
|
|
12
|
+
secondary: L,
|
|
13
|
+
icon: w,
|
|
14
|
+
tertiary: x,
|
|
15
|
+
danger: A,
|
|
16
|
+
iconBtn: I,
|
|
17
|
+
medium: N,
|
|
18
|
+
iconLeft: z,
|
|
19
|
+
fullwidth: R
|
|
20
|
+
}, D = ({
|
|
21
|
+
children: o,
|
|
22
|
+
variant: n,
|
|
23
|
+
fullwidth: s,
|
|
24
|
+
icon: r,
|
|
25
|
+
iconPlacement: e,
|
|
26
|
+
className: _,
|
|
27
|
+
as: m,
|
|
28
|
+
size: a = "large",
|
|
29
|
+
...i
|
|
30
|
+
}) => {
|
|
31
|
+
const d = m || u, l = r || (i.target === "_blank" ? y : e === "left" ? k : g);
|
|
32
|
+
return /* @__PURE__ */ f(
|
|
33
|
+
d,
|
|
34
|
+
{
|
|
35
|
+
className: j(
|
|
36
|
+
t.linkButton,
|
|
37
|
+
n === "primary" && t.primary,
|
|
38
|
+
n === "secondary" && t.secondary,
|
|
39
|
+
n === "tertiary" && t.tertiary,
|
|
40
|
+
n === "danger" && t.danger,
|
|
41
|
+
n === "icon" && t.iconBtn,
|
|
42
|
+
a === "medium" && t.medium,
|
|
43
|
+
s && t.fullwidth,
|
|
44
|
+
e === "left" && t.iconLeft,
|
|
45
|
+
_
|
|
46
|
+
),
|
|
47
|
+
...i,
|
|
48
|
+
children: [
|
|
49
|
+
o,
|
|
50
|
+
/* @__PURE__ */ c(
|
|
51
|
+
S,
|
|
52
|
+
{
|
|
53
|
+
className: t.icon,
|
|
54
|
+
icon: l,
|
|
55
|
+
size: 20
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}, S = ({
|
|
62
|
+
icon: o,
|
|
63
|
+
...n
|
|
64
|
+
}) => /* @__PURE__ */ c(o, { ...n });
|
|
65
|
+
export {
|
|
66
|
+
D as L
|
|
67
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as m, Fragment as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as e } from "./clsx-AexbMWKp.js";
|
|
3
3
|
import { s as a } from "./ListBox-D5BBeZWL.js";
|
|
4
4
|
import { ListBoxLoadMoreItem as l } from "react-aria-components";
|
|
5
|
-
import { S as c } from "./Spinner-
|
|
5
|
+
import { S as c } from "./Spinner-CfKMn18u.js";
|
|
6
6
|
import { u as L } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
7
7
|
const S = ({ className: t, children: s, ...r }) => /* @__PURE__ */ o(
|
|
8
8
|
"button",
|