@vchasno/ui-kit 0.3.27 → 0.3.28

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.
@@ -1,11 +1,11 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
2
  import { InputProps } from '../Input';
3
- import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
4
3
  import './TextAreaInput.global.css';
5
- export interface TextAreaInputProps extends TextareaAutosizeProps, Omit<InputProps, 'children'> {
4
+ export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
6
5
  textareaClassName?: string;
7
6
  labelProps?: InputHTMLAttributes<HTMLLabelElement>;
8
- title?: string;
7
+ minRows?: number;
8
+ maxRows?: number;
9
9
  }
10
- declare const TextAreaInput: React.ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
10
+ declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
11
11
  export default TextAreaInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vchasno/ui-kit",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "description": "React UI components for Vchasno applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",