@oslokommune/punkt-react 13.9.1 → 13.10.1

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,41 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [13.10.1](https://github.com/oslokommune/punkt/compare/13.10.0...13.10.1) (2025-10-29)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ Ingen
18
+
19
+ ### Chores
20
+ Ingen
21
+
22
+ ---
23
+
24
+
25
+ ## [13.10.0](https://github.com/oslokommune/punkt/compare/13.9.1...13.10.0) (2025-10-29)
26
+
27
+ ### ⚠ BREAKING CHANGES
28
+ Ingen
29
+
30
+ ### Features
31
+ * PktAlert som ren React-komponent (#3090).
32
+
33
+
34
+ ### Bug Fixes
35
+ Ingen
36
+
37
+ ### Chores
38
+ Ingen
39
+
40
+ ---
41
+
42
+
8
43
  ## [13.8.1](https://github.com/oslokommune/punkt/compare/13.8.0...13.8.1) (2025-10-16)
9
44
 
10
45
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -30,6 +30,8 @@ import { RefAttributes } from 'react';
30
30
  import { RefObject } from 'react';
31
31
  import { SelectHTMLAttributes } from 'react';
32
32
  import { SyntheticEvent } from 'react';
33
+ import { TAlertRole } from '../../types/aria';
34
+ import { TAriaLive } from '../../types/aria';
33
35
  import { TextareaHTMLAttributes } from 'react';
34
36
 
35
37
  declare type Booleanish = boolean | 'true' | 'false';
@@ -89,14 +91,14 @@ export declare interface IPktAccordionItem {
89
91
  onToggle?: (e: SyntheticEvent<HTMLDetailsElement>) => void;
90
92
  }
91
93
 
92
- export declare interface IPktAlert extends PktElType {
94
+ export declare interface IPktAlert extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
93
95
  skin?: 'error' | 'success' | 'warning' | 'info';
94
96
  closeAlert?: boolean;
95
- title?: string;
97
+ title?: ReactNode;
96
98
  date?: string;
97
- ariaLive?: 'off' | 'polite' | 'assertive';
99
+ ariaLive?: TAriaLive;
98
100
  compact?: boolean;
99
- role?: string;
101
+ role?: TAlertRole;
100
102
  onClose?: (e: CustomEvent) => void;
101
103
  }
102
104
 
@@ -734,7 +736,7 @@ export declare const PktStep: ({ children, className, status, title }: IPktStep)
734
736
 
735
737
  export declare const PktStepper: ForwardRefExoticComponent<IPktStepper & RefAttributes<HTMLOListElement>>;
736
738
 
737
- export declare const PktTabItem: ForwardRefExoticComponent<IPktTabItem & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
739
+ export declare const PktTabItem: ForwardRefExoticComponent<IPktTabItem & RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
738
740
 
739
741
  export declare const PktTable: ({ className, compact, skin, responsiveView, children, ...props }: ITableProps) => JSX_2.Element;
740
742