@oslokommune/punkt-react 12.41.0 → 12.42.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,42 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [12.42.0](https://github.com/oslokommune/punkt/compare/12.41.1...12.42.0) (2025-06-12)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * Legg til støtte for å sende inn rolle i alert (#2625).
15
+
16
+
17
+ ### Bug Fixes
18
+ Ingen
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [12.41.1](https://github.com/oslokommune/punkt/compare/12.41.0...12.41.1) (2025-06-11)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ Ingen
33
+
34
+ ### Bug Fixes
35
+ * Combobox må støtte defaultOptions og click/onClick (#2622).
36
+
37
+
38
+ ### Chores
39
+ Ingen
40
+
41
+ ---
42
+
43
+
8
44
  ## [12.41.0](https://github.com/oslokommune/punkt/compare/12.40.10...12.41.0) (2025-06-10)
9
45
 
10
46
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -91,6 +91,7 @@ export declare interface IPktAlert extends PktElType {
91
91
  date?: string;
92
92
  ariaLive?: 'off' | 'polite' | 'assertive';
93
93
  compact?: boolean;
94
+ role?: string;
94
95
  onClose?: (e: CustomEvent) => void;
95
96
  }
96
97
 
@@ -169,6 +170,7 @@ export declare interface IPktCheckbox extends InputHTMLAttributes<HTMLInputEleme
169
170
  export declare interface IPktCombobox extends ExtendedCombobox {
170
171
  helptext?: string | ReactNode | ReactNode[];
171
172
  ref?: LegacyRef<HTMLSelectElement>;
173
+ onClick?: MouseEventHandler<HTMLSelectElement>;
172
174
  onChange?: ChangeEventHandler<HTMLSelectElement>;
173
175
  onInput?: ChangeEventHandler<HTMLSelectElement>;
174
176
  onBlur?: FocusEventHandler<HTMLSelectElement>;