@stokelp/ui 1.0.2 → 1.1.0

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,10 +1,9 @@
1
- import { TextareaVariantProps } from '@stokelp/styled-system/recipes';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
- import { ForwardRefExoticComponent, DetailedHTMLProps, TextareaHTMLAttributes, RefObject, ComponentProps } from 'react';
4
- export declare const Textarea: StyledComponent<ForwardRefExoticComponent<Omit<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
5
- ref?: ((instance: HTMLTextAreaElement | null) => void) | RefObject<HTMLTextAreaElement> | null | undefined;
6
- } & {
7
- asChild?: boolean | undefined;
8
- }>, TextareaVariantProps>;
9
- export interface TextareaProps extends ComponentProps<typeof Textarea> {
1
+ import type { FC } from 'react';
2
+ import { HTMLStyledProps } from '@stokelp/styled-system/types';
3
+ export interface TextareaProps extends Omit<HTMLStyledProps<'textarea'>, 'children'> {
4
+ label?: string;
5
+ labelAddon?: string;
6
+ isInvalid?: boolean;
7
+ isRequired?: boolean;
10
8
  }
9
+ export declare const Textarea: FC<TextareaProps>;