@rabex-kit/rabex-ui 0.2.26 → 0.2.28
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/rabex-ui.cjs.development.js +40 -31
- 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 +40 -31
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -2779,7 +2779,8 @@ var components = {
|
|
2779
2779
|
style: function style(_ref11) {
|
2780
2780
|
var theme = _ref11.theme;
|
2781
2781
|
return {
|
2782
|
-
|
2782
|
+
width: '24px',
|
2783
|
+
height: '24px',
|
2783
2784
|
// padding: theme.spacing(3.5, 3.5),
|
2784
2785
|
padding: theme.spacing(1),
|
2785
2786
|
borderRadius: theme.spacing(1)
|
@@ -2793,7 +2794,8 @@ var components = {
|
|
2793
2794
|
style: function style(_ref12) {
|
2794
2795
|
var theme = _ref12.theme;
|
2795
2796
|
return {
|
2796
|
-
|
2797
|
+
width: '32px',
|
2798
|
+
height: '32px',
|
2797
2799
|
// padding: theme.spacing(3.5, 3.5),
|
2798
2800
|
padding: theme.spacing(2),
|
2799
2801
|
borderRadius: theme.spacing(2)
|
@@ -2807,7 +2809,8 @@ var components = {
|
|
2807
2809
|
style: function style(_ref13) {
|
2808
2810
|
var theme = _ref13.theme;
|
2809
2811
|
return {
|
2810
|
-
|
2812
|
+
width: '40px',
|
2813
|
+
height: '40px',
|
2811
2814
|
// padding: theme.spacing(3.5, 3.5),
|
2812
2815
|
padding: theme.spacing(2),
|
2813
2816
|
borderRadius: theme.spacing(2)
|
@@ -2821,7 +2824,8 @@ var components = {
|
|
2821
2824
|
style: function style(_ref14) {
|
2822
2825
|
var theme = _ref14.theme;
|
2823
2826
|
return {
|
2824
|
-
|
2827
|
+
width: '48px',
|
2828
|
+
height: '48px',
|
2825
2829
|
padding: theme.spacing(3),
|
2826
2830
|
borderRadius: theme.spacing(2)
|
2827
2831
|
};
|
@@ -2834,7 +2838,8 @@ var components = {
|
|
2834
2838
|
style: function style(_ref15) {
|
2835
2839
|
var theme = _ref15.theme;
|
2836
2840
|
return {
|
2837
|
-
|
2841
|
+
width: '56px',
|
2842
|
+
height: '56px',
|
2838
2843
|
padding: theme.spacing(4),
|
2839
2844
|
borderRadius: theme.spacing(2)
|
2840
2845
|
};
|
@@ -3267,23 +3272,22 @@ var RabexTabs = {
|
|
3267
3272
|
backgroundColor: 'unset'
|
3268
3273
|
} : {
|
3269
3274
|
'& .MuiTabs-flexContainer': {
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3275
|
+
gap: theme.spacing(2),
|
3276
|
+
'& .MuiTab-root': {
|
3277
|
+
borderRadius: theme.spacing(2),
|
3278
|
+
backgroundColor: theme.palette.secondary[500],
|
3279
|
+
color: theme.palette.textColor[900],
|
3280
|
+
'&:hover': {
|
3281
|
+
backgroundColor: theme.palette.primary[600],
|
3282
|
+
color: theme.palette.textColor[50]
|
3283
|
+
}
|
3284
|
+
},
|
3285
|
+
'& .MuiTab-root.Mui-selected': {
|
3286
|
+
borderRadius: theme.spacing(2),
|
3287
|
+
backgroundColor: theme.palette.primary[500],
|
3279
3288
|
color: theme.palette.textColor[50]
|
3280
3289
|
}
|
3281
3290
|
},
|
3282
|
-
'& .MuiTab-root.Mui-selected': {
|
3283
|
-
borderRadius: theme.spacing(2),
|
3284
|
-
backgroundColor: theme.palette.primary[500],
|
3285
|
-
color: theme.palette.textColor[50]
|
3286
|
-
},
|
3287
3291
|
backgroundColor: 'transparent'
|
3288
3292
|
};
|
3289
3293
|
// Size-specific styles
|
@@ -5938,7 +5942,7 @@ var Stepper = function Stepper(props) {
|
|
5938
5942
|
* You can read Material-UI SwipeableDrawer Documentation [here](https://mui.com/material-ui/api/swipeable-drawer/).
|
5939
5943
|
*
|
5940
5944
|
* ```typescript
|
5941
|
-
* import { SwipeableDrawer } from '@rabex-kit/
|
5945
|
+
* import { SwipeableDrawer } from '@rabex-kit/rabex-ui';
|
5942
5946
|
* ```
|
5943
5947
|
* @param props
|
5944
5948
|
* @returns
|
@@ -6110,30 +6114,32 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6110
6114
|
minHeight: 'unset',
|
6111
6115
|
display: 'flex',
|
6112
6116
|
backgroundColor: theme.palette.backgroundColor[200],
|
6113
|
-
|
6114
|
-
// '& .MuiTabs-root': {
|
6115
|
-
// padding: theme.spacing(1),
|
6116
|
-
// },
|
6117
|
+
padding: theme.spacing(0),
|
6117
6118
|
'& .MuiTabs-fixed': {
|
6118
|
-
padding: theme.spacing(
|
6119
|
+
padding: theme.spacing(1)
|
6119
6120
|
},
|
6120
6121
|
'& .MuiTabs-flexContainer': {
|
6121
|
-
gap: theme.spacing(1)
|
6122
|
+
gap: theme.spacing(1),
|
6123
|
+
'& .MuiTab-root.Mui-selected': {
|
6124
|
+
backgroundColor: theme.palette.base[50],
|
6125
|
+
color: theme.palette.textColor[900]
|
6126
|
+
}
|
6122
6127
|
}
|
6123
6128
|
}, ownerState.size === 'sm' && {
|
6124
6129
|
height: theme.spacing(8),
|
6125
6130
|
borderRadius: theme.spacing(2),
|
6126
|
-
|
6131
|
+
// padding: theme.spacing(1),
|
6132
|
+
'& .MuiTab-root': {
|
6127
6133
|
borderRadius: theme.spacing(1),
|
6128
6134
|
height: theme.spacing(6),
|
6129
6135
|
padding: theme.spacing(0, 3)
|
6130
6136
|
},
|
6131
|
-
'
|
6132
|
-
color: 'inherit',
|
6137
|
+
'& .MuiTab-root.Mui-selected': {
|
6133
6138
|
borderRadius: theme.spacing(1),
|
6134
6139
|
height: theme.spacing(6)
|
6135
6140
|
}
|
6136
6141
|
}, ownerState.size === 'md' && {
|
6142
|
+
// padding: theme.spacing(1),
|
6137
6143
|
height: theme.spacing(12),
|
6138
6144
|
borderRadius: theme.spacing(3),
|
6139
6145
|
'& .MuiTab-root': {
|
@@ -6142,11 +6148,13 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6142
6148
|
padding: theme.spacing(2, 3)
|
6143
6149
|
},
|
6144
6150
|
'& .MuiTab-root.Mui-selected': {
|
6145
|
-
|
6151
|
+
// backgroundColor: theme.palette.base[50],
|
6152
|
+
// color: theme.palette.textColor[900],
|
6146
6153
|
borderRadius: theme.spacing(2),
|
6147
6154
|
height: theme.spacing(10)
|
6148
6155
|
}
|
6149
6156
|
}, ownerState.size === 'lg' && {
|
6157
|
+
// padding: theme.spacing(1),
|
6150
6158
|
height: theme.spacing(14),
|
6151
6159
|
borderRadius: theme.spacing(3),
|
6152
6160
|
'& .MuiTab-root': {
|
@@ -6155,7 +6163,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6155
6163
|
padding: theme.spacing(3, 4)
|
6156
6164
|
},
|
6157
6165
|
'& .MuiTab-root.Mui-selected': {
|
6158
|
-
|
6166
|
+
// backgroundColor: theme.palette.base[50],
|
6167
|
+
// color: theme.palette.textColor[900],
|
6159
6168
|
borderRadius: theme.spacing(2),
|
6160
6169
|
height: theme.spacing(12)
|
6161
6170
|
}
|