@rabex-kit/rabex-ui 0.2.17 → 0.2.18

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.
@@ -9,7 +9,7 @@ declare module '@mui/material/TextField' {
9
9
  xl: true;
10
10
  }
11
11
  }
12
- export declare type TextFieldProps = MuiTextFieldProps & {
12
+ export declare type TextFieldProps = Omit<MuiTextFieldProps, 'size'> & {
13
13
  success?: boolean;
14
14
  fill?: boolean;
15
15
  helperText?: string | ReactNode;
@@ -23,6 +23,7 @@ export declare type TextFieldProps = MuiTextFieldProps & {
23
23
  separator?: string;
24
24
  separateBy?: number;
25
25
  };
26
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'small' | 'medium';
26
27
  };
27
28
  declare const TextField: React.FC<TextFieldProps>;
28
29
  export default TextField;
@@ -5407,7 +5407,7 @@ var FormikSelect = function FormikSelect(_ref) {
5407
5407
  }, text));
5408
5408
  };
5409
5409
 
5410
- var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption", "fullWidth"];
5410
+ var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption", "fullWidth", "size"];
5411
5411
  function _handleHelperColor$1(props, key) {
5412
5412
  var _props$key;
5413
5413
  if (props.error) return 'error.A100';
@@ -5425,7 +5425,7 @@ function _handleHelperColor$1(props, key) {
5425
5425
  * You can read Material-UI TextField Documentation [here](https://mui.com/material-ui/api/text-field/)
5426
5426
  *
5427
5427
  *
5428
- typescript
5428
+ typescript
5429
5429
  * import { TextField } from '@rabex-kit/rabex-ui';
5430
5430
  *
5431
5431