@rabex-kit/rabex-ui 0.1.26 → 0.1.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/Theme/Tabs/index.d.ts +452 -113
- package/dist/rabex-ui.cjs.development.js +23 -14
- 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 +23 -14
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
@@ -2274,10 +2274,7 @@ var TabPanel = function TabPanel(_ref) {
|
|
2274
2274
|
* @returns
|
2275
2275
|
*/
|
2276
2276
|
var Tabs = /*#__PURE__*/styled(MuiTabs, {
|
2277
|
-
name: 'MuiTabs'
|
2278
|
-
shouldForwardProp: function shouldForwardProp(prop) {
|
2279
|
-
return !['hasBorder', 'isSeprate', 'size', 'mode'].includes(prop);
|
2280
|
-
}
|
2277
|
+
name: 'MuiTabs'
|
2281
2278
|
})(function () {
|
2282
2279
|
return {};
|
2283
2280
|
});
|
@@ -3151,17 +3148,26 @@ var RabexTabs = {
|
|
3151
3148
|
},
|
3152
3149
|
backgroundColor: theme.palette.mode === 'light' ? theme.palette.secondary.A100 : theme.palette.secondary.A100
|
3153
3150
|
}, ownerState.size === 'sm' && {
|
3151
|
+
'& .MuiTabs-fixed': {
|
3152
|
+
padding: theme.spacing(1, 2),
|
3153
|
+
marginBottom: theme.spacing(2)
|
3154
|
+
},
|
3154
3155
|
height: theme.spacing(8),
|
3155
|
-
borderRadius: theme.spacing(2)
|
3156
|
-
padding: theme.spacing(1, 4)
|
3156
|
+
borderRadius: theme.spacing(2)
|
3157
3157
|
}, ownerState.size === 'md' && {
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3158
|
+
'& .MuiTabs-fixed': {
|
3159
|
+
padding: theme.spacing(2, 4),
|
3160
|
+
marginBottom: theme.spacing(2)
|
3161
|
+
},
|
3162
|
+
height: theme.spacing(10),
|
3163
|
+
borderRadius: theme.spacing(2)
|
3161
3164
|
}, ownerState.size === 'lg' && {
|
3162
|
-
|
3163
|
-
|
3164
|
-
|
3165
|
+
'& .MuiTabs-fixed': {
|
3166
|
+
padding: theme.spacing(3, 4),
|
3167
|
+
marginBottom: theme.spacing(3)
|
3168
|
+
},
|
3169
|
+
height: theme.spacing(12),
|
3170
|
+
borderRadius: theme.spacing(3)
|
3165
3171
|
}, ownerState.mode === 'underline' && {
|
3166
3172
|
'& .MuiTab-root.Mui-selected': {
|
3167
3173
|
borderRadius: 4,
|
@@ -3189,8 +3195,11 @@ var RabexTabs = {
|
|
3189
3195
|
}
|
3190
3196
|
});
|
3191
3197
|
},
|
3192
|
-
indicator: {
|
3193
|
-
|
3198
|
+
indicator: function indicator(_ref2) {
|
3199
|
+
var ownerState = _ref2.ownerState;
|
3200
|
+
return {
|
3201
|
+
display: ownerState.mode === 'underline' ? 'show' : 'none'
|
3202
|
+
};
|
3194
3203
|
}
|
3195
3204
|
},
|
3196
3205
|
variants: []
|