@rabex-kit/rabex-ui 0.1.11 → 0.1.13

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.
@@ -3110,7 +3110,14 @@ var RabexTabs = {
3110
3110
  return _extends({
3111
3111
  borderRadius: 8,
3112
3112
  minHeight: 'unset',
3113
- color: theme.palette.base.A10
3113
+ color: theme.palette.base.A10,
3114
+ '& .MuiTab-root.Mui-selected': {
3115
+ borderRadius: 4,
3116
+ color: theme.palette.mode === 'light' ? theme.palette.textColor.A60 : theme.palette.textColor.A0
3117
+ },
3118
+ '& .MuiTabs-flexContainer': {
3119
+ padding: theme.spacing(1)
3120
+ }
3114
3121
  }, ownerState.mode === 'underline' && {
3115
3122
  '& .MuiTab-root.Mui-selected': {
3116
3123
  borderRadius: 4,
@@ -5665,7 +5672,7 @@ var _excluded$m = ["theme"];
5665
5672
  var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5666
5673
  name: 'SegmentedControl',
5667
5674
  shouldForwardProp: function shouldForwardProp(prop) {
5668
- return !['size', 'isSeparate', 'hasBorder'].includes(prop);
5675
+ return !['size'].includes(prop);
5669
5676
  }
5670
5677
  })(function (_ref) {
5671
5678
  var theme = _ref.theme,
@@ -5713,22 +5720,6 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5713
5720
  color: 'inherit',
5714
5721
  borderRadius: theme.spacing(2)
5715
5722
  }
5716
- }, ownerState.isSeparate && {
5717
- '& .MuiTabs-flexContainer': {
5718
- gap: theme.spacing(1),
5719
- padding: theme.spacing(1)
5720
- },
5721
- '& .MuiTab-root': {
5722
- borderRadius: theme.spacing(1),
5723
- padding: theme.spacing(2, 3)
5724
- }
5725
- }, ownerState.hasBorder && {
5726
- border: "2px dotted " + theme.palette.divider,
5727
- '& .MuiTab-root': {
5728
- borderRadius: theme.spacing(1),
5729
- border: "2px dotted " + theme.palette.divider,
5730
- lineHeight: theme.spacing(2)
5731
- }
5732
5723
  }, ownerState.variant === 'fullWidth' && {
5733
5724
  width: '100%'
5734
5725
  }, {
@@ -5740,9 +5731,7 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5740
5731
  });
5741
5732
  SegmentedControl.defaultProps = {
5742
5733
  variant: 'fullWidth',
5743
- size: 'sm',
5744
- isSeparate: false,
5745
- hasBorder: false
5734
+ size: 'sm'
5746
5735
  };
5747
5736
 
5748
5737
  // Custom SegmentedControlTab with applied styles