@rabex-kit/rabex-ui 0.1.20 → 0.1.21

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.
@@ -4557,27 +4557,6 @@ var components$6 = {
4557
4557
  fontSize: '16px',
4558
4558
  lineHeight: '24px',
4559
4559
  padding: spacing(3)
4560
- }, fill === true && {
4561
- border: 'transparent',
4562
- background: isLight ? palette.base[200] : undefined,
4563
- '&.Mui-disabled': {
4564
- background: isLight ? palette.base[100] : palette.secondary.A100
4565
- },
4566
- '&:hover': {
4567
- border: isLight ? "1px solid " + palette.base[600] : "1px solid " + palette.base.A60,
4568
- backgroundColor: isLight ? palette.base[200] : palette.base.A60
4569
- },
4570
- '&.Mui-focused': {
4571
- border: isLight ? "1.5px solid " + palette.primary[500] : "1px solid " + palette.primary.A80,
4572
- backgroundColor: isLight ? palette.base[200] : palette.base.A60
4573
- },
4574
- '&.Mui-error': {
4575
- border: isLight ? "1.5px solid " + palette.error[400] : "1px solid " + palette.error.A60,
4576
- backgroundColor: isLight ? palette.base[200] : alpha(palette.error.A100 || '', 0.1)
4577
- }
4578
- }, success === true && {
4579
- border: isLight ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
4580
- backgroundColor: isLight ? palette.base.A0 : alpha(palette.success.A100, 0.1)
4581
4560
  }),
4582
4561
  '& > div.MuiInputBase-root > input.MuiInputBase-input': {
4583
4562
  color: isLight ? palette.textColor.A80 : palette.textColor.A0,
@@ -4598,9 +4577,10 @@ var components$6 = {
4598
4577
  },
4599
4578
  style: function style(_ref2) {
4600
4579
  var theme = _ref2.theme;
4580
+ console.log('fill included');
4601
4581
  var isLight = theme.palette.mode === 'light';
4602
4582
  return {
4603
- '& .MuiInputBase-root': {
4583
+ '& > div.MuiInputBase-root': {
4604
4584
  // border: `1px solid ${theme.palette.base[600]}`,
4605
4585
  border: 'transparent',
4606
4586
  background: theme.palette.base[200],
@@ -4632,7 +4612,7 @@ var components$6 = {
4632
4612
  style: function style(_ref3) {
4633
4613
  var palette = _ref3.theme.palette;
4634
4614
  return {
4635
- '& .MuiInputBase-root': {
4615
+ '& > div.MuiInputBase-root': {
4636
4616
  border: palette.mode === 'light' ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
4637
4617
  backgroundColor: palette.mode === 'light' ? palette.base.A0 : alpha(palette.success.A100, 0.1)
4638
4618
  }
@@ -5079,7 +5059,7 @@ var FormikSelect = function FormikSelect(_ref) {
5079
5059
  }, text));
5080
5060
  };
5081
5061
 
5082
- var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption", "fill", "success"];
5062
+ var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption"];
5083
5063
  function _handleHelperColor$1(props, key) {
5084
5064
  var _props$key;
5085
5065
  if (props.error) return 'error.A100';
@@ -5102,7 +5082,7 @@ function _handleHelperColor$1(props, key) {
5102
5082
  var MuiTextFieldStyled = /*#__PURE__*/styled(MuiTextField, {
5103
5083
  name: 'MuiTextField',
5104
5084
  shouldForwardProp: function shouldForwardProp(prop) {
5105
- return !['titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'success', 'valueFormat', 'valueFormatOption', 'fill'].includes(prop);
5085
+ return !['fill', 'success', 'titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'valueFormat', 'valueFormatOption'].includes(prop);
5106
5086
  }
5107
5087
  })(function () {
5108
5088
  return {};
@@ -5150,7 +5130,7 @@ var TextField = function TextField(props) {
5150
5130
  })), helperText && React.createElement(Stack, {
5151
5131
  flexDirection: "row",
5152
5132
  justifyContent: "space-between"
5153
- }, React.createElement(Typography, Object.assign({}, helperTextProps, props.size === 'small' && {
5133
+ }, React.createElement(Typography, Object.assign({}, helperTextProps, {
5154
5134
  variant: 'body3'
5155
5135
  }, {
5156
5136
  color: _handleHelperColor$1(props, 'helperTextProps')
@@ -5160,7 +5140,7 @@ var TextField = function TextField(props) {
5160
5140
  alignItems: 'center',
5161
5141
  gap: 1
5162
5142
  }
5163
- }), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps, props.size === 'small' && {
5143
+ }), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps, {
5164
5144
  variant: 'body3'
5165
5145
  }, {
5166
5146
  color: _handleHelperColor$1(props, 'helperTextEndAdornmentProps')
@@ -5176,11 +5156,11 @@ TextField.defaultProps = {
5176
5156
  color: 'textColor.A80'
5177
5157
  },
5178
5158
  helperTextProps: {
5179
- variant: 'body2',
5159
+ variant: 'body3',
5180
5160
  color: 'textColor.A60'
5181
5161
  },
5182
5162
  helperTextEndAdornmentProps: {
5183
- variant: 'body2',
5163
+ variant: 'body3',
5184
5164
  color: 'textColor.A60'
5185
5165
  }
5186
5166
  };