@navikt/ds-react 5.0.1 → 5.0.2

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/_docs.json CHANGED
@@ -5901,7 +5901,7 @@
5901
5901
  ],
5902
5902
  "required": false,
5903
5903
  "type": {
5904
- "name": "string | number"
5904
+ "name": "number | \"medium\" | \"small\" | `${number}${string}`"
5905
5905
  }
5906
5906
  },
5907
5907
  "className": {
@@ -48,7 +48,7 @@ export interface ModalProps extends React.DialogHTMLAttributes<HTMLDialogElement
48
48
  /**
49
49
  * @default fit-content (up to 700px)
50
50
  * */
51
- width?: "medium" | "small" | number | string;
51
+ width?: "medium" | "small" | number | `${number}${string}`;
52
52
  /**
53
53
  * User defined classname for modal
54
54
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-react",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Aksel react-components for NAV designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@floating-ui/react": "0.24.1",
41
- "@navikt/aksel-icons": "^5.0.1",
41
+ "@navikt/aksel-icons": "^5.0.2",
42
42
  "@radix-ui/react-tabs": "1.0.0",
43
43
  "@radix-ui/react-toggle-group": "1.0.0",
44
44
  "clsx": "^1.2.1",
@@ -64,7 +64,7 @@ export interface ModalProps
64
64
  /**
65
65
  * @default fit-content (up to 700px)
66
66
  * */
67
- width?: "medium" | "small" | number | string;
67
+ width?: "medium" | "small" | number | `${number}${string}`;
68
68
  /**
69
69
  * User defined classname for modal
70
70
  */