@midas-ds/layout 0.2.17 → 0.2.19

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,19 @@
1
+ ## 0.2.19 (2026-08-20)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **layout,main:** establish Main as a CSS positioning context ([092f5e7cbce](https://github.com/migrationsverket/midas/commit/092f5e7cbce))
6
+
7
+ ## 0.2.18 (2026-08-18)
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - **layout,navigation-section:** use type intersection instead of interface extends for props ([335fc8f437c](https://github.com/migrationsverket/midas/commit/335fc8f437c))
12
+
13
+ ### 🧱 Updated Dependencies
14
+
15
+ - Updated components to 17.21.1
16
+
1
17
  ## 0.2.17 (2026-08-18)
2
18
 
3
19
  ### 🩹 Fixes
package/assets/main.css CHANGED
@@ -1 +1 @@
1
- ._main_5eaab_1{box-sizing:border-box;scrollbar-gutter:stable;min-width:0;height:100%;padding:var(--midas-space-xlarge);flex:auto;overflow:hidden auto}._main_5eaab_1:focus-visible{box-shadow:var(--midas-state-focus-inset);outline:none}@media (forced-colors:active){._main_5eaab_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_1cmhi_1{box-sizing:border-box;scrollbar-gutter:stable;min-width:0;height:100%;padding:var(--midas-space-xlarge);flex:auto;position:relative;overflow:hidden auto}._main_1cmhi_1:focus-visible{box-shadow:var(--midas-state-focus-inset);outline:none}@media (forced-colors:active){._main_1cmhi_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,6 +1,6 @@
1
1
  import { t as e } from "./clsx-CbxlCXZ3.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- import '../assets/main.css';var n = { main: "_main_5eaab_1" }, r = ({ className: r, ...i }) => /* @__PURE__ */ t("main", {
3
+ import '../assets/main.css';var n = { main: "_main_1cmhi_1" }, r = ({ className: r, ...i }) => /* @__PURE__ */ t("main", {
4
4
  className: e(r, n.main),
5
5
  ...i
6
6
  });
package/index.js CHANGED
@@ -2,7 +2,7 @@ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./chunks/head
2
2
  import { n as s, t as c } from "./chunks/sidebar--_bq6HD0.js";
3
3
  import { a as l, c as u, i as d, l as f, n as p, o as m, r as h, s as g, t as _, u as v } from "./chunks/panel-CJr6C1-h.js";
4
4
  import { n as y, t as b } from "./chunks/layout-BL0juoss.js";
5
- import { t as x } from "./chunks/main-BHQLIt4r.js";
5
+ import { t as x } from "./chunks/main-C-aHrwYe.js";
6
6
  import { a as S, i as C, n as w, o as T, r as E, t as D } from "./chunks/navigation-BZTfVSg7.js";
7
7
  import { t as O } from "./chunks/navbar-C63VGKFb.js";
8
8
  export { o as Header, r as HeaderAction, a as HeaderActions, e as HeaderLogo, t as HeaderTitle, y as Layout, b as LayoutContent, x as Main, n as MobileMenu, i as MobileMenuContext, O as Navbar, T as Navigation, S as NavigationHeader, C as NavigationItem, E as NavigationLink, w as NavigationSection, D as NavigationSubMenu, m as Panel, v as PanelBody, f as PanelContent, d as PanelContext, u as PanelHeader, h as PanelProvider, _ as PanelRegion, g as PanelTitle, c as Sidebar, s as SidebarContext, l as UsePanels, p as usePanels };
package/main/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/main-BHQLIt4r.js";
1
+ import { t as e } from "../chunks/main-C-aHrwYe.js";
2
2
  export { e as Main };
@@ -1,6 +1,6 @@
1
1
  import { CollectionProps } from 'react-aria-components';
2
- export interface NavigationSectionProps<T extends object> extends CollectionProps<T> {
2
+ export type NavigationSectionProps<T extends object> = CollectionProps<T> & {
3
3
  title?: string;
4
4
  className?: string;
5
- }
5
+ };
6
6
  export declare const NavigationSection: <T extends object>({ className, title, ...rest }: NavigationSectionProps<T>) => import("react/jsx-runtime").JSX.Element;
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",
17
+ "version": "0.2.19",
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.21.0",
40
+ "@midas-ds/components": "17.21.1",
41
41
  "@react-aria/collections": "^3.0.3",
42
42
  "@react-aria/utils": "^3.33.1",
43
43
  "@react-stately/utils": "^3.11.0"