@oslokommune/punkt-react 16.24.0 → 16.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 +35 -0
- package/dist/index.d.ts +6 -0
- package/dist/punkt-react.cjs +1 -1
- package/dist/punkt-react.js +38 -25
- package/package.json +2 -2
- package/src/components/calendar/useCalendarState.ts +17 -6
- package/src/components/header/HeaderService.test.tsx +82 -0
- package/src/components/header/HeaderService.tsx +19 -0
- package/src/components/link/Link.test.tsx +22 -0
- package/src/components/link/Link.tsx +30 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [16.25.0](https://github.com/oslokommune/punkt/compare/16.24.1...16.25.0) (2026-06-12)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
* renderLink i PktLink, og lukk mobile-header-slot på klikk (#3512).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
Ingen
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [16.24.1](https://github.com/oslokommune/punkt/compare/16.24.0...16.24.1) (2026-05-29)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
Ingen
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
Ingen
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
|
|
8
43
|
## [16.24.0](https://github.com/oslokommune/punkt/compare/16.23.0...16.24.0) (2026-05-29)
|
|
9
44
|
|
|
10
45
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -615,6 +615,12 @@ declare interface IPktLink extends LinkHTMLAttributes<HTMLAnchorElement> {
|
|
|
615
615
|
iconPosition?: string | undefined;
|
|
616
616
|
external?: boolean;
|
|
617
617
|
target?: string | undefined;
|
|
618
|
+
renderLink?: (args: {
|
|
619
|
+
href: string;
|
|
620
|
+
className: string;
|
|
621
|
+
children: ReactNode;
|
|
622
|
+
props: AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
623
|
+
}) => ReactNode;
|
|
618
624
|
}
|
|
619
625
|
|
|
620
626
|
export declare interface IPktLinkCard extends Omit<HTMLAttributes<HTMLAnchorElement>, 'title'> {
|