@rabex-kit/rabex-ui 0.2.26 → 0.2.27

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.
@@ -3267,23 +3267,22 @@ var RabexTabs = {
3267
3267
  backgroundColor: 'unset'
3268
3268
  } : {
3269
3269
  '& .MuiTabs-flexContainer': {
3270
- // padding: theme.spacing(1),
3271
- gap: theme.spacing(2)
3272
- },
3273
- '& .MuiTab-root': {
3274
- borderRadius: theme.spacing(2),
3275
- backgroundColor: theme.palette.secondary[500],
3276
- color: theme.palette.textColor[900],
3277
- '&:hover': {
3278
- backgroundColor: theme.palette.primary[600],
3270
+ gap: theme.spacing(2),
3271
+ '& .MuiTab-root': {
3272
+ borderRadius: theme.spacing(2),
3273
+ backgroundColor: theme.palette.secondary[500],
3274
+ color: theme.palette.textColor[900],
3275
+ '&:hover': {
3276
+ backgroundColor: theme.palette.primary[600],
3277
+ color: theme.palette.textColor[50]
3278
+ }
3279
+ },
3280
+ '& .MuiTab-root.Mui-selected': {
3281
+ borderRadius: theme.spacing(2),
3282
+ backgroundColor: theme.palette.primary[500],
3279
3283
  color: theme.palette.textColor[50]
3280
3284
  }
3281
3285
  },
3282
- '& .MuiTab-root.Mui-selected': {
3283
- borderRadius: theme.spacing(2),
3284
- backgroundColor: theme.palette.primary[500],
3285
- color: theme.palette.textColor[50]
3286
- },
3287
3286
  backgroundColor: 'transparent'
3288
3287
  };
3289
3288
  // Size-specific styles
@@ -5938,7 +5937,7 @@ var Stepper = function Stepper(props) {
5938
5937
  * You can read Material-UI SwipeableDrawer Documentation [here](https://mui.com/material-ui/api/swipeable-drawer/).
5939
5938
  *
5940
5939
  * ```typescript
5941
- * import { SwipeableDrawer } from '@rabex-kit/core';
5940
+ * import { SwipeableDrawer } from '@rabex-kit/rabex-ui';
5942
5941
  * ```
5943
5942
  * @param props
5944
5943
  * @returns
@@ -6110,30 +6109,32 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
6110
6109
  minHeight: 'unset',
6111
6110
  display: 'flex',
6112
6111
  backgroundColor: theme.palette.backgroundColor[200],
6113
- // padding: theme.spacing(1),
6114
- // '& .MuiTabs-root': {
6115
- // padding: theme.spacing(1),
6116
- // },
6112
+ padding: theme.spacing(0),
6117
6113
  '& .MuiTabs-fixed': {
6118
- padding: theme.spacing(0)
6114
+ padding: theme.spacing(1)
6119
6115
  },
6120
6116
  '& .MuiTabs-flexContainer': {
6121
- gap: theme.spacing(1)
6117
+ gap: theme.spacing(1),
6118
+ '& .MuiTab-root.Mui-selected': {
6119
+ backgroundColor: theme.palette.base[50],
6120
+ color: theme.palette.textColor[900]
6121
+ }
6122
6122
  }
6123
6123
  }, ownerState.size === 'sm' && {
6124
6124
  height: theme.spacing(8),
6125
6125
  borderRadius: theme.spacing(2),
6126
- '&.MuiTab-root': {
6126
+ // padding: theme.spacing(1),
6127
+ '& .MuiTab-root': {
6127
6128
  borderRadius: theme.spacing(1),
6128
6129
  height: theme.spacing(6),
6129
6130
  padding: theme.spacing(0, 3)
6130
6131
  },
6131
- '&.MuiTab-root.Mui-selected': {
6132
- color: 'inherit',
6132
+ '& .MuiTab-root.Mui-selected': {
6133
6133
  borderRadius: theme.spacing(1),
6134
6134
  height: theme.spacing(6)
6135
6135
  }
6136
6136
  }, ownerState.size === 'md' && {
6137
+ // padding: theme.spacing(1),
6137
6138
  height: theme.spacing(12),
6138
6139
  borderRadius: theme.spacing(3),
6139
6140
  '& .MuiTab-root': {
@@ -6142,11 +6143,13 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
6142
6143
  padding: theme.spacing(2, 3)
6143
6144
  },
6144
6145
  '& .MuiTab-root.Mui-selected': {
6145
- color: 'inherit',
6146
+ // backgroundColor: theme.palette.base[50],
6147
+ // color: theme.palette.textColor[900],
6146
6148
  borderRadius: theme.spacing(2),
6147
6149
  height: theme.spacing(10)
6148
6150
  }
6149
6151
  }, ownerState.size === 'lg' && {
6152
+ // padding: theme.spacing(1),
6150
6153
  height: theme.spacing(14),
6151
6154
  borderRadius: theme.spacing(3),
6152
6155
  '& .MuiTab-root': {
@@ -6155,7 +6158,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
6155
6158
  padding: theme.spacing(3, 4)
6156
6159
  },
6157
6160
  '& .MuiTab-root.Mui-selected': {
6158
- color: 'inherit',
6161
+ // backgroundColor: theme.palette.base[50],
6162
+ // color: theme.palette.textColor[900],
6159
6163
  borderRadius: theme.spacing(2),
6160
6164
  height: theme.spacing(12)
6161
6165
  }