@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.
@@ -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/core';
17
+ * import { IconButton } from '@rabex-kit/rabex-ui';
18
18
  * ```
19
19
  *
20
20
  * @param props
@@ -8,6 +8,9 @@ declare const _default: {
8
8
  }) => {
9
9
  backgroundColor: any;
10
10
  borderRadius?: string | number;
11
+ '& .MuiIconButton': {
12
+ color: string;
13
+ };
11
14
  };
12
15
  };
13
16
  variants: {
@@ -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/core';
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({}, ownerState.variant === 'circular' && {
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