@midas-ds/layout 0.0.14 → 0.0.16
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 +10 -0
- package/assets/Button.css +1 -1
- package/assets/NavigationSubMenu.css +1 -1
- package/chunks/{Button-7IYEsEeT.js → Button-CCH8cWvV.js} +59 -59
- package/chunks/{Header-DjegZbd1.js → Header-DwXIrGCD.js} +1 -1
- package/chunks/{NavigationSubMenu-CpS-A3-h.js → NavigationSubMenu-6PJ0fOjF.js} +5 -5
- package/chunks/{Panel-FbEePT8O.js → Panel-C1cbU0dG.js} +1 -1
- package/header/index.js +1 -1
- package/index.js +3 -3
- package/navigation/index.js +1 -1
- package/package.json +2 -2
- package/panel/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.0.16 (2026-03-18)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated components to 17.8.3
|
|
6
|
+
|
|
7
|
+
## 0.0.15 (2026-03-17)
|
|
8
|
+
|
|
9
|
+
This was a version bump only for layout to align it with other projects, there were no code changes.
|
|
10
|
+
|
|
1
11
|
## 0.0.14 (2026-03-16)
|
|
2
12
|
|
|
3
13
|
### 🧱 Updated Dependencies
|
package/assets/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._container_1qexx_1{display:inline-flex}._spinner_1qexx_5{animation:_rotating_1qexx_1 1s linear infinite;stroke-linecap:square}@media(prefers-reduced-motion){._spinner_1qexx_5{animation-duration:2s}}@media(forced-colors:active){._spinner_1qexx_5{color:CanvasText}}._large_1qexx_18{color:var(--midas-icon-tertiary)}@keyframes _rotating_1qexx_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.
|
|
1
|
+
._container_1qexx_1{display:inline-flex}._spinner_1qexx_5{animation:_rotating_1qexx_1 1s linear infinite;stroke-linecap:square}@media(prefers-reduced-motion){._spinner_1qexx_5{animation-duration:2s}}@media(forced-colors:active){._spinner_1qexx_5{color:CanvasText}}._large_1qexx_18{color:var(--midas-icon-tertiary)}@keyframes _rotating_1qexx_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._button_1woxv_1{--border-width: 1px;font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-30);font-weight:500;padding:calc(var(--midas-space-70) - var(--border-width)) calc(var(--midas-space-large) - var(--border-width));line-height:var(--midas-typography-line-height-30);background-color:var(--midas-button-background-primary-base);border:solid var(--border-width) transparent;color:var(--midas-text-on-color);cursor:pointer;opacity:1;outline:none;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--midas-space-small)}._button_1woxv_1[data-focus-visible],._button_1woxv_1:focus-visible{box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._button_1woxv_1[data-focus-visible],._button_1woxv_1:focus-visible{outline:3px solid highlight;outline-offset:2px}}._button_1woxv_1[data-hovered]{background-color:var(--midas-button-background-primary-hover)}._button_1woxv_1[data-pressed]:not([aria-expanded=true],[aria-haspopup=true]){background-color:var(--midas-button-background-primary-active);outline:none}._button_1woxv_1[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-button-background-disabled)}._secondary_1woxv_48{color:var(--midas-text-tertiary);background-color:var(--midas-button-background-secondary-base);border-color:var(--midas-button-border-secondary);opacity:1}._secondary_1woxv_48[data-hovered]{background-color:var(--midas-button-background-secondary-hover)}._secondary_1woxv_48[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-button-background-disabled);border-color:var(--midas-border-color-disabled)}._secondary_1woxv_48[data-pressed]:not([aria-expanded=true],[aria-haspopup=true]){background-color:var(--midas-button-background-secondary-active);border-color:var(--midas-text-tertiary)}._tertiary_1woxv_71{color:var(--midas-text-tertiary);background-color:transparent;opacity:1}._tertiary_1woxv_71[data-hovered]{background-color:var(--midas-button-background-tertiary-hover)}._tertiary_1woxv_71[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:transparent}._tertiary_1woxv_71[data-pressed]:not([aria-expanded=true],[aria-haspopup=true]){background-color:var(--midas-button-background-tertiary-active)}._iconBtn_1woxv_91{background-color:transparent;padding:calc(var(--midas-space-70) - var(--border-width));color:var(--midas-icon-primary);display:flex;align-items:center}._iconBtn_1woxv_91[data-hovered]{background-color:var(--midas-button-icon-hover)}._iconBtn_1woxv_91[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed}._iconBtn_1woxv_91[data-pressed]:not([aria-expanded=true],[aria-haspopup=true]){background-color:var(--midas-button-icon-active)}._iconBtn_1woxv_91._medium_1woxv_111{padding:calc(var(--midas-space-50) - var(--border-width))}._danger_1woxv_116{color:var(--midas-color-white-base);background-color:var(--midas-button-background-danger-base);opacity:1}._danger_1woxv_116[data-hovered]{color:var(--midas-color-white-base);background-color:var(--midas-button-background-danger-hover)}._danger_1woxv_116[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-button-background-disabled)}._danger_1woxv_116[data-pressed]:not([aria-expanded=true],[aria-haspopup=true]){background-color:var(--midas-button-background-danger-active);outline:none}._iconRight_1woxv_138{flex-direction:row-reverse}._fullwidth_1woxv_142{width:100%}._medium_1woxv_111{padding:calc(var(--midas-space-50) - var(--border-width)) calc(var(--midas-space-medium) - var(--border-width))}@media(forced-colors:active){._primary_1woxv_152{border-width:2px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_exq12_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-20);padding:var(--midas-space-xsmall) var(--midas-space-small);color:var(--midas-text-inverse);background-color:var(--midas-background-inverse);max-width:150px;outline:none;transform:translateZ(0);transition:transform var(--midas-transition-duration-fast),opacity var(--midas-transition-duration-fast)}@media(forced-colors:active){._tooltip_exq12_1{border:1px solid}}._tooltip_exq12_1 ._arrow_exq12_18 svg{display:block;fill:var(--midas-background-inverse)}@media(forced-colors:active){._tooltip_exq12_1 ._arrow_exq12_18 svg{fill:currentColor}}._tooltip_exq12_1[data-entering],._tooltip_exq12_1[data-exiting]{transform:var(--origin);opacity:0}._tooltip_exq12_1[data-placement=top]{margin-bottom:var(--midas-space-small);--origin: translateY(4px)}._tooltip_exq12_1[data-placement=bottom]{margin-top:var(--midas-space-small);--origin: translateY(-4px)}._tooltip_exq12_1[data-placement=bottom] ._arrow_exq12_18 svg{transform:rotate(180deg)}._tooltip_exq12_1[data-placement=right]{margin-left:var(--midas-space-small);--origin: translateX(-4px)}._tooltip_exq12_1[data-placement=right] ._arrow_exq12_18 svg{transform:rotate(90deg)}._tooltip_exq12_1[data-placement=left]{margin-right:var(--midas-space-small);--origin: translateX(4px)}._tooltip_exq12_1[data-placement=left] ._arrow_exq12_18 svg{transform:rotate(-90deg)}@media(prefers-reduced-motion){._tooltip_exq12_1{transition:none}}._rootList_l3v98_1{margin:0;padding:0}._navigationHeader_j94pq_1{color:var(--midas-text-secondary);font-size:var(--midas-typography-font-size-20);padding:var(--midas-spacing-30)}._navigationHeader_j94pq_1._collapsed_j94pq_6{display:none}._navigationItem_1jt2l_1{list-style:none}._navigationLink_tfdcf_1{align-items:center;align-self:stretch;border-left:var(--midas-size-10) solid transparent;color:var(--midas-text-primary);display:flex;flex-direction:column;flex:1 0 0%;font-family:var(--midas-typography-font-family);gap:var(--midas-spacing-30);justify-content:flex-end;padding:var(--midas-spacing-50);text-decoration:none}._navigationLink_tfdcf_1[data-hovered],._navigationLink_tfdcf_1:hover,._navigationLink_tfdcf_1[data-active]{background-color:var(--midas-menu-item-background-hover)}._navigationLink_tfdcf_1._collapse_tfdcf_21{flex-direction:row;justify-content:flex-start;padding:.625rem var(--midas-spacing-30)}._navigationLink_tfdcf_1._collapse_tfdcf_21[data-active]{border-color:var(--midas-border-color-tertiary);font-weight:var(--midas-typography-weight-bold)}._navigationLink_tfdcf_1 svg{height:var(--midas-size-90);width:var(--midas-size-90)}._navigationLink_tfdcf_1._collapsed_tfdcf_37{justify-content:center}._navigationLink_tfdcf_1._collapsed_tfdcf_37 ._title_tfdcf_40{display:none}._navigationSection_1ae77_1{padding:0;margin:0 0 1rem}._navigationSection_1ae77_1._collapsed_1ae77_5{margin-bottom:0}._navigationSubMenu_vfyl6_1{padding:0;margin:0 0 1rem 1rem}._navigationSubMenu_vfyl6_1._collapsed_vfyl6_5{margin-left:0}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as v, jsx as c, Fragment as b } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as f, createElement as _, useMemo as k } from "react";
|
|
4
|
-
import { useLocale as
|
|
4
|
+
import { useLocale as A, useContextProps as N, ButtonContext as P, Button as z, composeRenderProps as S } from "react-aria-components";
|
|
5
5
|
import { c as h } from "./Text-B18MZHuN.js";
|
|
6
|
-
import { VisuallyHidden as
|
|
7
|
-
import { LocalizedStringFormatter as
|
|
8
|
-
import '../assets/Button.css';const
|
|
9
|
-
container:
|
|
10
|
-
spinner:
|
|
11
|
-
large:
|
|
6
|
+
import { VisuallyHidden as W } from "react-aria";
|
|
7
|
+
import { LocalizedStringFormatter as R, LocalizedStringDictionary as $ } from "@internationalized/string";
|
|
8
|
+
import '../assets/Button.css';const j = "_container_1qexx_1", D = "_spinner_1qexx_5", F = "_large_1qexx_18", g = {
|
|
9
|
+
container: j,
|
|
10
|
+
spinner: D,
|
|
11
|
+
large: F
|
|
12
12
|
};
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
13
|
+
const C = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
|
|
14
|
+
const E = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
15
|
+
const U = (e) => e.replace(
|
|
16
16
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
17
|
-
(t,
|
|
17
|
+
(t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
|
|
18
18
|
);
|
|
19
19
|
const w = (e) => {
|
|
20
|
-
const t =
|
|
20
|
+
const t = U(e);
|
|
21
21
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
22
22
|
};
|
|
23
|
-
var
|
|
23
|
+
var q = {
|
|
24
24
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25
25
|
width: 24,
|
|
26
26
|
height: 24,
|
|
@@ -41,50 +41,50 @@ const M = f(
|
|
|
41
41
|
({
|
|
42
42
|
color: e = "currentColor",
|
|
43
43
|
size: t = 24,
|
|
44
|
-
strokeWidth:
|
|
44
|
+
strokeWidth: o = 2,
|
|
45
45
|
absoluteStrokeWidth: r,
|
|
46
46
|
className: i = "",
|
|
47
47
|
children: a,
|
|
48
48
|
iconNode: l,
|
|
49
49
|
...d
|
|
50
|
-
},
|
|
50
|
+
}, m) => _(
|
|
51
51
|
"svg",
|
|
52
52
|
{
|
|
53
|
-
ref:
|
|
54
|
-
...
|
|
53
|
+
ref: m,
|
|
54
|
+
...q,
|
|
55
55
|
width: t,
|
|
56
56
|
height: t,
|
|
57
57
|
stroke: e,
|
|
58
|
-
strokeWidth: r ? Number(
|
|
59
|
-
className:
|
|
58
|
+
strokeWidth: r ? Number(o) * 24 / Number(t) : o,
|
|
59
|
+
className: C("lucide", i),
|
|
60
60
|
...!a && !I(d) && { "aria-hidden": "true" },
|
|
61
61
|
...d
|
|
62
62
|
},
|
|
63
63
|
[
|
|
64
|
-
...l.map(([
|
|
64
|
+
...l.map(([u, p]) => _(u, p)),
|
|
65
65
|
...Array.isArray(a) ? a : [a]
|
|
66
66
|
]
|
|
67
67
|
)
|
|
68
68
|
);
|
|
69
69
|
const G = (e, t) => {
|
|
70
|
-
const
|
|
70
|
+
const o = f(
|
|
71
71
|
({ className: r, ...i }, a) => _(M, {
|
|
72
72
|
ref: a,
|
|
73
73
|
iconNode: t,
|
|
74
|
-
className:
|
|
75
|
-
`lucide-${
|
|
74
|
+
className: C(
|
|
75
|
+
`lucide-${E(w(e))}`,
|
|
76
76
|
`lucide-${e}`,
|
|
77
77
|
r
|
|
78
78
|
),
|
|
79
79
|
...i
|
|
80
80
|
})
|
|
81
81
|
);
|
|
82
|
-
return
|
|
82
|
+
return o.displayName = w(e), o;
|
|
83
83
|
};
|
|
84
|
-
const Z = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], H = G("loader-circle", Z), y = "sv",
|
|
84
|
+
const Z = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], H = G("loader-circle", Z), y = "sv", x = /* @__PURE__ */ new WeakMap();
|
|
85
85
|
function K(e) {
|
|
86
|
-
let t =
|
|
87
|
-
return t || (t = new
|
|
86
|
+
let t = x.get(e);
|
|
87
|
+
return t || (t = new $(e, y), x.set(e, t)), t;
|
|
88
88
|
}
|
|
89
89
|
function O(e, t) {
|
|
90
90
|
return K(e);
|
|
@@ -94,10 +94,10 @@ function T(e, t) {
|
|
|
94
94
|
throw new Error(
|
|
95
95
|
`useLocalizedStringFormatter: Default language "${y}" must be defined in dictionary.`
|
|
96
96
|
);
|
|
97
|
-
const { locale:
|
|
97
|
+
const { locale: o } = A(), r = O(e);
|
|
98
98
|
return k(
|
|
99
|
-
() => new
|
|
100
|
-
[r,
|
|
99
|
+
() => new R(o, r),
|
|
100
|
+
[r, o]
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
const V = { loadingPleaseWait: "Loading, please wait..." }, J = { loadingPleaseWait: "Laddar, vänligen vänta..." }, Q = {
|
|
@@ -106,13 +106,13 @@ const V = { loadingPleaseWait: "Loading, please wait..." }, J = { loadingPleaseW
|
|
|
106
106
|
}, X = ({
|
|
107
107
|
small: e,
|
|
108
108
|
color: t,
|
|
109
|
-
className:
|
|
109
|
+
className: o
|
|
110
110
|
}) => {
|
|
111
111
|
const r = T(Q);
|
|
112
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ v(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
|
-
className: h(g.container,
|
|
115
|
+
className: h(g.container, o),
|
|
116
116
|
role: "status",
|
|
117
117
|
children: [
|
|
118
118
|
/* @__PURE__ */ c(
|
|
@@ -125,60 +125,60 @@ const V = { loadingPleaseWait: "Loading, please wait..." }, J = { loadingPleaseW
|
|
|
125
125
|
color: t
|
|
126
126
|
}
|
|
127
127
|
),
|
|
128
|
-
/* @__PURE__ */ c(
|
|
128
|
+
/* @__PURE__ */ c(W, { children: r.format("loadingPleaseWait") })
|
|
129
129
|
]
|
|
130
130
|
}
|
|
131
131
|
);
|
|
132
|
-
}, Y = "
|
|
132
|
+
}, Y = "_button_1woxv_1", ee = "_secondary_1woxv_48", te = "_tertiary_1woxv_71", oe = "_iconBtn_1woxv_91", re = "_medium_1woxv_111", ne = "_danger_1woxv_116", ae = "_iconRight_1woxv_138", ie = "_fullwidth_1woxv_142", se = "_primary_1woxv_152", n = {
|
|
133
133
|
button: Y,
|
|
134
134
|
secondary: ee,
|
|
135
135
|
tertiary: te,
|
|
136
|
-
iconBtn:
|
|
136
|
+
iconBtn: oe,
|
|
137
137
|
medium: re,
|
|
138
|
-
danger:
|
|
138
|
+
danger: ne,
|
|
139
139
|
iconRight: ae,
|
|
140
140
|
fullwidth: ie,
|
|
141
141
|
primary: se
|
|
142
142
|
}, ce = f(
|
|
143
143
|
(e, t) => {
|
|
144
|
-
const [
|
|
144
|
+
const [o, r] = N(e, t, P), {
|
|
145
145
|
className: i,
|
|
146
146
|
fullwidth: a,
|
|
147
147
|
icon: l,
|
|
148
148
|
iconPlacement: d,
|
|
149
|
-
iconSize:
|
|
150
|
-
isPending:
|
|
149
|
+
iconSize: m,
|
|
150
|
+
isPending: u,
|
|
151
151
|
size: p = "large",
|
|
152
152
|
variant: s = "primary",
|
|
153
|
-
...
|
|
154
|
-
} =
|
|
153
|
+
...L
|
|
154
|
+
} = o;
|
|
155
155
|
return /* @__PURE__ */ c(
|
|
156
|
-
|
|
156
|
+
z,
|
|
157
157
|
{
|
|
158
158
|
className: h(
|
|
159
|
-
|
|
160
|
-
s === "primary" &&
|
|
161
|
-
s === "secondary" &&
|
|
162
|
-
s === "tertiary" &&
|
|
163
|
-
s === "danger" &&
|
|
164
|
-
s === "icon" &&
|
|
165
|
-
a &&
|
|
166
|
-
p === "medium" &&
|
|
167
|
-
d === "right" &&
|
|
159
|
+
n.button,
|
|
160
|
+
s === "primary" && n.primary,
|
|
161
|
+
s === "secondary" && n.secondary,
|
|
162
|
+
s === "tertiary" && n.tertiary,
|
|
163
|
+
s === "danger" && n.danger,
|
|
164
|
+
s === "icon" && n.iconBtn,
|
|
165
|
+
a && n.fullwidth,
|
|
166
|
+
p === "medium" && n.medium,
|
|
167
|
+
d === "right" && n.iconRight,
|
|
168
168
|
i
|
|
169
169
|
),
|
|
170
170
|
ref: r,
|
|
171
|
-
...
|
|
172
|
-
children:
|
|
173
|
-
l && !
|
|
171
|
+
...L,
|
|
172
|
+
children: S(o.children, (B) => /* @__PURE__ */ v(b, { children: [
|
|
173
|
+
l && !u && /* @__PURE__ */ c(
|
|
174
174
|
l,
|
|
175
175
|
{
|
|
176
176
|
"aria-hidden": !0,
|
|
177
|
-
size:
|
|
177
|
+
size: m ?? 20
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
u && /* @__PURE__ */ c(X, { small: !0 }),
|
|
181
|
+
B
|
|
182
182
|
] }))
|
|
183
183
|
}
|
|
184
184
|
);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as e, jsxs as l, Fragment as v } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as f, forwardRef as b } from "react";
|
|
4
4
|
import { composeRenderProps as d, DialogTrigger as y, ModalOverlay as M, Modal as w, Dialog as N } from "react-aria-components";
|
|
5
|
-
import { c as g, B as h } from "./Button-
|
|
5
|
+
import { c as g, B as h } from "./Button-CCH8cWvV.js";
|
|
6
6
|
import { useControlledState as x } from "@react-stately/utils";
|
|
7
7
|
import { u as m } from "./useIsMobileDevice-D0iMVFPx.js";
|
|
8
8
|
import { M as A } from "./MobileMenuContext-Coj0sJ0N.js";
|
|
@@ -3,11 +3,11 @@ import { jsx as t, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
|
3
3
|
import { TooltipTrigger as S, Tooltip as M, OverlayArrow as k, Collection as w, OverlayTriggerStateContext as j, Focusable as H, Link as I } from "react-aria-components";
|
|
4
4
|
import { useContext as i } from "react";
|
|
5
5
|
import { c, T as P } from "./Text-B18MZHuN.js";
|
|
6
|
-
import { C as d, P as
|
|
7
|
-
import { M as
|
|
6
|
+
import { C as d, P as q } from "./PanelContext-D6WQ7_yb.js";
|
|
7
|
+
import { M as O } from "./MobileMenuContext-Coj0sJ0N.js";
|
|
8
8
|
import { Collection as L } from "@react-aria/collections";
|
|
9
|
-
import '../assets/NavigationSubMenu.css';const
|
|
10
|
-
tooltip:
|
|
9
|
+
import '../assets/NavigationSubMenu.css';const D = "_tooltip_exq12_1", F = "_arrow_exq12_18", C = {
|
|
10
|
+
tooltip: D,
|
|
11
11
|
arrow: F
|
|
12
12
|
};
|
|
13
13
|
function A({ children: o, className: n, ...a }) {
|
|
@@ -113,7 +113,7 @@ const z = "_rootList_l3v98_1", E = {
|
|
|
113
113
|
"aria-label": r,
|
|
114
114
|
...l
|
|
115
115
|
}) => {
|
|
116
|
-
const { variant: m } = i(
|
|
116
|
+
const { variant: m } = i(q), b = i(O), { isCollapsed: _ } = i(d), u = i(j), T = o || I, f = () => {
|
|
117
117
|
u?.isOpen && u?.setOpen(!1);
|
|
118
118
|
};
|
|
119
119
|
return /* @__PURE__ */ g(B, { isDisabled: !_, children: [
|
|
@@ -5,7 +5,7 @@ import { c as d, T as $ } from "./Text-B18MZHuN.js";
|
|
|
5
5
|
import { useControlledState as _ } from "@react-stately/utils";
|
|
6
6
|
import { u as B } from "./useIsMobileDevice-D0iMVFPx.js";
|
|
7
7
|
import { forwardRef as y, useRef as M } from "react";
|
|
8
|
-
import { c as P, u, B as x } from "./Button-
|
|
8
|
+
import { c as P, u, B as x } from "./Button-CCH8cWvV.js";
|
|
9
9
|
import { useExitAnimation as z, useObjectRef as D, useEnterAnimation as E, filterDOMProps as H } from "@react-aria/utils";
|
|
10
10
|
import '../assets/Panel.css';const I = [
|
|
11
11
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
package/header/index.js
CHANGED
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { H as o, a as s, b as t, M as n } from "./chunks/Header-
|
|
1
|
+
import { H as o, a as s, b as t, M as n } from "./chunks/Header-DwXIrGCD.js";
|
|
2
2
|
import { L as r, a as l } from "./chunks/Layout-bfQkpzAm.js";
|
|
3
3
|
import { M as m } from "./chunks/Main-DcX_nPtP.js";
|
|
4
|
-
import { N as P, a as M, b as N, c as f, d as C, e as b } from "./chunks/NavigationSubMenu-
|
|
5
|
-
import { C as v, D as g, P as u, a as H, b as c, c as L } from "./chunks/Panel-
|
|
4
|
+
import { N as P, a as M, b as N, c as f, d as C, e as b } from "./chunks/NavigationSubMenu-6PJ0fOjF.js";
|
|
5
|
+
import { C as v, D as g, P as u, a as H, b as c, c as L } from "./chunks/Panel-C1cbU0dG.js";
|
|
6
6
|
import { C as A, P as D } from "./chunks/PanelContext-D6WQ7_yb.js";
|
|
7
7
|
import { N as k } from "./chunks/Navbar-wOOCcsru.js";
|
|
8
8
|
import { M as I } from "./chunks/MobileMenuContext-Coj0sJ0N.js";
|
package/navigation/index.js
CHANGED
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas Layout components",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "0.0.
|
|
17
|
+
"version": "0.0.16",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
"./*": "./*/index.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@midas-ds/components": "17.8.
|
|
39
|
+
"@midas-ds/components": "17.8.3"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/panel/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as l, D as s, P as n, a as P, b as o, c as t } from "../chunks/Panel-
|
|
1
|
+
import { C as l, D as s, P as n, a as P, b as o, c as t } from "../chunks/Panel-C1cbU0dG.js";
|
|
2
2
|
import { C as r, P as p } from "../chunks/PanelContext-D6WQ7_yb.js";
|
|
3
3
|
export {
|
|
4
4
|
l as CollapsePanel,
|