@paygreen/pgui 2.10.1 → 2.11.0

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.
@@ -26,13 +26,12 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
26
26
  debounceDelay?: number | undefined;
27
27
  variant?: "outline" | "filled" | undefined;
28
28
  } & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
29
- placeholder?: React.ReactNode;
30
29
  tabIndex?: number | undefined;
31
30
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
32
31
  isLoading?: boolean | undefined;
33
32
  isDisabled?: boolean | undefined;
34
33
  components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, Group>> | undefined;
35
- unstyled?: boolean | undefined;
34
+ placeholder?: React.ReactNode;
36
35
  options?: import("react-select").OptionsOrGroups<Option, Group> | undefined;
37
36
  pageSize?: number | undefined;
38
37
  backspaceRemovesValue?: boolean | undefined;
@@ -71,14 +70,14 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
71
70
  }) => string) | undefined;
72
71
  styles?: import("react-select").StylesConfig<Option, IsMulti, Group> | undefined;
73
72
  tabSelectsValue?: boolean | undefined;
73
+ unstyled?: boolean | undefined;
74
74
  } & {}, "value" | "onChange" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
75
- placeholder?: React.ReactNode;
76
75
  tabIndex?: number | undefined;
77
76
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
78
77
  isLoading?: boolean | undefined;
79
78
  isDisabled?: boolean | undefined;
80
79
  components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, Group>> | undefined;
81
- unstyled?: boolean | undefined;
80
+ placeholder?: React.ReactNode;
82
81
  options?: import("react-select").OptionsOrGroups<Option, Group> | undefined;
83
82
  pageSize?: number | undefined;
84
83
  backspaceRemovesValue?: boolean | undefined;
@@ -117,4 +116,5 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
117
116
  }) => string) | undefined;
118
117
  styles?: import("react-select").StylesConfig<Option, IsMulti, Group> | undefined;
119
118
  tabSelectsValue?: boolean | undefined;
119
+ unstyled?: boolean | undefined;
120
120
  } & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<Option> & Omit<BoxProps, "defaultValue"> & React.RefAttributes<HTMLElement>) => React.ReactElement | null;