@livetiles/reach-plugin-types 0.5.0-preview.1225 → 0.5.0-preview.1227
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 +4 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7081,6 +7081,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/components/PopoverConten
|
|
|
7081
7081
|
focusedIndex: number | null;
|
|
7082
7082
|
handleItemSelected: (item: T, index: number) => void;
|
|
7083
7083
|
handleRemoveAllItems: (e: MouseEvent<Element>) => void;
|
|
7084
|
+
headerLabelId?: string;
|
|
7084
7085
|
initialSelectedItems: T[];
|
|
7085
7086
|
isItemSelected: (id: string) => boolean;
|
|
7086
7087
|
listWrapperRef: MutableRefObject<HTMLDivElement | null>;
|
|
@@ -7091,7 +7092,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/components/PopoverConten
|
|
|
7091
7092
|
renderItem?: (item: T, isSelected: boolean, onSelect: () => void) => JSX.Element;
|
|
7092
7093
|
selectedValues: T[];
|
|
7093
7094
|
}
|
|
7094
|
-
const PopoverContent: <T extends ISelectItemProps>({ areOptionsGrouped, emptyLabel, focusedIndex, handleItemSelected, handleRemoveAllItems, initialSelectedItems, isItemSelected, listWrapperRef, loadingOptions, menuListOptions, multiple, renderGroupedOptions, renderItem, selectedValues, }: IPopoverContentProps<T>) => JSX.Element;
|
|
7095
|
+
const PopoverContent: <T extends ISelectItemProps>({ areOptionsGrouped, emptyLabel, focusedIndex, handleItemSelected, handleRemoveAllItems, headerLabelId, initialSelectedItems, isItemSelected, listWrapperRef, loadingOptions, menuListOptions, multiple, renderGroupedOptions, renderItem, selectedValues, }: IPopoverContentProps<T>) => JSX.Element;
|
|
7095
7096
|
export default PopoverContent;
|
|
7096
7097
|
}
|
|
7097
7098
|
declare module "libs/reach/ui/common/src/reach-2/select/components/Trigger" {
|
|
@@ -7172,12 +7173,13 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
7172
7173
|
searchable?: boolean;
|
|
7173
7174
|
selectedValuesOptions?: {
|
|
7174
7175
|
hide?: boolean;
|
|
7176
|
+
popoverHeaderLabelId?: string;
|
|
7175
7177
|
noWrap?: boolean;
|
|
7176
7178
|
};
|
|
7177
7179
|
size?: SelectSize;
|
|
7178
7180
|
values?: T[];
|
|
7179
7181
|
}
|
|
7180
|
-
const Select: <T extends ISelectItemProps = ISelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, fitToContent, forcePlaceholder, fullyControlled, hideChevron, leftIcon, loadingOptions, multiple, onAddItem, onInputChange, onItemsChange, onItemSelected, onRemoveItem, onScrollEnd, options: preprocessedOptions, placeholder, popoverAlign, popoverAlignOffset, popoverHeight, popoverWidth, renderItem, searchable, selectedValuesOptions, size, values, }: ISelectProps<T>) => JSX.Element;
|
|
7182
|
+
const Select: <T extends ISelectItemProps = ISelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, fitToContent, forcePlaceholder, fullyControlled, hideChevron, leftIcon, loadingOptions, multiple, onAddItem, onInputChange, onItemsChange, onItemSelected, onRemoveItem, onScrollEnd, options: preprocessedOptions, placeholder, popoverAlign, popoverAlignOffset, popoverHeight, popoverWidth, renderItem, searchable, selectedValuesOptions: allSelectedValuesOptions, size, values, }: ISelectProps<T>) => JSX.Element;
|
|
7181
7183
|
export default Select;
|
|
7182
7184
|
}
|
|
7183
7185
|
declare module "libs/reach/ui/common/src/reach-2/select/UserSelect" {
|