@oslokommune/punkt-react 13.13.1 → 13.14.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,46 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [13.14.0](https://github.com/oslokommune/punkt/compare/13.13.2...13.14.0) (2025-11-04)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * PktLink som React-komponent (#3107). * Reactifisering av PktLink
15
+
16
+ ---------
17
+
18
+ Co-authored-by: Jan Schjetne <jan.schjetne@origo.oslo.kommune.no>
19
+
20
+
21
+ ### Bug Fixes
22
+ Ingen
23
+
24
+ ### Chores
25
+ Ingen
26
+
27
+ ---
28
+
29
+
30
+ ## [13.13.2](https://github.com/oslokommune/punkt/compare/13.13.1...13.13.2) (2025-11-03)
31
+
32
+ ### ⚠ BREAKING CHANGES
33
+ Ingen
34
+
35
+ ### Features
36
+ Ingen
37
+
38
+ ### Bug Fixes
39
+ * Støtt full bredde for knapper også utenom mobilvisning (#3103).
40
+
41
+
42
+ ### Chores
43
+ Ingen
44
+
45
+ ---
46
+
47
+
8
48
  ## [13.13.1](https://github.com/oslokommune/punkt/compare/13.13.0...13.13.1) (2025-11-03)
9
49
 
10
50
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -119,6 +119,8 @@ export declare interface IPktButton extends ButtonHTMLAttributes<HTMLButtonEleme
119
119
  secondIconName?: string;
120
120
  mode?: 'light' | 'dark';
121
121
  size?: 'small' | 'medium' | 'large';
122
+ fullWidth?: boolean;
123
+ fullWidthOnMobile?: boolean;
122
124
  color?: 'blue' | 'blue-outline' | 'green' | 'green-outline' | 'green-dark' | 'green-dark-outline' | 'beige-light' | 'beige-dark-outline' | 'yellow' | 'yellow-outline' | 'red' | 'red-outline';
123
125
  skin?: 'primary' | 'secondary' | 'tertiary';
124
126
  variant?: 'label-only' | 'icon-left' | 'icon-right' | 'icon-only' | 'icons-right-and-left';
@@ -333,10 +335,10 @@ export declare interface IPktInputWrapper extends RefAttributes<HTMLElement> {
333
335
  declare interface IPktLink extends LinkHTMLAttributes<HTMLAnchorElement> {
334
336
  href?: string;
335
337
  iconName?: string | undefined;
338
+ className?: string | undefined;
336
339
  iconPosition?: string | undefined;
337
340
  external?: boolean;
338
- target?: string | null;
339
- ref?: LegacyRef<HTMLAnchorElement>;
341
+ target?: string | undefined;
340
342
  }
341
343
 
342
344
  export declare interface IPktLinkCard extends Omit<HTMLAttributes<HTMLAnchorElement>, 'title'> {