@atlaskit/select 15.7.3 → 15.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/CountrySelect.js +2 -1
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/CountrySelect.js +2 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/CountrySelect.js +2 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/CountrySelect.d.ts +0 -1
- package/dist/types-ts4.0/CountrySelect.d.ts +0 -1
- package/package.json +13 -10
- package/report.api.md +158 -11
package/CHANGELOG.md
CHANGED
|
@@ -24,7 +24,8 @@ var labelStyles = (0, _react.css)({
|
|
|
24
24
|
});
|
|
25
25
|
var flagStyles = (0, _react.css)({
|
|
26
26
|
fontSize: '18px',
|
|
27
|
-
|
|
27
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
28
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
var Opt = function Opt(_ref) {
|
package/dist/cjs/Select.js
CHANGED
|
@@ -14,7 +14,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
14
14
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
15
15
|
|
|
16
16
|
var packageName = "@atlaskit/select";
|
|
17
|
-
var packageVersion = "15.7.
|
|
17
|
+
var packageVersion = "15.7.4";
|
|
18
18
|
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
19
19
|
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
20
20
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
package/dist/cjs/version.json
CHANGED
|
@@ -12,7 +12,8 @@ const labelStyles = css({
|
|
|
12
12
|
});
|
|
13
13
|
const flagStyles = css({
|
|
14
14
|
fontSize: '18px',
|
|
15
|
-
|
|
15
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
16
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
16
17
|
});
|
|
17
18
|
|
|
18
19
|
const Opt = ({
|
package/dist/es2019/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
const packageName = "@atlaskit/select";
|
|
5
|
-
const packageVersion = "15.7.
|
|
5
|
+
const packageVersion = "15.7.4";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/es2019/version.json
CHANGED
|
@@ -12,7 +12,8 @@ var labelStyles = css({
|
|
|
12
12
|
});
|
|
13
13
|
var flagStyles = css({
|
|
14
14
|
fontSize: '18px',
|
|
15
|
-
|
|
15
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
16
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
16
17
|
});
|
|
17
18
|
|
|
18
19
|
var Opt = function Opt(_ref) {
|
package/dist/esm/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
var packageName = "@atlaskit/select";
|
|
5
|
-
var packageVersion = "15.7.
|
|
5
|
+
var packageVersion = "15.7.4";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "15.7.
|
|
3
|
+
"version": "15.7.4",
|
|
4
4
|
"description": "Select allows users to make a single selection or multiple selections from a list of options.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"atlaskit:src": "src/index.tsx",
|
|
24
25
|
"atlassian": {
|
|
26
|
+
"disableProductCI": true,
|
|
25
27
|
"team": "Design System Team",
|
|
26
28
|
"deprecatedAutoEntryPoints": true,
|
|
27
29
|
"releaseModel": "scheduled",
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
},
|
|
33
35
|
"dependencies": {
|
|
34
36
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
35
|
-
"@atlaskit/icon": "^21.
|
|
37
|
+
"@atlaskit/icon": "^21.11.0",
|
|
36
38
|
"@atlaskit/spinner": "^15.0.0",
|
|
37
39
|
"@atlaskit/theme": "^12.2.0",
|
|
38
40
|
"@atlaskit/tokens": "^0.10.0",
|
|
@@ -57,16 +59,16 @@
|
|
|
57
59
|
},
|
|
58
60
|
"devDependencies": {
|
|
59
61
|
"@atlaskit/button": "^16.3.0",
|
|
60
|
-
"@atlaskit/checkbox": "^12.
|
|
62
|
+
"@atlaskit/checkbox": "^12.4.0",
|
|
61
63
|
"@atlaskit/docs": "*",
|
|
62
|
-
"@atlaskit/drawer": "^7.
|
|
63
|
-
"@atlaskit/form": "^8.
|
|
64
|
-
"@atlaskit/logo": "^13.
|
|
65
|
-
"@atlaskit/modal-dialog": "^12.
|
|
64
|
+
"@atlaskit/drawer": "^7.3.0",
|
|
65
|
+
"@atlaskit/form": "^8.6.0",
|
|
66
|
+
"@atlaskit/logo": "^13.10.0",
|
|
67
|
+
"@atlaskit/modal-dialog": "^12.4.0",
|
|
66
68
|
"@atlaskit/radio": "^5.4.0",
|
|
67
|
-
"@atlaskit/section-message": "^6.
|
|
69
|
+
"@atlaskit/section-message": "^6.3.0",
|
|
68
70
|
"@atlaskit/ssr": "*",
|
|
69
|
-
"@atlaskit/tooltip": "^17.
|
|
71
|
+
"@atlaskit/tooltip": "^17.6.0",
|
|
70
72
|
"@atlaskit/visual-regression": "*",
|
|
71
73
|
"@atlaskit/webdriver-runner": "*",
|
|
72
74
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -84,6 +86,7 @@
|
|
|
84
86
|
"techstack": {
|
|
85
87
|
"@repo/internal": {
|
|
86
88
|
"dom-events": "use-bind-event-listener",
|
|
89
|
+
"design-tokens": "spacing",
|
|
87
90
|
"theming": "tokens",
|
|
88
91
|
"deprecation": "no-deprecated-imports",
|
|
89
92
|
"styling": [
|
package/report.api.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/select"
|
|
1
|
+
## API Report File for "@atlaskit/select".
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
4
6
|
|
|
5
7
|
```ts
|
|
6
8
|
/// <reference types="react" />
|
|
@@ -14,13 +16,14 @@ import { default as default_2 } from 'react-select/src/Select';
|
|
|
14
16
|
import { default as default_3 } from 'react-select';
|
|
15
17
|
import { ErrorInfo } from 'react';
|
|
16
18
|
import { FC } from 'react';
|
|
17
|
-
import { FocusTrap } from 'focus-trap';
|
|
18
19
|
import { FormatOptionLabelMeta as FormatOptionLabelMeta_2 } from 'react-select';
|
|
19
20
|
import { GroupedOptionsType } from 'react-select';
|
|
20
21
|
import { GroupTypeBase as GroupType } from 'react-select';
|
|
21
22
|
import { IndicatorComponentType as IndicatorComponentType_2 } from 'react-select';
|
|
22
23
|
import { IndicatorProps as IndicatorProps_2 } from 'react-select';
|
|
24
|
+
import { InputActionMeta as InputActionMeta_2 } from 'react-select';
|
|
23
25
|
import { InputProps } from 'react-select';
|
|
26
|
+
import { jsx } from '@emotion/react';
|
|
24
27
|
import { makeAsyncSelect } from 'react-select/async';
|
|
25
28
|
import { makeCreatableSelect } from 'react-select/creatable';
|
|
26
29
|
import { MenuListComponentProps as MenuListComponentProps_2 } from 'react-select';
|
|
@@ -130,6 +133,7 @@ export declare const AsyncCreatableSelect: {
|
|
|
130
133
|
};
|
|
131
134
|
defaultProps: {
|
|
132
135
|
validationState: string;
|
|
136
|
+
isInvalid: boolean;
|
|
133
137
|
spacing: string;
|
|
134
138
|
onClickPreventDefault: boolean;
|
|
135
139
|
tabSelectsValue: boolean;
|
|
@@ -224,6 +228,7 @@ export declare const AsyncSelect: {
|
|
|
224
228
|
};
|
|
225
229
|
defaultProps: {
|
|
226
230
|
validationState: string;
|
|
231
|
+
isInvalid: boolean;
|
|
227
232
|
spacing: string;
|
|
228
233
|
onClickPreventDefault: boolean;
|
|
229
234
|
tabSelectsValue: boolean;
|
|
@@ -247,7 +252,19 @@ export declare type ControlProps<
|
|
|
247
252
|
IsMulti extends boolean = false
|
|
248
253
|
> = ControlProps_2<OptionType, IsMulti>;
|
|
249
254
|
|
|
250
|
-
|
|
255
|
+
declare type Country = typeof groupedCountries[number]['options'][number];
|
|
256
|
+
|
|
257
|
+
declare interface Country_2 {
|
|
258
|
+
abbr: string;
|
|
259
|
+
code: string;
|
|
260
|
+
icon: string;
|
|
261
|
+
name: string;
|
|
262
|
+
suggested?: boolean;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export declare const CountrySelect: (
|
|
266
|
+
props: SelectProps<Country>,
|
|
267
|
+
) => jsx.JSX.Element;
|
|
251
268
|
|
|
252
269
|
export declare const CreatableSelect: {
|
|
253
270
|
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
@@ -334,6 +351,7 @@ export declare const CreatableSelect: {
|
|
|
334
351
|
};
|
|
335
352
|
defaultProps: {
|
|
336
353
|
validationState: string;
|
|
354
|
+
isInvalid: boolean;
|
|
337
355
|
spacing: string;
|
|
338
356
|
onClickPreventDefault: boolean;
|
|
339
357
|
tabSelectsValue: boolean;
|
|
@@ -430,6 +448,7 @@ declare const _default: {
|
|
|
430
448
|
};
|
|
431
449
|
defaultProps: {
|
|
432
450
|
validationState: string;
|
|
451
|
+
isInvalid: boolean;
|
|
433
452
|
spacing: string;
|
|
434
453
|
onClickPreventDefault: boolean;
|
|
435
454
|
tabSelectsValue: boolean;
|
|
@@ -447,6 +466,17 @@ export declare type FormatOptionLabelMeta<
|
|
|
447
466
|
IsMulti extends boolean = false
|
|
448
467
|
> = FormatOptionLabelMeta_2<OptionType, IsMulti>;
|
|
449
468
|
|
|
469
|
+
declare const groupedCountries: readonly [
|
|
470
|
+
{
|
|
471
|
+
readonly label: 'Suggested';
|
|
472
|
+
readonly options: Country_2[];
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
readonly label: 'All Countries';
|
|
476
|
+
readonly options: Country_2[];
|
|
477
|
+
},
|
|
478
|
+
];
|
|
479
|
+
|
|
450
480
|
export { GroupedOptionsType };
|
|
451
481
|
|
|
452
482
|
export { GroupType };
|
|
@@ -461,6 +491,8 @@ export declare type IndicatorProps<
|
|
|
461
491
|
IsMulti extends boolean = false
|
|
462
492
|
> = IndicatorProps_2<OptionType, IsMulti>;
|
|
463
493
|
|
|
494
|
+
export declare type InputActionMeta = InputActionMeta_2;
|
|
495
|
+
|
|
464
496
|
export { InputProps };
|
|
465
497
|
|
|
466
498
|
export { makeAsyncSelect };
|
|
@@ -479,6 +511,17 @@ export declare type MenuProps<
|
|
|
479
511
|
|
|
480
512
|
export { mergeStyles };
|
|
481
513
|
|
|
514
|
+
declare type ModifierList =
|
|
515
|
+
| 'offset'
|
|
516
|
+
| 'computeStyles'
|
|
517
|
+
| 'preventOverflow'
|
|
518
|
+
| 'handleFlipStyle'
|
|
519
|
+
| 'flip'
|
|
520
|
+
| 'popperOffsets'
|
|
521
|
+
| 'arrow'
|
|
522
|
+
| 'hide'
|
|
523
|
+
| string;
|
|
524
|
+
|
|
482
525
|
export declare interface OptionProps<
|
|
483
526
|
Option = OptionType,
|
|
484
527
|
IsMulti extends boolean = false
|
|
@@ -513,7 +556,6 @@ export declare class PopupSelect<
|
|
|
513
556
|
Option = OptionType,
|
|
514
557
|
IsMulti extends boolean = false
|
|
515
558
|
> extends PureComponent<PopupSelectProps<Option, IsMulti>, State> {
|
|
516
|
-
focusTrap: FocusTrap | null;
|
|
517
559
|
menuRef: HTMLElement | null;
|
|
518
560
|
selectRef: Select<Option, IsMulti> | null;
|
|
519
561
|
targetRef: HTMLElement | null;
|
|
@@ -526,12 +568,12 @@ export declare class PopupSelect<
|
|
|
526
568
|
isOpen: boolean;
|
|
527
569
|
mergedComponents: {
|
|
528
570
|
Control: React_2.FC<ControlProps<OptionType, boolean>>;
|
|
529
|
-
DropdownIndicator: () =>
|
|
571
|
+
DropdownIndicator: () => jsx;
|
|
530
572
|
Menu: ({
|
|
531
573
|
children,
|
|
532
574
|
innerProps,
|
|
533
575
|
...props
|
|
534
|
-
}: MenuProps<OptionType, boolean>) =>
|
|
576
|
+
}: MenuProps<OptionType, boolean>) => jsx;
|
|
535
577
|
};
|
|
536
578
|
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
537
579
|
};
|
|
@@ -543,6 +585,7 @@ export declare class PopupSelect<
|
|
|
543
585
|
maxMenuWidth: number;
|
|
544
586
|
minMenuWidth: number;
|
|
545
587
|
popperProps: {};
|
|
588
|
+
isSearchable: boolean;
|
|
546
589
|
searchThreshold: number;
|
|
547
590
|
styles: {};
|
|
548
591
|
options: never[];
|
|
@@ -572,7 +615,6 @@ export declare class PopupSelect<
|
|
|
572
615
|
}
|
|
573
616
|
| undefined,
|
|
574
617
|
) => void;
|
|
575
|
-
initialiseFocusTrap: () => void;
|
|
576
618
|
/**
|
|
577
619
|
* Closes the popup
|
|
578
620
|
*
|
|
@@ -594,7 +636,7 @@ export declare class PopupSelect<
|
|
|
594
636
|
getSelectRef: (ref: Select<Option, IsMulti>) => void;
|
|
595
637
|
getItemCount: () => number;
|
|
596
638
|
getMaxHeight: () => number | undefined;
|
|
597
|
-
showSearchControl: () => boolean;
|
|
639
|
+
showSearchControl: () => boolean | undefined;
|
|
598
640
|
renderSelect: () => JSX.Element | null;
|
|
599
641
|
render(): JSX.Element;
|
|
600
642
|
}
|
|
@@ -602,7 +644,7 @@ export declare class PopupSelect<
|
|
|
602
644
|
export declare interface PopupSelectProps<
|
|
603
645
|
Option = OptionType,
|
|
604
646
|
IsMulti extends boolean = false,
|
|
605
|
-
Modifiers =
|
|
647
|
+
Modifiers = ModifierList
|
|
606
648
|
> extends Props<Option, IsMulti> {
|
|
607
649
|
/**
|
|
608
650
|
* Defines whether the menu should close when selected. Defaults to "true"
|
|
@@ -621,9 +663,14 @@ export declare interface PopupSelectProps<
|
|
|
621
663
|
*/
|
|
622
664
|
popperProps?: PopperPropsNoChildren<Modifiers>;
|
|
623
665
|
/**
|
|
624
|
-
* The maximum number of options the
|
|
666
|
+
* The maximum number of options the select can contain without rendering the search field. Defaults to 5.
|
|
625
667
|
*/
|
|
626
668
|
searchThreshold?: number;
|
|
669
|
+
/**
|
|
670
|
+
* If false, renders a select with no search field. If true, renders a search field in the select when the
|
|
671
|
+
* number of options exceeds the `searchThreshold`. Defaults to true.
|
|
672
|
+
*/
|
|
673
|
+
isSearchable?: boolean;
|
|
627
674
|
/**
|
|
628
675
|
* The maximum width for the popup menu. Can be a number, representing width in pixels,
|
|
629
676
|
* or a string containing a CSS length datatype.
|
|
@@ -653,6 +700,9 @@ export declare interface PopupSelectProps<
|
|
|
653
700
|
) => ReactNode;
|
|
654
701
|
isOpen?: boolean;
|
|
655
702
|
defaultIsOpen?: boolean;
|
|
703
|
+
spacing?: string;
|
|
704
|
+
validationState?: ValidationState;
|
|
705
|
+
isInvalid?: boolean;
|
|
656
706
|
}
|
|
657
707
|
|
|
658
708
|
declare interface PopupSelectTriggerProps {
|
|
@@ -681,8 +731,105 @@ export declare interface SelectProps<
|
|
|
681
731
|
WithAnalyticsEventsProps {
|
|
682
732
|
spacing?: 'compact' | 'default';
|
|
683
733
|
validationState?: ValidationState;
|
|
734
|
+
appearance?: 'default' | 'subtle' | 'none';
|
|
735
|
+
isInvalid?: boolean;
|
|
684
736
|
}
|
|
685
737
|
|
|
738
|
+
export declare const SelectWithoutAnalytics: {
|
|
739
|
+
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
740
|
+
props: SelectProps<Option, IsMulti>,
|
|
741
|
+
): {
|
|
742
|
+
components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
|
|
743
|
+
select: Select<
|
|
744
|
+
Option,
|
|
745
|
+
false,
|
|
746
|
+
GroupType<Option>,
|
|
747
|
+
default_2<Option, false, GroupType<Option>>
|
|
748
|
+
> | null;
|
|
749
|
+
UNSAFE_componentWillReceiveProps(
|
|
750
|
+
nextProps: SelectProps<Option, IsMulti>,
|
|
751
|
+
): void;
|
|
752
|
+
cacheComponents: (
|
|
753
|
+
components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>,
|
|
754
|
+
) => void;
|
|
755
|
+
focus(): void;
|
|
756
|
+
blur(): void;
|
|
757
|
+
onSelectRef: (
|
|
758
|
+
ref: Select<
|
|
759
|
+
Option,
|
|
760
|
+
false,
|
|
761
|
+
GroupType<Option>,
|
|
762
|
+
default_2<Option, false, GroupType<Option>>
|
|
763
|
+
>,
|
|
764
|
+
) => void;
|
|
765
|
+
render(): JSX.Element;
|
|
766
|
+
context: any;
|
|
767
|
+
setState<K extends never>(
|
|
768
|
+
state:
|
|
769
|
+
| {}
|
|
770
|
+
| ((
|
|
771
|
+
prevState: Readonly<{}>,
|
|
772
|
+
props: Readonly<SelectProps<Option, IsMulti>>,
|
|
773
|
+
) => {} | Pick<{}, K> | null)
|
|
774
|
+
| Pick<{}, K>
|
|
775
|
+
| null,
|
|
776
|
+
callback?: (() => void) | undefined,
|
|
777
|
+
): void;
|
|
778
|
+
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
779
|
+
readonly props: Readonly<SelectProps<Option, IsMulti>> &
|
|
780
|
+
Readonly<{
|
|
781
|
+
children?: ReactNode;
|
|
782
|
+
}>;
|
|
783
|
+
state: Readonly<{}>;
|
|
784
|
+
refs: {
|
|
785
|
+
[key: string]: ReactInstance;
|
|
786
|
+
};
|
|
787
|
+
componentDidMount?(): void;
|
|
788
|
+
shouldComponentUpdate?(
|
|
789
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
790
|
+
nextState: Readonly<{}>,
|
|
791
|
+
nextContext: any,
|
|
792
|
+
): boolean;
|
|
793
|
+
componentWillUnmount?(): void;
|
|
794
|
+
componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
|
|
795
|
+
getSnapshotBeforeUpdate?(
|
|
796
|
+
prevProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
797
|
+
prevState: Readonly<{}>,
|
|
798
|
+
): any;
|
|
799
|
+
componentDidUpdate?(
|
|
800
|
+
prevProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
801
|
+
prevState: Readonly<{}>,
|
|
802
|
+
snapshot?: any,
|
|
803
|
+
): void;
|
|
804
|
+
componentWillMount?(): void;
|
|
805
|
+
UNSAFE_componentWillMount?(): void;
|
|
806
|
+
componentWillReceiveProps?(
|
|
807
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
808
|
+
nextContext: any,
|
|
809
|
+
): void;
|
|
810
|
+
componentWillUpdate?(
|
|
811
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
812
|
+
nextState: Readonly<{}>,
|
|
813
|
+
nextContext: any,
|
|
814
|
+
): void;
|
|
815
|
+
UNSAFE_componentWillUpdate?(
|
|
816
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
817
|
+
nextState: Readonly<{}>,
|
|
818
|
+
nextContext: any,
|
|
819
|
+
): void;
|
|
820
|
+
};
|
|
821
|
+
defaultProps: {
|
|
822
|
+
validationState: string;
|
|
823
|
+
isInvalid: boolean;
|
|
824
|
+
spacing: string;
|
|
825
|
+
onClickPreventDefault: boolean;
|
|
826
|
+
tabSelectsValue: boolean;
|
|
827
|
+
components: {};
|
|
828
|
+
styles: {};
|
|
829
|
+
};
|
|
830
|
+
contextType?: Context<any> | undefined;
|
|
831
|
+
};
|
|
832
|
+
|
|
686
833
|
declare interface State<Modifiers = string> {
|
|
687
834
|
isOpen: boolean;
|
|
688
835
|
mergedComponents: Object;
|