@elliemae/ds-form 2.0.0-rc.7 → 2.0.0-rc.8
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/package.json +17 -17
- package/types/Checkbox/DSCheckbox.d.ts +78 -13
- package/types/Checkbox/props.d.ts +58 -12
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
- package/types/CheckboxGroup/props.d.ts +37 -6
- package/types/ComboBox/v2/Combobox.d.ts +56 -1
- package/types/ComboBox/v3/ComboBox.d.ts +54 -16
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
- package/types/ComboBox/v3/propTypes.d.ts +49 -15
- package/types/DateInput/DSDateInput.d.ts +97 -16
- package/types/DateInput/props.d.ts +97 -16
- package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
- package/types/DateInputV2/components/props.d.ts +61 -10
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
- package/types/FormItem/DSFormItemLayout.d.ts +390 -60
- package/types/FormItem/Error/DSError.d.ts +21 -3
- package/types/FormItem/defaultProps.d.ts +118 -20
- package/types/FormItem/props.d.ts +229 -39
- package/types/InputGroup/DSInputGroup.d.ts +56 -8
- package/types/InputGroup/props.d.ts +43 -7
- package/types/InputMask/DSInputMask.d.ts +172 -30
- package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
- package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
- package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
- package/types/InputMask/props.d.ts +172 -30
- package/types/InputProtected/DSInputProtected.d.ts +56 -7
- package/types/InputProtected/props.d.ts +43 -8
- package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
- package/types/LargeInputText/props.d.ts +163 -27
- package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
- package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
- package/types/MenuItem/components/Section/index.d.ts +4 -1
- package/types/MenuItem/components/Section/props.d.ts +4 -1
- package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
- package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
- package/types/MenuItem/props.d.ts +7 -2
- package/types/Radio/DSRadio.d.ts +79 -13
- package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
- package/types/RadioGroup/props.d.ts +37 -6
- package/types/SearchBox/DSSearchBox.d.ts +146 -21
- package/types/SearchBox/NavSearchBox.d.ts +18 -3
- package/types/SearchBox/SButton.d.ts +13 -2
- package/types/SearchBox/props.d.ts +133 -22
- package/types/SearchBox/styled.d.ts +1 -49
- package/types/TextBox/DSTextBox.d.ts +146 -21
- package/types/TimeInput/DSTimeInput.d.ts +83 -12
- package/types/TimeInput/utils.d.ts +1 -1
- package/types/Toggle/DSToggle.d.ts +84 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Form",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -936,22 +936,22 @@
|
|
|
936
936
|
"build": "node ../../scripts/build/build.js"
|
|
937
937
|
},
|
|
938
938
|
"dependencies": {
|
|
939
|
-
"@elliemae/ds-button": "2.0.0-rc.
|
|
940
|
-
"@elliemae/ds-circular-progress-indicator": "2.0.0-rc.
|
|
941
|
-
"@elliemae/ds-classnames": "2.0.0-rc.
|
|
942
|
-
"@elliemae/ds-grid": "2.0.0-rc.
|
|
943
|
-
"@elliemae/ds-icon": "2.0.0-rc.
|
|
944
|
-
"@elliemae/ds-icons": "2.0.0-rc.
|
|
945
|
-
"@elliemae/ds-menu": "2.0.0-rc.
|
|
946
|
-
"@elliemae/ds-overlay": "2.0.0-rc.
|
|
947
|
-
"@elliemae/ds-popper": "2.0.0-rc.
|
|
948
|
-
"@elliemae/ds-separator": "2.0.0-rc.
|
|
949
|
-
"@elliemae/ds-shared": "2.0.0-rc.
|
|
950
|
-
"@elliemae/ds-system": "2.0.0-rc.
|
|
951
|
-
"@elliemae/ds-text-wrapper": "2.0.0-rc.
|
|
952
|
-
"@elliemae/ds-tooltip": "2.0.0-rc.
|
|
953
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.
|
|
954
|
-
"@elliemae/ds-utilities": "2.0.0-rc.
|
|
939
|
+
"@elliemae/ds-button": "2.0.0-rc.8",
|
|
940
|
+
"@elliemae/ds-circular-progress-indicator": "2.0.0-rc.8",
|
|
941
|
+
"@elliemae/ds-classnames": "2.0.0-rc.8",
|
|
942
|
+
"@elliemae/ds-grid": "2.0.0-rc.8",
|
|
943
|
+
"@elliemae/ds-icon": "2.0.0-rc.8",
|
|
944
|
+
"@elliemae/ds-icons": "2.0.0-rc.8",
|
|
945
|
+
"@elliemae/ds-menu": "2.0.0-rc.8",
|
|
946
|
+
"@elliemae/ds-overlay": "2.0.0-rc.8",
|
|
947
|
+
"@elliemae/ds-popper": "2.0.0-rc.8",
|
|
948
|
+
"@elliemae/ds-separator": "2.0.0-rc.8",
|
|
949
|
+
"@elliemae/ds-shared": "2.0.0-rc.8",
|
|
950
|
+
"@elliemae/ds-system": "2.0.0-rc.8",
|
|
951
|
+
"@elliemae/ds-text-wrapper": "2.0.0-rc.8",
|
|
952
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.8",
|
|
953
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.8",
|
|
954
|
+
"@elliemae/ds-utilities": "2.0.0-rc.8",
|
|
955
955
|
"memoize-one": "~5.1.1",
|
|
956
956
|
"moment": "~2.29.1",
|
|
957
957
|
"prop-types": "~15.7.2",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { CHECKBOX_VARIANT } from '@elliemae/ds-shared/prop-types';
|
|
3
4
|
declare const DSCheckbox: {
|
|
@@ -18,18 +19,63 @@ declare const DSCheckbox: {
|
|
|
18
19
|
name: any;
|
|
19
20
|
}): JSX.Element;
|
|
20
21
|
propTypes: {
|
|
21
|
-
containerProps:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
containerProps: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
labelText: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
htmlFor: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
hasError: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
readOnly: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
checked: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
defaultValue<T = unknown>(arg: T): {
|
|
54
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
variant: {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
children: {
|
|
62
|
+
defaultValue<T = unknown>(arg: T): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
onChange: {
|
|
68
|
+
defaultValue<T = unknown>(arg: T): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
name: {
|
|
74
|
+
defaultValue<T = unknown>(arg: T): {
|
|
75
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
78
|
+
};
|
|
33
79
|
};
|
|
34
80
|
defaultProps: {
|
|
35
81
|
hasError: boolean;
|
|
@@ -43,6 +89,25 @@ declare const DSCheckbox: {
|
|
|
43
89
|
name: string;
|
|
44
90
|
};
|
|
45
91
|
};
|
|
46
|
-
declare const CheckboxWithSchema:
|
|
92
|
+
declare const CheckboxWithSchema: {
|
|
93
|
+
(props?: {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
labelText?: undefined;
|
|
96
|
+
className?: undefined;
|
|
97
|
+
htmlFor?: undefined;
|
|
98
|
+
hasError: any;
|
|
99
|
+
readOnly: any;
|
|
100
|
+
disabled: any;
|
|
101
|
+
checked: any;
|
|
102
|
+
onChange: any;
|
|
103
|
+
variant: any;
|
|
104
|
+
children: any;
|
|
105
|
+
containerProps: any;
|
|
106
|
+
innerRef: any;
|
|
107
|
+
name: any;
|
|
108
|
+
} | undefined): JSX.Element;
|
|
109
|
+
propTypes: unknown;
|
|
110
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
111
|
+
};
|
|
47
112
|
export { DSCheckbox, CHECKBOX_VARIANT, CheckboxWithSchema };
|
|
48
113
|
export default DSCheckbox;
|
|
@@ -1,14 +1,60 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const checkboxProps: {
|
|
2
|
-
containerProps:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
containerProps: {
|
|
4
|
+
defaultValue<T = unknown>(arg: T): {
|
|
5
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
+
};
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
labelText: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
htmlFor: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
hasError: {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
readOnly: {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
checked: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
variant: {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
children: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
onChange: {
|
|
49
|
+
defaultValue<T = unknown>(arg: T): {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
14
60
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSCheckboxGroup: {
|
|
3
4
|
({ onChange, activeValue, children, disabled, orientation, truncateText, labelProps, containerProps, }: {
|
|
@@ -11,12 +12,42 @@ declare const DSCheckboxGroup: {
|
|
|
11
12
|
containerProps: any;
|
|
12
13
|
}): JSX.Element;
|
|
13
14
|
propTypes: {
|
|
14
|
-
onChange:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
onChange: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
activeValue: {
|
|
22
|
+
defaultValue<T = unknown>(arg: T): {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
children: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
orientation: {
|
|
40
|
+
defaultValue<T = unknown>(arg: T): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
labelProps: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
20
51
|
};
|
|
21
52
|
defaultProps: {
|
|
22
53
|
onChange: () => null;
|
|
@@ -33,6 +64,19 @@ declare const DSCheckboxGroup: {
|
|
|
33
64
|
containerProps: {};
|
|
34
65
|
};
|
|
35
66
|
};
|
|
36
|
-
declare const DSCheckboxGroupWithSchema:
|
|
67
|
+
declare const DSCheckboxGroupWithSchema: {
|
|
68
|
+
(props?: {
|
|
69
|
+
onChange: any;
|
|
70
|
+
activeValue: any;
|
|
71
|
+
children: any;
|
|
72
|
+
disabled: any;
|
|
73
|
+
orientation: any;
|
|
74
|
+
truncateText: any;
|
|
75
|
+
labelProps: any;
|
|
76
|
+
containerProps: any;
|
|
77
|
+
} | undefined): JSX.Element;
|
|
78
|
+
propTypes: unknown;
|
|
79
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
80
|
+
};
|
|
37
81
|
export { DSCheckboxGroup, DSCheckboxGroupWithSchema };
|
|
38
82
|
export default DSCheckboxGroup;
|
|
@@ -1,26 +1,57 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const props: {
|
|
2
3
|
/**
|
|
3
4
|
* Allows a function that is triggered once the checkbox group changes
|
|
4
5
|
*/
|
|
5
|
-
onChange:
|
|
6
|
+
onChange: {
|
|
7
|
+
defaultValue<T = unknown>(arg: T): {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* Default active value
|
|
8
14
|
*/
|
|
9
|
-
activeValue:
|
|
15
|
+
activeValue: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
10
21
|
/**
|
|
11
22
|
* Checkbox group items to show of type DSCheckbox
|
|
12
23
|
*/
|
|
13
|
-
children:
|
|
24
|
+
children: {
|
|
25
|
+
defaultValue<T = unknown>(arg: T): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
14
30
|
/**
|
|
15
31
|
* Whether the checkbox group is disabled or not
|
|
16
32
|
*/
|
|
17
|
-
disabled:
|
|
33
|
+
disabled: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
18
39
|
/**
|
|
19
40
|
* ['horizontal', 'vertical']
|
|
20
41
|
*/
|
|
21
|
-
orientation:
|
|
42
|
+
orientation: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
22
48
|
/**
|
|
23
49
|
* label props
|
|
24
50
|
*/
|
|
25
|
-
labelProps:
|
|
51
|
+
labelProps: {
|
|
52
|
+
defaultValue<T = unknown>(arg: T): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
26
57
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
declare const DSComboBox2: {
|
|
3
4
|
new (props: {} | Readonly<{}>): {
|
|
@@ -60,6 +61,60 @@ declare const DSComboBox2: {
|
|
|
60
61
|
} | null;
|
|
61
62
|
contextType?: React.Context<any> | undefined;
|
|
62
63
|
};
|
|
63
|
-
declare const ComboBoxWithSchema:
|
|
64
|
+
declare const ComboBoxWithSchema: {
|
|
65
|
+
(props?: {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
hideSelectedOptions?: boolean | undefined;
|
|
68
|
+
autoFocus?: boolean | undefined;
|
|
69
|
+
className?: string | undefined;
|
|
70
|
+
hasError?: boolean | undefined;
|
|
71
|
+
onFocus?: ((...args: any[]) => void) | undefined;
|
|
72
|
+
onBlur?: ((...args: any[]) => void) | undefined;
|
|
73
|
+
onChange?: ((...args: any[]) => void) | undefined;
|
|
74
|
+
onChangeV2?: ((...args: any[]) => void) | undefined;
|
|
75
|
+
filterOption?: any;
|
|
76
|
+
onClickDropdownIndicator?: ((...args: any[]) => void) | undefined;
|
|
77
|
+
onInputKeyDown?: ((...args: any[]) => void) | undefined;
|
|
78
|
+
onInputChange?: ((...args: any[]) => void) | undefined;
|
|
79
|
+
isRtl?: boolean | undefined;
|
|
80
|
+
isFocused?: undefined;
|
|
81
|
+
isMulti?: boolean | undefined;
|
|
82
|
+
isFreeSolo: any;
|
|
83
|
+
selectAllDisabled?: boolean | undefined;
|
|
84
|
+
formatCreateLabel: any;
|
|
85
|
+
createOptionPosition: any;
|
|
86
|
+
value?: null | undefined;
|
|
87
|
+
options?: never[] | undefined;
|
|
88
|
+
clearable?: boolean | undefined;
|
|
89
|
+
searchable?: boolean | undefined;
|
|
90
|
+
disabled?: boolean | undefined;
|
|
91
|
+
placeholder?: string | undefined;
|
|
92
|
+
valueProperty?: string | undefined;
|
|
93
|
+
labelProperty?: string | undefined;
|
|
94
|
+
noOptionsMessage?: string | undefined;
|
|
95
|
+
loading?: boolean | undefined;
|
|
96
|
+
menuIsOpen?: undefined;
|
|
97
|
+
onMenuClose?: ((...args: any[]) => void) | undefined;
|
|
98
|
+
inlineMenu?: boolean | undefined;
|
|
99
|
+
components?: {} | undefined;
|
|
100
|
+
measureRef: any;
|
|
101
|
+
contentRect: any;
|
|
102
|
+
readOnly?: boolean | undefined;
|
|
103
|
+
returnValue?: boolean | undefined;
|
|
104
|
+
expandMenuToContainer?: boolean | undefined;
|
|
105
|
+
expandMenuOutsideContainer?: boolean | undefined;
|
|
106
|
+
customMenuItemOptions?: {
|
|
107
|
+
useTruncatedText: boolean;
|
|
108
|
+
itemSize: number;
|
|
109
|
+
} | undefined;
|
|
110
|
+
containerProps?: {} | undefined;
|
|
111
|
+
maxOptions: any;
|
|
112
|
+
zIndex?: number | undefined;
|
|
113
|
+
componentsStyle: any;
|
|
114
|
+
keepTypedValue?: boolean | undefined;
|
|
115
|
+
} | undefined): JSX.Element;
|
|
116
|
+
propTypes: unknown;
|
|
117
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
118
|
+
};
|
|
64
119
|
export { DSComboBox2, ComboBoxWithSchema };
|
|
65
120
|
export default DSComboBox2;
|
|
@@ -1,24 +1,62 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import type { ComboBoxPropsT } from './index.d';
|
|
3
4
|
declare const DSComboBox: {
|
|
4
5
|
(props: ComboBoxPropsT): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
placeholder:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
placeholder: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
selectedValues: {
|
|
14
|
+
defaultValue<T = unknown>(arg: T): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
autoFocus: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
hasError: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onChange: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onSelectAll: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
onFilter: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
onCreate: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
onClearAll: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
onMenuOpen: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
inputMinWidth: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
menuMinWidth: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
menuMaxHeight: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
withToggle: {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
21
55
|
};
|
|
22
56
|
};
|
|
23
|
-
declare const DSComboBoxWithSchema:
|
|
57
|
+
declare const DSComboBoxWithSchema: {
|
|
58
|
+
(props?: ComboBoxPropsT | undefined): JSX.Element;
|
|
59
|
+
propTypes: unknown;
|
|
60
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
61
|
+
};
|
|
24
62
|
export { DSComboBox, DSComboBoxWithSchema };
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const StyledDropDownButton: import("styled-components").StyledComponent<{
|
|
3
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
innerRef: any;
|
|
6
|
-
disabled: any;
|
|
7
|
-
buttonType: any;
|
|
8
|
-
fluidWidth: any;
|
|
9
|
-
size: any;
|
|
10
|
-
labelText: any;
|
|
11
|
-
icon: any;
|
|
12
|
-
onBlur: any;
|
|
13
|
-
onClick: any;
|
|
14
|
-
onKeyPress: any;
|
|
15
|
-
leftIcon: any;
|
|
16
|
-
tabIndex: any;
|
|
17
|
-
variant: any;
|
|
18
|
-
intent: any;
|
|
19
|
-
containerProps: any;
|
|
20
|
-
className: any;
|
|
21
|
-
as: any;
|
|
22
|
-
type: any;
|
|
23
|
-
}): JSX.Element;
|
|
24
|
-
defaultProps: {
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
fluidWidth: boolean;
|
|
27
|
-
labelText: string;
|
|
28
|
-
icon: null;
|
|
29
|
-
onBlur: () => null;
|
|
30
|
-
onClick: () => null;
|
|
31
|
-
onKeyPress: () => null;
|
|
32
|
-
leftIcon: null;
|
|
33
|
-
tabIndex: number;
|
|
34
|
-
variant: string;
|
|
35
|
-
containerProps: {};
|
|
36
|
-
as: string;
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
39
|
-
propTypes: {
|
|
40
|
-
tabIndex: any;
|
|
41
|
-
className: any;
|
|
42
|
-
'aria-disabled': any;
|
|
43
|
-
as: any;
|
|
44
|
-
disabled: any;
|
|
45
|
-
fluidWidth: any;
|
|
46
|
-
labelText: any;
|
|
47
|
-
icon: any;
|
|
48
|
-
leftIcon: any;
|
|
49
|
-
buttonType: any;
|
|
50
|
-
size: any;
|
|
51
|
-
type: any;
|
|
52
|
-
variant: any;
|
|
53
|
-
innerRef: any;
|
|
54
|
-
onBlur: any;
|
|
55
|
-
intent: any;
|
|
56
|
-
containerProps: any;
|
|
57
|
-
onClick: any;
|
|
58
|
-
onKeyPress: any;
|
|
59
|
-
};
|
|
60
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
1
|
+
export declare const StyledDropDownButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|