@rabex-kit/rabex-ui 0.1.34 → 0.1.36
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/IconButton/index.d.ts +1 -1
- package/dist/Theme/IconButton/index.d.ts +3 -0
- package/dist/rabex-ui.cjs.development.js +11 -3
- 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 +11 -3
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -1253,7 +1253,7 @@ var Grid = function Grid(_ref) {
|
|
1253
1253
|
* You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
|
1254
1254
|
*
|
1255
1255
|
* ```typescript
|
1256
|
-
* import { IconButton } from '@rabex-kit/
|
1256
|
+
* import { IconButton } from '@rabex-kit/rabex-ui';
|
1257
1257
|
* ```
|
1258
1258
|
*
|
1259
1259
|
* @param props
|
@@ -3138,7 +3138,11 @@ var RabexTabs = {
|
|
3138
3138
|
var baseStyles = {
|
3139
3139
|
borderRadius: 8,
|
3140
3140
|
minHeight: 'unset',
|
3141
|
-
color: theme.palette.base.A10
|
3141
|
+
color: theme.palette.base.A10,
|
3142
|
+
/// remove the separation border
|
3143
|
+
'& .MuiTab-root::after': {
|
3144
|
+
display: 'none'
|
3145
|
+
}
|
3142
3146
|
};
|
3143
3147
|
// Mode-specific styles
|
3144
3148
|
var modeStyles = mode === 'underline' ? {
|
@@ -3853,7 +3857,11 @@ var RabexIconButton = {
|
|
3853
3857
|
root: function root(_ref) {
|
3854
3858
|
var ownerState = _ref.ownerState,
|
3855
3859
|
theme = _ref.theme;
|
3856
|
-
return _extends({
|
3860
|
+
return _extends({
|
3861
|
+
'& .MuiIconButton': {
|
3862
|
+
color: 'inherit'
|
3863
|
+
}
|
3864
|
+
}, ownerState.variant === 'circular' && {
|
3857
3865
|
borderRadius: '50%'
|
3858
3866
|
}, ownerState.variant === 'rounded' && {
|
3859
3867
|
borderRadius: 8
|