@atlaskit/select 15.7.7 → 16.0.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.
Files changed (62) hide show
  1. package/AsyncCreatableSelect/package.json +5 -5
  2. package/AsyncSelect/package.json +5 -5
  3. package/CHANGELOG.md +99 -0
  4. package/CreatableSelect/package.json +5 -5
  5. package/Select/package.json +5 -5
  6. package/dist/cjs/PopupSelect/PopupSelect.js +19 -26
  7. package/dist/cjs/Select.js +1 -1
  8. package/dist/cjs/components/indicators.js +2 -1
  9. package/dist/cjs/createSelect.js +2 -13
  10. package/dist/cjs/entry-points/async-creatable-select.js +15 -0
  11. package/dist/cjs/entry-points/async-select.js +15 -0
  12. package/dist/cjs/entry-points/creatable-select.js +15 -0
  13. package/dist/cjs/entry-points/select.js +25 -0
  14. package/dist/cjs/index.js +17 -17
  15. package/dist/cjs/styles.js +4 -5
  16. package/dist/cjs/version.json +1 -1
  17. package/dist/es2019/PopupSelect/PopupSelect.js +9 -14
  18. package/dist/es2019/Select.js +1 -1
  19. package/dist/es2019/components/indicators.js +9 -6
  20. package/dist/es2019/createSelect.js +0 -11
  21. package/dist/es2019/entry-points/async-creatable-select.js +1 -0
  22. package/dist/es2019/entry-points/async-select.js +1 -0
  23. package/dist/es2019/entry-points/creatable-select.js +1 -0
  24. package/dist/es2019/entry-points/select.js +1 -0
  25. package/dist/es2019/index.js +13 -7
  26. package/dist/es2019/styles.js +2 -5
  27. package/dist/es2019/version.json +1 -1
  28. package/dist/esm/PopupSelect/PopupSelect.js +19 -26
  29. package/dist/esm/Select.js +1 -1
  30. package/dist/esm/components/indicators.js +3 -2
  31. package/dist/esm/createSelect.js +0 -10
  32. package/dist/esm/entry-points/async-creatable-select.js +1 -0
  33. package/dist/esm/entry-points/async-select.js +1 -0
  34. package/dist/esm/entry-points/creatable-select.js +1 -0
  35. package/dist/esm/entry-points/select.js +1 -0
  36. package/dist/esm/index.js +13 -7
  37. package/dist/esm/styles.js +4 -5
  38. package/dist/esm/version.json +1 -1
  39. package/dist/types/AsyncCreatableSelect.d.ts +12 -12
  40. package/dist/types/AsyncSelect.d.ts +12 -12
  41. package/dist/types/CreatableSelect.d.ts +12 -12
  42. package/dist/types/PopupSelect/PopupSelect.d.ts +10 -6
  43. package/dist/types/PopupSelect/index.d.ts +1 -1
  44. package/dist/types/Select.d.ts +24 -25
  45. package/dist/types/components/index.d.ts +2 -1
  46. package/dist/types/components/indicators.d.ts +4 -4
  47. package/dist/types/createSelect.d.ts +14 -14
  48. package/dist/types/entry-points/async-creatable-select.d.ts +1 -0
  49. package/dist/types/entry-points/async-select.d.ts +1 -0
  50. package/dist/types/entry-points/creatable-select.d.ts +1 -0
  51. package/dist/types/entry-points/select.d.ts +1 -0
  52. package/dist/types/index.d.ts +14 -8
  53. package/dist/types/types.d.ts +31 -16
  54. package/package.json +12 -7
  55. package/report.api.md +358 -224
  56. package/CheckboxSelect/package.json +0 -15
  57. package/CountrySelect/package.json +0 -15
  58. package/RadioSelect/package.json +0 -15
  59. package/createSelect/package.json +0 -15
  60. package/ert/package.json +0 -15
  61. package/styles/package.json +0 -15
  62. package/types/package.json +0 -15
package/report.api.md CHANGED
@@ -1,53 +1,64 @@
1
+ <!-- API Report Version: 2.2 -->
2
+
1
3
  ## API Report File for "@atlaskit/select"
2
4
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
4
9
 
