@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 +39 -0
- package/dist/index.d.ts +3 -3
- package/dist/punkt-react.es.js +1636 -1638
- package/dist/punkt-react.umd.js +73 -73
- package/package.json +4 -4
- package/src/components/card/Card.tsx +3 -3
- package/src/components/searchinput/SearchInput.tsx +47 -45
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
|
-
|
|
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' | '
|
|
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
|
|
768
|
+
declare type TLayout = 'vertical' | 'horizontal';
|
|
769
769
|
|
|
770
770
|
declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
|
|
771
771
|
|