@atlaskit/select 16.5.2 → 16.5.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 +12 -0
- package/dist/cjs/PopupSelect/components.js +2 -2
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/input-options.js +1 -1
- package/dist/cjs/styles.js +6 -6
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/PopupSelect/components.js +2 -2
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/input-options.js +1 -1
- package/dist/es2019/styles.js +6 -6
- package/dist/es2019/version.json +1 -1
- package/dist/esm/PopupSelect/components.js +2 -2
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/input-options.js +1 -1
- package/dist/esm/styles.js +6 -6
- package/dist/esm/version.json +1 -1
- package/dist/types/PopupSelect/PopupSelect.d.ts +14 -2
- package/dist/types-ts4.5/PopupSelect/PopupSelect.d.ts +14 -2
- package/package.json +5 -5
- package/report.api.md +352 -38
- package/tmp/api-report-tmp.d.ts +697 -0
package/report.api.md
CHANGED
|
@@ -22,26 +22,35 @@ import { AsyncProps } from 'react-select/async';
|
|
|
22
22
|
import BaseSelect from 'react-select/base';
|
|
23
23
|
import { ClearIndicatorProps } from 'react-select';
|
|
24
24
|
import { components } from 'react-select';
|
|
25
|
+
import { ContainerProps } from 'react-select';
|
|
25
26
|
import { Context } from 'react';
|
|
26
27
|
import { ControlProps as ControlProps_2 } from 'react-select';
|
|
27
28
|
import { CreatableProps } from 'react-select/creatable';
|
|
28
29
|
import { createFilter } from 'react-select';
|
|
30
|
+
import { CrossIconProps } from 'react-select/dist/declarations/src/components/indicators';
|
|
29
31
|
import { default as default_2 } from 'react-select/base';
|
|
32
|
+
import { DownChevronProps } from 'react-select/dist/declarations/src/components/indicators';
|
|
30
33
|
import { DropdownIndicatorProps } from 'react-select';
|
|
31
34
|
import { ErrorInfo } from 'react';
|
|
32
35
|
import { FC } from 'react';
|
|
33
36
|
import { FormatOptionLabelMeta } from 'react-select';
|
|
37
|
+
import { GroupHeadingProps } from 'react-select';
|
|
34
38
|
import { GroupProps as GroupProps_2 } from 'react-select';
|
|
35
39
|
import { GroupBase as GroupType } from 'react-select';
|
|
40
|
+
import { IndicatorsContainerProps } from 'react-select';
|
|
36
41
|
import { IndicatorSeparatorProps } from 'react-select';
|
|
37
42
|
import { InputActionMeta } from 'react-select';
|
|
38
43
|
import { InputProps } from 'react-select';
|
|
39
44
|
import { jsx } from '@emotion/react';
|
|
40
45
|
import { LoadingIndicatorProps } from 'react-select';
|
|
46
|
+
import { MemoizedFn } from 'memoize-one';
|
|
41
47
|
import { MenuListProps } from 'react-select';
|
|
48
|
+
import { MenuPortal } from 'react-select/dist/declarations/src/components/Menu';
|
|
42
49
|
import { MenuProps as MenuProps_2 } from 'react-select';
|
|
43
50
|
import { mergeStyles } from 'react-select';
|
|
51
|
+
import { MultiValueGenericProps } from 'react-select';
|
|
44
52
|
import { MultiValueProps } from 'react-select';
|
|
53
|
+
import { MultiValueRemove } from 'react-select/dist/declarations/src/components/MultiValue';
|
|
45
54
|
import { MultiValueRemoveProps } from 'react-select';
|
|
46
55
|
import { NoticeProps } from 'react-select';
|
|
47
56
|
import { OnChangeValue } from 'react-select';
|
|
@@ -49,6 +58,7 @@ import { OptionProps as OptionProps_2 } from 'react-select';
|
|
|
49
58
|
import { Options } from 'react-select';
|
|
50
59
|
import { PlaceholderProps as PlaceholderProps_2 } from 'react-select';
|
|
51
60
|
import { PopperProps } from 'react-popper';
|
|
61
|
+
import { PortalStyleArgs } from 'react-select/dist/declarations/src/components/Menu';
|
|
52
62
|
import { PureComponent } from 'react';
|
|
53
63
|
import { default as React_2 } from 'react';
|
|
54
64
|
import { ReactInstance } from 'react';
|
|
@@ -59,6 +69,7 @@ import { SelectComponentsConfig as SelectComponentsConfig_2 } from 'react-select
|
|
|
59
69
|
import { SelectInstance } from 'react-select';
|
|
60
70
|
import { SingleValueProps } from 'react-select';
|
|
61
71
|
import { StylesConfig as StylesConfig_2 } from 'react-select';
|
|
72
|
+
import { StylesConfigFunction } from 'react-select/dist/declarations/src/styles';
|
|
62
73
|
import { UnbindFn } from 'bind-event-listener';
|
|
63
74
|
import { useAsync } from 'react-select/async';
|
|
64
75
|
import { useCreatable } from 'react-select/creatable';
|
|
@@ -307,10 +318,9 @@ export interface AsyncSelectProps<Option, IsMulti extends boolean = false>
|
|
|
307
318
|
export const CheckboxOption: FC<OptionProps<OptionType, true>>;
|
|
308
319
|
|
|
309
320
|
// @public (undocumented)
|
|
310
|
-
export const CheckboxSelect:
|
|
311
|
-
components,
|
|
312
|
-
|
|
313
|
-
}: SelectProps<OptionType, true>) => JSX.Element;
|
|
321
|
+
export const CheckboxSelect: React_2.MemoExoticComponent<
|
|
322
|
+
({ components, ...props }: SelectProps<OptionType, true>) => JSX.Element
|
|
323
|
+
>;
|
|
314
324
|
|
|
315
325
|
export { ClearIndicatorProps };
|
|
316
326
|
|
|
@@ -590,6 +600,17 @@ const _default: {
|
|
|
590
600
|
};
|
|
591
601
|
export default _default;
|
|
592
602
|
|
|
603
|
+
// @public (undocumented)
|
|
604
|
+
const defaultComponents: {
|
|
605
|
+
Control: FC<ControlProps<OptionType, boolean>>;
|
|
606
|
+
DropdownIndicator: () => jsx.JSX.Element;
|
|
607
|
+
Menu: ({
|
|
608
|
+
children,
|
|
609
|
+
innerProps,
|
|
610
|
+
...props
|
|
611
|
+
}: MenuProps<OptionType, boolean>) => jsx.JSX.Element;
|
|
612
|
+
};
|
|
613
|
+
|
|
593
614
|
// @public (undocumented)
|
|
594
615
|
type defaultModifiers = 'offset' | 'preventOverflow';
|
|
595
616
|
|
|
@@ -715,13 +736,7 @@ export class PopupSelect<
|
|
|
715
736
|
IsMulti extends boolean = false,
|
|
716
737
|
Modifiers = ModifierList,
|
|
717
738
|
> extends PureComponent<PopupSelectProps<Option, IsMulti, Modifiers>, State> {
|
|
718
|
-
close: (
|
|
719
|
-
options?:
|
|
720
|
-
| undefined
|
|
721
|
-
| {
|
|
722
|
-
controlOverride?: boolean | undefined;
|
|
723
|
-
},
|
|
724
|
-
) => void;
|
|
739
|
+
close: (options?: { controlOverride?: boolean }) => void;
|
|
725
740
|
// (undocumented)
|
|
726
741
|
componentDidMount(): void;
|
|
727
742
|
// (undocumented)
|
|
@@ -757,8 +772,288 @@ export class PopupSelect<
|
|
|
757
772
|
// (undocumented)
|
|
758
773
|
getMaxHeight: () => number | undefined;
|
|
759
774
|
// (undocumented)
|
|
775
|
+
getSelectComponents: MemoizedFn<
|
|
776
|
+
(
|
|
777
|
+
mergedComponents: typeof defaultComponents,
|
|
778
|
+
showSearchControl: boolean | undefined,
|
|
779
|
+
) => Partial<{
|
|
780
|
+
ClearIndicator: <
|
|
781
|
+
Option_1,
|
|
782
|
+
IsMulti_1 extends boolean,
|
|
783
|
+
Group extends GroupType<Option_1>,
|
|
784
|
+
>(
|
|
785
|
+
props: ClearIndicatorProps<Option_1, IsMulti_1, Group>,
|
|
786
|
+
) => jsx;
|
|
787
|
+
Control: <
|
|
788
|
+
Option_1,
|
|
789
|
+
IsMulti_1 extends boolean,
|
|
790
|
+
Group_1 extends GroupType<Option_1>,
|
|
791
|
+
>(
|
|
792
|
+
props: ControlProps_2<Option_1, IsMulti_1, Group_1>,
|
|
793
|
+
) => jsx;
|
|
794
|
+
DropdownIndicator: <
|
|
795
|
+
Option_2,
|
|
796
|
+
IsMulti_2 extends boolean,
|
|
797
|
+
Group_2 extends GroupType<Option_2>,
|
|
798
|
+
>(
|
|
799
|
+
props: DropdownIndicatorProps<Option_2, IsMulti_2, Group_2>,
|
|
800
|
+
) => jsx;
|
|
801
|
+
DownChevron: (props: DownChevronProps) => jsx;
|
|
802
|
+
CrossIcon: (props: CrossIconProps) => jsx;
|
|
803
|
+
Group: <
|
|
804
|
+
Option_3,
|
|
805
|
+
IsMulti_3 extends boolean,
|
|
806
|
+
Group_3 extends GroupType<Option_3>,
|
|
807
|
+
>(
|
|
808
|
+
props: GroupProps_2<Option_3, IsMulti_3, Group_3>,
|
|
809
|
+
) => jsx;
|
|
810
|
+
GroupHeading: <
|
|
811
|
+
Option_4,
|
|
812
|
+
IsMulti_4 extends boolean,
|
|
813
|
+
Group_4 extends GroupType<Option_4>,
|
|
814
|
+
>(
|
|
815
|
+
props: GroupHeadingProps<Option_4, IsMulti_4, Group_4>,
|
|
816
|
+
) => jsx;
|
|
817
|
+
IndicatorsContainer: <
|
|
818
|
+
Option_5,
|
|
819
|
+
IsMulti_5 extends boolean,
|
|
820
|
+
Group_5 extends GroupType<Option_5>,
|
|
821
|
+
>(
|
|
822
|
+
props: IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>,
|
|
823
|
+
) => jsx;
|
|
824
|
+
IndicatorSeparator: <
|
|
825
|
+
Option_6,
|
|
826
|
+
IsMulti_6 extends boolean,
|
|
827
|
+
Group_6 extends GroupType<Option_6>,
|
|
828
|
+
>(
|
|
829
|
+
props: IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>,
|
|
830
|
+
) => jsx;
|
|
831
|
+
Input: <
|
|
832
|
+
Option_7,
|
|
833
|
+
IsMulti_7 extends boolean,
|
|
834
|
+
Group_7 extends GroupType<Option_7>,
|
|
835
|
+
>(
|
|
836
|
+
props: InputProps<Option_7, IsMulti_7, Group_7>,
|
|
837
|
+
) => jsx;
|
|
838
|
+
LoadingIndicator: {
|
|
839
|
+
<
|
|
840
|
+
Option_8,
|
|
841
|
+
IsMulti_8 extends boolean,
|
|
842
|
+
Group_8 extends GroupType<Option_8>,
|
|
843
|
+
>(
|
|
844
|
+
props: LoadingIndicatorProps<Option_8, IsMulti_8, Group_8>,
|
|
845
|
+
): jsx;
|
|
846
|
+
defaultProps: {
|
|
847
|
+
size: number;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
Menu: <
|
|
851
|
+
Option_9,
|
|
852
|
+
IsMulti_9 extends boolean,
|
|
853
|
+
Group_9 extends GroupType<Option_9>,
|
|
854
|
+
>(
|
|
855
|
+
props: MenuProps_2<Option_9, IsMulti_9, Group_9>,
|
|
856
|
+
) => jsx;
|
|
857
|
+
MenuList: <
|
|
858
|
+
Option_10,
|
|
859
|
+
IsMulti_10 extends boolean,
|
|
860
|
+
Group_10 extends GroupType<Option_10>,
|
|
861
|
+
>(
|
|
862
|
+
props: MenuListProps<Option_10, IsMulti_10, Group_10>,
|
|
863
|
+
) => jsx;
|
|
864
|
+
MenuPortal: MenuPortal;
|
|
865
|
+
LoadingMessage: {
|
|
866
|
+
<
|
|
867
|
+
Option_11,
|
|
868
|
+
IsMulti_11 extends boolean,
|
|
869
|
+
Group_11 extends GroupType<Option_11>,
|
|
870
|
+
>(
|
|
871
|
+
props: NoticeProps<Option_11, IsMulti_11, Group_11>,
|
|
872
|
+
): jsx;
|
|
873
|
+
defaultProps: {
|
|
874
|
+
children: string;
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
NoOptionsMessage: {
|
|
878
|
+
<
|
|
879
|
+
Option_12,
|
|
880
|
+
IsMulti_12 extends boolean,
|
|
881
|
+
Group_12 extends GroupType<Option_12>,
|
|
882
|
+
>(
|
|
883
|
+
props: NoticeProps<Option_12, IsMulti_12, Group_12>,
|
|
884
|
+
): jsx;
|
|
885
|
+
defaultProps: {
|
|
886
|
+
children: string;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
MultiValue: <
|
|
890
|
+
Option_13,
|
|
891
|
+
IsMulti_13 extends boolean,
|
|
892
|
+
Group_13 extends GroupType<Option_13>,
|
|
893
|
+
>(
|
|
894
|
+
props: MultiValueProps<Option_13, IsMulti_13, Group_13>,
|
|
895
|
+
) => jsx;
|
|
896
|
+
MultiValueContainer: <
|
|
897
|
+
Option_14,
|
|
898
|
+
IsMulti_14 extends boolean,
|
|
899
|
+
Group_14 extends GroupType<Option_14>,
|
|
900
|
+
>({
|
|
901
|
+
children,
|
|
902
|
+
innerProps,
|
|
903
|
+
}: MultiValueGenericProps<Option_14, IsMulti_14, Group_14>) => jsx;
|
|
904
|
+
MultiValueLabel: <
|
|
905
|
+
Option_14_1,
|
|
906
|
+
IsMulti_14_1 extends boolean,
|
|
907
|
+
Group_14_1 extends GroupType<Option_14_1>,
|
|
908
|
+
>({
|
|
909
|
+
children,
|
|
910
|
+
innerProps,
|
|
911
|
+
}: MultiValueGenericProps<Option_14_1, IsMulti_14_1, Group_14_1>) => jsx;
|
|
912
|
+
MultiValueRemove: MultiValueRemove;
|
|
913
|
+
Option: <
|
|
914
|
+
Option_15,
|
|
915
|
+
IsMulti_15 extends boolean,
|
|
916
|
+
Group_15 extends GroupType<Option_15>,
|
|
917
|
+
>(
|
|
918
|
+
props: OptionProps_2<Option_15, IsMulti_15, Group_15>,
|
|
919
|
+
) => jsx;
|
|
920
|
+
Placeholder: <
|
|
921
|
+
Option_16,
|
|
922
|
+
IsMulti_16 extends boolean,
|
|
923
|
+
Group_16 extends GroupType<Option_16>,
|
|
924
|
+
>(
|
|
925
|
+
props: PlaceholderProps_2<Option_16, IsMulti_16, Group_16>,
|
|
926
|
+
) => jsx;
|
|
927
|
+
SelectContainer: <
|
|
928
|
+
Option_17,
|
|
929
|
+
IsMulti_17 extends boolean,
|
|
930
|
+
Group_17 extends GroupType<Option_17>,
|
|
931
|
+
>(
|
|
932
|
+
props: ContainerProps<Option_17, IsMulti_17, Group_17>,
|
|
933
|
+
) => jsx;
|
|
934
|
+
SingleValue: <
|
|
935
|
+
Option_18,
|
|
936
|
+
IsMulti_18 extends boolean,
|
|
937
|
+
Group_18 extends GroupType<Option_18>,
|
|
938
|
+
>(
|
|
939
|
+
props: SingleValueProps<Option_18, IsMulti_18, Group_18>,
|
|
940
|
+
) => jsx;
|
|
941
|
+
ValueContainer: <
|
|
942
|
+
Option_19,
|
|
943
|
+
IsMulti_19 extends boolean,
|
|
944
|
+
Group_19 extends GroupType<Option_19>,
|
|
945
|
+
>(
|
|
946
|
+
props: ValueContainerProps_2<Option_19, IsMulti_19, Group_19>,
|
|
947
|
+
) => jsx;
|
|
948
|
+
}>
|
|
949
|
+
>;
|
|
950
|
+
// (undocumented)
|
|
760
951
|
getSelectRef: (ref: BaseSelect<Option, IsMulti>) => void;
|
|
761
952
|
// (undocumented)
|
|
953
|
+
getSelectStyles: MemoizedFn<
|
|
954
|
+
(
|
|
955
|
+
defaultStyles: StylesConfig<Option, IsMulti>,
|
|
956
|
+
propStyles: StylesConfig<Option, IsMulti> | undefined,
|
|
957
|
+
) => {
|
|
958
|
+
clearIndicator?:
|
|
959
|
+
| StylesConfigFunction<
|
|
960
|
+
ClearIndicatorProps<Option, IsMulti, GroupType<Option>>
|
|
961
|
+
>
|
|
962
|
+
| undefined;
|
|
963
|
+
container?:
|
|
964
|
+
| StylesConfigFunction<
|
|
965
|
+
ContainerProps<Option, IsMulti, GroupType<Option>>
|
|
966
|
+
>
|
|
967
|
+
| undefined;
|
|
968
|
+
control?:
|
|
969
|
+
| StylesConfigFunction<
|
|
970
|
+
ControlProps_2<Option, IsMulti, GroupType<Option>>
|
|
971
|
+
>
|
|
972
|
+
| undefined;
|
|
973
|
+
dropdownIndicator?:
|
|
974
|
+
| StylesConfigFunction<
|
|
975
|
+
DropdownIndicatorProps<Option, IsMulti, GroupType<Option>>
|
|
976
|
+
>
|
|
977
|
+
| undefined;
|
|
978
|
+
group?:
|
|
979
|
+
| StylesConfigFunction<GroupProps_2<Option, IsMulti, GroupType<Option>>>
|
|
980
|
+
| undefined;
|
|
981
|
+
groupHeading?:
|
|
982
|
+
| StylesConfigFunction<
|
|
983
|
+
GroupHeadingProps<Option, IsMulti, GroupType<Option>>
|
|
984
|
+
>
|
|
985
|
+
| undefined;
|
|
986
|
+
indicatorsContainer?:
|
|
987
|
+
| StylesConfigFunction<
|
|
988
|
+
IndicatorsContainerProps<Option, IsMulti, GroupType<Option>>
|
|
989
|
+
>
|
|
990
|
+
| undefined;
|
|
991
|
+
indicatorSeparator?:
|
|
992
|
+
| StylesConfigFunction<
|
|
993
|
+
IndicatorSeparatorProps<Option, IsMulti, GroupType<Option>>
|
|
994
|
+
>
|
|
995
|
+
| undefined;
|
|
996
|
+
input?:
|
|
997
|
+
| StylesConfigFunction<InputProps<Option, IsMulti, GroupType<Option>>>
|
|
998
|
+
| undefined;
|
|
999
|
+
loadingIndicator?:
|
|
1000
|
+
| StylesConfigFunction<
|
|
1001
|
+
LoadingIndicatorProps<Option, IsMulti, GroupType<Option>>
|
|
1002
|
+
>
|
|
1003
|
+
| undefined;
|
|
1004
|
+
loadingMessage?:
|
|
1005
|
+
| StylesConfigFunction<NoticeProps<Option, IsMulti, GroupType<Option>>>
|
|
1006
|
+
| undefined;
|
|
1007
|
+
menu?:
|
|
1008
|
+
| StylesConfigFunction<MenuProps_2<Option, IsMulti, GroupType<Option>>>
|
|
1009
|
+
| undefined;
|
|
1010
|
+
menuList?:
|
|
1011
|
+
| StylesConfigFunction<
|
|
1012
|
+
MenuListProps<Option, IsMulti, GroupType<Option>>
|
|
1013
|
+
>
|
|
1014
|
+
| undefined;
|
|
1015
|
+
menuPortal?: StylesConfigFunction<PortalStyleArgs> | undefined;
|
|
1016
|
+
multiValue?:
|
|
1017
|
+
| StylesConfigFunction<
|
|
1018
|
+
MultiValueProps<Option, IsMulti, GroupType<Option>>
|
|
1019
|
+
>
|
|
1020
|
+
| undefined;
|
|
1021
|
+
multiValueLabel?:
|
|
1022
|
+
| StylesConfigFunction<
|
|
1023
|
+
MultiValueProps<Option, IsMulti, GroupType<Option>>
|
|
1024
|
+
>
|
|
1025
|
+
| undefined;
|
|
1026
|
+
multiValueRemove?:
|
|
1027
|
+
| StylesConfigFunction<
|
|
1028
|
+
MultiValueProps<Option, IsMulti, GroupType<Option>>
|
|
1029
|
+
>
|
|
1030
|
+
| undefined;
|
|
1031
|
+
noOptionsMessage?:
|
|
1032
|
+
| StylesConfigFunction<NoticeProps<Option, IsMulti, GroupType<Option>>>
|
|
1033
|
+
| undefined;
|
|
1034
|
+
option?:
|
|
1035
|
+
| StylesConfigFunction<
|
|
1036
|
+
OptionProps_2<Option, IsMulti, GroupType<Option>>
|
|
1037
|
+
>
|
|
1038
|
+
| undefined;
|
|
1039
|
+
placeholder?:
|
|
1040
|
+
| StylesConfigFunction<
|
|
1041
|
+
PlaceholderProps_2<Option, IsMulti, GroupType<Option>>
|
|
1042
|
+
>
|
|
1043
|
+
| undefined;
|
|
1044
|
+
singleValue?:
|
|
1045
|
+
| StylesConfigFunction<
|
|
1046
|
+
SingleValueProps<Option, IsMulti, GroupType<Option>>
|
|
1047
|
+
>
|
|
1048
|
+
| undefined;
|
|
1049
|
+
valueContainer?:
|
|
1050
|
+
| StylesConfigFunction<
|
|
1051
|
+
ValueContainerProps_2<Option, IsMulti, GroupType<Option>>
|
|
1052
|
+
>
|
|
1053
|
+
| undefined;
|
|
1054
|
+
}
|
|
1055
|
+
>;
|
|
1056
|
+
// (undocumented)
|
|
762
1057
|
handleClick: ({ target }: MouseEvent) => void;
|
|
763
1058
|
// (undocumented)
|
|
764
1059
|
handleFirstPopperUpdate: () => void;
|
|
@@ -773,13 +1068,7 @@ export class PopupSelect<
|
|
|
773
1068
|
isOpenControlled: boolean;
|
|
774
1069
|
// (undocumented)
|
|
775
1070
|
menuRef: HTMLElement | null;
|
|
776
|
-
open: (
|
|
777
|
-
options?:
|
|
778
|
-
| undefined
|
|
779
|
-
| {
|
|
780
|
-
controlOverride?: boolean | undefined;
|
|
781
|
-
},
|
|
782
|
-
) => void;
|
|
1071
|
+
open: (options?: { controlOverride?: boolean }) => void;
|
|
783
1072
|
// (undocumented)
|
|
784
1073
|
popperWrapperId: string;
|
|
785
1074
|
// (undocumented)
|
|
@@ -799,20 +1088,47 @@ export class PopupSelect<
|
|
|
799
1088
|
// (undocumented)
|
|
800
1089
|
showSearchControl: () => boolean | undefined;
|
|
801
1090
|
// (undocumented)
|
|
802
|
-
state:
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
1091
|
+
state:
|
|
1092
|
+
| {
|
|
1093
|
+
focusLockEnabled: boolean;
|
|
1094
|
+
isOpen: boolean;
|
|
1095
|
+
mergedComponents: {
|
|
1096
|
+
Control: React_2.FC<ControlProps<OptionType, boolean>>;
|
|
1097
|
+
DropdownIndicator: () => jsx;
|
|
1098
|
+
Menu: ({
|
|
1099
|
+
children,
|
|
1100
|
+
innerProps,
|
|
1101
|
+
...props
|
|
1102
|
+
}: MenuProps<OptionType, boolean>) => jsx /**
|
|
1103
|
+
The props passed down to React Popper.
|
|
1104
|
+
|
|
1105
|
+
Use these to override the default positioning strategy, behaviour and placement used by this library.
|
|
1106
|
+
For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
|
|
1107
|
+
|
|
1108
|
+
*/;
|
|
1109
|
+
};
|
|
1110
|
+
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
1111
|
+
}
|
|
1112
|
+
| {
|
|
1113
|
+
isOpen: boolean;
|
|
1114
|
+
mergedComponents: {
|
|
1115
|
+
Control: React_2.FC<ControlProps<OptionType, boolean>>;
|
|
1116
|
+
DropdownIndicator: () => jsx;
|
|
1117
|
+
Menu: ({
|
|
1118
|
+
children,
|
|
1119
|
+
innerProps,
|
|
1120
|
+
...props
|
|
1121
|
+
}: MenuProps<OptionType, boolean>) => jsx /**
|
|
1122
|
+
The props passed down to React Popper.
|
|
1123
|
+
|
|
1124
|
+
Use these to override the default positioning strategy, behaviour and placement used by this library.
|
|
1125
|
+
For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
|
|
1126
|
+
|
|
1127
|
+
*/;
|
|
1128
|
+
};
|
|
1129
|
+
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
1130
|
+
focusLockEnabled?: undefined;
|
|
1131
|
+
};
|
|
816
1132
|
// (undocumented)
|
|
817
1133
|
targetRef: HTMLElement | null;
|
|
818
1134
|
// (undocumented)
|
|
@@ -867,10 +1183,9 @@ interface PopupSelectTriggerProps {
|
|
|
867
1183
|
export const RadioOption: FC<OptionProps>;
|
|
868
1184
|
|
|
869
1185
|
// @public (undocumented)
|
|
870
|
-
export const RadioSelect:
|
|
871
|
-
components,
|
|
872
|
-
|
|
873
|
-
}: SelectProps<OptionType>) => JSX.Element;
|
|
1186
|
+
export const RadioSelect: React_2.MemoExoticComponent<
|
|
1187
|
+
({ components, ...props }: SelectProps<OptionType>) => JSX.Element
|
|
1188
|
+
>;
|
|
874
1189
|
|
|
875
1190
|
export { ReactSelectProps };
|
|
876
1191
|
|
|
@@ -1006,8 +1321,7 @@ export { SingleValueProps };
|
|
|
1006
1321
|
|
|
1007
1322
|
// @public (undocumented)
|
|
1008
1323
|
interface State<Modifiers = string> {
|
|
1009
|
-
|
|
1010
|
-
focusLockEnabled: boolean;
|
|
1324
|
+
focusLockEnabled?: boolean;
|
|
1011
1325
|
// (undocumented)
|
|
1012
1326
|
isOpen: boolean;
|
|
1013
1327
|
// (undocumented)
|