@commonsku/styles 1.14.8 → 1.16.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.
- package/dist/index.d.ts +902 -154
- package/dist/index.es.js +922 -365
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +936 -370
- package/dist/index.js.map +1 -1
- package/dist/styles/Artwork.d.ts +1 -0
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +18 -3
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CollapsibleV2.d.ts +34 -0
- package/dist/styles/CollapsibleV2.d.ts.map +1 -0
- package/dist/styles/ConfirmPopup.d.ts +10 -0
- package/dist/styles/ConfirmPopup.d.ts.map +1 -0
- package/dist/styles/Csku.d.ts +58 -0
- package/dist/styles/Csku.d.ts.map +1 -0
- package/dist/styles/Dropdown.d.ts +12 -2
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +0 -1
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/Grid.d.ts +17 -0
- package/dist/styles/Grid.d.ts.map +1 -0
- package/dist/styles/GridTable.d.ts +55 -0
- package/dist/styles/GridTable.d.ts.map +1 -0
- package/dist/styles/IconShowcase.d.ts.map +1 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +8 -0
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts +2 -2
- package/dist/styles/InputStepper.d.ts.map +1 -1
- package/dist/styles/LightIndicator.d.ts +3 -2
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/Popup.d.ts +11 -2
- package/dist/styles/Popup.d.ts.map +1 -1
- package/dist/styles/Select.d.ts +548 -30
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +1 -0
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +3 -5
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +16 -0
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +1 -1
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/hooks/useRandomInterval.d.ts +1 -1
- package/dist/styles/hooks/useRandomInterval.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +4 -2
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -1
- package/dist/styles/icons/DragIcon.d.ts +6 -0
- package/dist/styles/icons/DragIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +1 -2
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +1 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +6 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +7 -2
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -1
- package/dist/utils/index.d.ts +9 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts +16 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/dist/utils/ssr.d.ts +4 -0
- package/dist/utils/ssr.d.ts.map +1 -1
- package/dist/utils/styled.d.ts +12 -0
- package/dist/utils/styled.d.ts.map +1 -0
- package/package.json +14 -17
package/dist/styles/Select.d.ts
CHANGED
|
@@ -1,38 +1,556 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import BaseCreatableSelect, { Props as CreatableSelectProps, makeCreatableSelect } from 'react-select/creatable';
|
|
4
|
-
import BaseAsyncSelect, { Props as AsyncSelectProps } from 'react-select/async';
|
|
2
|
+
import { SelectInstance, GroupBase, StylesConfig, components, createFilter, mergeStyles } from 'react-select';
|
|
5
3
|
declare type AdditionalSKUSelectProps = {
|
|
6
4
|
noMargin?: boolean;
|
|
7
5
|
error?: boolean;
|
|
8
6
|
menuRelative?: boolean;
|
|
9
7
|
inPopup?: boolean;
|
|
10
8
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
9
|
+
declare const SKUSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
10
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
11
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
12
|
+
blurInputOnSelect?: boolean | undefined;
|
|
13
|
+
captureMenuScroll?: boolean | undefined;
|
|
14
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
15
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
16
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
17
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
18
|
+
escapeClearsValue?: boolean | undefined;
|
|
19
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
20
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
21
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
22
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
23
|
+
isDisabled?: boolean | undefined;
|
|
24
|
+
isLoading?: boolean | undefined;
|
|
25
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
26
|
+
isMulti?: boolean | undefined;
|
|
27
|
+
isRtl?: boolean | undefined;
|
|
28
|
+
isSearchable?: boolean | undefined;
|
|
29
|
+
loadingMessage?: ((obj: {
|
|
30
|
+
inputValue: string;
|
|
31
|
+
}) => React.ReactNode) | undefined;
|
|
32
|
+
minMenuHeight?: number | undefined;
|
|
33
|
+
maxMenuHeight?: number | undefined;
|
|
34
|
+
menuIsOpen?: boolean | undefined;
|
|
35
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
36
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
37
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
38
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
39
|
+
noOptionsMessage?: ((obj: {
|
|
40
|
+
inputValue: string;
|
|
41
|
+
}) => React.ReactNode) | undefined;
|
|
42
|
+
openMenuOnFocus?: boolean | undefined;
|
|
43
|
+
openMenuOnClick?: boolean | undefined;
|
|
44
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
45
|
+
pageSize?: number | undefined;
|
|
46
|
+
placeholder?: React.ReactNode;
|
|
47
|
+
screenReaderStatus?: ((obj: {
|
|
48
|
+
count: number;
|
|
49
|
+
}) => string) | undefined;
|
|
50
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
51
|
+
tabIndex?: number | undefined;
|
|
52
|
+
tabSelectsValue?: boolean | undefined;
|
|
53
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
54
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
55
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
56
|
+
blurInputOnSelect?: boolean | undefined;
|
|
57
|
+
captureMenuScroll?: boolean | undefined;
|
|
58
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
59
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
60
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
61
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
62
|
+
escapeClearsValue?: boolean | undefined;
|
|
63
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
64
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
65
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
66
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
67
|
+
isDisabled?: boolean | undefined;
|
|
68
|
+
isLoading?: boolean | undefined;
|
|
69
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
70
|
+
isMulti?: boolean | undefined;
|
|
71
|
+
isRtl?: boolean | undefined;
|
|
72
|
+
isSearchable?: boolean | undefined;
|
|
73
|
+
loadingMessage?: ((obj: {
|
|
74
|
+
inputValue: string;
|
|
75
|
+
}) => React.ReactNode) | undefined;
|
|
76
|
+
minMenuHeight?: number | undefined;
|
|
77
|
+
maxMenuHeight?: number | undefined;
|
|
78
|
+
menuIsOpen?: boolean | undefined;
|
|
79
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
80
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
81
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
82
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
83
|
+
noOptionsMessage?: ((obj: {
|
|
84
|
+
inputValue: string;
|
|
85
|
+
}) => React.ReactNode) | undefined;
|
|
86
|
+
openMenuOnFocus?: boolean | undefined;
|
|
87
|
+
openMenuOnClick?: boolean | undefined;
|
|
88
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
89
|
+
pageSize?: number | undefined;
|
|
90
|
+
placeholder?: React.ReactNode;
|
|
91
|
+
screenReaderStatus?: ((obj: {
|
|
92
|
+
count: number;
|
|
93
|
+
}) => string) | undefined;
|
|
94
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
95
|
+
tabIndex?: number | undefined;
|
|
96
|
+
tabSelectsValue?: boolean | undefined;
|
|
97
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & React.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
98
|
+
declare const LabeledSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
99
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
100
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
101
|
+
blurInputOnSelect?: boolean | undefined;
|
|
102
|
+
captureMenuScroll?: boolean | undefined;
|
|
103
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
104
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
105
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
106
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
107
|
+
escapeClearsValue?: boolean | undefined;
|
|
108
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
109
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
110
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
111
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
112
|
+
isDisabled?: boolean | undefined;
|
|
113
|
+
isLoading?: boolean | undefined;
|
|
114
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
115
|
+
isMulti?: boolean | undefined;
|
|
116
|
+
isRtl?: boolean | undefined;
|
|
117
|
+
isSearchable?: boolean | undefined;
|
|
118
|
+
loadingMessage?: ((obj: {
|
|
119
|
+
inputValue: string;
|
|
120
|
+
}) => React.ReactNode) | undefined;
|
|
121
|
+
minMenuHeight?: number | undefined;
|
|
122
|
+
maxMenuHeight?: number | undefined;
|
|
123
|
+
menuIsOpen?: boolean | undefined;
|
|
124
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
125
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
126
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
127
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
128
|
+
noOptionsMessage?: ((obj: {
|
|
129
|
+
inputValue: string;
|
|
130
|
+
}) => React.ReactNode) | undefined;
|
|
131
|
+
openMenuOnFocus?: boolean | undefined;
|
|
132
|
+
openMenuOnClick?: boolean | undefined;
|
|
133
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
134
|
+
pageSize?: number | undefined;
|
|
135
|
+
placeholder?: React.ReactNode;
|
|
136
|
+
screenReaderStatus?: ((obj: {
|
|
137
|
+
count: number;
|
|
138
|
+
}) => string) | undefined;
|
|
139
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
140
|
+
tabIndex?: number | undefined;
|
|
141
|
+
tabSelectsValue?: boolean | undefined;
|
|
142
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
143
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
144
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
145
|
+
blurInputOnSelect?: boolean | undefined;
|
|
146
|
+
captureMenuScroll?: boolean | undefined;
|
|
147
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
148
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
149
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, boolean, GroupBase<unknown>>> | undefined;
|
|
150
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
151
|
+
escapeClearsValue?: boolean | undefined;
|
|
152
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
153
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
154
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
155
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
156
|
+
isDisabled?: boolean | undefined;
|
|
157
|
+
isLoading?: boolean | undefined;
|
|
158
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
159
|
+
isMulti?: boolean | undefined;
|
|
160
|
+
isRtl?: boolean | undefined;
|
|
161
|
+
isSearchable?: boolean | undefined;
|
|
162
|
+
loadingMessage?: ((obj: {
|
|
163
|
+
inputValue: string;
|
|
164
|
+
}) => React.ReactNode) | undefined;
|
|
165
|
+
minMenuHeight?: number | undefined;
|
|
166
|
+
maxMenuHeight?: number | undefined;
|
|
167
|
+
menuIsOpen?: boolean | undefined;
|
|
168
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
169
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
170
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
171
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
172
|
+
noOptionsMessage?: ((obj: {
|
|
173
|
+
inputValue: string;
|
|
174
|
+
}) => React.ReactNode) | undefined;
|
|
175
|
+
openMenuOnFocus?: boolean | undefined;
|
|
176
|
+
openMenuOnClick?: boolean | undefined;
|
|
177
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
178
|
+
pageSize?: number | undefined;
|
|
179
|
+
placeholder?: React.ReactNode;
|
|
180
|
+
screenReaderStatus?: ((obj: {
|
|
181
|
+
count: number;
|
|
182
|
+
}) => string) | undefined;
|
|
183
|
+
styles?: StylesConfig<unknown, boolean, GroupBase<unknown>> | undefined;
|
|
184
|
+
tabIndex?: number | undefined;
|
|
185
|
+
tabSelectsValue?: boolean | undefined;
|
|
186
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & {
|
|
187
|
+
parentStyle?: React.CSSProperties | undefined;
|
|
188
|
+
label?: string | undefined;
|
|
189
|
+
required?: boolean | undefined;
|
|
190
|
+
} & React.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
|
|
191
|
+
declare const SKUCreatableSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
192
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
193
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
194
|
+
blurInputOnSelect?: boolean | undefined;
|
|
195
|
+
captureMenuScroll?: boolean | undefined;
|
|
196
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
197
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
198
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
199
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
200
|
+
escapeClearsValue?: boolean | undefined;
|
|
201
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
202
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
203
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
204
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
205
|
+
isDisabled?: boolean | undefined;
|
|
206
|
+
isLoading?: boolean | undefined;
|
|
207
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
208
|
+
isMulti?: false | undefined;
|
|
209
|
+
isRtl?: boolean | undefined;
|
|
210
|
+
isSearchable?: boolean | undefined;
|
|
211
|
+
loadingMessage?: ((obj: {
|
|
212
|
+
inputValue: string;
|
|
213
|
+
}) => React.ReactNode) | undefined;
|
|
214
|
+
minMenuHeight?: number | undefined;
|
|
215
|
+
maxMenuHeight?: number | undefined;
|
|
216
|
+
menuIsOpen?: boolean | undefined;
|
|
217
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
218
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
219
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
220
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
221
|
+
noOptionsMessage?: ((obj: {
|
|
222
|
+
inputValue: string;
|
|
223
|
+
}) => React.ReactNode) | undefined;
|
|
224
|
+
openMenuOnFocus?: boolean | undefined;
|
|
225
|
+
openMenuOnClick?: boolean | undefined;
|
|
226
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
227
|
+
pageSize?: number | undefined;
|
|
228
|
+
placeholder?: React.ReactNode;
|
|
229
|
+
screenReaderStatus?: ((obj: {
|
|
230
|
+
count: number;
|
|
231
|
+
}) => string) | undefined;
|
|
232
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
233
|
+
tabIndex?: number | undefined;
|
|
234
|
+
tabSelectsValue?: boolean | undefined;
|
|
235
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
236
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
237
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
238
|
+
blurInputOnSelect?: boolean | undefined;
|
|
239
|
+
captureMenuScroll?: boolean | undefined;
|
|
240
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
241
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
242
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
243
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
244
|
+
escapeClearsValue?: boolean | undefined;
|
|
245
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
246
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
247
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
248
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
249
|
+
isDisabled?: boolean | undefined;
|
|
250
|
+
isLoading?: boolean | undefined;
|
|
251
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
252
|
+
isMulti?: false | undefined;
|
|
253
|
+
isRtl?: boolean | undefined;
|
|
254
|
+
isSearchable?: boolean | undefined;
|
|
255
|
+
loadingMessage?: ((obj: {
|
|
256
|
+
inputValue: string;
|
|
257
|
+
}) => React.ReactNode) | undefined;
|
|
258
|
+
minMenuHeight?: number | undefined;
|
|
259
|
+
maxMenuHeight?: number | undefined;
|
|
260
|
+
menuIsOpen?: boolean | undefined;
|
|
261
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
262
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
263
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
264
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
265
|
+
noOptionsMessage?: ((obj: {
|
|
266
|
+
inputValue: string;
|
|
267
|
+
}) => React.ReactNode) | undefined;
|
|
268
|
+
openMenuOnFocus?: boolean | undefined;
|
|
269
|
+
openMenuOnClick?: boolean | undefined;
|
|
270
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
271
|
+
pageSize?: number | undefined;
|
|
272
|
+
placeholder?: React.ReactNode;
|
|
273
|
+
screenReaderStatus?: ((obj: {
|
|
274
|
+
count: number;
|
|
275
|
+
}) => string) | undefined;
|
|
276
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
277
|
+
tabIndex?: number | undefined;
|
|
278
|
+
tabSelectsValue?: boolean | undefined;
|
|
279
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<unknown, GroupBase<unknown>> & React.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
280
|
+
declare const LabeledCreatableSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
281
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
282
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
283
|
+
blurInputOnSelect?: boolean | undefined;
|
|
284
|
+
captureMenuScroll?: boolean | undefined;
|
|
285
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
286
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
287
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
288
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
289
|
+
escapeClearsValue?: boolean | undefined;
|
|
290
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
291
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
292
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
293
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
294
|
+
isDisabled?: boolean | undefined;
|
|
295
|
+
isLoading?: boolean | undefined;
|
|
296
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
297
|
+
isMulti?: false | undefined;
|
|
298
|
+
isRtl?: boolean | undefined;
|
|
299
|
+
isSearchable?: boolean | undefined;
|
|
300
|
+
loadingMessage?: ((obj: {
|
|
301
|
+
inputValue: string;
|
|
302
|
+
}) => React.ReactNode) | undefined;
|
|
303
|
+
minMenuHeight?: number | undefined;
|
|
304
|
+
maxMenuHeight?: number | undefined;
|
|
305
|
+
menuIsOpen?: boolean | undefined;
|
|
306
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
307
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
308
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
309
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
310
|
+
noOptionsMessage?: ((obj: {
|
|
311
|
+
inputValue: string;
|
|
312
|
+
}) => React.ReactNode) | undefined;
|
|
313
|
+
openMenuOnFocus?: boolean | undefined;
|
|
314
|
+
openMenuOnClick?: boolean | undefined;
|
|
315
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
316
|
+
pageSize?: number | undefined;
|
|
317
|
+
placeholder?: React.ReactNode;
|
|
318
|
+
screenReaderStatus?: ((obj: {
|
|
319
|
+
count: number;
|
|
320
|
+
}) => string) | undefined;
|
|
321
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
322
|
+
tabIndex?: number | undefined;
|
|
323
|
+
tabSelectsValue?: boolean | undefined;
|
|
324
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
325
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
326
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
327
|
+
blurInputOnSelect?: boolean | undefined;
|
|
328
|
+
captureMenuScroll?: boolean | undefined;
|
|
329
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
330
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
331
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
332
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
333
|
+
escapeClearsValue?: boolean | undefined;
|
|
334
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
335
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
336
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
337
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
338
|
+
isDisabled?: boolean | undefined;
|
|
339
|
+
isLoading?: boolean | undefined;
|
|
340
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
341
|
+
isMulti?: false | undefined;
|
|
342
|
+
isRtl?: boolean | undefined;
|
|
343
|
+
isSearchable?: boolean | undefined;
|
|
344
|
+
loadingMessage?: ((obj: {
|
|
345
|
+
inputValue: string;
|
|
346
|
+
}) => React.ReactNode) | undefined;
|
|
347
|
+
minMenuHeight?: number | undefined;
|
|
348
|
+
maxMenuHeight?: number | undefined;
|
|
349
|
+
menuIsOpen?: boolean | undefined;
|
|
350
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
351
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
352
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
353
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
354
|
+
noOptionsMessage?: ((obj: {
|
|
355
|
+
inputValue: string;
|
|
356
|
+
}) => React.ReactNode) | undefined;
|
|
357
|
+
openMenuOnFocus?: boolean | undefined;
|
|
358
|
+
openMenuOnClick?: boolean | undefined;
|
|
359
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
360
|
+
pageSize?: number | undefined;
|
|
361
|
+
placeholder?: React.ReactNode;
|
|
362
|
+
screenReaderStatus?: ((obj: {
|
|
363
|
+
count: number;
|
|
364
|
+
}) => string) | undefined;
|
|
365
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
366
|
+
tabIndex?: number | undefined;
|
|
367
|
+
tabSelectsValue?: boolean | undefined;
|
|
368
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
369
|
+
parentStyle?: React.CSSProperties | undefined;
|
|
370
|
+
label?: string | undefined;
|
|
371
|
+
required?: boolean | undefined;
|
|
372
|
+
} & React.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
373
|
+
declare const SKUAsyncSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
374
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
375
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
376
|
+
blurInputOnSelect?: boolean | undefined;
|
|
377
|
+
captureMenuScroll?: boolean | undefined;
|
|
378
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
379
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
380
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
381
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
382
|
+
escapeClearsValue?: boolean | undefined;
|
|
383
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
384
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
385
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
386
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
387
|
+
isDisabled?: boolean | undefined;
|
|
388
|
+
isLoading?: boolean | undefined;
|
|
389
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
390
|
+
isMulti?: false | undefined;
|
|
391
|
+
isRtl?: boolean | undefined;
|
|
392
|
+
isSearchable?: boolean | undefined;
|
|
393
|
+
loadingMessage?: ((obj: {
|
|
394
|
+
inputValue: string;
|
|
395
|
+
}) => React.ReactNode) | undefined;
|
|
396
|
+
minMenuHeight?: number | undefined;
|
|
397
|
+
maxMenuHeight?: number | undefined;
|
|
398
|
+
menuIsOpen?: boolean | undefined;
|
|
399
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
400
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
401
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
402
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
403
|
+
noOptionsMessage?: ((obj: {
|
|
404
|
+
inputValue: string;
|
|
405
|
+
}) => React.ReactNode) | undefined;
|
|
406
|
+
openMenuOnFocus?: boolean | undefined;
|
|
407
|
+
openMenuOnClick?: boolean | undefined;
|
|
408
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
409
|
+
pageSize?: number | undefined;
|
|
410
|
+
placeholder?: React.ReactNode;
|
|
411
|
+
screenReaderStatus?: ((obj: {
|
|
412
|
+
count: number;
|
|
413
|
+
}) => string) | undefined;
|
|
414
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
415
|
+
tabIndex?: number | undefined;
|
|
416
|
+
tabSelectsValue?: boolean | undefined;
|
|
417
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
418
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
419
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
420
|
+
blurInputOnSelect?: boolean | undefined;
|
|
421
|
+
captureMenuScroll?: boolean | undefined;
|
|
422
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
423
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
424
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
425
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
426
|
+
escapeClearsValue?: boolean | undefined;
|
|
427
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
428
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
429
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
430
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
431
|
+
isDisabled?: boolean | undefined;
|
|
432
|
+
isLoading?: boolean | undefined;
|
|
433
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
434
|
+
isMulti?: false | undefined;
|
|
435
|
+
isRtl?: boolean | undefined;
|
|
436
|
+
isSearchable?: boolean | undefined;
|
|
437
|
+
loadingMessage?: ((obj: {
|
|
438
|
+
inputValue: string;
|
|
439
|
+
}) => React.ReactNode) | undefined;
|
|
440
|
+
minMenuHeight?: number | undefined;
|
|
441
|
+
maxMenuHeight?: number | undefined;
|
|
442
|
+
menuIsOpen?: boolean | undefined;
|
|
443
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
444
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
445
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
446
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
447
|
+
noOptionsMessage?: ((obj: {
|
|
448
|
+
inputValue: string;
|
|
449
|
+
}) => React.ReactNode) | undefined;
|
|
450
|
+
openMenuOnFocus?: boolean | undefined;
|
|
451
|
+
openMenuOnClick?: boolean | undefined;
|
|
452
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
453
|
+
pageSize?: number | undefined;
|
|
454
|
+
placeholder?: React.ReactNode;
|
|
455
|
+
screenReaderStatus?: ((obj: {
|
|
456
|
+
count: number;
|
|
457
|
+
}) => string) | undefined;
|
|
458
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
459
|
+
tabIndex?: number | undefined;
|
|
460
|
+
tabSelectsValue?: boolean | undefined;
|
|
461
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & import("react-select/dist/declarations/src/useAsync").AsyncAdditionalProps<unknown, GroupBase<unknown>> & React.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
462
|
+
declare const LabeledAsyncSelect: React.ForwardRefExoticComponent<AdditionalSKUSelectProps & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
463
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
464
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
465
|
+
blurInputOnSelect?: boolean | undefined;
|
|
466
|
+
captureMenuScroll?: boolean | undefined;
|
|
467
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
468
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
469
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
470
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
471
|
+
escapeClearsValue?: boolean | undefined;
|
|
472
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
473
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
474
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
475
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
476
|
+
isDisabled?: boolean | undefined;
|
|
477
|
+
isLoading?: boolean | undefined;
|
|
478
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
479
|
+
isMulti?: false | undefined;
|
|
480
|
+
isRtl?: boolean | undefined;
|
|
481
|
+
isSearchable?: boolean | undefined;
|
|
482
|
+
loadingMessage?: ((obj: {
|
|
483
|
+
inputValue: string;
|
|
484
|
+
}) => React.ReactNode) | undefined;
|
|
485
|
+
minMenuHeight?: number | undefined;
|
|
486
|
+
maxMenuHeight?: number | undefined;
|
|
487
|
+
menuIsOpen?: boolean | undefined;
|
|
488
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
489
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
490
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
491
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
492
|
+
noOptionsMessage?: ((obj: {
|
|
493
|
+
inputValue: string;
|
|
494
|
+
}) => React.ReactNode) | undefined;
|
|
495
|
+
openMenuOnFocus?: boolean | undefined;
|
|
496
|
+
openMenuOnClick?: boolean | undefined;
|
|
497
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
498
|
+
pageSize?: number | undefined;
|
|
499
|
+
placeholder?: React.ReactNode;
|
|
500
|
+
screenReaderStatus?: ((obj: {
|
|
501
|
+
count: number;
|
|
502
|
+
}) => string) | undefined;
|
|
503
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
504
|
+
tabIndex?: number | undefined;
|
|
505
|
+
tabSelectsValue?: boolean | undefined;
|
|
506
|
+
} & {}, "inputValue" | "menuIsOpen" | "onChange" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "value"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<unknown, false, GroupBase<unknown>>, "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "ariaLiveMessages" | "autoFocus" | "className" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "id" | "inputValue" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "name" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom" | "theme" | "value" | "form"> & {
|
|
507
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
508
|
+
backspaceRemovesValue?: boolean | undefined;
|
|
509
|
+
blurInputOnSelect?: boolean | undefined;
|
|
510
|
+
captureMenuScroll?: boolean | undefined;
|
|
511
|
+
closeMenuOnSelect?: boolean | undefined;
|
|
512
|
+
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
513
|
+
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<unknown, false, GroupBase<unknown>>> | undefined;
|
|
514
|
+
controlShouldRenderValue?: boolean | undefined;
|
|
515
|
+
escapeClearsValue?: boolean | undefined;
|
|
516
|
+
filterOption?: ((option: import("react-select/dist/declarations/src/filters").FilterOptionOption<unknown>, inputValue: string) => boolean) | null | undefined;
|
|
517
|
+
formatGroupLabel?: ((group: GroupBase<unknown>) => React.ReactNode) | undefined;
|
|
518
|
+
getOptionLabel?: import("react-select").GetOptionLabel<unknown> | undefined;
|
|
519
|
+
getOptionValue?: import("react-select").GetOptionValue<unknown> | undefined;
|
|
520
|
+
isDisabled?: boolean | undefined;
|
|
521
|
+
isLoading?: boolean | undefined;
|
|
522
|
+
isOptionDisabled?: ((option: unknown, selectValue: import("react-select").Options<unknown>) => boolean) | undefined;
|
|
523
|
+
isMulti?: false | undefined;
|
|
524
|
+
isRtl?: boolean | undefined;
|
|
525
|
+
isSearchable?: boolean | undefined;
|
|
526
|
+
loadingMessage?: ((obj: {
|
|
527
|
+
inputValue: string;
|
|
528
|
+
}) => React.ReactNode) | undefined;
|
|
529
|
+
minMenuHeight?: number | undefined;
|
|
530
|
+
maxMenuHeight?: number | undefined;
|
|
531
|
+
menuIsOpen?: boolean | undefined;
|
|
532
|
+
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
533
|
+
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
534
|
+
menuShouldBlockScroll?: boolean | undefined;
|
|
535
|
+
menuShouldScrollIntoView?: boolean | undefined;
|
|
536
|
+
noOptionsMessage?: ((obj: {
|
|
537
|
+
inputValue: string;
|
|
538
|
+
}) => React.ReactNode) | undefined;
|
|
539
|
+
openMenuOnFocus?: boolean | undefined;
|
|
540
|
+
openMenuOnClick?: boolean | undefined;
|
|
541
|
+
options?: import("react-select").OptionsOrGroups<unknown, GroupBase<unknown>> | undefined;
|
|
542
|
+
pageSize?: number | undefined;
|
|
543
|
+
placeholder?: React.ReactNode;
|
|
544
|
+
screenReaderStatus?: ((obj: {
|
|
545
|
+
count: number;
|
|
546
|
+
}) => string) | undefined;
|
|
547
|
+
styles?: StylesConfig<unknown, false, GroupBase<unknown>> | undefined;
|
|
548
|
+
tabIndex?: number | undefined;
|
|
549
|
+
tabSelectsValue?: boolean | undefined;
|
|
550
|
+
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<unknown> & import("react-select/dist/declarations/src/useAsync").AsyncAdditionalProps<unknown, GroupBase<unknown>> & {
|
|
551
|
+
parentStyle?: React.CSSProperties | undefined;
|
|
552
|
+
label?: string | undefined;
|
|
553
|
+
required?: boolean | undefined;
|
|
554
|
+
} & React.RefAttributes<SelectInstance<unknown, false, GroupBase<unknown>>>>;
|
|
555
|
+
export { SKUSelect as Select, LabeledSelect, SKUCreatableSelect as CreatableSelect, LabeledCreatableSelect, SKUAsyncSelect as AsyncSelect, LabeledAsyncSelect, components, createFilter, mergeStyles, };
|
|
38
556
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAmB,EAAwB,cAAc,EAAE,SAAS,EAAE,YAAY,EAAS,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAOtJ,aAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAC,OAAO,CAAC;CAClB,CAAA;AA+MD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAsBb,CAAC;AAGH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8EAOlB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wSAwBvB,CAAC;AAGF,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAO3B,CAAC;AAGF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gSAwBnB,CAAC;AAGF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAOvB,CAAC;AAEF,OAAO,EACL,SAAS,IAAI,MAAM,EACnB,aAAa,EACb,kBAAkB,IAAI,eAAe,EACrC,sBAAsB,EACtB,cAAc,IAAI,WAAW,EAC7B,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,WAAW,GACZ,CAAC"}
|
package/dist/styles/Tabs.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const TabBar: import("styled-components").StyledComponent<"ul", any, {
|
|
|
10
10
|
declare const Tab: import("styled-components").StyledComponent<"li", any, {
|
|
11
11
|
selected?: boolean | undefined;
|
|
12
12
|
size?: "small" | "medium" | undefined;
|
|
13
|
+
variant?: "primary" | "secondary" | undefined;
|
|
13
14
|
} & SharedStyleTypes, never>;
|
|
14
15
|
export declare type TTab = {
|
|
15
16
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAG/D,QAAA,MAAM,QAAQ;;;CAWb,CAAC;AAEF,QAAA,MAAM,MAAM;;4BAUX,CAAA;AAOD,QAAA,MAAM,GAAG;;;;4BAkBR,CAAA;AAgCD,oBAAY,IAAI,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,CAAA;CAAC,CAAC;AAC9F,oBAAY,SAAS,GAAG;IAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAA;CAAE,CAAC;AACpH,aAAK,SAAS,GAAG;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAC,CAAC;AAE5C,cAAM,IAAK,SAAQ,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBACpC,KAAK,EAAE,SAAS;IAO5B,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,SAAE,GAAG,IAAI,GAAG,IAAI;IAO7C,iBAAiB;IAUjB,kBAAkB,CAAC,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC;IAgBjF,MAAM;CAmBP;AAED,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,CAAC"}
|