@majoo-ui/react 1.59.3-rc.4 → 1.59.3-rc.6
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 +3 -3
- package/index.umd.js +3 -3
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -22727,10 +22727,10 @@ function HeaderMenuOption(props) {
|
|
|
22727
22727
|
padding: '$spacing-06 $spacing-05',
|
|
22728
22728
|
boxShadow: '$medium',
|
|
22729
22729
|
backgroundColor: 'white',
|
|
22730
|
-
maxHeight:
|
|
22730
|
+
maxHeight: 300,
|
|
22731
22731
|
minWidth: 167,
|
|
22732
22732
|
width: 'max-content',
|
|
22733
|
-
overflowY: visibleHeaders.filter(val => typeof val.Header === 'string').length >
|
|
22733
|
+
overflowY: visibleHeaders.filter(val => typeof val.Header === 'string').length > 5 ? 'scroll' : 'none'
|
|
22734
22734
|
}
|
|
22735
22735
|
}, {
|
|
22736
22736
|
children: jsx(CheckboxGroup, Object.assign({
|
|
@@ -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
|
@@ -23059,12 +23059,12 @@
|
|
|
23059
23059
|
padding: '$spacing-06 $spacing-05',
|
|
23060
23060
|
boxShadow: '$medium',
|
|
23061
23061
|
backgroundColor: 'white',
|
|
23062
|
-
maxHeight:
|
|
23062
|
+
maxHeight: 300,
|
|
23063
23063
|
minWidth: 167,
|
|
23064
23064
|
width: 'max-content',
|
|
23065
23065
|
overflowY: visibleHeaders.filter(function (val) {
|
|
23066
23066
|
return typeof val.Header === 'string';
|
|
23067
|
-
}).length >
|
|
23067
|
+
}).length > 5 ? 'scroll' : 'none'
|
|
23068
23068
|
}
|
|
23069
23069
|
}, {
|
|
23070
23070
|
children: jsxRuntime.jsx(CheckboxGroup, __assign({
|
|
@@ -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.6",
|
|
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.23",
|
|
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",
|