@oslokommune/punkt-react 7.1.2 → 7.1.4
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/header/Header.d.ts +5 -6
- package/dist/punkt-react.es.js +528 -521
- package/dist/punkt-react.umd.js +8 -8
- package/dist/textarea/Textarea.d.ts +2 -3
- package/package.json +2 -2
- package/src/components/header/Header.tsx +5 -5
- package/src/components/textarea/Textarea.tsx +32 -11
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.1.4](https://github.com/oslokommune/punkt/compare/7.1.3...7.1.4) (2023-09-11)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Header – Eksporterer interfacer.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [7.1.3](https://github.com/oslokommune/punkt/compare/7.1.2...7.1.3) (2023-09-11)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
* Sørge for at PktTextarea er `uncontrolled`.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Chores
|
|
39
|
+
Ingen
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
|
|
8
44
|
## [7.1.2](https://github.com/oslokommune/punkt/compare/7.1.1...7.1.2) (2023-09-08)
|
|
9
45
|
|
|
10
46
|
### ⚠ BREAKING CHANGES
|
package/dist/header/Header.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
interface User {
|
|
2
|
+
export interface User {
|
|
3
3
|
name?: string;
|
|
4
4
|
shortname?: string;
|
|
5
5
|
lastLoggedIn?: string | Date;
|
|
6
6
|
}
|
|
7
|
-
interface UserMenuItem {
|
|
7
|
+
export interface UserMenuItem {
|
|
8
8
|
iconName?: string;
|
|
9
9
|
title: string;
|
|
10
10
|
target: string | (() => void);
|
|
11
11
|
}
|
|
12
|
-
interface Representing {
|
|
12
|
+
export interface Representing {
|
|
13
13
|
name?: string;
|
|
14
14
|
shortname?: string;
|
|
15
15
|
orgNumber?: string | number;
|
|
16
16
|
}
|
|
17
|
-
interface UserMenuFooterItem {
|
|
17
|
+
export interface UserMenuFooterItem {
|
|
18
18
|
title: string;
|
|
19
19
|
target: string | (() => void);
|
|
20
20
|
}
|
|
21
|
-
interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
export interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
|
|
22
22
|
logoLink?: string | (() => void);
|
|
23
23
|
serviceName?: string;
|
|
24
24
|
fixed?: boolean;
|
|
@@ -36,4 +36,3 @@ interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
|
|
|
36
36
|
changeRepresentation?: () => void;
|
|
37
37
|
}
|
|
38
38
|
export declare const PktHeader: React.ForwardRefExoticComponent<IPktHeader & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
-
export {};
|