@reeverdev/ui 0.2.22 → 0.2.23
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 +22 -53
- package/dist/index.d.ts +22 -53
- 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
|
@@ -182,6 +182,28 @@ declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimit
|
|
|
182
182
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
183
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
184
184
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
|
+
interface MultiSelectOption {
|
|
186
|
+
value: string;
|
|
187
|
+
label: string;
|
|
188
|
+
disabled?: boolean;
|
|
189
|
+
}
|
|
190
|
+
interface MultiSelectProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
191
|
+
/** Options to display */
|
|
192
|
+
options: MultiSelectOption[];
|
|
193
|
+
/** Selected values */
|
|
194
|
+
value?: string[];
|
|
195
|
+
/** Default selected values */
|
|
196
|
+
defaultValue?: string[];
|
|
197
|
+
/** Callback when selection changes */
|
|
198
|
+
onChange?: (value: string[]) => void;
|
|
199
|
+
/** Placeholder text */
|
|
200
|
+
placeholder?: string;
|
|
201
|
+
/** Whether the select is disabled */
|
|
202
|
+
disabled?: boolean;
|
|
203
|
+
/** Maximum number of items to show before collapsing */
|
|
204
|
+
maxDisplayItems?: number;
|
|
205
|
+
}
|
|
206
|
+
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
207
|
|
|
186
208
|
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
187
209
|
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -568,59 +590,6 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
568
590
|
}
|
|
569
591
|
declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
570
592
|
|
|
571
|
-
interface MultiSelectOption {
|
|
572
|
-
value: string;
|
|
573
|
-
label: string;
|
|
574
|
-
disabled?: boolean;
|
|
575
|
-
}
|
|
576
|
-
interface MultiSelectProps {
|
|
577
|
-
/**
|
|
578
|
-
* Available options
|
|
579
|
-
*/
|
|
580
|
-
options: MultiSelectOption[];
|
|
581
|
-
/**
|
|
582
|
-
* Selected values
|
|
583
|
-
*/
|
|
584
|
-
value?: string[];
|
|
585
|
-
/**
|
|
586
|
-
* Default selected values (uncontrolled)
|
|
587
|
-
*/
|
|
588
|
-
defaultValue?: string[];
|
|
589
|
-
/**
|
|
590
|
-
* Callback when selection changes
|
|
591
|
-
*/
|
|
592
|
-
onValueChange?: (value: string[]) => void;
|
|
593
|
-
/**
|
|
594
|
-
* Placeholder text when no selection
|
|
595
|
-
*/
|
|
596
|
-
placeholder?: string;
|
|
597
|
-
/**
|
|
598
|
-
* Search placeholder
|
|
599
|
-
*/
|
|
600
|
-
searchPlaceholder?: string;
|
|
601
|
-
/**
|
|
602
|
-
* Empty state text
|
|
603
|
-
*/
|
|
604
|
-
emptyText?: string;
|
|
605
|
-
/**
|
|
606
|
-
* Maximum number of items that can be selected
|
|
607
|
-
*/
|
|
608
|
-
maxItems?: number;
|
|
609
|
-
/**
|
|
610
|
-
* Show selected count badge instead of all tags
|
|
611
|
-
*/
|
|
612
|
-
showCount?: boolean;
|
|
613
|
-
/**
|
|
614
|
-
* Disabled state
|
|
615
|
-
*/
|
|
616
|
-
disabled?: boolean;
|
|
617
|
-
/**
|
|
618
|
-
* Additional class name
|
|
619
|
-
*/
|
|
620
|
-
className?: string;
|
|
621
|
-
}
|
|
622
|
-
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
623
|
-
|
|
624
593
|
interface ComboboxOption {
|
|
625
594
|
value: string;
|
|
626
595
|
label: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -182,6 +182,28 @@ declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimit
|
|
|
182
182
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
183
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
184
184
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
|
+
interface MultiSelectOption {
|
|
186
|
+
value: string;
|
|
187
|
+
label: string;
|
|
188
|
+
disabled?: boolean;
|
|
189
|
+
}
|
|
190
|
+
interface MultiSelectProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
191
|
+
/** Options to display */
|
|
192
|
+
options: MultiSelectOption[];
|
|
193
|
+
/** Selected values */
|
|
194
|
+
value?: string[];
|
|
195
|
+
/** Default selected values */
|
|
196
|
+
defaultValue?: string[];
|
|
197
|
+
/** Callback when selection changes */
|
|
198
|
+
onChange?: (value: string[]) => void;
|
|
199
|
+
/** Placeholder text */
|
|
200
|
+
placeholder?: string;
|
|
201
|
+
/** Whether the select is disabled */
|
|
202
|
+
disabled?: boolean;
|
|
203
|
+
/** Maximum number of items to show before collapsing */
|
|
204
|
+
maxDisplayItems?: number;
|
|
205
|
+
}
|
|
206
|
+
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
207
|
|
|
186
208
|
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
187
209
|
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -568,59 +590,6 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
568
590
|
}
|
|
569
591
|
declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
570
592
|
|
|
571
|
-
interface MultiSelectOption {
|
|
572
|
-
value: string;
|
|
573
|
-
label: string;
|
|
574
|
-
disabled?: boolean;
|
|
575
|
-
}
|
|
576
|
-
interface MultiSelectProps {
|
|
577
|
-
/**
|
|
578
|
-
* Available options
|
|
579
|
-
*/
|
|
580
|
-
options: MultiSelectOption[];
|
|
581
|
-
/**
|
|
582
|
-
* Selected values
|
|
583
|
-
*/
|
|
584
|
-
value?: string[];
|
|
585
|
-
/**
|
|
586
|
-
* Default selected values (uncontrolled)
|
|
587
|
-
*/
|
|
588
|
-
defaultValue?: string[];
|
|
589
|
-
/**
|
|
590
|
-
* Callback when selection changes
|
|
591
|
-
*/
|
|
592
|
-
onValueChange?: (value: string[]) => void;
|
|
593
|
-
/**
|
|
594
|
-
* Placeholder text when no selection
|
|
595
|
-
*/
|
|
596
|
-
placeholder?: string;
|
|
597
|
-
/**
|
|
598
|
-
* Search placeholder
|
|
599
|
-
*/
|
|
600
|
-
searchPlaceholder?: string;
|
|
601
|
-
/**
|
|
602
|
-
* Empty state text
|
|
603
|
-
*/
|
|
604
|
-
emptyText?: string;
|
|
605
|
-
/**
|
|
606
|
-
* Maximum number of items that can be selected
|
|
607
|
-
*/
|
|
608
|
-
maxItems?: number;
|
|
609
|
-
/**
|
|
610
|
-
* Show selected count badge instead of all tags
|
|
611
|
-
*/
|
|
612
|
-
showCount?: boolean;
|
|
613
|
-
/**
|
|
614
|
-
* Disabled state
|
|
615
|
-
*/
|
|
616
|
-
disabled?: boolean;
|
|
617
|
-
/**
|
|
618
|
-
* Additional class name
|
|
619
|
-
*/
|
|
620
|
-
className?: string;
|
|
621
|
-
}
|
|
622
|
-
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
623
|
-
|
|
624
593
|
interface ComboboxOption {
|
|
625
594
|
value: string;
|
|
626
595
|
label: string;
|