@reeverdev/ui 0.2.69 → 0.2.71

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
@@ -88,6 +88,10 @@ interface CheckboxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
88
88
  required?: boolean;
89
89
  name?: string;
90
90
  value?: string;
91
+ /** Text label for the checkbox */
92
+ text?: React$1.ReactNode;
93
+ /** Description text below the text */
94
+ description?: string;
91
95
  }
92
96
  declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
93
97
 
@@ -135,7 +139,17 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<DialogDescrip
135
139
  declare const inputVariants: (props?: ({
136
140
  radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
137
141
  } & class_variance_authority_types.ClassProp) | undefined) => string;
138
- interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
142
+ interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required">, VariantProps<typeof inputVariants> {
143
+ /** Label text for the input */
144
+ label?: string;
145
+ /** Mark the field as required with indicator */
146
+ isRequired?: boolean;
147
+ /** Description text below the input */
148
+ description?: string;
149
+ /** Error message to display */
150
+ errorMessage?: string;
151
+ /** Whether the input is in error state */
152
+ isInvalid?: boolean;
139
153
  }
140
154
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
141
155
 
package/dist/index.d.ts CHANGED
@@ -88,6 +88,10 @@ interface CheckboxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
88
88
  required?: boolean;
89
89
  name?: string;
90
90
  value?: string;
91
+ /** Text label for the checkbox */
92
+ text?: React$1.ReactNode;
93
+ /** Description text below the text */
94
+ description?: string;
91
95
  }
92
96
  declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
93
97
 
@@ -135,7 +139,17 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<DialogDescrip
135
139
  declare const inputVariants: (props?: ({
136
140
  radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
137
141
  } & class_variance_authority_types.ClassProp) | undefined) => string;
138
- interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
142
+ interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required">, VariantProps<typeof inputVariants> {
143
+ /** Label text for the input */
144
+ label?: string;
145
+ /** Mark the field as required with indicator */
146
+ isRequired?: boolean;
147
+ /** Description text below the input */
148
+ description?: string;
149
+ /** Error message to display */
150
+ errorMessage?: string;
151
+ /** Whether the input is in error state */
152
+ isInvalid?: boolean;
139
153
  }
140
154
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
141
155