@livetiles/reach-plugin-types 0.5.0-preview.1019 → 0.5.0-preview.1020
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/lib/index.d.ts +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6481,6 +6481,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
6483
6483
|
import { IconProps } from "libs/reach/ui/common/src/reach-2/icons/index";
|
|
6484
|
+
type SelectSize = 'Large' | 'Small';
|
|
6484
6485
|
export interface SelectItemProps {
|
|
6485
6486
|
id: string;
|
|
6486
6487
|
label: string;
|
|
@@ -6513,9 +6514,10 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
6513
6514
|
hide?: boolean;
|
|
6514
6515
|
noWrap?: boolean;
|
|
6515
6516
|
};
|
|
6517
|
+
size?: SelectSize;
|
|
6516
6518
|
values?: T[];
|
|
6517
6519
|
}
|
|
6518
|
-
const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, forcePlaceholder, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onRemoveItem, options: preprocessedOptions, placeholder, popoverHeight, renderItem, searchable, selectedValuesOptions, values, }: SelectProps<T>) => JSX.Element;
|
|
6520
|
+
const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, forcePlaceholder, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onRemoveItem, options: preprocessedOptions, placeholder, popoverHeight, renderItem, searchable, selectedValuesOptions, size, values, }: SelectProps<T>) => JSX.Element;
|
|
6519
6521
|
export default Select;
|
|
6520
6522
|
}
|
|
6521
6523
|
declare module "libs/reach/ui/common/src/reach-2/select/UserSelect" {
|