@reeverdev/ui 0.2.246 → 0.2.248

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.cts CHANGED
@@ -176,9 +176,20 @@ interface SwitchProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
176
176
  declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
177
177
 
178
178
  declare const textareaVariants: (props?: ({
179
+ size?: "sm" | "md" | "lg" | null | undefined;
179
180
  radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
180
181
  } & class_variance_authority_types.ClassProp) | undefined) => string;
181
- interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
182
+ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "required">, VariantProps<typeof textareaVariants> {
183
+ /** Label text for the textarea */
184
+ label?: string;
185
+ /** Mark the field as required with indicator */
186
+ isRequired?: boolean;
187
+ /** Description text below the textarea */
188
+ description?: string;
189
+ /** Error message to display */
190
+ errorMessage?: string;
191
+ /** Whether the textarea is in error state */
192
+ isInvalid?: boolean;
182
193
  }
183
194
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
184
195
 
package/dist/index.d.ts CHANGED
@@ -176,9 +176,20 @@ interface SwitchProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
176
176
  declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
177
177
 
178
178
  declare const textareaVariants: (props?: ({
179
+ size?: "sm" | "md" | "lg" | null | undefined;
179
180
  radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
180
181
  } & class_variance_authority_types.ClassProp) | undefined) => string;
181
- interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
182
+ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "required">, VariantProps<typeof textareaVariants> {
183
+ /** Label text for the textarea */
184
+ label?: string;
185
+ /** Mark the field as required with indicator */
186
+ isRequired?: boolean;
187
+ /** Description text below the textarea */
188
+ description?: string;
189
+ /** Error message to display */
190
+ errorMessage?: string;
191
+ /** Whether the textarea is in error state */
192
+ isInvalid?: boolean;
182
193
  }
183
194
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
184
195