@croquiscom/pds 10.8.0 → 10.8.1
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/CHANGELOG.md +6 -0
- package/dist/components/dropdown/Dropdown.d.ts +2 -1
- package/dist/components/dropdown/DropdownInput.d.ts +1 -1
- package/dist/components/dropdown/DropdownOptions.d.ts +2 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/plugin/ui.html +1 -1
- package/plugin/ui.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -42,5 +42,6 @@ export interface DropdownProps<OptionValue> {
|
|
|
42
42
|
keyExtractor?: (item: DropdownOption<OptionValue>, index: number) => string | number;
|
|
43
43
|
onChange?: (value: OptionValue) => void;
|
|
44
44
|
renderLabel?: (selectedOption: DropdownOption<OptionValue>) => ReactNode;
|
|
45
|
+
enableVirtualScroll?: boolean;
|
|
45
46
|
}
|
|
46
|
-
export declare const Dropdown: <OptionValue extends string | number>({ className, width, maxHeight, zIndex, size: sizeProp, disabled, optionsMatchRefWidth, options, placeholder, status, value: valueProp, autoPlacement: autoPlacementProps, unstableFocusVisible, keyExtractor, onChange, renderLabel, }: DropdownProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
47
|
+
export declare const Dropdown: <OptionValue extends string | number>({ className, width, maxHeight, zIndex, size: sizeProp, disabled, optionsMatchRefWidth, options, placeholder, status, value: valueProp, autoPlacement: autoPlacementProps, unstableFocusVisible, keyExtractor, onChange, renderLabel, enableVirtualScroll, }: DropdownProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface DropdownInputProps<OptionValue> extends Omit<DropdownProps<Opti
|
|
|
34
34
|
keyExtractor?: (item: DropdownInputOption<OptionValue>, index: number) => string | number;
|
|
35
35
|
optionFilter?: (inputValue: string, item: DropdownInputOption<OptionValue>, index: number) => boolean;
|
|
36
36
|
}
|
|
37
|
-
export declare const DropdownInput: <OptionValue extends string | number>({ width, zIndex, disabled, options, placeholder, status, value, size: sizeProp, unstableFocusVisible, allowCustomValue, keyExtractor, optionFilter, autoPlacement: autoPlacementProps, startElement, endElement, onSearch, onChange, }: DropdownInputProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
37
|
+
export declare const DropdownInput: <OptionValue extends string | number>({ width, zIndex, disabled, options, placeholder, status, value, size: sizeProp, unstableFocusVisible, allowCustomValue, keyExtractor, optionFilter, autoPlacement: autoPlacementProps, startElement, endElement, onSearch, onChange, enableVirtualScroll, }: DropdownInputProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
@@ -30,5 +30,6 @@ export interface PopoverContentProps<OptionValue> {
|
|
|
30
30
|
setRefs: (node: HTMLElement | null, index: number) => void;
|
|
31
31
|
isPositioned?: boolean;
|
|
32
32
|
setFocusIndex?: (index: number) => void;
|
|
33
|
+
enableVirtualScroll?: boolean;
|
|
33
34
|
}
|
|
34
|
-
export declare const DropdownOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose, noDataText, value: valueProp, unstableFocusVisible, keyExtractor, onChange, focusIndex, context, getFloatingProps, getItemProps, floatingStyles, refs, setRefs, isPositioned, setFocusIndex, }: PopoverContentProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|
|
35
|
+
export declare const DropdownOptions: <OptionValue extends string | number>({ className, zIndex, size: sizeProp, initialFocus, options, onClose, noDataText, value: valueProp, unstableFocusVisible, keyExtractor, onChange, focusIndex, context, getFloatingProps, getItemProps, floatingStyles, refs, setRefs, isPositioned, setFocusIndex, enableVirtualScroll, }: PopoverContentProps<OptionValue> & AriaFocusProps) => React.JSX.Element;
|