@vchasno/ui-kit 0.3.25 → 0.3.26

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.26] - 2024-08-16
11
+
12
+ ## Fixed
13
+
14
+ - `TextAreaInput` based on Material, remove dependency on `react-textarea-autosize`
15
+
10
16
  ## [0.3.25] - 2024-08-16
11
17
 
12
18
  ## Added
@@ -1,10 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
- import { TextareaAutosizeProps } from 'react-textarea-autosize';
3
2
  import { InputProps } from '../Input';
3
+ import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
4
  import './TextAreaInput.global.css';
5
5
  export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
6
6
  textareaClassName?: string;
7
7
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
+ title?: string;
8
9
  }
9
- declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
11
  export default TextAreaInput;
@@ -1,10 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
- import { TextareaAutosizeProps } from 'react-textarea-autosize';
3
2
  import { InputProps } from '../Input';
3
+ import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
4
  import './TextAreaInput.global.css';
5
5
  export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
6
6
  textareaClassName?: string;
7
7
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
+ title?: string;
8
9
  }
9
- declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
11
  export default TextAreaInput;
@@ -1,10 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
- import { TextareaAutosizeProps } from 'react-textarea-autosize';
3
2
  import { InputProps } from '../Input';
3
+ import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
4
  import './TextAreaInput.global.css';
5
5
  export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
6
6
  textareaClassName?: string;
7
7
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
+ title?: string;
8
9
  }
9
- declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
11
  export default TextAreaInput;
@@ -1,10 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
- import { TextareaAutosizeProps } from 'react-textarea-autosize';
3
2
  import { InputProps } from '../Input';
3
+ import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
4
  import './TextAreaInput.global.css';
5
5
  export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
6
6
  textareaClassName?: string;
7
7
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
+ title?: string;
8
9
  }
9
- declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
11
  export default TextAreaInput;
@@ -1,10 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
- import { TextareaAutosizeProps } from 'react-textarea-autosize';
3
2
  import { InputProps } from '../Input';
3
+ import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
4
  import './TextAreaInput.global.css';
5
5
  export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
6
6
  textareaClassName?: string;
7
7
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
+ title?: string;
8
9
  }
9
- declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
11
  export default TextAreaInput;