@oslokommune/punkt-react 13.19.2 → 13.20.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 +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/punkt-react.es.js +557 -534
- package/dist/punkt-react.umd.js +100 -92
- package/package.json +3 -3
- package/src/components/button/Button.test.tsx +64 -0
- package/src/components/button/Button.tsx +14 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [13.20.0](https://github.com/oslokommune/punkt/compare/13.19.2...13.20.0) (2026-01-23)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
* Støtte iconPath og secondIconPath i PktButton (#3194).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
Ingen
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [13.19.2](https://github.com/oslokommune/punkt/compare/13.19.1...13.19.2) (2026-01-22)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -133,6 +133,8 @@ export declare interface IPktBreadcrumbs extends AnchorHTMLAttributes<HTMLAnchor
|
|
|
133
133
|
export declare interface IPktButton extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
134
134
|
iconName?: string;
|
|
135
135
|
secondIconName?: string;
|
|
136
|
+
iconPath?: string;
|
|
137
|
+
secondIconPath?: string;
|
|
136
138
|
mode?: 'light' | 'dark';
|
|
137
139
|
size?: 'small' | 'medium' | 'large';
|
|
138
140
|
fullWidth?: boolean;
|