@oslokommune/punkt-react 12.23.1 → 12.25.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 +38 -0
- package/dist/index.d.ts +3 -1
- package/dist/punkt-react.es.js +3485 -3446
- package/dist/punkt-react.umd.js +145 -145
- package/package.json +4 -4
- package/src/components/footer/Footer.tsx +22 -10
- package/src/components/footerSimple/FooterSimple.tsx +16 -4
- package/src/components/tag/Tag.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,44 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [12.25.0](https://github.com/oslokommune/punkt/compare/12.24.4...12.25.0) (2025-03-07)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
* Ny prop i Footer: openLinksInNewTab (#2266). Det har blitt rapportert inn et behov for å sette én verdi for hvorvidt lenker skal åpnes i ny fane. Denne prop lar oss gi én instruks for alle lenker.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
Ingen
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [12.24.0](https://github.com/oslokommune/punkt/compare/12.23.1...12.24.0) (2025-03-05)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
* add new Tag skin 'blue-dark' (#2254). * feat(all): add new Tag skin 'blue-dark'
|
|
33
|
+
|
|
34
|
+
* chore(vue, css): add skin 'blue-dark' for vue ++
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
Ingen
|
|
39
|
+
|
|
40
|
+
### Chores
|
|
41
|
+
Ingen
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
|
|
8
46
|
## [12.23.0](https://github.com/oslokommune/punkt/compare/12.22.0...12.23.0) (2025-03-04)
|
|
9
47
|
|
|
10
48
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -181,6 +181,7 @@ export declare interface IPktFooter extends default_2.HTMLAttributes<HTMLDivElem
|
|
|
181
181
|
socialLinks?: SocialLink[];
|
|
182
182
|
personvernOgInfoLink?: string;
|
|
183
183
|
tilgjengelighetLink?: string;
|
|
184
|
+
openLinksInNewTab?: boolean;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
export declare interface IPktFooterSimple extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
@@ -192,6 +193,7 @@ export declare interface IPktFooterSimple extends default_2.HTMLAttributes<HTMLD
|
|
|
192
193
|
}>;
|
|
193
194
|
personvernOgInfoLink?: string;
|
|
194
195
|
tilgjengelighetLink?: string;
|
|
196
|
+
openLinksInNewTab?: boolean;
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
export declare interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -422,7 +424,7 @@ declare interface IPktTabs {
|
|
|
422
424
|
}
|
|
423
425
|
|
|
424
426
|
export declare interface IPktTag extends PktElType {
|
|
425
|
-
skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray'
|
|
427
|
+
skin?: 'blue' | 'blue-light' | 'blue-dark' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray';
|
|
426
428
|
textStyle?: 'normal-text' | 'thin-text';
|
|
427
429
|
size?: 'small' | 'medium' | 'large';
|
|
428
430
|
closeTag?: boolean;
|