@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
package/dist/rabex-ui.esm.js
CHANGED
@@ -2269,10 +2269,7 @@ var TabPanel = function TabPanel(_ref) {
|
|
2269
2269
|
* @returns
|
2270
2270
|
*/
|
2271
2271
|
var Tabs = /*#__PURE__*/styled(MuiTabs, {
|
2272
|
-
name: 'MuiTabs'
|
2273
|
-
shouldForwardProp: function shouldForwardProp(prop) {
|
2274
|
-
return !['hasBorder', 'isSeprate', 'size', 'mode'].includes(prop);
|
2275
|
-
}
|
2272
|
+
name: 'MuiTabs'
|
2276
2273
|
})(function () {
|
2277
2274
|
return {};
|
2278
2275
|
});
|
@@ -3146,17 +3143,26 @@ var RabexTabs = {
|
|
3146
3143
|
},
|
3147
3144
|
backgroundColor: theme.palette.mode === 'light' ? theme.palette.secondary.A100 : theme.palette.secondary.A100
|
3148
3145
|
}, ownerState.size === 'sm' && {
|
3146
|
+
'& .MuiTabs-fixed': {
|
3147
|
+
padding: theme.spacing(1, 2),
|
3148
|
+
marginBottom: theme.spacing(2)
|
3149
|
+
},
|
3149
3150
|
height: theme.spacing(8),
|
3150
|
-
borderRadius: theme.spacing(2)
|
3151
|
-
padding: theme.spacing(1, 4)
|
3151
|
+
borderRadius: theme.spacing(2)
|
3152
3152
|
}, ownerState.size === 'md' && {
|
3153
|
-
|
3154
|
-
|
3155
|
-
|
3153
|
+
'& .MuiTabs-fixed': {
|
3154
|
+
padding: theme.spacing(2, 4),
|
3155
|
+
marginBottom: theme.spacing(2)
|
3156
|
+
},
|
3157
|
+
height: theme.spacing(10),
|
3158
|
+
borderRadius: theme.spacing(2)
|
3156
3159
|
}, ownerState.size === 'lg' && {
|
3157
|
-
|
3158
|
-
|
3159
|
-
|
3160
|
+
'& .MuiTabs-fixed': {
|
3161
|
+
padding: theme.spacing(3, 4),
|
3162
|
+
marginBottom: theme.spacing(3)
|
3163
|
+
},
|
3164
|
+
height: theme.spacing(12),
|
3165
|
+
borderRadius: theme.spacing(3)
|
3160
3166
|
}, ownerState.mode === 'underline' && {
|
3161
3167
|
'& .MuiTab-root.Mui-selected': {
|
3162
3168
|
borderRadius: 4,
|
@@ -3184,8 +3190,11 @@ var RabexTabs = {
|
|
3184
3190
|
}
|
3185
3191
|
});
|
3186
3192
|
},
|
3187
|
-
indicator: {
|
3188
|
-
|
3193
|
+
indicator: function indicator(_ref2) {
|
3194
|
+
var ownerState = _ref2.ownerState;
|
3195
|
+
return {
|
3196
|
+
display: ownerState.mode === 'underline' ? 'show' : 'none'
|
3197
|
+
};
|
3189
3198
|
}
|
3190
3199
|
},
|
3191
3200
|
variants: []
|