@midas-ds/layout 0.2.55 → 0.2.57
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 +21 -0
- package/assets/header.css +1 -1
- package/chunks/{header-D4J0i_bA.js → header-BO5DIoH1.js} +7 -7
- package/chunks/{navigation-R9Acriur.js → navigation-CKee-RoL.js} +2 -6
- package/header/index.js +1 -2
- package/index.js +2 -2
- package/layout/index.js +1 -2
- package/main/index.js +1 -2
- package/navbar/index.js +1 -2
- package/navigation/index.js +1 -2
- package/package.json +2 -2
- package/panel/index.js +1 -2
- package/sidebar/index.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## 0.2.57 (2026-10-26)
|
|
2
|
+
|
|
3
|
+
### 🧪 Tests updated
|
|
4
|
+
|
|
5
|
+
- run the package tests nightly in real Chrome, Firefox and Edge ([#1421](https://github.com/migrationsverket/midas/pull/1421))
|
|
6
|
+
- run package tests in Firefox, WebKit and mobile emulation ([2616981547e](https://github.com/migrationsverket/midas/commit/2616981547e))
|
|
7
|
+
|
|
8
|
+
### 🧱 Updated Dependencies
|
|
9
|
+
|
|
10
|
+
- Updated components to 17.32.3
|
|
11
|
+
|
|
12
|
+
## 0.2.56 (2026-10-26)
|
|
13
|
+
|
|
14
|
+
### 🔧 Maintenance
|
|
15
|
+
|
|
16
|
+
- **deps:** install typescript 7 alongside 6 and clean up tsconfigs ([70bf5240642](https://github.com/migrationsverket/midas/commit/70bf5240642))
|
|
17
|
+
|
|
18
|
+
### 🧱 Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated components to 17.32.2
|
|
21
|
+
|
|
1
22
|
## 0.2.55 (2026-10-19)
|
|
2
23
|
|
|
3
24
|
### 🧱 Updated Dependencies
|
package/assets/header.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._headerActions_zpqnd_1{align-items:center;gap:0;margin-inline-start:auto;display:flex}._headerAction_dgfa1_1{color:var(--midas-text-primary);position:relative}@media (width<=768px){._label_dgfa1_7{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._headerAction_dgfa1_1{padding-inline:calc(var(--midas-space-50) - var(--border-width))}}._mobile_vwr3x_1{aspect-ratio:100/92;flex-shrink:0;height:2.25rem}@media (width>640px){._mobile_vwr3x_1{display:none}}._desktop_vwr3x_11{aspect-ratio:112/40;flex-shrink:0;height:2.5rem}@media (width<=640px){._desktop_vwr3x_11{display:none}}._headerTitle_cw9hi_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-30);font-weight:var(--midas-typography-weight-semi-bold);line-height:var(--midas-typography-line-height-50);color:var(--midas-text-primary);white-space:nowrap;margin-inline-start:var(--midas-space-medium);padding-inline-end:var(--midas-space-medium)}.
|
|
1
|
+
._headerActions_zpqnd_1{align-items:center;gap:0;margin-inline-start:auto;display:flex}._headerAction_dgfa1_1{color:var(--midas-text-primary);position:relative}@media (width<=768px){._label_dgfa1_7{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._headerAction_dgfa1_1{padding-inline:calc(var(--midas-space-50) - var(--border-width))}}._mobile_vwr3x_1{aspect-ratio:100/92;flex-shrink:0;height:2.25rem}@media (width>640px){._mobile_vwr3x_1{display:none}}._desktop_vwr3x_11{aspect-ratio:112/40;flex-shrink:0;height:2.5rem}@media (width<=640px){._desktop_vwr3x_11{display:none}}._headerTitle_cw9hi_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-30);font-weight:var(--midas-typography-weight-semi-bold);line-height:var(--midas-typography-line-height-50);color:var(--midas-text-primary);white-space:nowrap;margin-inline-start:var(--midas-space-medium);padding-inline-end:var(--midas-space-medium)}._triggerButton_3t5en_1{margin-inline-start:calc(-1 * var(--midas-space-50))}._overlay_3t5en_5{display:block}._overlay_3t5en_5[data-entering]{animation:_drawer-blur_3t5en_1 var(--midas-transition-duration-quick)}._overlay_3t5en_5[data-exiting]{animation:_drawer-blur_3t5en_1 var(--midas-transition-duration-quick) reverse var(--midas-transition-timing-ease-in)}@media (prefers-reduced-motion){._overlay_3t5en_5[data-entering],._overlay_3t5en_5[data-exiting]{animation:none}}._drawer_3t5en_25{background-color:var(--midas-background-base);border-right:1px solid var(--midas-border-color-subtle);outline:none;width:clamp(10rem,15rem,90%);height:calc(100dvh + 200px);margin-right:auto;position:sticky;top:-100px;left:0;overflow-y:auto;box-shadow:-8px 0 20px #0000001a}._drawer_3t5en_25[data-entering]{animation:_drawer-slide_3t5en_1 var(--midas-transition-duration-quick)}._drawer_3t5en_25[data-exiting]{animation:_drawer-slide_3t5en_1 var(--midas-transition-duration-quick) reverse var(--midas-transition-timing-ease-in)}@media (prefers-reduced-motion){._drawer_3t5en_25[data-entering],._drawer_3t5en_25[data-exiting]{animation:none}}._dialog_3t5en_57:focus-visible{outline:none}._header_3t5en_63{background-color:var(--midas-background-base);margin-bottom:var(--midas-space-medium);padding:var(--midas-space-medium);display:block;position:sticky;top:0}@keyframes _drawer-blur_3t5en_1{0%{-webkit-backdrop-filter:blur();backdrop-filter:blur();background:0 0}to{background:var(--midas-overlay-background);-webkit-backdrop-filter:var(--midas-overlay-blur);backdrop-filter:var(--midas-overlay-blur)}}@keyframes _drawer-slide_3t5en_1{0%{transform:translate(-100%)}to{transform:translate(0)}}._header_s0sjn_1{background-color:var(--midas-background-base);border-bottom:1px solid var(--midas-border-color-subtle);min-height:4.5rem;padding-inline:var(--midas-space-medium);align-items:center;display:flex}
|
|
@@ -44,13 +44,13 @@ var S = {
|
|
|
44
44
|
en: { openMenu: "Open menu" },
|
|
45
45
|
sv: { openMenu: "Öppna meny" }
|
|
46
46
|
}, O = {
|
|
47
|
-
triggerButton: "
|
|
48
|
-
overlay: "
|
|
49
|
-
"drawer-blur": "_drawer-
|
|
50
|
-
drawer: "
|
|
51
|
-
"drawer-slide": "_drawer-
|
|
52
|
-
dialog: "
|
|
53
|
-
header: "
|
|
47
|
+
triggerButton: "_triggerButton_3t5en_1",
|
|
48
|
+
overlay: "_overlay_3t5en_5",
|
|
49
|
+
"drawer-blur": "_drawer-blur_3t5en_1",
|
|
50
|
+
drawer: "_drawer_3t5en_25",
|
|
51
|
+
"drawer-slide": "_drawer-slide_3t5en_1",
|
|
52
|
+
dialog: "_dialog_3t5en_57",
|
|
53
|
+
header: "_header_3t5en_63"
|
|
54
54
|
}, k = ({ children: t, className: n, defaultOpen: a, isOpen: o, onOpenChange: f, title: v, ...y }) => {
|
|
55
55
|
let b = e(), x = g(D);
|
|
56
56
|
return b ? /* @__PURE__ */ r(E.Provider, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { r as e } from "./header-
|
|
2
|
+
import { r as e } from "./header-BO5DIoH1.js";
|
|
3
3
|
import { n as t } from "./sidebar-D5GGUdTv.js";
|
|
4
4
|
import { n } from "./navbar-BVgnjg2G.js";
|
|
5
5
|
import r from "clsx";
|
|
@@ -61,11 +61,7 @@ import '../assets/navigation.css';var h = { rootList: "_rootList_l3v98_1" }, g =
|
|
|
61
61
|
...r ? {
|
|
62
62
|
tabIndex: g ? -1 : void 0,
|
|
63
63
|
onClick: (e) => {
|
|
64
|
-
|
|
65
|
-
e.preventDefault();
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
D(), y.onClick?.(e);
|
|
64
|
+
g ? e.preventDefault() : (D(), y.onClick?.(e));
|
|
69
65
|
}
|
|
70
66
|
} : {
|
|
71
67
|
isDisabled: g,
|
package/header/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { o as Header, r as HeaderAction, a as HeaderActions, e as HeaderLogo, t as HeaderTitle, n as MobileMenu, i as MobileMenuContext };
|
|
1
|
+
export { t as Header, o as HeaderAction, s as HeaderActions, a as HeaderLogo, i as HeaderTitle, n as MobileMenu, r as MobileMenuContext } from "../chunks/header-BO5DIoH1.js";
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./chunks/header-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./chunks/header-BO5DIoH1.js";
|
|
2
2
|
import { n as s, t as c } from "./chunks/layout-DNM8xMYM.js";
|
|
3
3
|
import { t as l } from "./chunks/main-DsKDUX08.js";
|
|
4
|
-
import { a as u, i as d, n as f, o as p, r as m, t as h } from "./chunks/navigation-
|
|
4
|
+
import { a as u, i as d, n as f, o as p, r as m, t as h } from "./chunks/navigation-CKee-RoL.js";
|
|
5
5
|
import { a as g, c as _, i as v, l as y, n as b, o as x, r as S, s as C, t as w, u as T } from "./chunks/panel-Dekrlpea.js";
|
|
6
6
|
import { n as E, t as D } from "./chunks/sidebar-D5GGUdTv.js";
|
|
7
7
|
import { n as O, t as k } from "./chunks/navbar-BVgnjg2G.js";
|
package/layout/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Layout, t as LayoutContent };
|
|
1
|
+
export { n as Layout, t as LayoutContent } from "../chunks/layout-DNM8xMYM.js";
|
package/main/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Main };
|
|
1
|
+
export { t as Main } from "../chunks/main-DsKDUX08.js";
|
package/navbar/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { t as Navbar, e as NavbarContext };
|
|
1
|
+
export { t as Navbar, n as NavbarContext } from "../chunks/navbar-BVgnjg2G.js";
|
package/navigation/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { r as Navigation, e as NavigationHeader, t as NavigationItem, i as NavigationLink, n as NavigationSection, a as NavigationSubMenu };
|
|
1
|
+
export { o as Navigation, a as NavigationHeader, i as NavigationItem, r as NavigationLink, n as NavigationSection, t as NavigationSubMenu } from "../chunks/navigation-CKee-RoL.js";
|
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.2.
|
|
17
|
+
"version": "0.2.57",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@midas-ds/components": "17.32.
|
|
44
|
+
"@midas-ds/components": "17.32.3",
|
|
45
45
|
"@react-aria/utils": "3.34.1",
|
|
46
46
|
"@react-stately/utils": "3.12.1",
|
|
47
47
|
"lucide-react": ">=0.563.0 <2.0.0",
|
package/panel/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { a as Panel, l as PanelBody, r as PanelContent, n as PanelContext, t as PanelHeader, o as PanelProvider, c as PanelRegion, s as PanelTitle, e as UsePanels, i as usePanels };
|
|
1
|
+
export { o as Panel, u as PanelBody, l as PanelContent, i as PanelContext, c as PanelHeader, r as PanelProvider, t as PanelRegion, s as PanelTitle, a as UsePanels, n as usePanels } from "../chunks/panel-Dekrlpea.js";
|
package/sidebar/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { t as Sidebar, e as SidebarContext };
|
|
1
|
+
export { t as Sidebar, n as SidebarContext } from "../chunks/sidebar-D5GGUdTv.js";
|