5
- <!--
6
- Generated API Report version: 2.0
7
- -->
10
+ - [Main Entry Types](#main-entry-types)
8
11
 
9
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
10
15
 
11
16
  ```ts
12
17
  /// <reference types="react" />
13
18
 
14
19
  import { ActionMeta as ActionMeta_2 } from 'react-select';
20
+ import { AsyncProps } from 'react-select/async';
21
+ import BaseSelect from 'react-select/base';
22
+ import { ClearIndicatorProps } from 'react-select';
15
23
  import { components } from 'react-select';
16
24
  import { Context } from 'react';
17
25
  import { ControlProps as ControlProps_2 } from 'react-select';
26
+ import { CreatableProps } from 'react-select/creatable';
18
27
  import { createFilter } from 'react-select';
19
- import { default as default_2 } from 'react-select/src/Select';
20
- import { default as default_3 } from 'react-select';
28
+ import { default as default_2 } from 'react-select/base';
29
+ import { DropdownIndicatorProps } from 'react-select';
21
30
  import { ErrorInfo } from 'react';
22
31
  import { FC } from 'react';
23
- import { FormatOptionLabelMeta as FormatOptionLabelMeta_2 } from 'react-select';
24
- import { GroupedOptionsType } from 'react-select';
25
- import { GroupTypeBase as GroupType } from 'react-select';
26
- import { IndicatorComponentType as IndicatorComponentType_2 } from 'react-select';
27
- import { IndicatorProps as IndicatorProps_2 } from 'react-select';
28
- import { InputActionMeta as InputActionMeta_2 } from 'react-select';
32
+ import { FormatOptionLabelMeta } from 'react-select';
33
+ import { GroupProps as GroupProps_2 } from 'react-select';
34
+ import { GroupBase as GroupType } from 'react-select';
35
+ import { IndicatorSeparatorProps } from 'react-select';
36
+ import { InputActionMeta } from 'react-select';
29
37
  import { InputProps } from 'react-select';
30
38
  import { jsx } from '@emotion/react';
31
- import { makeAsyncSelect } from 'react-select/async';
32
- import { makeCreatableSelect } from 'react-select/creatable';
33
- import { MenuListComponentProps as MenuListComponentProps_2 } from 'react-select';
39
+ import { LoadingIndicatorProps } from 'react-select';
40
+ import { MenuListProps } from 'react-select';
34
41
  import { MenuProps as MenuProps_2 } from 'react-select';
35
42
  import { mergeStyles } from 'react-select';
43
+ import { MultiValueProps } from 'react-select';
44
+ import { NoticeProps } from 'react-select';
45
+ import { OnChangeValue } from 'react-select';
36
46
  import { OptionProps as OptionProps_2 } from 'react-select';
37
- import { OptionsType as OptionsType_2 } from 'react-select';
47
+ import { Options } from 'react-select';
38
48
  import { PopperProps } from 'react-popper';
39
- import { Props } from 'react-select';
40
49
  import { PureComponent } from 'react';
41
50
  import { default as React_2 } from 'react';
42
51
  import { ReactInstance } from 'react';
43
52
  import { ReactNode } from 'react';
44
- import Select from 'react-select';
45
- import { SelectComponents } from 'react-select/src/components';
53
+ import { Props as ReactSelectProps } from 'react-select';
54
+ import { SelectComponents } from 'react-select/dist/declarations/src/components';
46
55
  import { SelectComponentsConfig as SelectComponentsConfig_2 } from 'react-select';
56
+ import { SingleValueProps } from 'react-select';
47
57
  import { StylesConfig as StylesConfig_2 } from 'react-select';
48
58
  import { UnbindFn } from 'bind-event-listener';
59
+ import { useAsync } from 'react-select/async';
60
+ import { useCreatable } from 'react-select/creatable';
49
61
  import { ValueContainerProps as ValueContainerProps_2 } from 'react-select';
50
- import { ValueType as ValueType_2 } from 'react-select';
51
62
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
52
63
 
53
64
  // @public (undocumented)
@@ -59,12 +70,7 @@ export const AsyncCreatableSelect: {
59
70
  props: SelectProps<Option, IsMulti>,
60
71
  ): {
61
72
  components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
62
- select: default_3<
63
- Option,
64
- false,
65
- GroupType<Option>,
66
- default_2<Option, false, GroupType<Option>>
67
- > | null;
73
+ select: default_2<unknown, false, GroupType<unknown>> | null;
68
74
  UNSAFE_componentWillReceiveProps(
69
75
  nextProps: SelectProps<Option, IsMulti>,
70
76
  ): void;
@@ -73,29 +79,30 @@ export const AsyncCreatableSelect: {
73
79
  ) => void;
74
80
  focus(): void;
75
81
  blur(): void;
76
- onSelectRef: (
77
- ref: default_3<
78
- Option,
79
- false,
80
- GroupType<Option>,
81
- default_2<Option, false, GroupType<Option>>
82
- >,
83
- ) => void;
82
+ onSelectRef: (ref: default_2<unknown, false, GroupType<unknown>>) => void;
84
83
  render(): JSX.Element;
85
84
  context: any;
86
85
  setState<K extends never>(
87
86
  state:
88
- | {}
89
87
  | ((
90
88
  prevState: Readonly<{}>,
91
- props: Readonly<SelectProps<Option, IsMulti>>,
92
- ) => {} | Pick<{}, K> | null)
89
+ props: Readonly<
90
+ | AsyncSelectProps<Option, IsMulti>
91
+ | CreatableSelectProps<Option, IsMulti>
92
+ | SelectProps<Option, IsMulti>
93
+ >,
94
+ ) => Pick<{}, K> | null | {})
93
95
  | Pick<{}, K>
94
- | null,
96
+ | null
97
+ | {},
95
98
  callback?: (() => void) | undefined,
96
99
  ): void;
97
100
  forceUpdate(callBack?: (() => void) | undefined): void;
98
- readonly props: Readonly<SelectProps<Option, IsMulti>> &
101
+ readonly props: Readonly<
102
+ | AsyncSelectProps<Option, IsMulti>
103
+ | CreatableSelectProps<Option, IsMulti>
104
+ | SelectProps<Option, IsMulti>
105
+ > &
99
106
  Readonly<{
100
107
  children?: ReactNode;
101
108
  }>;
@@ -105,41 +112,64 @@ export const AsyncCreatableSelect: {
105
112
  };
106
113
  componentDidMount?(): void;
107
114
  shouldComponentUpdate?(
108
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
115
+ nextProps: Readonly<
116
+ | AsyncSelectProps<Option, IsMulti>
117
+ | CreatableSelectProps<Option, IsMulti>
118
+ | SelectProps<Option, IsMulti>
119
+ >,
109
120
  nextState: Readonly<{}>,
110
121
  nextContext: any,
111
122
  ): boolean;
112
123
  componentWillUnmount?(): void;
113
124
  componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
114
125
  getSnapshotBeforeUpdate?(
115
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
126
+ prevProps: Readonly<
127
+ | AsyncSelectProps<Option, IsMulti>
128
+ | CreatableSelectProps<Option, IsMulti>
129
+ | SelectProps<Option, IsMulti>
130
+ >,
116
131
  prevState: Readonly<{}>,
117
132
  ): any;
118
133
  componentDidUpdate?(
119
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
134
+ prevProps: Readonly<
135
+ | AsyncSelectProps<Option, IsMulti>
136
+ | CreatableSelectProps<Option, IsMulti>
137
+ | SelectProps<Option, IsMulti>
138
+ >,
120
139
  prevState: Readonly<{}>,
121
140
  snapshot?: any,
122
141
  ): void;
123
142
  componentWillMount?(): void;
124
143
  UNSAFE_componentWillMount?(): void;
125
144
  componentWillReceiveProps?(
126
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
145
+ nextProps: Readonly<
146
+ | AsyncSelectProps<Option, IsMulti>
147
+ | CreatableSelectProps<Option, IsMulti>
148
+ | SelectProps<Option, IsMulti>
149
+ >,
127
150
  nextContext: any,
128
151
  ): void;
129
152
  componentWillUpdate?(
130
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
153
+ nextProps: Readonly<
154
+ | AsyncSelectProps<Option, IsMulti>
155
+ | CreatableSelectProps<Option, IsMulti>
156
+ | SelectProps<Option, IsMulti>
157
+ >,
131
158
  nextState: Readonly<{}>,
132
159
  nextContext: any,
133
160
  ): void;
134
161
  UNSAFE_componentWillUpdate?(
135
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
162
+ nextProps: Readonly<
163
+ | AsyncSelectProps<Option, IsMulti>
164
+ | CreatableSelectProps<Option, IsMulti>
165
+ | SelectProps<Option, IsMulti>
166
+ >,
136
167
  nextState: Readonly<{}>,
137
168
  nextContext: any,
138
169
  ): void;
139
170
  };
140
171
  defaultProps: {
141
172
  validationState: string;
142
- isInvalid: boolean;
143
173
  spacing: string;
144
174
  onClickPreventDefault: boolean;
145
175
  tabSelectsValue: boolean;
@@ -155,12 +185,7 @@ export const AsyncSelect: {
155
185
  props: SelectProps<Option, IsMulti>,
156
186
  ): {
157
187
  components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
158
- select: default_3<
159
- Option,
160
- false,
161
- GroupType<Option>,
162
- default_2<Option, false, GroupType<Option>>
163
- > | null;
188
+ select: default_2<unknown, false, GroupType<unknown>> | null;
164
189
  UNSAFE_componentWillReceiveProps(
165
190
  nextProps: SelectProps<Option, IsMulti>,
166
191
  ): void;
@@ -169,29 +194,30 @@ export const AsyncSelect: {
169
194
  ) => void;
170
195
  focus(): void;
171
196
  blur(): void;
172
- onSelectRef: (
173
- ref: default_3<
174
- Option,
175
- false,
176
- GroupType<Option>,
177
- default_2<Option, false, GroupType<Option>>
178
- >,
179
- ) => void;
197
+ onSelectRef: (ref: default_2<unknown, false, GroupType<unknown>>) => void;
180
198
  render(): JSX.Element;
181
199
  context: any;
182
200
  setState<K extends never>(
183
201
  state:
184
- | {}
185
202
  | ((
186
203
  prevState: Readonly<{}>,
187
- props: Readonly<SelectProps<Option, IsMulti>>,
188
- ) => {} | Pick<{}, K> | null)
204
+ props: Readonly<
205
+ | AsyncSelectProps<Option, IsMulti>
206
+ | CreatableSelectProps<Option, IsMulti>
207
+ | SelectProps<Option, IsMulti>
208
+ >,
209
+ ) => Pick<{}, K> | null | {})
189
210
  | Pick<{}, K>
190
- | null,
211
+ | null
212
+ | {},
191
213
  callback?: (() => void) | undefined,
192
214
  ): void;
193
215
  forceUpdate(callBack?: (() => void) | undefined): void;
194
- readonly props: Readonly<SelectProps<Option, IsMulti>> &
216
+ readonly props: Readonly<
217
+ | AsyncSelectProps<Option, IsMulti>
218
+ | CreatableSelectProps<Option, IsMulti>
219
+ | SelectProps<Option, IsMulti>
220
+ > &
195
221
  Readonly<{
196
222
  children?: ReactNode;
197
223
  }>;
@@ -201,41 +227,64 @@ export const AsyncSelect: {
201
227
  };
202
228
  componentDidMount?(): void;
203
229
  shouldComponentUpdate?(
204
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
230
+ nextProps: Readonly<
231
+ | AsyncSelectProps<Option, IsMulti>
232
+ | CreatableSelectProps<Option, IsMulti>
233
+ | SelectProps<Option, IsMulti>
234
+ >,
205
235
  nextState: Readonly<{}>,
206
236
  nextContext: any,
207
237
  ): boolean;
208
238
  componentWillUnmount?(): void;
209
239
  componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
210
240
  getSnapshotBeforeUpdate?(
211
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
241
+ prevProps: Readonly<
242
+ | AsyncSelectProps<Option, IsMulti>
243
+ | CreatableSelectProps<Option, IsMulti>
244
+ | SelectProps<Option, IsMulti>
245
+ >,
212
246
  prevState: Readonly<{}>,
213
247
  ): any;
214
248
  componentDidUpdate?(
215
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
249
+ prevProps: Readonly<
250
+ | AsyncSelectProps<Option, IsMulti>
251
+ | CreatableSelectProps<Option, IsMulti>
252
+ | SelectProps<Option, IsMulti>
253
+ >,
216
254
  prevState: Readonly<{}>,
217
255
  snapshot?: any,
218
256
  ): void;
219
257
  componentWillMount?(): void;
220
258
  UNSAFE_componentWillMount?(): void;
221
259
  componentWillReceiveProps?(
222
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
260
+ nextProps: Readonly<
261
+ | AsyncSelectProps<Option, IsMulti>
262
+ | CreatableSelectProps<Option, IsMulti>
263
+ | SelectProps<Option, IsMulti>
264
+ >,
223
265
  nextContext: any,
224
266
  ): void;
225
267
  componentWillUpdate?(
226
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
268
+ nextProps: Readonly<
269
+ | AsyncSelectProps<Option, IsMulti>
270
+ | CreatableSelectProps<Option, IsMulti>
271
+ | SelectProps<Option, IsMulti>
272
+ >,
227
273
  nextState: Readonly<{}>,
228
274
  nextContext: any,
229
275
  ): void;
230
276
  UNSAFE_componentWillUpdate?(
231
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
277
+ nextProps: Readonly<
278
+ | AsyncSelectProps<Option, IsMulti>
279
+ | CreatableSelectProps<Option, IsMulti>
280
+ | SelectProps<Option, IsMulti>
281
+ >,
232
282
  nextState: Readonly<{}>,
233
283
  nextContext: any,
234
284
  ): void;
235
285
  };
236
286
  defaultProps: {
237
287
  validationState: string;
238
- isInvalid: boolean;
239
288
  spacing: string;
240
289
  onClickPreventDefault: boolean;
241
290
  tabSelectsValue: boolean;
@@ -245,6 +294,11 @@ export const AsyncSelect: {
245
294
  contextType?: Context<any> | undefined;
246
295
  };
247
296
 
297
+ // @public (undocumented)
298
+ export interface AsyncSelectProps<Option, IsMulti extends boolean = false>
299
+ extends AsyncProps<Option, IsMulti, GroupType<Option>>,
300
+ CustomSelectProps {}
301
+
248
302
  // @public (undocumented)
249
303
  export const CheckboxOption: FC<OptionProps<OptionType, true>>;
250
304
 
@@ -254,13 +308,15 @@ export const CheckboxSelect: ({
254
308
  ...props
255
309
  }: SelectProps<OptionType, true>) => JSX.Element;
256
310
 
311
+ export { ClearIndicatorProps };
312
+
257
313
  export { components };
258
314
 
259
315
  // @public (undocumented)
260
316
  export type ControlProps<
261
- OptionType,
317
+ Option,
262
318
  IsMulti extends boolean = false,
263
- > = ControlProps_2<OptionType, IsMulti>;
319
+ > = ControlProps_2<Option, IsMulti>;
264
320
 
265
321
  // @public (undocumented)
266
322
  type Country = typeof groupedCountries[number]['options'][number];
@@ -288,12 +344,7 @@ export const CreatableSelect: {
288
344
  props: SelectProps<Option, IsMulti>,
289
345
  ): {
290
346
  components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
291
- select: default_3<
292
- Option,
293
- false,
294
- GroupType<Option>,
295
- default_2<Option, false, GroupType<Option>>
296
- > | null;
347
+ select: default_2<unknown, false, GroupType<unknown>> | null;
297
348
  UNSAFE_componentWillReceiveProps(
298
349
  nextProps: SelectProps<Option, IsMulti>,
299
350
  ): void;
@@ -302,29 +353,30 @@ export const CreatableSelect: {
302
353
  ) => void;
303
354
  focus(): void;
304
355
  blur(): void;
305
- onSelectRef: (
306
- ref: default_3<
307
- Option,
308
- false,
309
- GroupType<Option>,
310
- default_2<Option, false, GroupType<Option>>
311
- >,
312
- ) => void;
356
+ onSelectRef: (ref: default_2<unknown, false, GroupType<unknown>>) => void;
313
357
  render(): JSX.Element;
314
358
  context: any;
315
359
  setState<K extends never>(
316
360
  state:
317
- | {}
318
361
  | ((
319
362
  prevState: Readonly<{}>,
320
- props: Readonly<SelectProps<Option, IsMulti>>,
321
- ) => {} | Pick<{}, K> | null)
363
+ props: Readonly<
364
+ | AsyncSelectProps<Option, IsMulti>
365
+ | CreatableSelectProps<Option, IsMulti>
366
+ | SelectProps<Option, IsMulti>
367
+ >,
368
+ ) => Pick<{}, K> | null | {})
322
369
  | Pick<{}, K>
323
- | null,
370
+ | null
371
+ | {},
324
372
  callback?: (() => void) | undefined,
325
373
  ): void;
326
374
  forceUpdate(callBack?: (() => void) | undefined): void;
327
- readonly props: Readonly<SelectProps<Option, IsMulti>> &
375
+ readonly props: Readonly<
376
+ | AsyncSelectProps<Option, IsMulti>
377
+ | CreatableSelectProps<Option, IsMulti>
378
+ | SelectProps<Option, IsMulti>
379
+ > &
328
380
  Readonly<{
329
381
  children?: ReactNode;
330
382
  }>;
@@ -334,41 +386,64 @@ export const CreatableSelect: {
334
386
  };
335
387
  componentDidMount?(): void;
336
388
  shouldComponentUpdate?(
337
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
389
+ nextProps: Readonly<
390
+ | AsyncSelectProps<Option, IsMulti>
391
+ | CreatableSelectProps<Option, IsMulti>
392
+ | SelectProps<Option, IsMulti>
393
+ >,
338
394
  nextState: Readonly<{}>,
339
395
  nextContext: any,
340
396
  ): boolean;
341
397
  componentWillUnmount?(): void;
342
398
  componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
343
399
  getSnapshotBeforeUpdate?(
344
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
400
+ prevProps: Readonly<
401
+ | AsyncSelectProps<Option, IsMulti>
402
+ | CreatableSelectProps<Option, IsMulti>
403
+ | SelectProps<Option, IsMulti>
404
+ >,
345
405
  prevState: Readonly<{}>,
346
406
  ): any;
347
407
  componentDidUpdate?(
348
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
408
+ prevProps: Readonly<
409
+ | AsyncSelectProps<Option, IsMulti>
410
+ | CreatableSelectProps<Option, IsMulti>
411
+ | SelectProps<Option, IsMulti>
412
+ >,
349
413
  prevState: Readonly<{}>,
350
414
  snapshot?: any,
351
415
  ): void;
352
416
  componentWillMount?(): void;
353
417
  UNSAFE_componentWillMount?(): void;
354
418
  componentWillReceiveProps?(
355
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
419
+ nextProps: Readonly<
420
+ | AsyncSelectProps<Option, IsMulti>
421
+ | CreatableSelectProps<Option, IsMulti>
422
+ | SelectProps<Option, IsMulti>
423
+ >,
356
424
  nextContext: any,
357
425
  ): void;
358
426
  componentWillUpdate?(
359
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
427
+ nextProps: Readonly<
428
+ | AsyncSelectProps<Option, IsMulti>
429
+ | CreatableSelectProps<Option, IsMulti>
430
+ | SelectProps<Option, IsMulti>
431
+ >,
360
432
  nextState: Readonly<{}>,
361
433
  nextContext: any,
362
434
  ): void;
363
435
  UNSAFE_componentWillUpdate?(
364
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
436
+ nextProps: Readonly<
437
+ | AsyncSelectProps<Option, IsMulti>
438
+ | CreatableSelectProps<Option, IsMulti>
439
+ | SelectProps<Option, IsMulti>
440
+ >,
365
441
  nextState: Readonly<{}>,
366
442
  nextContext: any,
367
443
  ): void;
368
444
  };
369
445
  defaultProps: {
370
446
  validationState: string;
371
- isInvalid: boolean;
372
447
  spacing: string;
373
448
  onClickPreventDefault: boolean;
374
449
  tabSelectsValue: boolean;
@@ -378,20 +453,30 @@ export const CreatableSelect: {
378
453
  contextType?: Context<any> | undefined;
379
454
  };
380
455
 
456
+ // @public (undocumented)
457
+ interface CreatableSelectProps<Option, IsMulti extends boolean = false>
458
+ extends CreatableProps<Option, IsMulti, GroupType<Option>>,
459
+ CustomSelectProps {}
460
+
381
461
  export { createFilter };
382
462
 
463
+ // @public (undocumented)
464
+ interface CustomSelectProps extends WithAnalyticsEventsProps {
465
+ appearance?: 'default' | 'none' | 'subtle';
466
+ isInvalid?: boolean;
467
+ spacing?: 'compact' | 'default';
468
+ testId?: string;
469
+ // @deprecated (undocumented)
470
+ validationState?: ValidationState;
471
+ }
472
+
383
473
  // @public (undocumented)
384
474
  const _default: {
385
475
  new <Option = OptionType, IsMulti extends boolean = false>(
386
476
  props: SelectProps<Option, IsMulti>,
387
477
  ): {
388
478
  components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
389
- select: Select<
390
- Option,
391
- false,
392
- GroupType<Option>,
393
- default_2<Option, false, GroupType<Option>>
394
- > | null;
479
+ select: default_2<unknown, false, GroupType<unknown>> | null;
395
480
  UNSAFE_componentWillReceiveProps(
396
481
  nextProps: SelectProps<Option, IsMulti>,
397
482
  ): void;
@@ -400,29 +485,30 @@ const _default: {
400
485
  ) => void;
401
486
  focus(): void;
402
487
  blur(): void;
403
- onSelectRef: (
404
- ref: Select<
405
- Option,
406
- false,
407
- GroupType<Option>,
408
- default_2<Option, false, GroupType<Option>>
409
- >,
410
- ) => void;
488
+ onSelectRef: (ref: default_2<unknown, false, GroupType<unknown>>) => void;
411
489
  render(): JSX.Element;
412
490
  context: any;
413
491
  setState<K extends never>(
414
492
  state:
415
- | {}
416
493
  | ((
417
494
  prevState: Readonly<{}>,
418
- props: Readonly<SelectProps<Option, IsMulti>>,
419
- ) => {} | Pick<{}, K> | null)
495
+ props: Readonly<
496
+ | AsyncSelectProps<Option, IsMulti>
497
+ | CreatableSelectProps<Option, IsMulti>
498
+ | SelectProps<Option, IsMulti>
499
+ >,
500
+ ) => Pick<{}, K> | null | {})
420
501
  | Pick<{}, K>
421
- | null,
502
+ | null
503
+ | {},
422
504
  callback?: (() => void) | undefined,
423
505
  ): void;
424
506
  forceUpdate(callBack?: (() => void) | undefined): void;
425
- readonly props: Readonly<SelectProps<Option, IsMulti>> &
507
+ readonly props: Readonly<
508
+ | AsyncSelectProps<Option, IsMulti>
509
+ | CreatableSelectProps<Option, IsMulti>
510
+ | SelectProps<Option, IsMulti>
511
+ > &
426
512
  Readonly<{
427
513
  children?: ReactNode;
428
514
  }>;
@@ -432,41 +518,64 @@ const _default: {
432
518
  };
433
519
  componentDidMount?(): void;
434
520
  shouldComponentUpdate?(
435
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
521
+ nextProps: Readonly<
522
+ | AsyncSelectProps<Option, IsMulti>
523
+ | CreatableSelectProps<Option, IsMulti>
524
+ | SelectProps<Option, IsMulti>
525
+ >,
436
526
  nextState: Readonly<{}>,
437
527
  nextContext: any,
438
528
  ): boolean;
439
529
  componentWillUnmount?(): void;
440
530
  componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
441
531
  getSnapshotBeforeUpdate?(
442
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
532
+ prevProps: Readonly<
533
+ | AsyncSelectProps<Option, IsMulti>
534
+ | CreatableSelectProps<Option, IsMulti>
535
+ | SelectProps<Option, IsMulti>
536
+ >,
443
537
  prevState: Readonly<{}>,
444
538
  ): any;
445
539
  componentDidUpdate?(
446
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
540
+ prevProps: Readonly<
541
+ | AsyncSelectProps<Option, IsMulti>
542
+ | CreatableSelectProps<Option, IsMulti>
543
+ | SelectProps<Option, IsMulti>
544
+ >,
447
545
  prevState: Readonly<{}>,
448
546
  snapshot?: any,
449
547
  ): void;
450
548
  componentWillMount?(): void;
451
549
  UNSAFE_componentWillMount?(): void;
452
550
  componentWillReceiveProps?(
453
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
551
+ nextProps: Readonly<
552
+ | AsyncSelectProps<Option, IsMulti>
553
+ | CreatableSelectProps<Option, IsMulti>
554
+ | SelectProps<Option, IsMulti>
555
+ >,
454
556
  nextContext: any,
455
557
  ): void;
456
558
  componentWillUpdate?(
457
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
559
+ nextProps: Readonly<
560
+ | AsyncSelectProps<Option, IsMulti>
561
+ | CreatableSelectProps<Option, IsMulti>
562
+ | SelectProps<Option, IsMulti>
563
+ >,
458
564
  nextState: Readonly<{}>,
459
565
  nextContext: any,
460
566
  ): void;
461
567
  UNSAFE_componentWillUpdate?(
462
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
568
+ nextProps: Readonly<
569
+ | AsyncSelectProps<Option, IsMulti>
570
+ | CreatableSelectProps<Option, IsMulti>
571
+ | SelectProps<Option, IsMulti>
572
+ >,
463
573
  nextState: Readonly<{}>,
464
574
  nextContext: any,
465
575
  ): void;
466
576
  };
467
577
  defaultProps: {
468
578
  validationState: string;
469
- isInvalid: boolean;
470
579
  spacing: string;
471
580
  onClickPreventDefault: boolean;
472
581
  tabSelectsValue: boolean;
@@ -480,11 +589,9 @@ export default _default;
480
589
  // @public (undocumented)
481
590
  type defaultModifiers = 'offset' | 'preventOverflow';
482
591
 
483
- // @public (undocumented)
484
- export type FormatOptionLabelMeta<
485
- OptionType,
486
- IsMulti extends boolean = false,
487
- > = FormatOptionLabelMeta_2<OptionType, IsMulti>;
592
+ export { DropdownIndicatorProps };
593
+
594
+ export { FormatOptionLabelMeta };
488
595
 
489
596
  // @public (undocumented)
490
597
  const groupedCountries: readonly [
@@ -498,56 +605,55 @@ const groupedCountries: readonly [
498
605
  },
499
606
  ];
500
607
 
501
- export { GroupedOptionsType };
502
-
503
- export { GroupType };
504
-
505
608
  // @public (undocumented)
506
- export type IndicatorComponentType<
507
- OptionType,
508
- IsMulti extends boolean = false,
509
- > = IndicatorComponentType_2<OptionType, IsMulti>;
609
+ export type GroupedOptionsType<Option> = ReadonlyArray<GroupType<Option>>;
510
610
 
511
611
  // @public (undocumented)
512
- export type IndicatorProps<
513
- OptionType,
514
- IsMulti extends boolean = false,
515
- > = IndicatorProps_2<OptionType, IsMulti>;
612
+ export type GroupProps<Option, IsMulti extends boolean = false> = GroupProps_2<
613
+ Option,
614
+ IsMulti
615
+ >;
516
616
 
517
- // @public (undocumented)
518
- export type InputActionMeta = InputActionMeta_2;
617
+ export { GroupType };
519
618
 
520
- export { InputProps };
619
+ export { IndicatorSeparatorProps };
620
+
621
+ export { InputActionMeta };
521
622
 
522
- export { makeAsyncSelect };
623
+ export { InputProps };
523
624
 
524
- export { makeCreatableSelect };
625
+ export { LoadingIndicatorProps };
525
626
 
526
627
  // @public (undocumented)
527
628
  export type MenuListComponentProps<
528
- OptionType,
629
+ Option,
529
630
  IsMulti extends boolean = false,
530
- > = MenuListComponentProps_2<OptionType, IsMulti>;
631
+ > = MenuListProps<Option, IsMulti>;
531
632
 
532
633
  // @public (undocumented)
533
- export type MenuProps<
534
- OptionType,
535
- IsMulti extends boolean = false,
536
- > = MenuProps_2<OptionType, IsMulti>;
634
+ export type MenuProps<Option, IsMulti extends boolean = false> = MenuProps_2<
635
+ Option,
636
+ IsMulti
637
+ >;
537
638
 
538
639
  export { mergeStyles };
539
640
 
540
641
  // @public (undocumented)
541
- type ModifierList =
542
- | 'offset'
642
+ export type ModifierList =
643
+ | 'applyStyles'
644
+ | 'arrow'
543
645
  | 'computeStyles'
544
- | 'preventOverflow'
545
- | 'handleFlipStyle'
646
+ | 'eventListeners'
546
647
  | 'flip'
547
- | 'popperOffsets'
548
- | 'arrow'
648
+ | 'handleFlipStyle'
549
649
  | 'hide'
550
- | string;
650
+ | 'offset'
651
+ | 'popperOffsets'
652
+ | 'preventOverflow';
653
+
654
+ export { MultiValueProps };
655
+
656
+ export { NoticeProps };
551
657
 
552
658
  // @public (undocumented)
553
659
  export interface OptionProps<
@@ -559,7 +665,7 @@ export interface OptionProps<
559
665
  // (undocumented)
560
666
  Icon?: React.ComponentType<{
561
667
  label: string;
562
- size?: 'small' | 'medium' | 'large' | 'xlarge';
668
+ size?: 'large' | 'medium' | 'small' | 'xlarge';
563
669
  onClick?: (e: MouseEvent) => void;
564
670
  primaryColor?: string;
565
671
  secondaryColor?: string;
@@ -573,7 +679,7 @@ export interface OptionProps<
573
679
  }
574
680
 
575
681
  // @public (undocumented)
576
- export type OptionsType<Option = OptionType> = OptionsType_2<Option>;
682
+ export type OptionsType<Option = OptionType> = Options<Option>;
577
683
 
578
684
  // @public (undocumented)
579
685
  export interface OptionType {
@@ -582,7 +688,7 @@ export interface OptionType {
582
688
  // (undocumented)
583
689
  label: string;
584
690
  // (undocumented)
585
- value: string | number;
691
+ value: number | string;
586
692
  }
587
693
 
588
694
  // @public (undocumented)
@@ -595,18 +701,21 @@ type PopperPropsNoChildren<Modifiers> = Omit<
595
701
  export class PopupSelect<
596
702
  Option = OptionType,
597
703
  IsMulti extends boolean = false,
598
- > extends PureComponent<PopupSelectProps<Option, IsMulti>, State> {
704
+ Modifiers = ModifierList,
705
+ > extends PureComponent<PopupSelectProps<Option, IsMulti, Modifiers>, State> {
599
706
  close: (
600
707
  options?:
708
+ | undefined
601
709
  | {
602
710
  controlOverride?: boolean | undefined;
603
- }
604
- | undefined,
711
+ },
605
712
  ) => void;
606
713
  // (undocumented)
607
714
  componentDidMount(): void;
608
715
  // (undocumented)
609
- componentDidUpdate(prevProps: PopupSelectProps<Option, IsMulti>): void;
716
+ componentDidUpdate(
717
+ prevProps: PopupSelectProps<Option, IsMulti, Modifiers>,
718
+ ): void;
610
719
  // (undocumented)
611
720
  componentWillUnmount(): void;
612
721
  // (undocumented)
@@ -636,10 +745,12 @@ export class PopupSelect<
636
745
  // (undocumented)
637
746
  getMaxHeight: () => number | undefined;
638
747
  // (undocumented)
639
- getSelectRef: (ref: Select<Option, IsMulti>) => void;
748
+ getSelectRef: (ref: BaseSelect<Option, IsMulti>) => void;
640
749
  // (undocumented)
641
750
  handleClick: ({ target }: MouseEvent) => void;
642
751
  // (undocumented)
752
+ handleFirstPopperUpdate: () => void;
753
+ // (undocumented)
643
754
  handleKeyDown: (event: KeyboardEvent) => void;
644
755
  // (undocumented)
645
756
  handleSelectChange: (
@@ -652,10 +763,10 @@ export class PopupSelect<
652
763
  menuRef: HTMLElement | null;
653
764
  open: (
654
765
  options?:
766
+ | undefined
655
767
  | {
656
768
  controlOverride?: boolean | undefined;
657
- }
658
- | undefined,
769
+ },
659
770
  ) => void;
660
771
  // (undocumented)
661
772
  popperWrapperId: string;
@@ -672,11 +783,12 @@ export class PopupSelect<
672
783
  popperRef: React_2.Ref<HTMLElement>,
673
784
  ) => (ref: HTMLElement) => void;
674
785
  // (undocumented)
675
- selectRef: Select<Option, IsMulti> | null;
786
+ selectRef: BaseSelect<Option, IsMulti> | null;
676
787
  // (undocumented)
677
788
  showSearchControl: () => boolean | undefined;
678
789
  // (undocumented)
679
790
  state: {
791
+ focusLockEnabled: boolean;
680
792
  isOpen: boolean;
681
793
  mergedComponents: {
682
794
  Control: React_2.FC<ControlProps<OptionType, boolean>>;
@@ -702,12 +814,11 @@ export interface PopupSelectProps<
702
814
  Option = OptionType,
703
815
  IsMulti extends boolean = false,
704
816
  Modifiers = ModifierList,
705
- > extends Props<Option, IsMulti> {
817
+ > extends ReactSelectProps<Option, IsMulti> {
706
818
  closeMenuOnSelect?: boolean;
707
819
  // (undocumented)
708
820
  defaultIsOpen?: boolean;
709
821
  footer?: ReactNode;
710
- // (undocumented)
711
822
  isInvalid?: boolean;
712
823
  // (undocumented)
713
824
  isOpen?: boolean;
@@ -716,7 +827,6 @@ export interface PopupSelectProps<
716
827
  minMenuWidth?: number | string;
717
828
  popperProps?: PopperPropsNoChildren<Modifiers>;
718
829
  searchThreshold?: number;
719
- // (undocumented)
720
830
  spacing?: string;
721
831
  target?: (
722
832
  options: PopupSelectTriggerProps & {
@@ -724,6 +834,8 @@ export interface PopupSelectProps<
724
834
  },
725
835
  ) => ReactNode;
726
836
  // (undocumented)
837
+ testId?: string;
838
+ // @deprecated (undocumented)
727
839
  validationState?: ValidationState;
728
840
  }
729
841
 
@@ -748,25 +860,18 @@ export const RadioSelect: ({
748
860
  ...props
749
861
  }: SelectProps<OptionType>) => JSX.Element;
750
862
 
863
+ export { ReactSelectProps };
864
+
751
865
  // @public (undocumented)
752
866
  export type SelectComponentsConfig<
753
- OptionType,
867
+ Option,
754
868
  IsMulti extends boolean = false,
755
- > = SelectComponentsConfig_2<OptionType, IsMulti>;
869
+ > = SelectComponentsConfig_2<Option, IsMulti, GroupType<Option>>;
756
870
 
757
871
  // @public (undocumented)
758
- export interface SelectProps<OptionType, IsMulti extends boolean = false>
759
- extends Props<OptionType, IsMulti>,
760
- WithAnalyticsEventsProps {
761
- // (undocumented)
762
- appearance?: 'default' | 'subtle' | 'none';
763
- // (undocumented)
764
- isInvalid?: boolean;
765
- // (undocumented)
766
- spacing?: 'compact' | 'default';
767
- // (undocumented)
768
- validationState?: ValidationState;
769
- }
872
+ export interface SelectProps<Option, IsMulti extends boolean = false>
873
+ extends ReactSelectProps<Option, IsMulti>,
874
+ CustomSelectProps {}
770
875
 
771
876
  // @public (undocumented)
772
877
  export const SelectWithoutAnalytics: {
@@ -774,12 +879,7 @@ export const SelectWithoutAnalytics: {
774
879
  props: SelectProps<Option, IsMulti>,
775
880
  ): {
776
881
  components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
777
- select: Select<
778
- Option,
779
- false,
780
- GroupType<Option>,
781
- default_2<Option, false, GroupType<Option>>
782
- > | null;
882
+ select: default_2<unknown, false, GroupType<unknown>> | null;
783
883
  UNSAFE_componentWillReceiveProps(
784
884
  nextProps: SelectProps<Option, IsMulti>,
785
885
  ): void;
@@ -788,29 +888,30 @@ export const SelectWithoutAnalytics: {
788
888
  ) => void;
789
889
  focus(): void;
790
890
  blur(): void;
791
- onSelectRef: (
792
- ref: Select<
793
- Option,
794
- false,
795
- GroupType<Option>,
796
- default_2<Option, false, GroupType<Option>>
797
- >,
798
- ) => void;
891
+ onSelectRef: (ref: default_2<unknown, false, GroupType<unknown>>) => void;
799
892
  render(): JSX.Element;
800
893
  context: any;
801
894
  setState<K extends never>(
802
895
  state:
803
- | {}
804
896
  | ((
805
897
  prevState: Readonly<{}>,
806
- props: Readonly<SelectProps<Option, IsMulti>>,
807
- ) => {} | Pick<{}, K> | null)
898
+ props: Readonly<
899
+ | AsyncSelectProps<Option, IsMulti>
900
+ | CreatableSelectProps<Option, IsMulti>
901
+ | SelectProps<Option, IsMulti>
902
+ >,
903
+ ) => Pick<{}, K> | null | {})
808
904
  | Pick<{}, K>
809
- | null,
905
+ | null
906
+ | {},
810
907
  callback?: (() => void) | undefined,
811
908
  ): void;
812
909
  forceUpdate(callBack?: (() => void) | undefined): void;
813
- readonly props: Readonly<SelectProps<Option, IsMulti>> &
910
+ readonly props: Readonly<
911
+ | AsyncSelectProps<Option, IsMulti>
912
+ | CreatableSelectProps<Option, IsMulti>
913
+ | SelectProps<Option, IsMulti>
914
+ > &
814
915
  Readonly<{
815
916
  children?: ReactNode;
816
917
  }>;
@@ -820,41 +921,64 @@ export const SelectWithoutAnalytics: {
820
921
  };
821
922
  componentDidMount?(): void;
822
923
  shouldComponentUpdate?(
823
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
924
+ nextProps: Readonly<
925
+ | AsyncSelectProps<Option, IsMulti>
926
+ | CreatableSelectProps<Option, IsMulti>
927
+ | SelectProps<Option, IsMulti>
928
+ >,
824
929
  nextState: Readonly<{}>,
825
930
  nextContext: any,
826
931
  ): boolean;
827
932
  componentWillUnmount?(): void;
828
933
  componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
829
934
  getSnapshotBeforeUpdate?(
830
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
935
+ prevProps: Readonly<
936
+ | AsyncSelectProps<Option, IsMulti>
937
+ | CreatableSelectProps<Option, IsMulti>
938
+ | SelectProps<Option, IsMulti>
939
+ >,
831
940
  prevState: Readonly<{}>,
832
941
  ): any;
833
942
  componentDidUpdate?(
834
- prevProps: Readonly<SelectProps<Option, IsMulti>>,
943
+ prevProps: Readonly<
944
+ | AsyncSelectProps<Option, IsMulti>
945
+ | CreatableSelectProps<Option, IsMulti>
946
+ | SelectProps<Option, IsMulti>
947
+ >,
835
948
  prevState: Readonly<{}>,
836
949
  snapshot?: any,
837
950
  ): void;
838
951
  componentWillMount?(): void;
839
952
  UNSAFE_componentWillMount?(): void;
840
953
  componentWillReceiveProps?(
841
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
954
+ nextProps: Readonly<
955
+ | AsyncSelectProps<Option, IsMulti>
956
+ | CreatableSelectProps<Option, IsMulti>
957
+ | SelectProps<Option, IsMulti>
958
+ >,
842
959
  nextContext: any,
843
960
  ): void;
844
961
  componentWillUpdate?(
845
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
962
+ nextProps: Readonly<
963
+ | AsyncSelectProps<Option, IsMulti>
964
+ | CreatableSelectProps<Option, IsMulti>
965
+ | SelectProps<Option, IsMulti>
966
+ >,
846
967
  nextState: Readonly<{}>,
847
968
  nextContext: any,
848
969
  ): void;
849
970
  UNSAFE_componentWillUpdate?(
850
- nextProps: Readonly<SelectProps<Option, IsMulti>>,
971
+ nextProps: Readonly<
972
+ | AsyncSelectProps<Option, IsMulti>
973
+ | CreatableSelectProps<Option, IsMulti>
974
+ | SelectProps<Option, IsMulti>
975
+ >,
851
976
  nextState: Readonly<{}>,
852
977
  nextContext: any,
853
978
  ): void;
854
979
  };
855
980
  defaultProps: {
856
981
  validationState: string;
857
- isInvalid: boolean;
858
982
  spacing: string;
859
983
  onClickPreventDefault: boolean;
860
984
  tabSelectsValue: boolean;
@@ -864,14 +988,18 @@ export const SelectWithoutAnalytics: {
864
988
  contextType?: Context<any> | undefined;
865
989
  };
866
990
 
991
+ export { SingleValueProps };
992
+
867
993
  // @public (undocumented)
868
994
  interface State<Modifiers = string> {
995
+ // (undocumented)
996
+ focusLockEnabled: boolean;
869
997
  // (undocumented)
870
998
  isOpen: boolean;
871
999
  // (undocumented)
872
1000
  mergedComponents: Object;
873
1001
  // (undocumented)
874
- mergedPopperProps: PopperPropsNoChildren<defaultModifiers | Modifiers>;
1002
+ mergedPopperProps: PopperPropsNoChildren<Modifiers | defaultModifiers>;
875
1003
  }
876
1004
 
877
1005
  // @public (undocumented)
@@ -880,20 +1008,26 @@ export type StylesConfig<
880
1008
  IsMulti extends boolean = false,
881
1009
  > = StylesConfig_2<Option, IsMulti>;
882
1010
 
1011
+ export { useAsync };
1012
+
1013
+ export { useCreatable };
1014
+
883
1015
  // @public (undocumented)
884
- type ValidationState = 'default' | 'error' | 'success';
1016
+ export type ValidationState = 'default' | 'error' | 'success';
885
1017
 
886
1018
  // @public (undocumented)
887
1019
  export type ValueContainerProps<
888
- OptionType,
1020
+ Option,
889
1021
  IsMulti extends boolean = false,
890
- > = ValueContainerProps_2<OptionType, IsMulti>;
1022
+ > = ValueContainerProps_2<Option, IsMulti>;
891
1023
 
892
1024
  // @public (undocumented)
893
- export type ValueType<
894
- OptionType,
895
- IsMulti extends boolean = false,
896
- > = ValueType_2<OptionType, IsMulti>;
1025
+ export type ValueType<Option, IsMulti extends boolean = false> = OnChangeValue<
1026
+ Option,
1027
+ IsMulti
1028
+ >;
897
1029
 
898
1030
  // (No @packageDocumentation comment for this package)
899
1031
  ```
1032
+
1033
+ <!--SECTION END: Main Entry Types-->