@rabex-kit/rabex-ui 0.2.24 → 0.2.26
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/getDesignTokens.d.ts +1 -1
- package/dist/rabex-ui.cjs.development.js +30 -25
- 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 +30 -25
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -3266,14 +3266,25 @@ 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
|
-
padding: theme.spacing(1)
|
3270
|
+
// padding: theme.spacing(1),
|
3271
|
+
gap: theme.spacing(2)
|
3272
|
+
},
|
3273
|
+
'& .MuiTab-root': {
|
3274
|
+
borderRadius: theme.spacing(2),
|
3275
|
+
backgroundColor: theme.palette.secondary[500],
|
3276
|
+
color: theme.palette.textColor[900],
|
3277
|
+
'&:hover': {
|
3278
|
+
backgroundColor: theme.palette.primary[600],
|
3279
|
+
color: theme.palette.textColor[50]
|
3280
|
+
}
|
3275
3281
|
},
|
3276
|
-
|
3282
|
+
'& .MuiTab-root.Mui-selected': {
|
3283
|
+
borderRadius: theme.spacing(2),
|
3284
|
+
backgroundColor: theme.palette.primary[500],
|
3285
|
+
color: theme.palette.textColor[50]
|
3286
|
+
},
|
3287
|
+
backgroundColor: 'transparent'
|
3277
3288
|
};
|
3278
3289
|
// Size-specific styles
|
3279
3290
|
var sizeMap = mode === 'underline' ? {
|
@@ -3312,28 +3323,22 @@ var RabexTabs = {
|
|
3312
3323
|
}
|
3313
3324
|
} : {
|
3314
3325
|
sm: {
|
3315
|
-
'& .
|
3316
|
-
|
3317
|
-
|
3318
|
-
}
|
3319
|
-
height: theme.spacing(8),
|
3320
|
-
borderRadius: theme.spacing(2)
|
3326
|
+
'& .MuiTab-root': {
|
3327
|
+
height: theme.spacing(8),
|
3328
|
+
padding: theme.spacing(1, 3)
|
3329
|
+
}
|
3321
3330
|
},
|
3322
3331
|
md: {
|
3323
|
-
'& .
|
3324
|
-
|
3325
|
-
|
3326
|
-
}
|
3327
|
-
height: theme.spacing(10),
|
3328
|
-
borderRadius: theme.spacing(2)
|
3332
|
+
'& .MuiTab-root': {
|
3333
|
+
height: theme.spacing(10),
|
3334
|
+
padding: theme.spacing(2, 4)
|
3335
|
+
}
|
3329
3336
|
},
|
3330
3337
|
lg: {
|
3331
|
-
'& .
|
3332
|
-
|
3333
|
-
|
3334
|
-
}
|
3335
|
-
height: theme.spacing(12),
|
3336
|
-
borderRadius: theme.spacing(3)
|
3338
|
+
'& .MuiTab-root': {
|
3339
|
+
height: theme.spacing(12),
|
3340
|
+
padding: theme.spacing(3, 4)
|
3341
|
+
}
|
3337
3342
|
}
|
3338
3343
|
};
|
3339
3344
|
var sizeStyles = sizeMap[size || 'sm'] || sizeMap.sm;
|
@@ -3359,7 +3364,7 @@ var RabexTabs = {
|
|
3359
3364
|
border: "2px dotted " + theme.palette.base.A40
|
3360
3365
|
} : {};
|
3361
3366
|
// Return combined styles
|
3362
|
-
return _extends({}, baseStyles, modeStyles,
|
3367
|
+
return _extends({}, baseStyles, modeStyles, variantStyles, sizeStyles, orientationStyles, borderStyles);
|
3363
3368
|
},
|
3364
3369
|
indicator: function indicator(_ref3) {
|
3365
3370
|
var ownerState = _ref3.ownerState;
|