@majoo-ui/react 1.59.3-rc.3 → 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 CHANGED
@@ -22695,6 +22695,7 @@ function HeaderMenuOption(props) {
22695
22695
  }, {
22696
22696
  children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
22697
22697
  children: [jsx(InputCheckbox, {
22698
+ id: `idx-${index}`,
22698
22699
  label: item.Header,
22699
22700
  value: item.id,
22700
22701
  disabled: index === 0
@@ -22740,6 +22741,7 @@ function HeaderMenuOption(props) {
22740
22741
  }, {
22741
22742
  children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
22742
22743
  children: [jsx(InputCheckbox, {
22744
+ id: `idx-${index}`,
22743
22745
  label: item.Header,
22744
22746
  value: item.id,
22745
22747
  disabled: index === 0
@@ -22757,7 +22759,7 @@ const useLocalStorageState = (key, initialValue) => {
22757
22759
  });
22758
22760
  useEffect(() => {
22759
22761
  localStorage.setItem(key, JSON.stringify(state));
22760
- window.dispatchEvent(new Event("storage"));
22762
+ window.dispatchEvent(new Event('storage'));
22761
22763
  }, [key, state]);
22762
22764
  return [state, setState];
22763
22765
  };
@@ -23474,11 +23476,14 @@ function Table({
23474
23476
  zIndex: '$docked',
23475
23477
  position: 'absolute',
23476
23478
  top: '20px',
23477
- right: '10px',
23479
+ right: -10,
23478
23480
  '&:hover': {
23479
- backgroundColor: '#585f5f !important'
23481
+ backgroundColor: '$btnDisable !important'
23480
23482
  },
23481
- backgroundColor: '#c0c4c4 !important',
23483
+ '&:active': {
23484
+ backgroundColor: '$iconDisable !important'
23485
+ },
23486
+ backgroundColor: '$bgBorder !important',
23482
23487
  padding: 0,
23483
23488
  boxShadow: '0px 22px 43px 0px rgba(0, 0, 0, 0.08), 0px 9px 24px 0px rgba(0, 0, 0, 0.09), 0px 3px 9px 0px rgba(0, 0, 0, 0.13)'
23484
23489
  },
@@ -23493,10 +23498,10 @@ function Table({
23493
23498
  css: {
23494
23499
  position: 'absolute',
23495
23500
  top: 0,
23496
- right: 0,
23497
- width: 20,
23501
+ right: -10,
23502
+ width: 10,
23498
23503
  height: '100%',
23499
- boxShadow: '-5px 0px 5px -3px #00000026',
23504
+ boxShadow: tableScrollPosition === 'end' ? 'none' : '-5px 0px 5px -3px #00000026',
23500
23505
  backgroundColor: 'white'
23501
23506
  }
23502
23507
  }, void 0)]
package/index.umd.js CHANGED
@@ -23026,6 +23026,7 @@
23026
23026
  }).map(function (item, index, row) {
23027
23027
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
23028
23028
  children: [jsxRuntime.jsx(InputCheckbox, {
23029
+ id: "idx-".concat(index),
23029
23030
  label: item.Header,
23030
23031
  value: item.id,
23031
23032
  disabled: index === 0
@@ -23081,6 +23082,7 @@
23081
23082
  }).map(function (item, index, row) {
23082
23083
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
23083
23084
  children: [jsxRuntime.jsx(InputCheckbox, {
23085
+ id: "idx-".concat(index),
23084
23086
  label: item.Header,
23085
23087
  value: item.id,
23086
23088
  disabled: index === 0
@@ -23101,7 +23103,7 @@
23101
23103
  setState = _a[1];
23102
23104
  React.useEffect(function () {
23103
23105
  localStorage.setItem(key, JSON.stringify(state));
23104
- window.dispatchEvent(new Event("storage"));
23106
+ window.dispatchEvent(new Event('storage'));
23105
23107
  }, [key, state]);
23106
23108
  return [state, setState];
23107
23109
  };
@@ -23909,11 +23911,14 @@
23909
23911
  zIndex: '$docked',
23910
23912
  position: 'absolute',
23911
23913
  top: '20px',
23912
- right: '10px',
23914
+ right: -10,
23913
23915
  '&:hover': {
23914
- backgroundColor: '#585f5f !important'
23916
+ backgroundColor: '$btnDisable !important'
23915
23917
  },
23916
- backgroundColor: '#c0c4c4 !important',
23918
+ '&:active': {
23919
+ backgroundColor: '$iconDisable !important'
23920
+ },
23921
+ backgroundColor: '$bgBorder !important',
23917
23922
  padding: 0,
23918
23923
  boxShadow: '0px 22px 43px 0px rgba(0, 0, 0, 0.08), 0px 9px 24px 0px rgba(0, 0, 0, 0.09), 0px 3px 9px 0px rgba(0, 0, 0, 0.13)'
23919
23924
  },
@@ -23930,10 +23935,10 @@
23930
23935
  css: {
23931
23936
  position: 'absolute',
23932
23937
  top: 0,
23933
- right: 0,
23934
- width: 20,
23938
+ right: -10,
23939
+ width: 10,
23935
23940
  height: '100%',
23936
- boxShadow: '-5px 0px 5px -3px #00000026',
23941
+ boxShadow: tableScrollPosition === 'end' ? 'none' : '-5px 0px 5px -3px #00000026',
23937
23942
  backgroundColor: 'white'
23938
23943
  }
23939
23944
  }, void 0)]
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.59.3-rc.3",
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.21",
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",