@vacano/ui 1.4.4 → 1.4.5

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/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { ReactElement } from 'react';
8
8
  import { ReactNode } from 'react';
9
9
  import { ReactPortal } from 'react';
10
10
  import { Ref } from 'react';
11
+ import { TextareaHTMLAttributes } from 'react';
11
12
 
12
13
  export declare const Autocomplete: ({ className, classnames, disabled, fullWidth, label, ref, size, variant, value, onChange, onSearch, debounceMs, minChars, noResultsMessage, ...rest }: AutocompleteProps) => JSX.Element;
13
14
 
@@ -703,6 +704,21 @@ export declare type TagsProps = VacanoComponentProps<HTMLDivElement, TagsClassNa
703
704
 
704
705
  export declare type TagsVariant = 'normal' | 'error';
705
706
 
707
+ export declare const Textarea: ({ className, classnames, disabled, fullWidth, label, ref, variant, rows, ...rest }: TextareaProps) => JSX.Element;
708
+
709
+ export declare type TextareaClassNames = {
710
+ textarea?: string;
711
+ label?: string;
712
+ };
713
+
714
+ export declare type TextareaProps = VacanoComponentProps<HTMLTextAreaElement, TextareaClassNames> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className'> & {
715
+ fullWidth?: boolean;
716
+ label?: string;
717
+ variant?: TextareaVariant;
718
+ };
719
+
720
+ export declare type TextareaVariant = 'normal' | 'error';
721
+
706
722
  export declare type Toast = {
707
723
  id: string;
708
724
  message: string;