@helsenorge/designsystem-react 7.0.0-beta.6 → 7.0.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 +38 -0
- package/hooks/useExpand.d.ts +1 -1
- package/hooks/useToggle.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
## 7.0.0-beta.7 (2024-04-05)
|
|
2
|
+
|
|
3
|
+
## 7.0.0-beta.6 (2024-04-05)
|
|
4
|
+
|
|
1
5
|
## 7.0.0-beta.5 (2024-04-05)
|
|
2
6
|
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- expander ny prop contentclassnames
|
|
10
|
+
([d83abda](https://github.com/helsenorge/designsystem/commit/d83abdaaf321131398450dbb5ea163a8ce61f54f)), closes
|
|
11
|
+
[#309420](https://github.com/helsenorge/designsystem/issues/309420)
|
|
12
|
+
|
|
3
13
|
### Reverts
|
|
4
14
|
|
|
5
15
|
- bruk getSpacer på gamlemåten pga trøbbel i core-frontend
|
|
@@ -33,6 +43,34 @@
|
|
|
33
43
|
|
|
34
44
|
- ts5, oppdater alle pakker ([d93bf76](https://github.com/helsenorge/designsystem/commit/d93bf76212b41b47aef279478b2af76705be2713))
|
|
35
45
|
|
|
46
|
+
## [6.6.2](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.6.1&targetVersion=GTv6.6.2) (2024-04-03)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- fjern ikke-fungerende animasjon ([fa2f140](https://github.com/helsenorge/designsystem/commit/fa2f14035ef093eaedbbc3a6baf00857b355e851)),
|
|
51
|
+
closes [#313072](https://github.com/helsenorge/designsystem/issues/313072)
|
|
52
|
+
- iconwall fungerer igjen ([5538068](https://github.com/helsenorge/designsystem/commit/55380689ee7b806c28dfcc84718bf161e1e89e83)), closes
|
|
53
|
+
[#322532](https://github.com/helsenorge/designsystem/issues/322532)
|
|
54
|
+
- popmenu lukkes automatisk ved klikk på linker i menyen
|
|
55
|
+
([e6693bb](https://github.com/helsenorge/designsystem/commit/e6693bb3dc2e47aa56555fad6dbeb812bceb91ea)), closes
|
|
56
|
+
[#321671](https://github.com/helsenorge/designsystem/issues/321671)
|
|
57
|
+
|
|
58
|
+
## [6.6.1](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.6.0&targetVersion=GTv6.6.1) (2024-03-19)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
- reactdaypicker styling eksporterer riktig
|
|
63
|
+
([45352f0](https://github.com/helsenorge/designsystem/commit/45352f099804e22af77d6ee5c8e903865151ed2d)), closes
|
|
64
|
+
[#322222](https://github.com/helsenorge/designsystem/issues/322222)
|
|
65
|
+
|
|
66
|
+
## [6.6.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.5.0&targetVersion=GTv6.6.0) (2024-03-15)
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
- zindex med prop lagt til i datepicker dropdown expander og popover
|
|
71
|
+
([915fabc](https://github.com/helsenorge/designsystem/commit/915fabcb890fe3d339d874a74701fbadb606dcc9)), closes
|
|
72
|
+
[#309420](https://github.com/helsenorge/designsystem/issues/309420)
|
|
73
|
+
|
|
36
74
|
## [6.5.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.4.0&targetVersion=GTv6.5.0) (2024-03-07)
|
|
37
75
|
|
|
38
76
|
### Features
|
package/hooks/useExpand.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export declare const useExpand: (expanded: boolean, onExpand?: (
|
|
2
|
+
export declare const useExpand: (expanded: boolean, onExpand?: (isExpanded: boolean) => void) => [boolean, Dispatch<SetStateAction<boolean>>];
|
package/hooks/useToggle.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @param callback Funksjon som kalles når value endrer verdi (optional)
|
|
6
6
|
* @returns Objekt med nåværende verdi og funksjon som kan kalles for å toggle verdien
|
|
7
7
|
*/
|
|
8
|
-
export declare const useToggle: (initialValue: boolean, callback?: (
|
|
8
|
+
export declare const useToggle: (initialValue: boolean, callback?: (value: boolean) => void) => {
|
|
9
9
|
value: boolean;
|
|
10
10
|
toggleValue: () => void;
|
|
11
11
|
};
|