@oslokommune/punkt-react 3.1.2 → 3.2.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 CHANGED
@@ -5,6 +5,57 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [3.2.1](https://github.com/oslokommune/punkt/compare/3.2.0...3.2.1) (2023-04-20)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Legge til manglende changelogs (#804). Changelogs ble ikke generert for v3.2.0 pga en feil. Denne releasen er kun for å bumpe versjonen og få changelogs på plass.
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [3.2.0](https://github.com/oslokommune/punkt/compare/3.1.2...3.2.0) (2023-04-20)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ * [760](https://github.com/oslokommune/punkt/issues/760) Link og linkcard
33
+ To nyheter denne gangen; link og linkcard.
34
+
35
+ Link har fått en overhaling, og har fått mulighet til å skille
36
+ visuelt på intern og ekstern lenke. Focus state er nå mer synlig.
37
+ Link finnes kun i CSS. Les mer på
38
+ https://punkt.oslo.kommune.no/3.2/komponenter/link/
39
+
40
+ Link card er en spesialvariant av en lenke som inneholder ikon,
41
+ lenketekst og mer informasjon under lenketeksten. Komponenten
42
+ finnes både i CSS, React og Vue2. Les mer på
43
+ https://punkt.oslo.kommune.no/3.2/komponenter/linkcard/
44
+
45
+ ---------
46
+ Co-authored-by: Cecilie Hansen Rørås <cecilie.roras@origo.oslo.kommune.no>
47
+ Co-authored-by: Ole Aasen <ole.aasen@origo.oslo.kommune.no>
48
+ Co-authored-by: Victoria Nerem <118815886+vicnerem@users.noreply.github.com>
49
+
50
+ ### Bug Fixes
51
+ Ingen
52
+
53
+
54
+ ### Chores
55
+ Ingen
56
+
57
+ ---
58
+
8
59
  ## [3.1.2](https://github.com/oslokommune/punkt/compare/3.1.1...3.1.2) (2023-03-30)
9
60
 
10
61
  ### ⚠ BREAKING CHANGES
@@ -34,8 +85,8 @@ Ingen
34
85
  Ingen
35
86
 
36
87
  ### Chores
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
-
88
+ * [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.
89
+
39
90
  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).
40
91
 
41
92
 
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>;