@oslokommune/punkt-react 7.1.6 → 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 +36 -0
- package/dist/breadcrumbs/Breadcrumbs.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/punkt-react.es.js +1604 -924
- package/dist/punkt-react.umd.js +38 -11
- package/package.json +3 -3
- package/src/components/breadcrumbs/Breadcrumbs.test.tsx +63 -0
- package/src/components/breadcrumbs/Breadcrumbs.tsx +114 -0
- package/src/components/index.ts +1 -0
- package/src/components/inputwrapper/InputWrapper.tsx +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ 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
|
+
|
|
26
|
+
## [7.1.7](https://github.com/oslokommune/punkt/compare/7.1.6...7.1.7) (2023-09-13)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
Ingen
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
* Fjerne Alert fra ekspanderende hjelpetekst i InputWrapper.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
|
|
8
44
|
## [7.1.5](https://github.com/oslokommune/punkt/compare/7.1.4...7.1.5) (2023-09-12)
|
|
9
45
|
|
|
10
46
|
### ⚠ 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';
|