@oslokommune/punkt-react 12.40.2 → 12.40.4

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,45 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [12.40.4](https://github.com/oslokommune/punkt/compare/12.40.3...12.40.4) (2025-05-21)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Label på SearchInput var feil ifht InputWrapper (#2577).
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [12.40.3](https://github.com/oslokommune/punkt/compare/12.40.2...12.40.3) (2025-05-20)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ Ingen
33
+
34
+ ### Bug Fixes
35
+ Ingen
36
+
37
+ ### Chores
38
+ * update propnames for cards (#2574). - direction til layout
39
+ - portrait til vertical
40
+ - landscape til horizontal
41
+ - padding: standard til padding: default
42
+
43
+
44
+ ---
45
+
46
+
8
47
  ## [12.40.1](https://github.com/oslokommune/punkt/compare/12.40.0...12.40.1) (2025-05-20)
9
48
 
10
49
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -126,7 +126,7 @@ export declare interface IPktCard extends PktElType {
126
126
  metaLead?: string | null;
127
127
  borderOnHover?: boolean | null;
128
128
  metaTrail?: string | null;
129
- direction?: TDirection;
129
+ layout?: TLayout;
130
130
  heading?: string;
131
131
  headingLevel?: IPktHeading['level'];
132
132
  image?: {
@@ -759,13 +759,13 @@ declare interface SocialLink {
759
759
 
760
760
  declare type TCardImageShape = 'square' | 'round';
761
761
 
762
- declare type TCardPadding = 'none' | 'standard';
762
+ declare type TCardPadding = 'none' | 'default';
763
763
 
764
764
  declare type TCardSkin = 'outlined' | 'outlined-beige' | 'gray' | 'beige' | 'green' | 'blue';
765
765
 
766
766
  declare type TCardTagPosition = 'top' | 'bottom';
767
767
 
768
- declare type TDirection = 'portrait' | 'landscape';
768
+ declare type TLayout = 'vertical' | 'horizontal';
769
769
 
770
770
  declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
771
771