@rabex-kit/rabex-ui 0.2.22 → 0.2.24

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.
@@ -1058,7 +1058,7 @@ CurrencyPairsTitle.defaultProps = {
1058
1058
  * You can read Material-UI Divider Documentation [here](https://mui.com/material-ui/api/divider/).
1059
1059
  *
1060
1060
  * ```typescript
1061
- * import { Divider } from '@rabex-kit/core';
1061
+ * import { Divider } from '@rabex-kit/rabex-ui';
1062
1062
  * ```
1063
1063
  *
1064
1064
  * @param props
@@ -5433,7 +5433,7 @@ function _handleHelperColor$1(props, key) {
5433
5433
  var MuiTextFieldStyled = /*#__PURE__*/styled(MuiTextField, {
5434
5434
  name: 'MuiTextField',
5435
5435
  shouldForwardProp: function shouldForwardProp(prop) {
5436
- return !['fill', 'success', 'titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'valueFormat', 'valueFormatOption'].includes(prop);
5436
+ return !['fill', 'success', 'titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'valueFormat', 'valueFormatOption', 'size'].includes(prop);
5437
5437
  }
5438
5438
  })(function () {
5439
5439
  return {};
@@ -5452,6 +5452,7 @@ var TextField = function TextField(props) {
5452
5452
  valueFormat = _ref.valueFormat,
5453
5453
  valueFormatOption = _ref.valueFormatOption,
5454
5454
  fullWidth = _ref.fullWidth,
5455
+ size = _ref.size,
5455
5456
  other = _objectWithoutPropertiesLoose(_ref, _excluded$i);
5456
5457
  if (!valueFormat && !!valueFormatOption) {
5457
5458
  console.warn("'valueFormatOption' Only Work With known 'valueFormat's...");
@@ -5474,17 +5475,19 @@ var TextField = function TextField(props) {
5474
5475
  };
5475
5476
  return React.createElement(Stack, {
5476
5477
  flexDirection: "column",
5477
- gap: props.size === 'sm' ? 1 : 2,
5478
+ gap: size === 'sm' ? 1 : 2,
5478
5479
  width: fullWidth ? '100%' : 'unset'
5479
5480
  }, title && React.createElement(Typography, Object.assign({
5480
5481
  color: other.disabled ? 'textColor.A40' : 'textColor.A80'
5481
- }, titleProps), title), React.createElement(MuiTextFieldStyled, Object.assign({}, other, {
5482
+ }, titleProps), title), React.createElement(MuiTextFieldStyled, Object.assign({
5483
+ size: size
5484
+ }, other, {
5482
5485
  value: valueFormat ? _valueFormatHandler(value) : value,
5483
5486
  onChange: valueFormat ? _onChangeFormatHandler : onChange
5484
5487
  })), helperText && React.createElement(Stack, {
5485
5488
  flexDirection: "row",
5486
5489
  justifyContent: "space-between"
5487
- }, React.createElement(Typography, Object.assign({}, helperTextProps, props.size === 'sm' && {
5490
+ }, React.createElement(Typography, Object.assign({}, helperTextProps, size === 'sm' && {
5488
5491
  variant: 'body3'
5489
5492
  }, {
5490
5493
  color: _handleHelperColor$1(props, 'helperTextProps')
@@ -5494,7 +5497,7 @@ var TextField = function TextField(props) {
5494
5497
  alignItems: 'center',
5495
5498
  gap: 1
5496
5499
  }
5497
- }), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps, props.size === 'sm' && {
5500
+ }), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps, size === 'sm' && {
5498
5501
  variant: 'body3'
5499
5502
  }, {
5500
5503
  color: _handleHelperColor$1(props, 'helperTextEndAdornmentProps')
@@ -6152,7 +6155,7 @@ var SegmentedControl = /*#__PURE__*/styled(MuiTabs, {
6152
6155
  height: theme.spacing(12)
6153
6156
  }
6154
6157
  }, ownerState.variant === 'fullWidth' && {
6155
- '& .MuiTab-root': {
6158
+ '& .MuiTabs-flexContainer .MuiTab-root': {
6156
6159
  minWidth: 'unset'
6157
6160
  },
6158
6161
  width: '100%'