@oslokommune/punkt-react 11.10.0 → 11.10.1
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 +17 -0
- package/dist/components/alert/Alert.d.ts +1 -1
- package/dist/components/loader/Loader.d.ts +1 -1
- package/dist/punkt-react.es.js +434 -442
- package/dist/punkt-react.umd.js +11 -11
- package/package.json +3 -3
- package/src/components/alert/Alert.tsx +2 -7
- package/src/components/loader/Loader.tsx +9 -18
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [11.11.0](https://github.com/oslokommune/punkt/compare/11.10.0...11.11.0) (2024-04-19)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
Ingen
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
Ingen
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
|
|
8
25
|
## [11.10.0](https://github.com/oslokommune/punkt/compare/11.9.5...11.10.0) (2024-03-18)
|
|
9
26
|
|
|
10
27
|
### ⚠ BREAKING CHANGES
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IPktAlert extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
skin?: 'error' | 'success' | 'warning' | 'info'
|
|
3
|
+
skin?: 'error' | 'success' | 'warning' | 'info';
|
|
4
4
|
closeAlert?: boolean;
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
title?: string;
|
|
@@ -15,7 +15,7 @@ export interface IPktLoader extends HTMLAttributes<HTMLDivElement> {
|
|
|
15
15
|
* Variants available are "blue" spinner, "rainbow" spinner and
|
|
16
16
|
* "shapes" oslo wave loader. Default is rainbow.
|
|
17
17
|
*/
|
|
18
|
-
variant?: 'blue' | 'rainbow' | 'shapes'
|
|
18
|
+
variant?: 'blue' | 'rainbow' | 'shapes';
|
|
19
19
|
/**
|
|
20
20
|
* The `delay` prop controls how much time the loading should be given before the loader is displayed.
|
|
21
21
|
* This is handy for situations where the load time might be so short that loader is not necessary.
|