@reeverdev/ui 0.2.176 → 0.2.177
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -100,9 +100,10 @@ interface CheckboxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
100
100
|
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
101
101
|
|
|
102
102
|
declare const inputVariants: (props?: ({
|
|
103
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
103
104
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
104
105
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
105
|
-
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required">, VariantProps<typeof inputVariants> {
|
|
106
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required" | "size">, VariantProps<typeof inputVariants> {
|
|
106
107
|
/** Label text for the input */
|
|
107
108
|
label?: string;
|
|
108
109
|
/** Mark the field as required with indicator */
|
|
@@ -228,6 +229,7 @@ interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
228
229
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
229
230
|
|
|
230
231
|
declare const selectVariants: (props?: ({
|
|
232
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
231
233
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
232
234
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
233
235
|
interface SelectOption {
|
|
@@ -257,6 +259,8 @@ interface SelectCommonProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
257
259
|
clearable?: boolean;
|
|
258
260
|
maxDisplayItems?: number;
|
|
259
261
|
maxDropdownHeight?: number;
|
|
262
|
+
/** Size variant - sm (h-9), md (h-10), lg (h-11) */
|
|
263
|
+
size?: "sm" | "md" | "lg";
|
|
260
264
|
}
|
|
261
265
|
type SelectProps = SelectCommonProps & (SelectSingleProps | SelectMultipleProps);
|
|
262
266
|
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLDivElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -100,9 +100,10 @@ interface CheckboxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
100
100
|
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
101
101
|
|
|
102
102
|
declare const inputVariants: (props?: ({
|
|
103
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
103
104
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
104
105
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
105
|
-
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required">, VariantProps<typeof inputVariants> {
|
|
106
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "required" | "size">, VariantProps<typeof inputVariants> {
|
|
106
107
|
/** Label text for the input */
|
|
107
108
|
label?: string;
|
|
108
109
|
/** Mark the field as required with indicator */
|
|
@@ -228,6 +229,7 @@ interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
228
229
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
229
230
|
|
|
230
231
|
declare const selectVariants: (props?: ({
|
|
232
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
231
233
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
232
234
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
233
235
|
interface SelectOption {
|
|
@@ -257,6 +259,8 @@ interface SelectCommonProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
257
259
|
clearable?: boolean;
|
|
258
260
|
maxDisplayItems?: number;
|
|
259
261
|
maxDropdownHeight?: number;
|
|
262
|
+
/** Size variant - sm (h-9), md (h-10), lg (h-11) */
|
|
263
|
+
size?: "sm" | "md" | "lg";
|
|
260
264
|
}
|
|
261
265
|
type SelectProps = SelectCommonProps & (SelectSingleProps | SelectMultipleProps);
|
|
262
266
|
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLDivElement>>;
|