@oslokommune/punkt-react 14.4.0 → 14.5.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 +6 -0
- package/dist/punkt-react.es.js +637 -649
- package/dist/punkt-react.umd.js +57 -57
- package/package.json +2 -2
- package/src/components/breadcrumbs/Breadcrumbs.tsx +48 -34
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
|
+
## [14.5.0](https://github.com/oslokommune/punkt/compare/14.4.0...14.5.0) (2026-02-05)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
* PktBreadcrumbs bør kunne ta custom link-komponent (#3230).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
Ingen
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [14.3.1](https://github.com/oslokommune/punkt/compare/14.3.0...14.3.1) (2026-02-05)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,12 @@ export declare interface IPktBackLink extends ExtendedBackLink {
|
|
|
137
137
|
export declare interface IPktBreadcrumbs extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
138
138
|
breadcrumbs: IBreadcrumbs[];
|
|
139
139
|
navigationType?: 'router' | 'anchor';
|
|
140
|
+
renderLink?: (args: {
|
|
141
|
+
href: string;
|
|
142
|
+
className: string;
|
|
143
|
+
children: ReactNode;
|
|
144
|
+
props: AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
145
|
+
}) => ReactNode;
|
|
140
146
|
}
|
|
141
147
|
|
|
142
148
|
export declare interface IPktButton extends ButtonHTMLAttributes<HTMLButtonElement> {
|