@oslokommune/punkt-react 13.13.2 → 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 +22 -0
- package/dist/index.d.ts +2 -2
- package/dist/punkt-react.es.js +526 -506
- package/dist/punkt-react.umd.js +59 -59
- package/package.json +2 -2
- package/src/components/link/Link.test.tsx +112 -0
- package/src/components/link/Link.tsx +35 -28
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ 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
|
+
|
|
8
30
|
## [13.13.2](https://github.com/oslokommune/punkt/compare/13.13.1...13.13.2) (2025-11-03)
|
|
9
31
|
|
|
10
32
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -335,10 +335,10 @@ export declare interface IPktInputWrapper extends RefAttributes<HTMLElement> {
|
|
|
335
335
|
declare interface IPktLink extends LinkHTMLAttributes<HTMLAnchorElement> {
|
|
336
336
|
href?: string;
|
|
337
337
|
iconName?: string | undefined;
|
|
338
|
+
className?: string | undefined;
|
|
338
339
|
iconPosition?: string | undefined;
|
|
339
340
|
external?: boolean;
|
|
340
|
-
target?: string |
|
|
341
|
-
ref?: LegacyRef<HTMLAnchorElement>;
|
|
341
|
+
target?: string | undefined;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
export declare interface IPktLinkCard extends Omit<HTMLAttributes<HTMLAnchorElement>, 'title'> {
|