@oslokommune/punkt-react 18.2.0 → 18.3.1
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 +34 -0
- package/dist/components/linkcard/LinkCard.d.ts +4 -8
- package/dist/punkt-react.cjs +1 -1
- package/dist/punkt-react.js +16 -11
- package/dist/shared-strings/nb.d.ts +3 -0
- package/dist/shared-types/index.d.ts +2 -0
- package/dist/shared-types/linkcard.d.ts +24 -0
- package/package.json +3 -3
- package/src/components/linkcard/LinkCard.test.tsx +43 -0
- package/src/components/linkcard/LinkCard.tsx +12 -7
- package/src/components/stepper/Step.tsx +1 -1
- package/src/components/strings/strings-override.test.tsx +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,40 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [18.3.1](https://github.com/oslokommune/punkt/compare/18.3.0...18.3.1) (2026-09-02)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
Ingen
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
Ingen
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [18.3.0](https://github.com/oslokommune/punkt/compare/18.2.0...18.3.0) (2026-09-01)
|
|
26
|
+
|
|
27
|
+
### ⚠ BREAKING CHANGES
|
|
28
|
+
Ingen
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
Ingen
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
Ingen
|
|
35
|
+
|
|
36
|
+
### Chores
|
|
37
|
+
Ingen
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
|
|
8
42
|
## [18.2.0](https://github.com/oslokommune/punkt/compare/18.1.0...18.2.0) (2026-09-01)
|
|
9
43
|
|
|
10
44
|
### ⚠ BREAKING CHANGES
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
href?: string;
|
|
6
|
-
iconName?: string;
|
|
7
|
-
openInNewTab?: boolean;
|
|
8
|
-
external?: boolean;
|
|
2
|
+
import { IPktLinkCardBase, TLinkCardSkin } from '../../shared-types';
|
|
3
|
+
export type { TLinkCardSkin };
|
|
4
|
+
export interface IPktLinkCard extends IPktLinkCardBase, Omit<HTMLAttributes<HTMLAnchorElement>, 'title'> {
|
|
9
5
|
children?: ReactNode;
|
|
10
6
|
}
|
|
11
7
|
export declare const PktLinkCard: {
|
|
12
|
-
({ children, skin, title, href, iconName, openInNewTab, external, className, ...props }: IPktLinkCard): import("react").JSX.Element;
|
|
8
|
+
({ children, skin, title, href, iconName, openInNewTab, external, className, strings, ...props }: IPktLinkCard): import("react").JSX.Element;
|
|
13
9
|
displayName: string;
|
|
14
10
|
};
|