@galaxy-ds/core 2.0.19 → 2.0.20

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/dist/index.js CHANGED
@@ -1783,14 +1783,17 @@ var switchOverrides$1 = {
1783
1783
  border: "1px solid ".concat(theme.palette.primary.main),
1784
1784
  borderRadius: 10,
1785
1785
  },
1786
+ '& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track': {
1787
+ backgroundColor: '#3FAF2A33',
1788
+ },
1786
1789
  '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {
1787
1790
  opacity: 1,
1788
1791
  backgroundColor: 'rgba(63, 175, 42, 0.15)',
1789
1792
  },
1790
1793
  '& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {
1791
- opacity: 1,
1794
+ opacity: 0.5,
1792
1795
  backgroundColor: theme.palette.grey[100],
1793
- borderColor: theme.palette.grey[400],
1796
+ borderColor: theme.palette.grey[500],
1794
1797
  },
1795
1798
  '& .MuiSwitch-switchBase.Mui-disabled': {
1796
1799
  '& .MuiSwitch-thumb': {
@@ -2719,10 +2722,12 @@ var dropdownOverrides = {
2719
2722
  display: 'inline-flex',
2720
2723
  alignItems: 'center',
2721
2724
  gap: 8,
2722
- padding: '12px 12px 12px 16px',
2725
+ padding: '12px 0',
2723
2726
  '&.MuiInputBase-adornedStart': {
2724
2727
  '.MuiSvgIcon-root': {
2725
2728
  fontSize: 16,
2729
+ left: 16,
2730
+ position: 'relative',
2726
2731
  margin: 0,
2727
2732
  },
2728
2733
  },
@@ -2749,6 +2754,9 @@ var dropdownOverrides = {
2749
2754
  height: 12,
2750
2755
  background: "url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4H2L6 8L10 4Z' fill='%231C365F'/%3E%3C/svg%3E\") center center no-repeat",
2751
2756
  marginLeft: 'auto',
2757
+ position: 'absolute',
2758
+ right: '12px',
2759
+ pointerEvents: 'none',
2752
2760
  },
2753
2761
  '&.customselect::after': {
2754
2762
  content: '""',
@@ -2757,6 +2765,9 @@ var dropdownOverrides = {
2757
2765
  height: 12,
2758
2766
  background: "url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 7H2L6 11L10 7Z' fill='%23444444'/%3E%3Cpath d='M2 5L10 5L6 1L2 5Z' fill='%23444444'/%3E%3C/svg%3E\") center center no-repeat",
2759
2767
  marginLeft: 'auto',
2768
+ position: 'absolute',
2769
+ right: '12px',
2770
+ pointerEvents: 'none',
2760
2771
  },
2761
2772
  });
2762
2773
  },
@@ -2767,7 +2778,7 @@ var dropdownOverrides = {
2767
2778
  fontWeight: 600,
2768
2779
  letterSpacing: '.02em',
2769
2780
  '&.MuiOutlinedInput-input': {
2770
- padding: '12px 0px',
2781
+ padding: '8px 32px 8px 16px',
2771
2782
  },
2772
2783
  },
2773
2784
  },
@@ -3048,7 +3059,7 @@ var menuItemOverrides = {
3048
3059
  '&.MuiMenuItem-root': (_b = {
3049
3060
  lineHeight: 1.5715,
3050
3061
  letterSpacing: '0.01rem',
3051
- padding: '.25rem 1.25rem'
3062
+ padding: '.5rem 1rem'
3052
3063
  },
3053
3064
  _b[theme.breakpoints.down('sm')] = {
3054
3065
  minHeight: 40,
@@ -3332,6 +3343,9 @@ var switchOverrides = {
3332
3343
  border: "1px solid ".concat(theme.palette.grey[400]),
3333
3344
  height: 24,
3334
3345
  },
3346
+ '& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track': {
3347
+ backgroundColor: '#3FAF2A33',
3348
+ },
3335
3349
  '& .MuiSwitch-switchBase.Mui-disabled': {
3336
3350
  '& .MuiSwitch-thumb': {
3337
3351
  color: theme.palette.grey[400],