@midas-ds/layout 0.2.5 → 0.2.7
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 +16 -0
- package/assets/header.css +1 -1
- package/chunks/{header--aFkqcRB.js → header-C2zESp2o.js} +7 -7
- package/chunks/{navigation-C27FuxMS.js → navigation-CWAkOZtv.js} +1 -1
- package/header/index.js +1 -1
- package/index.js +2 -2
- package/navigation/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 0.2.7 (2026-07-06)
|
|
2
|
+
|
|
3
|
+
### 🔧 Maintenance
|
|
4
|
+
|
|
5
|
+
- **workspace:** upgrade nx-stylelint to v19 and stylelint to v17 ([072ccfd0975](https://github.com/migrationsverket/midas/commit/072ccfd0975))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated components to 17.17.0
|
|
10
|
+
|
|
11
|
+
## 0.2.6 (2026-07-03)
|
|
12
|
+
|
|
13
|
+
### 🧱 Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated components to 17.16.0
|
|
16
|
+
|
|
1
17
|
## 0.2.5 (2026-07-02)
|
|
2
18
|
|
|
3
19
|
### 🧱 Updated Dependencies
|
package/assets/header.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._headerActions_1rka5_1{align-items:center;gap:.25rem;margin-inline-start:auto;display:flex}@media (width<=640px){.
|
|
1
|
+
._headerActions_1rka5_1{align-items:center;gap:.25rem;margin-inline-start:auto;display:flex}@media (width<=640px){._label_1sror_1{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}._overlay_yrp40_1{display:block}._overlay_yrp40_1[data-entering]{animation:_drawer-blur_yrp40_1 var(--midas-transition-duration-quick)}._overlay_yrp40_1[data-exiting]{animation:_drawer-blur_yrp40_1 var(--midas-transition-duration-quick) reverse var(--midas-transition-timing-ease-in)}._drawer_yrp40_14{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_yrp40_14[data-entering]{animation:_drawer-slide_yrp40_1 var(--midas-transition-duration-quick)}._drawer_yrp40_14[data-exiting]{animation:_drawer-slide_yrp40_1 var(--midas-transition-duration-quick) reverse var(--midas-transition-timing-ease-in)}._dialog_yrp40_39:focus-visible{outline:none}._header_yrp40_45{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_yrp40_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_yrp40_1{0%{transform:translate(-100%)}to{transform:translate(0)}}._header_i5439_1{background-color:var(--midas-background-base);border-bottom:1px solid var(--midas-border-color-subtle);gap:var(--midas-space-xlarge);display:flex}
|
|
@@ -9,7 +9,7 @@ import { Button as d, DialogTrigger as f, LogoContext as p, ModalOverlay as m, T
|
|
|
9
9
|
import '../assets/header.css';var v = { headerActions: "_headerActions_1rka5_1" }, y = ({ className: t, ...n }) => /* @__PURE__ */ i("div", {
|
|
10
10
|
className: e(t, v.headerActions),
|
|
11
11
|
...n
|
|
12
|
-
}), b = { label: "
|
|
12
|
+
}), b = { label: "_label_1sror_1" }, x = s(({ children: e, icon: t, ...n }, o) => (!e && !n["aria-label"] && process.env.NODE_ENV !== "production" && console.warn("Please provide an 'aria-label' for HeaderAction components that doesnt have a visible label (children)"), /* @__PURE__ */ i(d, {
|
|
13
13
|
ref: o,
|
|
14
14
|
size: "medium",
|
|
15
15
|
variant: "tertiary",
|
|
@@ -37,12 +37,12 @@ var S = t("menu", [
|
|
|
37
37
|
en: { openMenu: "Open menu" },
|
|
38
38
|
sv: { openMenu: "Öppna meny" }
|
|
39
39
|
}, T = {
|
|
40
|
-
overlay: "
|
|
41
|
-
"drawer-blur": "_drawer-
|
|
42
|
-
drawer: "
|
|
43
|
-
"drawer-slide": "_drawer-
|
|
44
|
-
dialog: "
|
|
45
|
-
header: "
|
|
40
|
+
overlay: "_overlay_yrp40_1",
|
|
41
|
+
"drawer-blur": "_drawer-blur_yrp40_1",
|
|
42
|
+
drawer: "_drawer_yrp40_14",
|
|
43
|
+
"drawer-slide": "_drawer-slide_yrp40_1",
|
|
44
|
+
dialog: "_dialog_yrp40_39",
|
|
45
|
+
header: "_header_yrp40_45"
|
|
46
46
|
}, E = ({ children: e, className: t, defaultOpen: r, isOpen: o, onOpenChange: s, title: p, ...v }) => {
|
|
47
47
|
let y = n(), b = _(w);
|
|
48
48
|
return y ? /* @__PURE__ */ i(C.Provider, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-CbxlCXZ3.js";
|
|
3
|
-
import { r as t } from "./header
|
|
3
|
+
import { r as t } from "./header-C2zESp2o.js";
|
|
4
4
|
import { n } from "./sidebar-BhbGgFMU.js";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
import { useContext as a } from "react";
|
package/header/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../chunks/header
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../chunks/header-C2zESp2o.js";
|
|
2
2
|
export { i as Header, t as HeaderAction, e as HeaderActions, n as MobileMenu, r as MobileMenuContext };
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./chunks/header
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./chunks/header-C2zESp2o.js";
|
|
2
2
|
import { n as a, t as o } from "./chunks/sidebar-BhbGgFMU.js";
|
|
3
3
|
import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./chunks/panel-CJr6C1-h.js";
|
|
4
4
|
import { n as _, t as v } from "./chunks/layout-BL0juoss.js";
|
|
5
5
|
import { t as y } from "./chunks/main-BHQLIt4r.js";
|
|
6
|
-
import { a as b, i as x, n as S, o as C, r as w, t as T } from "./chunks/navigation-
|
|
6
|
+
import { a as b, i as x, n as S, o as C, r as w, t as T } from "./chunks/navigation-CWAkOZtv.js";
|
|
7
7
|
import { t as E } from "./chunks/navbar-C63VGKFb.js";
|
|
8
8
|
export { i as Header, t as HeaderAction, e as HeaderActions, _ as Layout, v as LayoutContent, y as Main, n as MobileMenu, r as MobileMenuContext, E as Navbar, C as Navigation, b as NavigationHeader, x as NavigationItem, w as NavigationLink, S as NavigationSection, T as NavigationSubMenu, f as Panel, g as PanelBody, u as PanelContent, l as PanelContext, c as PanelHeader, p as PanelProvider, h as PanelRegion, m as PanelTitle, o as Sidebar, a as SidebarContext, s as UsePanels, d as usePanels };
|
package/navigation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/navigation-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/navigation-CWAkOZtv.js";
|
|
2
2
|
export { r as Navigation, e as NavigationHeader, t as NavigationItem, i as NavigationLink, n as NavigationSection, a as NavigationSubMenu };
|
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.7",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"./*": "./*/index.js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@midas-ds/components": "17.
|
|
40
|
+
"@midas-ds/components": "17.17.0",
|
|
41
41
|
"@react-aria/collections": "^3.0.3",
|
|
42
42
|
"@react-aria/utils": "^3.33.1",
|
|
43
43
|
"@react-stately/utils": "^3.11.0"
|