@reeverdev/ui 0.2.31 → 0.2.33
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -35
- package/dist/index.d.ts +24 -35
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -172,10 +172,15 @@ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
|
172
172
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
173
173
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
174
174
|
|
|
175
|
+
declare const selectTriggerVariants: (props?: ({
|
|
176
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
177
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
175
178
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
176
179
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
180
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
178
|
-
|
|
181
|
+
interface SelectTriggerProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
182
|
+
}
|
|
183
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
179
184
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
180
185
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
186
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -187,7 +192,10 @@ interface MultiSelectOption {
|
|
|
187
192
|
label: string;
|
|
188
193
|
disabled?: boolean;
|
|
189
194
|
}
|
|
190
|
-
|
|
195
|
+
declare const multiSelectVariants: (props?: ({
|
|
196
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
197
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
198
|
+
interface MultiSelectProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof multiSelectVariants> {
|
|
191
199
|
/** Options to display */
|
|
192
200
|
options: MultiSelectOption[];
|
|
193
201
|
/** Selected values */
|
|
@@ -590,54 +598,35 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
590
598
|
}
|
|
591
599
|
declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
592
600
|
|
|
601
|
+
declare const comboboxVariants: (props?: ({
|
|
602
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
603
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
593
604
|
interface ComboboxOption {
|
|
594
605
|
value: string;
|
|
595
606
|
label: string;
|
|
596
607
|
disabled?: boolean;
|
|
597
608
|
}
|
|
598
|
-
interface ComboboxProps {
|
|
599
|
-
/**
|
|
600
|
-
* Available options
|
|
601
|
-
*/
|
|
609
|
+
interface ComboboxProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof comboboxVariants> {
|
|
610
|
+
/** Available options */
|
|
602
611
|
options: ComboboxOption[];
|
|
603
|
-
/**
|
|
604
|
-
* Selected value
|
|
605
|
-
*/
|
|
612
|
+
/** Selected value */
|
|
606
613
|
value?: string;
|
|
607
|
-
/**
|
|
608
|
-
* Default selected value (uncontrolled)
|
|
609
|
-
*/
|
|
614
|
+
/** Default selected value (uncontrolled) */
|
|
610
615
|
defaultValue?: string;
|
|
611
|
-
/**
|
|
612
|
-
* Callback when selection changes
|
|
613
|
-
*/
|
|
616
|
+
/** Callback when selection changes */
|
|
614
617
|
onValueChange?: (value: string) => void;
|
|
615
|
-
/**
|
|
616
|
-
* Placeholder text when no selection
|
|
617
|
-
*/
|
|
618
|
+
/** Placeholder text when no selection */
|
|
618
619
|
placeholder?: string;
|
|
619
|
-
/**
|
|
620
|
-
* Search placeholder
|
|
621
|
-
*/
|
|
620
|
+
/** Search placeholder */
|
|
622
621
|
searchPlaceholder?: string;
|
|
623
|
-
/**
|
|
624
|
-
* Empty state text
|
|
625
|
-
*/
|
|
622
|
+
/** Empty state text */
|
|
626
623
|
emptyText?: string;
|
|
627
|
-
/**
|
|
628
|
-
* Disabled state
|
|
629
|
-
*/
|
|
624
|
+
/** Disabled state */
|
|
630
625
|
disabled?: boolean;
|
|
631
|
-
/**
|
|
632
|
-
* Allow clearing the selection
|
|
633
|
-
*/
|
|
626
|
+
/** Allow clearing the selection */
|
|
634
627
|
clearable?: boolean;
|
|
635
|
-
/**
|
|
636
|
-
* Additional class name
|
|
637
|
-
*/
|
|
638
|
-
className?: string;
|
|
639
628
|
}
|
|
640
|
-
declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<
|
|
629
|
+
declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
641
630
|
|
|
642
631
|
interface DatePickerProps {
|
|
643
632
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -172,10 +172,15 @@ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
|
172
172
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
173
173
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
174
174
|
|
|
175
|
+
declare const selectTriggerVariants: (props?: ({
|
|
176
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
177
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
175
178
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
176
179
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
180
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
178
|
-
|
|
181
|
+
interface SelectTriggerProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
182
|
+
}
|
|
183
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
179
184
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
180
185
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
186
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -187,7 +192,10 @@ interface MultiSelectOption {
|
|
|
187
192
|
label: string;
|
|
188
193
|
disabled?: boolean;
|
|
189
194
|
}
|
|
190
|
-
|
|
195
|
+
declare const multiSelectVariants: (props?: ({
|
|
196
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
197
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
198
|
+
interface MultiSelectProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof multiSelectVariants> {
|
|
191
199
|
/** Options to display */
|
|
192
200
|
options: MultiSelectOption[];
|
|
193
201
|
/** Selected values */
|
|
@@ -590,54 +598,35 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
590
598
|
}
|
|
591
599
|
declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
592
600
|
|
|
601
|
+
declare const comboboxVariants: (props?: ({
|
|
602
|
+
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
603
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
593
604
|
interface ComboboxOption {
|
|
594
605
|
value: string;
|
|
595
606
|
label: string;
|
|
596
607
|
disabled?: boolean;
|
|
597
608
|
}
|
|
598
|
-
interface ComboboxProps {
|
|
599
|
-
/**
|
|
600
|
-
* Available options
|
|
601
|
-
*/
|
|
609
|
+
interface ComboboxProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof comboboxVariants> {
|
|
610
|
+
/** Available options */
|
|
602
611
|
options: ComboboxOption[];
|
|
603
|
-
/**
|
|
604
|
-
* Selected value
|
|
605
|
-
*/
|
|
612
|
+
/** Selected value */
|
|
606
613
|
value?: string;
|
|
607
|
-
/**
|
|
608
|
-
* Default selected value (uncontrolled)
|
|
609
|
-
*/
|
|
614
|
+
/** Default selected value (uncontrolled) */
|
|
610
615
|
defaultValue?: string;
|
|
611
|
-
/**
|
|
612
|
-
* Callback when selection changes
|
|
613
|
-
*/
|
|
616
|
+
/** Callback when selection changes */
|
|
614
617
|
onValueChange?: (value: string) => void;
|
|
615
|
-
/**
|
|
616
|
-
* Placeholder text when no selection
|
|
617
|
-
*/
|
|
618
|
+
/** Placeholder text when no selection */
|
|
618
619
|
placeholder?: string;
|
|
619
|
-
/**
|
|
620
|
-
* Search placeholder
|
|
621
|
-
*/
|
|
620
|
+
/** Search placeholder */
|
|
622
621
|
searchPlaceholder?: string;
|
|
623
|
-
/**
|
|
624
|
-
* Empty state text
|
|
625
|
-
*/
|
|
622
|
+
/** Empty state text */
|
|
626
623
|
emptyText?: string;
|
|
627
|
-
/**
|
|
628
|
-
* Disabled state
|
|
629
|
-
*/
|
|
624
|
+
/** Disabled state */
|
|
630
625
|
disabled?: boolean;
|
|
631
|
-
/**
|
|
632
|
-
* Allow clearing the selection
|
|
633
|
-
*/
|
|
626
|
+
/** Allow clearing the selection */
|
|
634
627
|
clearable?: boolean;
|
|
635
|
-
/**
|
|
636
|
-
* Additional class name
|
|
637
|
-
*/
|
|
638
|
-
className?: string;
|
|
639
628
|
}
|
|
640
|
-
declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<
|
|
629
|
+
declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
641
630
|
|
|
642
631
|
interface DatePickerProps {
|
|
643
632
|
/**
|