@oslokommune/punkt-react 7.1.7 → 7.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 CHANGED
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [7.2.0](https://github.com/oslokommune/punkt/compare/7.1.7...7.2.0) (2023-09-13)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * [1114](https://github.com/oslokommune/punkt/issues/1114) New breadcrumbs. Se vår nettsiden for mer informasjon om bruk av breadcrumbs
15
+
16
+
17
+ ### Bug Fixes
18
+ Ingen
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
8
26
  ## [7.1.7](https://github.com/oslokommune/punkt/compare/7.1.6...7.1.7) (2023-09-13)
9
27
 
10
28
  ### ⚠ 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';