@oslokommune/punkt-react 11.13.2 → 11.13.3
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 +18 -0
- package/dist/components/messagebox/Messagebox.d.ts +3 -1
- package/dist/punkt-react.es.js +281 -264
- package/dist/punkt-react.umd.js +10 -10
- package/package.json +3 -3
- package/src/components/messagebox/Messagebox.tsx +56 -24
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
|
+
## [11.13.3](https://github.com/oslokommune/punkt/compare/11.13.2...11.13.3) (2024-05-29)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* add close button and css in react.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [11.13.1](https://github.com/oslokommune/punkt/compare/11.13.0...11.13.1) (2024-05-23)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
|
@@ -4,5 +4,7 @@ export interface IPktMessagebox extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
skin?: 'beige' | 'red' | 'green' | 'blue';
|
|
5
5
|
title?: string;
|
|
6
6
|
compact?: boolean;
|
|
7
|
+
closable?: boolean;
|
|
8
|
+
onClose?: () => void;
|
|
7
9
|
}
|
|
8
|
-
export declare const PktMessagebox: React.
|
|
10
|
+
export declare const PktMessagebox: React.ForwardRefExoticComponent<IPktMessagebox & React.RefAttributes<HTMLDivElement>>;
|