@oslokommune/punkt-react 19.14.2 → 19.15.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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [19.15.0](https://github.com/oslokommune/punkt/compare/19.14.3...19.15.0) (2026-10-16)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
* Modal får mulighet for ikon i overskriften (#3719) (#3738). Ny prop headingIconName legger et ikon foran overskriften. Ikonet
|
|
12
|
+
skalerer med overskriften. headingIconPath overstyrer hvor ikonet hentes
|
|
13
|
+
fra.
|
|
14
|
+
|
|
15
|
+
Bug funnet underveis: med flere modaler på samme side leste skjermlesere
|
|
16
|
+
opp overskriften fra feil modal. Hver modal får nå sine egne id-er.
|
|
17
|
+
|
|
18
|
+
closes #3719
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
|
|
8
23
|
## [19.14.0](https://github.com/oslokommune/punkt/compare/19.13.0...19.14.0) (2026-10-15)
|
|
9
24
|
|
|
10
25
|
### Features
|
|
@@ -3,6 +3,8 @@ import { IPktStringsProps } from '../../shared-strings';
|
|
|
3
3
|
export interface IPktModal extends Omit<HTMLAttributes<HTMLDialogElement>, 'onClose' | 'open'>, IPktStringsProps<'generic'> {
|
|
4
4
|
open?: boolean;
|
|
5
5
|
headingText?: string;
|
|
6
|
+
headingIconName?: string;
|
|
7
|
+
headingIconPath?: string;
|
|
6
8
|
hideCloseButton?: boolean;
|
|
7
9
|
closeOnBackdropClick?: boolean;
|
|
8
10
|
size?: 'small' | 'medium' | 'large' | 'fit-content';
|