@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
@@ -14,7 +14,7 @@ export declare type IconButtonProps = IProps;
|
|
14
14
|
* You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
|
15
15
|
*
|
16
16
|
* ```typescript
|
17
|
-
* import { IconButton } from '@rabex-kit/
|
17
|
+
* import { IconButton } from '@rabex-kit/rabex-ui';
|
18
18
|
* ```
|
19
19
|
*
|
20
20
|
* @param props
|
@@ -1258,7 +1258,7 @@ var Grid = function Grid(_ref) {
|
|
1258
1258
|
* You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
|
1259
1259
|
*
|
1260
1260
|
* ```typescript
|
1261
|
-
* import { IconButton } from '@rabex-kit/
|
1261
|
+
* import { IconButton } from '@rabex-kit/rabex-ui';
|
1262
1262
|
* ```
|
1263
1263
|
*
|
1264
1264
|
* @param props
|
@@ -3143,7 +3143,11 @@ var RabexTabs = {
|
|
3143
3143
|
var baseStyles = {
|
3144
3144
|
borderRadius: 8,
|
3145
3145
|
minHeight: 'unset',
|
3146
|
-
color: theme.palette.base.A10
|
3146
|
+
color: theme.palette.base.A10,
|
3147
|
+
/// remove the separation border
|
3148
|
+
'& .MuiTab-root::after': {
|
3149
|
+
display: 'none'
|
3150
|
+
}
|
3147
3151
|
};
|
3148
3152
|
// Mode-specific styles
|
3149
3153
|
var modeStyles = mode === 'underline' ? {
|
@@ -3858,7 +3862,11 @@ var RabexIconButton = {
|
|
3858
3862
|
root: function root(_ref) {
|
3859
3863
|
var ownerState = _ref.ownerState,
|
3860
3864
|
theme = _ref.theme;
|
3861
|
-
return _extends({
|
3865
|
+
return _extends({
|
3866
|
+
'& .MuiIconButton': {
|
3867
|
+
color: 'inherit'
|
3868
|
+
}
|
3869
|
+
}, ownerState.variant === 'circular' && {
|
3862
3870
|
borderRadius: '50%'
|
3863
3871
|
}, ownerState.variant === 'rounded' && {
|
3864
3872
|
borderRadius: 8
|