@majoo-ui/react 1.59.3-rc.4 → 1.59.3-rc.5
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/index.esm.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -22759,7 +22759,7 @@ const useLocalStorageState = (key, initialValue) => {
|
|
|
22759
22759
|
});
|
|
22760
22760
|
useEffect(() => {
|
|
22761
22761
|
localStorage.setItem(key, JSON.stringify(state));
|
|
22762
|
-
window.dispatchEvent(new Event(
|
|
22762
|
+
window.dispatchEvent(new Event('storage'));
|
|
22763
22763
|
}, [key, state]);
|
|
22764
22764
|
return [state, setState];
|
|
22765
22765
|
};
|
package/index.umd.js
CHANGED
|
@@ -23103,7 +23103,7 @@
|
|
|
23103
23103
|
setState = _a[1];
|
|
23104
23104
|
React.useEffect(function () {
|
|
23105
23105
|
localStorage.setItem(key, JSON.stringify(state));
|
|
23106
|
-
window.dispatchEvent(new Event(
|
|
23106
|
+
window.dispatchEvent(new Event('storage'));
|
|
23107
23107
|
}, [key, state]);
|
|
23108
23108
|
return [state, setState];
|
|
23109
23109
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.59.3-rc.
|
|
3
|
+
"version": "1.59.3-rc.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@majoo-ui/core": "^1.31.3",
|
|
6
6
|
"@majoo-ui/helpers": "^1.30.5",
|
|
7
|
-
"@majoo-ui/icons": "^1.38.
|
|
7
|
+
"@majoo-ui/icons": "^1.38.22",
|
|
8
8
|
"@stitches/react": "^1.2.8",
|
|
9
9
|
"@radix-ui/react-alert-dialog": "^1.0.0",
|
|
10
10
|
"@radix-ui/react-avatar": "^1.0.0",
|