@oslokommune/punkt-react 3.1.1 → 3.2.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 +19 -2
- package/dist/index.d.ts +1 -0
- package/dist/linkcard/LinkCard.d.ts +8 -0
- package/dist/punkt-react.es.js +302 -285
- package/dist/punkt-react.umd.js +11 -11
- package/package.json +12 -5
- package/src/components/index.ts +1 -0
- package/src/components/linkcard/LinkCard.test.tsx +79 -0
- package/src/components/linkcard/LinkCard.tsx +30 -0
- package/src/components/linkcard/__snapshots__/LinkCard.test.tsx.snap +33 -0
- package/src/components/table/__snapshots__/Table.test.tsx.snap +137 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [3.1.2](https://github.com/oslokommune/punkt/compare/3.1.1...3.1.2) (2023-03-30)
|
|
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
|
+
|
|
8
25
|
## [3.1.1](https://github.com/oslokommune/punkt/compare/3.1.0...3.1.1) (2023-03-23)
|
|
9
26
|
|
|
10
27
|
### ⚠ BREAKING CHANGES
|
|
@@ -17,8 +34,8 @@ Ingen
|
|
|
17
34
|
Ingen
|
|
18
35
|
|
|
19
36
|
### Chores
|
|
20
|
-
* [670](https://github.com/oslokommune/punkt/issues/670) Generer changelog automatisk (#746). Changelog genereres nå automatisk utifra commits, så lenge de følger Convential commits malen.
|
|
21
|
-
|
|
37
|
+
* [670](https://github.com/oslokommune/punkt/issues/670) Generer changelog automatisk (#746). Changelog genereres nå automatisk utifra commits, så lenge de følger Convential commits malen.
|
|
38
|
+
|
|
22
39
|
Dette er dokumentert i [CONTRIBUTING.md](https://github.com/oslokommune/punkt/blob/main/CONTRIBUTING.md) og i [scriptet som gjør dette ved publisering](https://github.com/oslokommune/punkt/blob/main/scripts/update-changelog.js).
|
|
23
40
|
|
|
24
41
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { PktAlert } from './alert/Alert';
|
|
|
2
2
|
export { PktButton } from './button/Button';
|
|
3
3
|
export { PktHeader } from './header/Header';
|
|
4
4
|
export { PktInput } from './input/Input';
|
|
5
|
+
export { PktLinkCard } from './linkcard/LinkCard';
|
|
5
6
|
export { PktMessagebox } from './messagebox/Messagebox';
|
|
6
7
|
export { PktTextarea } from './textarea/Textarea';
|
|
7
8
|
export { PktRadio } from './radio/Radio';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IPktLinkCard extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'grey-outline';
|
|
4
|
+
title?: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
iconName?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const PktLinkCard: React.FC<IPktLinkCard>;
|