@vchasno/ui-kit 0.3.26 → 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.
- package/dist/Datepicker/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Menu/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/ProjectsPopover/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Select/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/SelectCreatable/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Snackbar/index.cjs.js +1 -1
- package/dist/Snackbar/index.cjs.js.map +1 -1
- package/dist/Snackbar/index.js +1 -1
- package/dist/Snackbar/index.js.map +1 -1
- package/dist/Snackbar/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/package.json +1 -1
|
@@ -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
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|
|
@@ -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
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|
|
@@ -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
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|
|
@@ -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
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|
|
@@ -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
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|
|
@@ -2795,7 +2795,7 @@ styleInject(css_248z$c);
|
|
|
2795
2795
|
var TextAreaInput = React$1.forwardRef(function (_a, ref) {
|
|
2796
2796
|
var className = _a.className, disabled = _a.disabled, startElement = _a.startElement, endElement = _a.endElement, error = _a.error, label = _a.label, hint = _a.hint, wide = _a.wide, required = _a.required, loading = _a.loading, minRows = _a.minRows, maxRows = _a.maxRows, textareaClassName = _a.textareaClassName, labelProps = _a.labelProps, rest = __rest(_a, ["className", "disabled", "startElement", "endElement", "error", "label", "hint", "wide", "required", "loading", "minRows", "maxRows", "textareaClassName", "labelProps"]);
|
|
2797
2797
|
return (React$1.createElement(Input, { required: required, wide: wide, className: cn(className, 'vchasno-ui-textarea-input-container'), loading: loading, disabled: disabled, label: label, error: error, hint: hint, endElement: endElement, labelProps: labelProps, startElement: startElement },
|
|
2798
|
-
React$1.createElement(TextareaAutosize, __assign({}, rest, { ref: ref, minRows: minRows, maxRows: maxRows, required: required, disabled: disabled,
|
|
2798
|
+
React$1.createElement(TextareaAutosize, __assign({}, rest, { ref: ref, minRows: minRows, maxRows: maxRows, required: required, disabled: disabled, className: cn('vchasno-ui-textarea-input', textareaClassName) }))));
|
|
2799
2799
|
});
|
|
2800
2800
|
TextAreaInput.displayName = 'TextAreaInput';
|
|
2801
2801
|
|