@rabex-kit/rabex-ui 0.1.31 → 0.1.33

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.
@@ -7,7 +7,7 @@ export declare type RTableHeadProps = StackProps;
7
7
  * You can read Material-UI TableHead Documentation [here](https://mui.com/material-ui/api/table-head/).
8
8
  *
9
9
  * ```typescript
10
- * import { TableHead } from '@rabex-kit/core';
10
+ * import { TableHead } from '@rabex-kit/rabex-ui';
11
11
  * ```
12
12
  * @param props
13
13
  * @returns
@@ -7,7 +7,7 @@ export declare type RTableRowProps = StackProps;
7
7
  * You can read Material-UI TableRow Documentation [here](https://mui.com/material-ui/api/table-row/).
8
8
  *
9
9
  * ```typescript
10
- * import { TableRow } from '@rabex-kit/core';
10
+ * import { TableRow } from '@rabex-kit/rabex-ui';
11
11
  * ```
12
12
  * @param props
13
13
  * @returns
@@ -9,7 +9,7 @@ export declare type SkeletonProps = MuiSkeletonProps;
9
9
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/skeleton/).
10
10
  *
11
11
  * ```typescript
12
- * import { Skeleton } from '@rabex-kit/core';
12
+ * import { Skeleton } from '@rabex-kit/rabex-ui';
13
13
  * ```
14
14
  *
15
15
  *
@@ -1773,7 +1773,7 @@ var SelectItem = function SelectItem(props) {
1773
1773
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/skeleton/).
1774
1774
  *
1775
1775
  * ```typescript
1776
- * import { Skeleton } from '@rabex-kit/core';
1776
+ * import { Skeleton } from '@rabex-kit/rabex-ui';
1777
1777
  * ```
1778
1778
  *
1779
1779
  *
@@ -2199,7 +2199,7 @@ var _excluded$c = ["className"];
2199
2199
  * You can read Material-UI TableHead Documentation [here](https://mui.com/material-ui/api/table-head/).
2200
2200
  *
2201
2201
  * ```typescript
2202
- * import { TableHead } from '@rabex-kit/core';
2202
+ * import { TableHead } from '@rabex-kit/rabex-ui';
2203
2203
  * ```
2204
2204
  * @param props
2205
2205
  * @returns
@@ -2225,7 +2225,7 @@ var _excluded$d = ["className"];
2225
2225
  * You can read Material-UI TableRow Documentation [here](https://mui.com/material-ui/api/table-row/).
2226
2226
  *
2227
2227
  * ```typescript
2228
- * import { TableRow } from '@rabex-kit/core';
2228
+ * import { TableRow } from '@rabex-kit/rabex-ui';
2229
2229
  * ```
2230
2230
  * @param props
2231
2231
  * @returns
@@ -2276,7 +2276,10 @@ var TabPanel = function TabPanel(_ref) {
2276
2276
  * @returns
2277
2277
  */
2278
2278
  var Tabs = /*#__PURE__*/styled(MuiTabs, {
2279
- name: 'MuiTabs'
2279
+ name: 'MuiTabs',
2280
+ shouldForwardProp: function shouldForwardProp(prop) {
2281
+ return !['hasBorder', 'isSeprate'].includes(prop);
2282
+ }
2280
2283
  })(function () {
2281
2284
  return {};
2282
2285
  });
@@ -5641,7 +5644,7 @@ var ClickAwayListener = /*#__PURE__*/React__default.forwardRef(function (_ref, r
5641
5644
  *
5642
5645
  *
5643
5646
  * ```typescript
5644
- * import { ExpandableContent } from '@rabex-kit/core';
5647
+ * import { ExpandableContent } from '@rabex-kit/rabex-ui';
5645
5648
  * ```
5646
5649
  * @param props
5647
5650
  * @returns
@@ -5792,6 +5795,13 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5792
5795
  minHeight: 'unset',
5793
5796
  display: 'flex',
5794
5797
  backgroundColor: theme.palette.backgroundColor[200],
5798
+ // padding: theme.spacing(1),
5799
+ // '& .MuiTabs-root': {
5800
+ // padding: theme.spacing(1),
5801
+ // },
5802
+ '& .MuiTabs-fixed': {
5803
+ padding: theme.spacing(1)
5804
+ },
5795
5805
  '& .MuiTabs-flexContainer': {
5796
5806
  gap: theme.spacing(1)
5797
5807
  }
@@ -5805,7 +5815,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5805
5815
  },
5806
5816
  '&.MuiTab-root.Mui-selected': {
5807
5817
  color: 'inherit',
5808
- borderRadius: theme.spacing(1)
5818
+ borderRadius: theme.spacing(1),
5819
+ height: theme.spacing(6)
5809
5820
  }
5810
5821
  }, ownerState.size === 'md' && {
5811
5822
  height: theme.spacing(12),
@@ -5817,7 +5828,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5817
5828
  },
5818
5829
  '& .MuiTab-root.Mui-selected': {
5819
5830
  color: 'inherit',
5820
- borderRadius: theme.spacing(2)
5831
+ borderRadius: theme.spacing(2),
5832
+ height: theme.spacing(10)
5821
5833
  }
5822
5834
  }, ownerState.size === 'lg' && {
5823
5835
  height: theme.spacing(14),
@@ -5829,7 +5841,8 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
5829
5841
  },
5830
5842
  '& .MuiTab-root.Mui-selected': {
5831
5843
  color: 'inherit',
5832
- borderRadius: theme.spacing(2)
5844
+ borderRadius: theme.spacing(2),
5845
+ height: theme.spacing(12)
5833
5846
  }
5834
5847
  }, ownerState.variant === 'fullWidth' && {
5835
5848
  width: '100%'