@midas-ds/layout 0.0.55 → 0.1.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 CHANGED
@@ -1,3 +1,38 @@
1
+ ## 0.1.0 (2026-04-22)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **layout,sidebar:** animate PanelTitle on collapse ([58f4491068a](https://github.com/migrationsverket/midas/commit/58f4491068a))
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **layout,sidebar:** remove deferred display transition to prevent end-of-animation jump ([63b910fa3d1](https://github.com/migrationsverket/midas/commit/63b910fa3d1))
10
+ - **layout,sidebar:** update tests to reflect in-DOM title animation ([136a2a9863e](https://github.com/migrationsverket/midas/commit/136a2a9863e))
11
+ - **layout,navigation:** animate nav label collapse in sidebar ([98018f0ae41](https://github.com/migrationsverket/midas/commit/98018f0ae41))
12
+ - **layout,sidebar:** prevent width shift when scrollbar appears ([a50f58c1b9f](https://github.com/migrationsverket/midas/commit/a50f58c1b9f))
13
+
14
+ ### 🔧 Maintenance
15
+
16
+ - **layout:** fix prettier formatting in NavigationLink.module.css ([22830c62173](https://github.com/migrationsverket/midas/commit/22830c62173))
17
+
18
+ ## 0.0.58 (2026-04-22)
19
+
20
+ ### 🧱 Updated Dependencies
21
+
22
+ - Updated components to 17.13.2
23
+
24
+ ## 0.0.57 (2026-04-22)
25
+
26
+ ### 🧱 Updated Dependencies
27
+
28
+ - Updated components to 17.13.1
29
+
30
+ ## 0.0.56 (2026-04-20)
31
+
32
+ ### 🧱 Updated Dependencies
33
+
34
+ - Updated components to 17.13.0
35
+
1
36
  ## 0.0.55 (2026-04-17)
2
37
 
3
38
  ### 🩹 Fixes
package/assets/Main.css CHANGED
@@ -1 +1 @@
1
- ._main_mhmrb_1{box-sizing:border-box;flex:1 1 auto;min-width:0;height:100%;overflow:hidden auto;padding:1rem}._main_mhmrb_1:focus-visible{box-shadow:var(--midas-state-focus-inset);outline:none}@media(forced-colors:active){._main_mhmrb_1:focus-visible{outline:var(--midas-state-focus-contrast-mode-outline) solid highlight;outline-offset:calc(var(--midas-state-focus-contrast-mode-outline) * -1)}}
1
+ ._main_ue6hm_1{box-sizing:border-box;flex:1 1 auto;min-width:0;height:100%;overflow:hidden auto;scrollbar-gutter:stable;padding:1rem}._main_ue6hm_1:focus-visible{box-shadow:var(--midas-state-focus-inset);outline:none}@media(forced-colors:active){._main_ue6hm_1:focus-visible{outline:var(--midas-state-focus-contrast-mode-outline) solid highlight;outline-offset:calc(var(--midas-state-focus-contrast-mode-outline) * -1)}}
@@ -1 +1 @@
1
- ._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_14vyt_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_14vyt_1[data-hovered],._navigationLink_14vyt_1:hover,._navigationLink_14vyt_1[data-active]{background-color:var(--midas-menu-item-background-hover)}._navigationLink_14vyt_1._sidebar_14vyt_21{flex-direction:row;justify-content:flex-start;padding:.625rem var(--midas-spacing-30)}._navigationLink_14vyt_1._sidebar_14vyt_21[data-active]{border-color:var(--midas-border-color-tertiary);font-weight:var(--midas-typography-weight-bold)}._navigationLink_14vyt_1 svg{height:var(--midas-size-90);width:var(--midas-size-90)}._navigationLink_14vyt_1._collapsed_14vyt_37{justify-content:center}._navigationLink_14vyt_1._collapsed_14vyt_37 ._title_14vyt_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
+ ._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_1787b_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_1787b_1[data-hovered],._navigationLink_1787b_1:hover,._navigationLink_1787b_1[data-active]{background-color:var(--midas-menu-item-background-hover)}._navigationLink_1787b_1._sidebar_1787b_21{align-items:flex-start;flex-direction:row;justify-content:flex-start;padding:.625rem var(--midas-spacing-30);transition:padding-inline-start var(--midas-transition-duration-fast) ease-out}._navigationLink_1787b_1._sidebar_1787b_21[data-active]{border-color:var(--midas-border-color-tertiary);font-weight:var(--midas-typography-weight-bold)}._navigationLink_1787b_1._sidebar_1787b_21._collapsed_1787b_34{padding-inline-start:calc((80px - 2 * var(--midas-space-small) - var(--midas-size-90)) / 2)}._navigationLink_1787b_1 svg{flex-shrink:0;height:var(--midas-size-90);width:var(--midas-size-90)}._navigationLink_1787b_1 ._title_1787b_49{display:block;height:auto;interpolate-size:allow-keywords;opacity:1;overflow:hidden;transition:display var(--midas-transition-duration-fast) allow-discrete,height var(--midas-transition-duration-fast) ease-out,opacity var(--midas-transition-duration-instant) ease-out}@starting-style{._navigationLink_1787b_1 ._title_1787b_49{height:0;opacity:0}}._navigationLink_1787b_1._collapsed_1787b_34 ._title_1787b_49{display:none;height:0;opacity:0}._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 +1 @@
1
- ._sidebar_6a190_1{background-color:var(--midas-background-base);border-right:1px solid var(--midas-border-color-subtle);transition:width var(--midas-transition-duration-fast) ease-out;width:15rem}._sidebar_6a190_1._collapsed_6a190_7{width:80px}@media(max-width:640px){._sidebar_6a190_1{display:none}}._sidebarHeader_6a190_16{gap:0}._sidebarHeader_6a190_16._collapsed_6a190_7{justify-content:center;padding:var(--midas-space-small)}._sidebarTitle_6a190_25{font-size:var(--midas-typography-font-size-20);display:block}._sidebarContent_6a190_30{padding:var(--midas-space-small)}
1
+ ._sidebar_c9frf_1{background-color:var(--midas-background-base);border-right:1px solid var(--midas-border-color-subtle);flex-shrink:0;transition:width var(--midas-transition-duration-fast) ease-out;width:15rem}._sidebar_c9frf_1._collapsed_c9frf_8{width:80px}@media(max-width:640px){._sidebar_c9frf_1{display:none}}._sidebarHeader_c9frf_17{gap:0}._sidebarHeader_c9frf_17._collapsed_c9frf_8{justify-content:center;padding:var(--midas-space-small)}._sidebarTitle_c9frf_26{display:block;font-size:var(--midas-typography-font-size-20);height:auto;interpolate-size:allow-keywords;opacity:1;overflow:hidden;transition:height var(--midas-transition-duration-fast) ease-out,opacity var(--midas-transition-duration-instant) ease-out}@starting-style{._sidebarTitle_c9frf_26{height:0;opacity:0}}._sidebarTitle_c9frf_26._collapsed_c9frf_8{display:none;height:0;opacity:0}._sidebarContent_c9frf_49{padding:var(--midas-space-small)}
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { c as n } from "./clsx-OuTLNxxd.js";
3
- import '../assets/Main.css';const i = "_main_mhmrb_1", o = {
3
+ import '../assets/Main.css';const i = "_main_ue6hm_1", o = {
4
4
  main: i
5
5
  }, r = ({ className: m, ...s }) => /* @__PURE__ */ a(
6
6
  "main",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
+ import { jsx as n, jsxs as v } from "react/jsx-runtime";
3
3
  import { Collection as k, OverlayTriggerStateContext as M, Focusable as j, Link as H } from "react-aria-components";
4
4
  import { useContext as s } from "react";
5
5
  import { Text as I, clsx as S, TooltipTrigger as T, Tooltip as D } from "@midas-ds/components";
@@ -10,19 +10,19 @@ import { Collection as h } from "@react-aria/collections";
10
10
  import '../assets/NavigationSubMenu.css';const q = "_rootList_l3v98_1", w = {
11
11
  rootList: q
12
12
  }, io = ({
13
- className: n,
13
+ className: t,
14
14
  items: o,
15
15
  children: e,
16
16
  dependencies: i,
17
17
  idScope: c,
18
18
  addIdAndValue: a,
19
19
  ...l
20
- }) => /* @__PURE__ */ t(
20
+ }) => /* @__PURE__ */ n(
21
21
  "nav",
22
22
  {
23
- className: n,
23
+ className: t,
24
24
  ...l,
25
- children: /* @__PURE__ */ t("ul", { className: w.rootList, children: /* @__PURE__ */ t(
25
+ children: /* @__PURE__ */ n("ul", { className: w.rootList, children: /* @__PURE__ */ n(
26
26
  k,
27
27
  {
28
28
  items: o,
@@ -36,12 +36,12 @@ import '../assets/NavigationSubMenu.css';const q = "_rootList_l3v98_1", w = {
36
36
  ), E = "_navigationHeader_j94pq_1", P = "_collapsed_j94pq_6", f = {
37
37
  navigationHeader: E,
38
38
  collapsed: P
39
- }, A = ({ className: n, ...o }) => {
39
+ }, A = ({ className: t, ...o }) => {
40
40
  const e = s(r);
41
- return /* @__PURE__ */ t(
41
+ return /* @__PURE__ */ n(
42
42
  I,
43
43
  {
44
- className: S(n, f.navigationHeader, {
44
+ className: S(t, f.navigationHeader, {
45
45
  [f.collapsed]: e?.isCollapsed
46
46
  }),
47
47
  ...o
@@ -49,24 +49,24 @@ import '../assets/NavigationSubMenu.css';const q = "_rootList_l3v98_1", w = {
49
49
  );
50
50
  }, F = "_navigationItem_1jt2l_1", x = {
51
51
  navigationItem: F
52
- }, V = ({ className: n, ...o }) => {
52
+ }, V = ({ className: t, ...o }) => {
53
53
  const e = s(r);
54
- return /* @__PURE__ */ t(
54
+ return /* @__PURE__ */ n(
55
55
  "li",
56
56
  {
57
- className: m(n, x.navigationItem, {
57
+ className: m(t, x.navigationItem, {
58
58
  [x.collapsed]: e?.isCollapsed
59
59
  }),
60
60
  ...o
61
61
  }
62
62
  );
63
- }, z = "_navigationLink_14vyt_1", B = "_sidebar_14vyt_21", G = "_collapsed_14vyt_37", J = "_title_14vyt_40", p = {
63
+ }, z = "_navigationLink_1787b_1", B = "_sidebar_1787b_21", G = "_collapsed_1787b_34", J = "_title_1787b_49", p = {
64
64
  navigationLink: z,
65
65
  sidebar: B,
66
66
  collapsed: G,
67
67
  title: J
68
68
  }, ao = ({
69
- as: n,
69
+ as: t,
70
70
  children: o,
71
71
  className: e,
72
72
  isActive: i,
@@ -74,78 +74,78 @@ import '../assets/NavigationSubMenu.css';const q = "_rootList_l3v98_1", w = {
74
74
  "aria-label": a,
75
75
  ...l
76
76
  }) => {
77
- const L = s(O), u = s(r), v = u?.isCollapsed, C = s(M), $ = n || H, b = () => {
78
- C?.isOpen && C?.setOpen(!1);
77
+ const L = s(O), u = s(r), g = u?.isCollapsed, b = s(M), $ = t || H, C = () => {
78
+ b?.isOpen && b?.setOpen(!1);
79
79
  }, d = typeof o == "string" ? o : void 0;
80
80
  return !d && !a && process.env.NODE_ENV !== "production" && console.warn(
81
81
  "An 'aria-label' is required for <NavigationLink> elements with non plain text children"
82
- ), /* @__PURE__ */ _(T, { isDisabled: !v || !d && !a, children: [
83
- /* @__PURE__ */ t(j, { children: /* @__PURE__ */ _(
82
+ ), /* @__PURE__ */ v(T, { isDisabled: !g || !d && !a, children: [
83
+ /* @__PURE__ */ n(j, { children: /* @__PURE__ */ v(
84
84
  $,
85
85
  {
86
86
  "aria-current": i && "page",
87
- "aria-label": a || (v ? d : void 0),
87
+ "aria-label": a || (g ? d : void 0),
88
88
  className: S(e, p.navigationLink, {
89
89
  [p.sidebar]: u || L,
90
- [p.collapsed]: v
90
+ [p.collapsed]: g
91
91
  }),
92
92
  "data-active": i || void 0,
93
- ...n ? {
94
- onClick: (g) => {
95
- b(), l.onClick?.(g);
93
+ ...t ? {
94
+ onClick: (_) => {
95
+ C(), l.onClick?.(_);
96
96
  }
97
97
  } : {
98
- onPress: (g) => {
99
- b(), l.onPress?.(g);
98
+ onPress: (_) => {
99
+ C(), l.onPress?.(_);
100
100
  }
101
101
  },
102
102
  ...l,
103
103
  children: [
104
104
  c,
105
- /* @__PURE__ */ t("span", { className: p.title, children: o })
105
+ /* @__PURE__ */ n("span", { className: p.title, children: o })
106
106
  ]
107
107
  }
108
108
  ) }),
109
- /* @__PURE__ */ t(D, { placement: "right", children: d })
109
+ /* @__PURE__ */ n(D, { placement: "right", children: d })
110
110
  ] });
111
- }, K = "_navigationSection_1ae77_1", Q = "_collapsed_1ae77_5", y = {
111
+ }, K = "_navigationSection_1ae77_1", Q = "_collapsed_1ae77_5", N = {
112
112
  navigationSection: K,
113
113
  collapsed: Q
114
114
  }, so = ({
115
- className: n,
115
+ className: t,
116
116
  title: o,
117
117
  ...e
118
118
  }) => {
119
119
  const i = s(r);
120
- return /* @__PURE__ */ t(V, { children: /* @__PURE__ */ _(
120
+ return /* @__PURE__ */ n(V, { children: /* @__PURE__ */ v(
121
121
  "ul",
122
122
  {
123
- className: m(n, y.navigationSection, {
124
- [y.collapsed]: i?.isCollapsed
123
+ className: m(t, N.navigationSection, {
124
+ [N.collapsed]: i?.isCollapsed
125
125
  }),
126
126
  children: [
127
- o && /* @__PURE__ */ t(A, { children: o }),
128
- /* @__PURE__ */ t(h, { ...e })
127
+ o && /* @__PURE__ */ n(A, { children: o }),
128
+ /* @__PURE__ */ n(h, { ...e })
129
129
  ]
130
130
  }
131
131
  ) });
132
- }, R = "_navigationSubMenu_vfyl6_1", U = "_collapsed_vfyl6_5", N = {
132
+ }, R = "_navigationSubMenu_vfyl6_1", U = "_collapsed_vfyl6_5", y = {
133
133
  navigationSubMenu: R,
134
134
  collapsed: U
135
135
  }, lo = ({
136
- className: n,
136
+ className: t,
137
137
  children: o,
138
138
  items: e,
139
139
  ...i
140
140
  }) => {
141
141
  const c = s(r), { length: a } = Array.from(e || []);
142
- return typeof o == "function" && a === 0 ? null : /* @__PURE__ */ t(
142
+ return typeof o == "function" && a === 0 ? null : /* @__PURE__ */ n(
143
143
  "ul",
144
144
  {
145
- className: m(n, N.navigationSubMenu, {
146
- [N.collapsed]: c?.isCollapsed
145
+ className: m(t, y.navigationSubMenu, {
146
+ [y.collapsed]: c?.isCollapsed
147
147
  }),
148
- children: /* @__PURE__ */ t(
148
+ children: /* @__PURE__ */ n(
149
149
  h,
150
150
  {
151
151
  items: e,
@@ -1,68 +1,71 @@
1
1
  'use client';
2
- import { jsx as a, jsxs as i } from "react/jsx-runtime";
3
- import { c as l } from "./clsx-OuTLNxxd.js";
2
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
3
+ import { c as o } from "./clsx-OuTLNxxd.js";
4
4
  import { useLocalizedStringFormatter as h, Button as _ } from "@midas-ds/components";
5
5
  import { useControlledState as C } from "@react-stately/utils";
6
6
  import { filterDOMProps as x } from "@react-aria/utils";
7
7
  import { u as S } from "./useIsMobileDevice-D0iMVFPx.js";
8
8
  import { S as u } from "./SidebarContext-CoDRKR2m.js";
9
- import { c as n } from "./createLucideIcon-CP-mMPfa.js";
9
+ import { c as d } from "./createLucideIcon-CP-mMPfa.js";
10
10
  import { P as v, b as y, c as P, a as g } from "./PanelTitle-j0OTJVF9.js";
11
11
  import '../assets/Sidebar.css';const k = [
12
12
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
13
13
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
14
14
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
15
- ], M = n("panel-left-close", k);
15
+ ], M = d("panel-left-close", k);
16
16
  const N = [
17
17
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
18
18
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
19
19
  ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
20
- ], z = n("panel-left-open", N), H = { expandSidebar: "Expand sidebar", collapseSidebar: "Collapse sidebar" }, L = { expandSidebar: "Expandera sidopanel", collapseSidebar: "Minimera sidopanel" }, D = {
20
+ ], z = d("panel-left-open", N), H = { expandSidebar: "Expand sidebar", collapseSidebar: "Collapse sidebar" }, T = { expandSidebar: "Expandera sidopanel", collapseSidebar: "Minimera sidopanel" }, L = {
21
21
  en: H,
22
- sv: L
23
- }, I = "_sidebar_6a190_1", j = "_collapsed_6a190_7", q = "_sidebarHeader_6a190_16", w = "_sidebarContent_6a190_30", s = {
24
- sidebar: I,
25
- collapsed: j,
26
- sidebarHeader: q,
22
+ sv: T
23
+ }, D = "_sidebar_c9frf_1", I = "_collapsed_c9frf_8", j = "_sidebarHeader_c9frf_17", q = "_sidebarTitle_c9frf_26", w = "_sidebarContent_c9frf_49", s = {
24
+ sidebar: D,
25
+ collapsed: I,
26
+ sidebarHeader: j,
27
+ sidebarTitle: q,
27
28
  sidebarContent: w
28
- }, K = ({
29
- children: d,
29
+ }, Q = ({
30
+ children: n,
30
31
  className: c,
31
32
  title: t,
32
- ...o
33
+ ...r
33
34
  }) => {
34
- const r = h(D), p = S(), [e, m] = C(
35
- o.isCollapsed,
36
- o.defaultCollapsed || !1,
37
- o.onCollapseChange
38
- ), b = () => m((f) => !f);
39
- return p ? null : /* @__PURE__ */ a(u.Provider, { value: { isCollapsed: e }, children: /* @__PURE__ */ i(
35
+ const i = h(L), p = S(), [e, f] = C(
36
+ r.isCollapsed,
37
+ r.defaultCollapsed || !1,
38
+ r.onCollapseChange
39
+ ), m = () => f((b) => !b);
40
+ return p ? null : /* @__PURE__ */ a(u.Provider, { value: { isCollapsed: e }, children: /* @__PURE__ */ l(
40
41
  v,
41
42
  {
42
- className: l(c, s.sidebar, {
43
+ className: o(c, s.sidebar, {
43
44
  [s.collapsed]: e
44
45
  }),
45
- ...x(o),
46
+ ...x(r),
46
47
  children: [
47
- /* @__PURE__ */ i(
48
+ /* @__PURE__ */ l(
48
49
  y,
49
50
  {
50
- className: l(s.sidebarHeader, {
51
+ className: o(s.sidebarHeader, {
51
52
  [s.collapsed]: e
52
53
  }),
53
54
  children: [
54
- !e && t ? /* @__PURE__ */ a(
55
+ t ? /* @__PURE__ */ a(
55
56
  P,
56
57
  {
57
- className: s.panelTitle,
58
+ className: o(s.sidebarTitle, {
59
+ [s.collapsed]: e
60
+ }),
58
61
  title: t
59
62
  }
60
63
  ) : /* @__PURE__ */ a("div", {}),
61
64
  /* @__PURE__ */ a(
62
65
  _,
63
66
  {
64
- "aria-label": e ? r.format("expandSidebar") : r.format("collapseSidebar"),
65
- onPress: b,
67
+ "aria-label": e ? i.format("expandSidebar") : i.format("collapseSidebar"),
68
+ onPress: m,
66
69
  variant: "icon",
67
70
  size: e ? "large" : "medium",
68
71
  children: e ? /* @__PURE__ */ a(z, { size: 20 }) : /* @__PURE__ */ a(M, { size: 20 })
@@ -71,11 +74,11 @@ const N = [
71
74
  ]
72
75
  }
73
76
  ),
74
- /* @__PURE__ */ a(g, { className: s.sidebarContent, children: d })
77
+ /* @__PURE__ */ a(g, { className: s.sidebarContent, children: n })
75
78
  ]
76
79
  }
77
80
  ) });
78
81
  };
79
82
  export {
80
- K as S
83
+ Q as S
81
84
  };
package/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { H as o, a as t, b as n, M as r } from "./chunks/Header-Wswx-yQj.js";
2
2
  import { L as i, a as x } from "./chunks/LayoutContent-jW-93mu7.js";
3
- import { M as P } from "./chunks/Main-CM4QXTmL.js";
4
- import { N as b, a as d, b as f, c as p, d as M, e as N } from "./chunks/NavigationSubMenu-D3hvuVFG.js";
3
+ import { M as P } from "./chunks/Main-CyaHtpCj.js";
4
+ import { N as b, a as d, b as f, c as p, d as M, e as N } from "./chunks/NavigationSubMenu-DabVRyqI.js";
5
5
  import { P as v, a as g, b as c, c as H, u as S } from "./chunks/PanelRegion-D7EnJBY_.js";
6
- import { S as L } from "./chunks/Sidebar-C-d-jJbX.js";
6
+ import { S as L } from "./chunks/Sidebar-DDglufEI.js";
7
7
  import { S as A } from "./chunks/SidebarContext-CoDRKR2m.js";
8
8
  import { N as B } from "./chunks/Navbar-Do2dFMRr.js";
9
9
  import { M as R } from "./chunks/MobileMenuContext-Coj0sJ0N.js";
package/main/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as r } from "../chunks/Main-CM4QXTmL.js";
1
+ import { M as r } from "../chunks/Main-CyaHtpCj.js";
2
2
  export {
3
3
  r as Main
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N as n, a as o, b as t, c as e, d as N, e as g } from "../chunks/NavigationSubMenu-D3hvuVFG.js";
1
+ import { N as n, a as o, b as t, c as e, d as N, e as g } from "../chunks/NavigationSubMenu-DabVRyqI.js";
2
2
  export {
3
3
  n as Navigation,
4
4
  o as NavigationHeader,
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.55",
17
+ "version": "0.1.0",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -37,6 +37,6 @@
37
37
  "./*": "./*/index.js"
38
38
  },
39
39
  "dependencies": {
40
- "@midas-ds/components": "17.12.1"
40
+ "@midas-ds/components": "17.13.2"
41
41
  }
42
42
  }
package/sidebar/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as o } from "../chunks/Sidebar-C-d-jJbX.js";
1
+ import { S as o } from "../chunks/Sidebar-DDglufEI.js";
2
2
  import { S as t } from "../chunks/SidebarContext-CoDRKR2m.js";
3
3
  export {
4
4
  o as Sidebar,