@oslokommune/punkt-react 7.1.7 → 8.0.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 CHANGED
@@ -5,6 +5,44 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [8.0.0](https://github.com/oslokommune/punkt/compare/7.2.0...8.0.0) (2023-09-19)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ * PktSelect (#1163). Helt ny PktSelect, samt forbedring av hvordan de forskjellige inputene deler stiler.
12
+
13
+ BREAKING CHANGE: Gammel klasse `.pkt-select` vil ikke lenger virke som ønsket. Anbefales å enten bruke komponent PktSelect eller bruke ny klasse `.pkt-input`
14
+
15
+
16
+ ### Features
17
+ Ingen
18
+
19
+ ### Bug Fixes
20
+ Ingen
21
+
22
+ ### Chores
23
+ Ingen
24
+
25
+ ---
26
+
27
+
28
+ ## [7.2.0](https://github.com/oslokommune/punkt/compare/7.1.7...7.2.0) (2023-09-13)
29
+
30
+ ### ⚠ BREAKING CHANGES
31
+ Ingen
32
+
33
+ ### Features
34
+ * [1114](https://github.com/oslokommune/punkt/issues/1114) New breadcrumbs. Se vår nettsiden for mer informasjon om bruk av breadcrumbs
35
+
36
+
37
+ ### Bug Fixes
38
+ Ingen
39
+
40
+ ### Chores
41
+ Ingen
42
+
43
+ ---
44
+
45
+
8
46
  ## [7.1.7](https://github.com/oslokommune/punkt/compare/7.1.6...7.1.7) (2023-09-13)
9
47
 
10
48
  ### ⚠ BREAKING CHANGES
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface IBreadcrumbs {
3
+ text: string;
4
+ href: string;
5
+ }
6
+ export interface IPktBreadcrumbs extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
7
+ breadcrumbs: IBreadcrumbs[];
8
+ navigationType?: 'router' | 'anchor';
9
+ }
10
+ export declare const PktBreadcrumbs: React.ForwardRefExoticComponent<IPktBreadcrumbs & React.RefAttributes<HTMLAnchorElement>>;
11
+ export default PktBreadcrumbs;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { PktAlert } from './alert/Alert';
2
2
  export { PktBackLink } from './backlink/BackLink';
3
+ export { PktBreadcrumbs } from './breadcrumbs/Breadcrumbs';
3
4
  export { PktButton } from './button/Button';
4
5
  export { PktFooter } from './footer/Footer';
5
6
  export { PktFooterSimple } from './footerSimple/FooterSimple';