@oslokommune/punkt-react 16.9.1 → 16.10.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "16.9.1",
3
+ "version": "16.10.0",
4
4
  "description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@lit-labs/ssr-dom-shim": "^1.2.1",
41
41
  "@lit/react": "^1.0.7",
42
- "@oslokommune/punkt-elements": "^16.9.1",
42
+ "@oslokommune/punkt-elements": "^16.10.0",
43
43
  "classnames": "^2.5.1",
44
44
  "prettier": "^3.3.3",
45
45
  "react-hook-form": "^7.53.0"
@@ -50,7 +50,7 @@
50
50
  "@eslint/eslintrc": "^3.3.3",
51
51
  "@eslint/js": "^9.37.0",
52
52
  "@oslokommune/punkt-assets": "^16.0.0",
53
- "@oslokommune/punkt-css": "^16.9.1",
53
+ "@oslokommune/punkt-css": "^16.10.0",
54
54
  "@testing-library/jest-dom": "^6.5.0",
55
55
  "@testing-library/react": "^16.0.1",
56
56
  "@testing-library/user-event": "^14.5.2",
@@ -109,5 +109,5 @@
109
109
  "url": "https://github.com/oslokommune/punkt/issues"
110
110
  },
111
111
  "license": "MIT",
112
- "gitHead": "88ccfdd5b0afd0db0c4f18e93b772b578f3fd9d7"
112
+ "gitHead": "7d339c3bc11d0da4291536496aebb6761dd519cb"
113
113
  }
@@ -20,7 +20,7 @@ export interface IPktModal
20
20
  headingText?: string
21
21
  hideCloseButton?: boolean
22
22
  closeOnBackdropClick?: boolean
23
- size?: 'small' | 'medium' | 'large'
23
+ size?: 'small' | 'medium' | 'large' | 'fit-content'
24
24
  removePadding?: boolean
25
25
  closeButtonSkin?: 'blue' | 'yellow-filled'
26
26
  variant?: 'dialog' | 'drawer'