@rabex-kit/rabex-ui 0.2.24 → 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.
- package/dist/SwipeableDrawer/index.d.ts +1 -1
- package/dist/Theme/getDesignTokens.d.ts +1 -1
- package/dist/rabex-ui.cjs.development.js +46 -37
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +46 -37
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -3266,14 +3266,24 @@ var RabexTabs = {
|
|
3266
3266
|
},
|
3267
3267
|
backgroundColor: 'unset'
|
3268
3268
|
} : {
|
3269
|
-
'& .MuiTab-root.Mui-selected': {
|
3270
|
-
borderRadius: 4,
|
3271
|
-
color: theme.palette.mode === 'light' ? theme.palette.textColor.A60 : theme.palette.textColor.A0
|
3272
|
-
},
|
3273
3269
|
'& .MuiTabs-flexContainer': {
|
3274
|
-
|
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],
|
3283
|
+
color: theme.palette.textColor[50]
|
3284
|
+
}
|
3275
3285
|
},
|
3276
|
-
backgroundColor:
|
3286
|
+
backgroundColor: 'transparent'
|
3277
3287
|
};
|
3278
3288
|
// Size-specific styles
|
3279
3289
|
var sizeMap = mode === 'underline' ? {
|
@@ -3312,28 +3322,22 @@ var RabexTabs = {
|
|
3312
3322
|
}
|
3313
3323
|
} : {
|
3314
3324
|
sm: {
|
3315
|
-
'& .
|
3316
|
-
|
3317
|
-
|
3318
|
-
}
|
3319
|
-
height: theme.spacing(8),
|
3320
|
-
borderRadius: theme.spacing(2)
|
3325
|
+
'& .MuiTab-root': {
|
3326
|
+
height: theme.spacing(8),
|
3327
|
+
padding: theme.spacing(1, 3)
|
3328
|
+
}
|
3321
3329
|
},
|
3322
3330
|
md: {
|
3323
|
-
'& .
|
3324
|
-
|
3325
|
-
|
3326
|
-
}
|
3327
|
-
height: theme.spacing(10),
|
3328
|
-
borderRadius: theme.spacing(2)
|
3331
|
+
'& .MuiTab-root': {
|
3332
|
+
height: theme.spacing(10),
|
3333
|
+
padding: theme.spacing(2, 4)
|
3334
|
+
}
|
3329
3335
|
},
|
3330
3336
|
lg: {
|
3331
|
-
'& .
|
3332
|
-
|
3333
|
-
|
3334
|
-
}
|
3335
|
-
height: theme.spacing(12),
|
3336
|
-
borderRadius: theme.spacing(3)
|
3337
|
+
'& .MuiTab-root': {
|
3338
|
+
height: theme.spacing(12),
|
3339
|
+
padding: theme.spacing(3, 4)
|
3340
|
+
}
|
3337
3341
|
}
|
3338
3342
|
};
|
3339
3343
|
var sizeStyles = sizeMap[size || 'sm'] || sizeMap.sm;
|
@@ -3359,7 +3363,7 @@ var RabexTabs = {
|
|
3359
3363
|
border: "2px dotted " + theme.palette.base.A40
|
3360
3364
|
} : {};
|
3361
3365
|
// Return combined styles
|
3362
|
-
return _extends({}, baseStyles, modeStyles,
|
3366
|
+
return _extends({}, baseStyles, modeStyles, variantStyles, sizeStyles, orientationStyles, borderStyles);
|
3363
3367
|
},
|
3364
3368
|
indicator: function indicator(_ref3) {
|
3365
3369
|
var ownerState = _ref3.ownerState;
|
@@ -5933,7 +5937,7 @@ var Stepper = function Stepper(props) {
|
|
5933
5937
|
* You can read Material-UI SwipeableDrawer Documentation [here](https://mui.com/material-ui/api/swipeable-drawer/).
|
5934
5938
|
*
|
5935
5939
|
* ```typescript
|
5936
|
-
* import { SwipeableDrawer } from '@rabex-kit/
|
5940
|
+
* import { SwipeableDrawer } from '@rabex-kit/rabex-ui';
|
5937
5941
|
* ```
|
5938
5942
|
* @param props
|
5939
5943
|
* @returns
|
@@ -6105,30 +6109,32 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6105
6109
|
minHeight: 'unset',
|
6106
6110
|
display: 'flex',
|
6107
6111
|
backgroundColor: theme.palette.backgroundColor[200],
|
6108
|
-
|
6109
|
-
// '& .MuiTabs-root': {
|
6110
|
-
// padding: theme.spacing(1),
|
6111
|
-
// },
|
6112
|
+
padding: theme.spacing(0),
|
6112
6113
|
'& .MuiTabs-fixed': {
|
6113
|
-
padding: theme.spacing(
|
6114
|
+
padding: theme.spacing(1)
|
6114
6115
|
},
|
6115
6116
|
'& .MuiTabs-flexContainer': {
|
6116
|
-
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
|
+
}
|
6117
6122
|
}
|
6118
6123
|
}, ownerState.size === 'sm' && {
|
6119
6124
|
height: theme.spacing(8),
|
6120
6125
|
borderRadius: theme.spacing(2),
|
6121
|
-
|
6126
|
+
// padding: theme.spacing(1),
|
6127
|
+
'& .MuiTab-root': {
|
6122
6128
|
borderRadius: theme.spacing(1),
|
6123
6129
|
height: theme.spacing(6),
|
6124
6130
|
padding: theme.spacing(0, 3)
|
6125
6131
|
},
|
6126
|
-
'
|
6127
|
-
color: 'inherit',
|
6132
|
+
'& .MuiTab-root.Mui-selected': {
|
6128
6133
|
borderRadius: theme.spacing(1),
|
6129
6134
|
height: theme.spacing(6)
|
6130
6135
|
}
|
6131
6136
|
}, ownerState.size === 'md' && {
|
6137
|
+
// padding: theme.spacing(1),
|
6132
6138
|
height: theme.spacing(12),
|
6133
6139
|
borderRadius: theme.spacing(3),
|
6134
6140
|
'& .MuiTab-root': {
|
@@ -6137,11 +6143,13 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6137
6143
|
padding: theme.spacing(2, 3)
|
6138
6144
|
},
|
6139
6145
|
'& .MuiTab-root.Mui-selected': {
|
6140
|
-
|
6146
|
+
// backgroundColor: theme.palette.base[50],
|
6147
|
+
// color: theme.palette.textColor[900],
|
6141
6148
|
borderRadius: theme.spacing(2),
|
6142
6149
|
height: theme.spacing(10)
|
6143
6150
|
}
|
6144
6151
|
}, ownerState.size === 'lg' && {
|
6152
|
+
// padding: theme.spacing(1),
|
6145
6153
|
height: theme.spacing(14),
|
6146
6154
|
borderRadius: theme.spacing(3),
|
6147
6155
|
'& .MuiTab-root': {
|
@@ -6150,7 +6158,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6150
6158
|
padding: theme.spacing(3, 4)
|
6151
6159
|
},
|
6152
6160
|
'& .MuiTab-root.Mui-selected': {
|
6153
|
-
|
6161
|
+
// backgroundColor: theme.palette.base[50],
|
6162
|
+
// color: theme.palette.textColor[900],
|
6154
6163
|
borderRadius: theme.spacing(2),
|
6155
6164
|
height: theme.spacing(12)
|
6156
6165
|
}
|