@midas-ds/layout 0.2.17 → 0.2.18

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,13 @@
1
+ ## 0.2.18 (2026-08-18)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **layout,navigation-section:** use type intersection instead of interface extends for props ([335fc8f437c](https://github.com/migrationsverket/midas/commit/335fc8f437c))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated components to 17.21.1
10
+
1
11
  ## 0.2.17 (2026-08-18)
2
12
 
3
13
  ### 🩹 Fixes
@@ -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.18",
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"