@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
@@ -7,7 +7,7 @@ export declare type SwipeableDrawerProps = MuiSwipeableDrawerProps;
|
|
7
7
|
* You can read Material-UI SwipeableDrawer Documentation [here](https://mui.com/material-ui/api/swipeable-drawer/).
|
8
8
|
*
|
9
9
|
* ```typescript
|
10
|
-
* import { SwipeableDrawer } from '@rabex-kit/
|
10
|
+
* import { SwipeableDrawer } from '@rabex-kit/rabex-ui';
|
11
11
|
* ```
|
12
12
|
* @param props
|
13
13
|
* @returns
|
@@ -2783,7 +2783,8 @@ var components = {
|
|
2783
2783
|
style: function style(_ref11) {
|
2784
2784
|
var theme = _ref11.theme;
|
2785
2785
|
return {
|
2786
|
-
|
2786
|
+
width: '24px',
|
2787
|
+
height: '24px',
|
2787
2788
|
// padding: theme.spacing(3.5, 3.5),
|
2788
2789
|
padding: theme.spacing(1),
|
2789
2790
|
borderRadius: theme.spacing(1)
|
@@ -2797,7 +2798,8 @@ var components = {
|
|
2797
2798
|
style: function style(_ref12) {
|
2798
2799
|
var theme = _ref12.theme;
|
2799
2800
|
return {
|
2800
|
-
|
2801
|
+
width: '32px',
|
2802
|
+
height: '32px',
|
2801
2803
|
// padding: theme.spacing(3.5, 3.5),
|
2802
2804
|
padding: theme.spacing(2),
|
2803
2805
|
borderRadius: theme.spacing(2)
|
@@ -2811,7 +2813,8 @@ var components = {
|
|
2811
2813
|
style: function style(_ref13) {
|
2812
2814
|
var theme = _ref13.theme;
|
2813
2815
|
return {
|
2814
|
-
|
2816
|
+
width: '40px',
|
2817
|
+
height: '40px',
|
2815
2818
|
// padding: theme.spacing(3.5, 3.5),
|
2816
2819
|
padding: theme.spacing(2),
|
2817
2820
|
borderRadius: theme.spacing(2)
|
@@ -2825,7 +2828,8 @@ var components = {
|
|
2825
2828
|
style: function style(_ref14) {
|
2826
2829
|
var theme = _ref14.theme;
|
2827
2830
|
return {
|
2828
|
-
|
2831
|
+
width: '48px',
|
2832
|
+
height: '48px',
|
2829
2833
|
padding: theme.spacing(3),
|
2830
2834
|
borderRadius: theme.spacing(2)
|
2831
2835
|
};
|
@@ -2838,7 +2842,8 @@ var components = {
|
|
2838
2842
|
style: function style(_ref15) {
|
2839
2843
|
var theme = _ref15.theme;
|
2840
2844
|
return {
|
2841
|
-
|
2845
|
+
width: '56px',
|
2846
|
+
height: '56px',
|
2842
2847
|
padding: theme.spacing(4),
|
2843
2848
|
borderRadius: theme.spacing(2)
|
2844
2849
|
};
|
@@ -3271,23 +3276,22 @@ var RabexTabs = {
|
|
3271
3276
|
backgroundColor: 'unset'
|
3272
3277
|
} : {
|
3273
3278
|
'& .MuiTabs-flexContainer': {
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3282
|
-
|
3279
|
+
gap: theme.spacing(2),
|
3280
|
+
'& .MuiTab-root': {
|
3281
|
+
borderRadius: theme.spacing(2),
|
3282
|
+
backgroundColor: theme.palette.secondary[500],
|
3283
|
+
color: theme.palette.textColor[900],
|
3284
|
+
'&:hover': {
|
3285
|
+
backgroundColor: theme.palette.primary[600],
|
3286
|
+
color: theme.palette.textColor[50]
|
3287
|
+
}
|
3288
|
+
},
|
3289
|
+
'& .MuiTab-root.Mui-selected': {
|
3290
|
+
borderRadius: theme.spacing(2),
|
3291
|
+
backgroundColor: theme.palette.primary[500],
|
3283
3292
|
color: theme.palette.textColor[50]
|
3284
3293
|
}
|
3285
3294
|
},
|
3286
|
-
'& .MuiTab-root.Mui-selected': {
|
3287
|
-
borderRadius: theme.spacing(2),
|
3288
|
-
backgroundColor: theme.palette.primary[500],
|
3289
|
-
color: theme.palette.textColor[50]
|
3290
|
-
},
|
3291
3295
|
backgroundColor: 'transparent'
|
3292
3296
|
};
|
3293
3297
|
// Size-specific styles
|
@@ -5942,7 +5946,7 @@ var Stepper = function Stepper(props) {
|
|
5942
5946
|
* You can read Material-UI SwipeableDrawer Documentation [here](https://mui.com/material-ui/api/swipeable-drawer/).
|
5943
5947
|
*
|
5944
5948
|
* ```typescript
|
5945
|
-
* import { SwipeableDrawer } from '@rabex-kit/
|
5949
|
+
* import { SwipeableDrawer } from '@rabex-kit/rabex-ui';
|
5946
5950
|
* ```
|
5947
5951
|
* @param props
|
5948
5952
|
* @returns
|
@@ -6114,30 +6118,32 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6114
6118
|
minHeight: 'unset',
|
6115
6119
|
display: 'flex',
|
6116
6120
|
backgroundColor: theme.palette.backgroundColor[200],
|
6117
|
-
|
6118
|
-
// '& .MuiTabs-root': {
|
6119
|
-
// padding: theme.spacing(1),
|
6120
|
-
// },
|
6121
|
+
padding: theme.spacing(0),
|
6121
6122
|
'& .MuiTabs-fixed': {
|
6122
|
-
padding: theme.spacing(
|
6123
|
+
padding: theme.spacing(1)
|
6123
6124
|
},
|
6124
6125
|
'& .MuiTabs-flexContainer': {
|
6125
|
-
gap: theme.spacing(1)
|
6126
|
+
gap: theme.spacing(1),
|
6127
|
+
'& .MuiTab-root.Mui-selected': {
|
6128
|
+
backgroundColor: theme.palette.base[50],
|
6129
|
+
color: theme.palette.textColor[900]
|
6130
|
+
}
|
6126
6131
|
}
|
6127
6132
|
}, ownerState.size === 'sm' && {
|
6128
6133
|
height: theme.spacing(8),
|
6129
6134
|
borderRadius: theme.spacing(2),
|
6130
|
-
|
6135
|
+
// padding: theme.spacing(1),
|
6136
|
+
'& .MuiTab-root': {
|
6131
6137
|
borderRadius: theme.spacing(1),
|
6132
6138
|
height: theme.spacing(6),
|
6133
6139
|
padding: theme.spacing(0, 3)
|
6134
6140
|
},
|
6135
|
-
'
|
6136
|
-
color: 'inherit',
|
6141
|
+
'& .MuiTab-root.Mui-selected': {
|
6137
6142
|
borderRadius: theme.spacing(1),
|
6138
6143
|
height: theme.spacing(6)
|
6139
6144
|
}
|
6140
6145
|
}, ownerState.size === 'md' && {
|
6146
|
+
// padding: theme.spacing(1),
|
6141
6147
|
height: theme.spacing(12),
|
6142
6148
|
borderRadius: theme.spacing(3),
|
6143
6149
|
'& .MuiTab-root': {
|
@@ -6146,11 +6152,13 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6146
6152
|
padding: theme.spacing(2, 3)
|
6147
6153
|
},
|
6148
6154
|
'& .MuiTab-root.Mui-selected': {
|
6149
|
-
|
6155
|
+
// backgroundColor: theme.palette.base[50],
|
6156
|
+
// color: theme.palette.textColor[900],
|
6150
6157
|
borderRadius: theme.spacing(2),
|
6151
6158
|
height: theme.spacing(10)
|
6152
6159
|
}
|
6153
6160
|
}, ownerState.size === 'lg' && {
|
6161
|
+
// padding: theme.spacing(1),
|
6154
6162
|
height: theme.spacing(14),
|
6155
6163
|
borderRadius: theme.spacing(3),
|
6156
6164
|
'& .MuiTab-root': {
|
@@ -6159,7 +6167,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
|
|
6159
6167
|
padding: theme.spacing(3, 4)
|
6160
6168
|
},
|
6161
6169
|
'& .MuiTab-root.Mui-selected': {
|
6162
|
-
|
6170
|
+
// backgroundColor: theme.palette.base[50],
|
6171
|
+
// color: theme.palette.textColor[900],
|
6163
6172
|
borderRadius: theme.spacing(2),
|
6164
6173
|
height: theme.spacing(12)
|
6165
6174
|
}
|