@elliemae/ds-form 2.0.2 → 2.1.0-rc.3
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/cjs/Checkbox/DSCheckbox.js +2 -2
- package/cjs/MenuItem/components/Section/styled.js +2 -2
- package/cjs/MenuItem/components/Separator/styled.js +2 -2
- package/cjs/MenuItem/components/SubmenuItem/index.js +1 -1
- package/cjs/MenuItem/components/styled.js +4 -9
- package/cjs/Radio/DSRadio.js +9 -4
- package/esm/Checkbox/DSCheckbox.js +2 -2
- package/esm/MenuItem/components/Section/styled.js +2 -2
- package/esm/MenuItem/components/Separator/styled.js +2 -2
- package/esm/MenuItem/components/SubmenuItem/index.js +1 -1
- package/esm/MenuItem/components/styled.js +5 -9
- package/esm/Radio/DSRadio.js +9 -4
- package/package.json +23 -23
- package/types/Checkbox/DSCheckbox.d.ts +36 -47
- package/types/Checkbox/props.d.ts +14 -14
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +12 -12
- package/types/CheckboxGroup/props.d.ts +12 -12
- package/types/ComboBox/v3/ComboBox.d.ts +2 -2
- package/types/ComboBox/v3/propTypes.d.ts +2 -2
- package/types/DateInput/DSDateInput.d.ts +32 -32
- package/types/DateInput/props.d.ts +64 -32
- package/types/DateInputV2/components/DSDateInput.d.ts +20 -20
- package/types/DateInputV2/components/props.d.ts +20 -20
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +38 -38
- package/types/FormItem/DSFormItemLayout.d.ts +112 -112
- package/types/FormItem/Error/DSError.d.ts +4 -4
- package/types/FormItem/defaultProps.d.ts +38 -38
- package/types/FormItem/props.d.ts +74 -74
- package/types/InputGroup/DSInputGroup.d.ts +14 -14
- package/types/InputGroup/props.d.ts +14 -14
- package/types/InputMask/DSInputMask.d.ts +54 -54
- package/types/InputMask/props.d.ts +54 -54
- package/types/InputProtected/DSInputProtected.d.ts +12 -12
- package/types/InputProtected/props.d.ts +12 -12
- package/types/LargeInputText/DSLargeInputText.d.ts +54 -54
- package/types/LargeInputText/props.d.ts +54 -54
- package/types/MenuItem/components/SubmenuItem/styled.d.ts +1 -1
- package/types/MenuItem/components/styled.d.ts +5 -3
- package/types/MenuItem/props.d.ts +3 -3
- package/types/Radio/DSRadio.d.ts +56 -46
- package/types/RadioGroup/DSRadioGroup.d.ts +12 -12
- package/types/RadioGroup/props.d.ts +12 -12
- package/types/SearchBox/DSSearchBox.d.ts +40 -40
- package/types/SearchBox/NavSearchBox.d.ts +24 -7
- package/types/SearchBox/SButton.d.ts +4 -4
- package/types/SearchBox/props.d.ts +44 -44
- package/types/TextBox/DSTextBox.d.ts +38 -38
- package/types/TimeInput/DSTimeInput.d.ts +22 -22
- package/types/Toggle/DSToggle.d.ts +22 -22
|
@@ -4,54 +4,54 @@ export declare const props: {
|
|
|
4
4
|
* Allows a function that is triggered once the checkbox group changes
|
|
5
5
|
*/
|
|
6
6
|
onChange: {
|
|
7
|
-
defaultValue
|
|
7
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
8
8
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
9
|
};
|
|
10
|
-
isRequired: import("react-desc").
|
|
10
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* Default active value
|
|
14
14
|
*/
|
|
15
15
|
activeValue: {
|
|
16
|
-
defaultValue
|
|
16
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
17
17
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
18
|
};
|
|
19
|
-
isRequired: import("react-desc").
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* Checkbox group items to show of type DSCheckbox
|
|
23
23
|
*/
|
|
24
24
|
children: {
|
|
25
|
-
defaultValue
|
|
25
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
26
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
27
|
};
|
|
28
|
-
isRequired: import("react-desc").
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Whether the checkbox group is disabled or not
|
|
32
32
|
*/
|
|
33
33
|
disabled: {
|
|
34
|
-
defaultValue
|
|
34
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
35
35
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
36
|
};
|
|
37
|
-
isRequired: import("react-desc").
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* ['horizontal', 'vertical']
|
|
41
41
|
*/
|
|
42
42
|
orientation: {
|
|
43
|
-
defaultValue
|
|
43
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
44
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
45
|
};
|
|
46
|
-
isRequired: import("react-desc").
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* label props
|
|
50
50
|
*/
|
|
51
51
|
labelProps: {
|
|
52
|
-
defaultValue
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
53
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
54
|
};
|
|
55
|
-
isRequired: import("react-desc").
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
@@ -11,10 +11,10 @@ declare const DSComboBox: {
|
|
|
11
11
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
12
|
};
|
|
13
13
|
selectedValues: {
|
|
14
|
-
defaultValue
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
15
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
16
|
};
|
|
17
|
-
isRequired: import("react-desc").
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
18
|
};
|
|
19
19
|
autoFocus: {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
@@ -7,10 +7,10 @@ export declare const propTypes: {
|
|
|
7
7
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
8
|
};
|
|
9
9
|
selectedValues: {
|
|
10
|
-
defaultValue
|
|
10
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
11
11
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
12
|
};
|
|
13
|
-
isRequired: import("react-desc").
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
14
14
|
};
|
|
15
15
|
autoFocus: {
|
|
16
16
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
@@ -23,100 +23,100 @@ declare const DSDateInput: {
|
|
|
23
23
|
}): JSX.Element;
|
|
24
24
|
propTypes: {
|
|
25
25
|
containerProps: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
innerRef: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
className: {
|
|
38
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
40
|
};
|
|
41
|
-
isRequired: import("react-desc").
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
42
|
};
|
|
43
43
|
style: {
|
|
44
|
-
defaultValue
|
|
44
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
45
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
46
|
};
|
|
47
|
-
isRequired: import("react-desc").
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
48
|
};
|
|
49
49
|
onBlur: {
|
|
50
|
-
defaultValue
|
|
50
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
51
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
52
|
};
|
|
53
|
-
isRequired: import("react-desc").
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
54
|
};
|
|
55
55
|
onFocus: {
|
|
56
|
-
defaultValue
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
57
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
58
|
};
|
|
59
|
-
isRequired: import("react-desc").
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
60
|
};
|
|
61
61
|
onClear: {
|
|
62
|
-
defaultValue
|
|
62
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
63
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
64
|
};
|
|
65
|
-
isRequired: import("react-desc").
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
66
|
};
|
|
67
67
|
onKeyDown: {
|
|
68
|
-
defaultValue
|
|
68
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
69
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
70
|
};
|
|
71
|
-
isRequired: import("react-desc").
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
72
|
};
|
|
73
73
|
onChange: {
|
|
74
|
-
defaultValue
|
|
74
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
75
75
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
76
|
};
|
|
77
|
-
isRequired: import("react-desc").
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
78
78
|
};
|
|
79
79
|
onError: {
|
|
80
|
-
defaultValue
|
|
80
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
81
81
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
82
|
};
|
|
83
|
-
isRequired: import("react-desc").
|
|
83
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
84
84
|
};
|
|
85
85
|
format: {
|
|
86
|
-
defaultValue
|
|
86
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
87
87
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
88
88
|
};
|
|
89
|
-
isRequired: import("react-desc").
|
|
89
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
90
90
|
};
|
|
91
91
|
value: {
|
|
92
|
-
defaultValue
|
|
92
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
93
93
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
94
94
|
};
|
|
95
|
-
isRequired: import("react-desc").
|
|
95
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
96
96
|
};
|
|
97
97
|
clearable: {
|
|
98
|
-
defaultValue
|
|
98
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
99
99
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
100
100
|
};
|
|
101
|
-
isRequired: import("react-desc").
|
|
101
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
102
102
|
};
|
|
103
103
|
disabled: {
|
|
104
|
-
defaultValue
|
|
104
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
105
105
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
106
106
|
};
|
|
107
|
-
isRequired: import("react-desc").
|
|
107
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
108
108
|
};
|
|
109
109
|
yearMaxRange: {
|
|
110
|
-
defaultValue
|
|
110
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
111
111
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
112
112
|
};
|
|
113
|
-
isRequired: import("react-desc").
|
|
113
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
114
114
|
};
|
|
115
115
|
yearMinRange: {
|
|
116
|
-
defaultValue
|
|
116
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
117
117
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
118
118
|
};
|
|
119
|
-
isRequired: import("react-desc").
|
|
119
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
122
|
defaultProps: {
|
|
@@ -2,140 +2,172 @@
|
|
|
2
2
|
export declare const props: {
|
|
3
3
|
/** props injected to date input wrapper node */
|
|
4
4
|
containerProps: {
|
|
5
|
-
defaultValue
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
6
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
7
|
};
|
|
8
|
-
isRequired: import("react-desc").
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
9
|
+
* Triggers the onFocus when the component gets the focus
|
|
10
|
+
*/
|
|
9
11
|
};
|
|
10
12
|
/** inner ref for input wrapper */
|
|
11
13
|
innerRef: {
|
|
12
|
-
defaultValue
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
15
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
16
|
};
|
|
15
|
-
isRequired: import("react-desc").
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
18
|
+
* Triggers the onFocus when the component gets the focus
|
|
19
|
+
*/
|
|
16
20
|
};
|
|
17
21
|
/** class for input */
|
|
18
22
|
className: {
|
|
19
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
25
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
27
|
+
* Triggers the onFocus when the component gets the focus
|
|
28
|
+
*/
|
|
23
29
|
};
|
|
24
30
|
/**
|
|
25
31
|
* Set style for the date input
|
|
26
32
|
*/
|
|
27
33
|
style: {
|
|
28
|
-
defaultValue
|
|
34
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
29
35
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
36
|
};
|
|
31
|
-
isRequired: import("react-desc").
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
38
|
+
* Triggers the onFocus when the component gets the focus
|
|
39
|
+
*/
|
|
32
40
|
};
|
|
33
41
|
/**
|
|
34
42
|
* Triggers the onBlur when focus moves out of date input
|
|
35
43
|
*/
|
|
36
44
|
onBlur: {
|
|
37
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
47
|
};
|
|
40
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
49
|
+
* Triggers the onFocus when the component gets the focus
|
|
50
|
+
*/
|
|
41
51
|
};
|
|
42
52
|
/**
|
|
43
53
|
* Triggers the onFocus when the component gets the focus
|
|
44
54
|
*/
|
|
45
55
|
onFocus: {
|
|
46
|
-
defaultValue
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
47
57
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
58
|
};
|
|
49
|
-
isRequired: import("react-desc").
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
60
|
+
* Triggers the onFocus when the component gets the focus
|
|
61
|
+
*/
|
|
50
62
|
};
|
|
51
63
|
/**
|
|
52
64
|
* Triggers the onClear
|
|
53
65
|
*/
|
|
54
66
|
onClear: {
|
|
55
|
-
defaultValue
|
|
67
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
56
68
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
69
|
};
|
|
58
|
-
isRequired: import("react-desc").
|
|
70
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
71
|
+
* Triggers the onFocus when the component gets the focus
|
|
72
|
+
*/
|
|
59
73
|
};
|
|
60
74
|
/**
|
|
61
75
|
* Triggers the onKeyDown
|
|
62
76
|
*/
|
|
63
77
|
onKeyDown: {
|
|
64
|
-
defaultValue
|
|
78
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
65
79
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
80
|
};
|
|
67
|
-
isRequired: import("react-desc").
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
82
|
+
* Triggers the onFocus when the component gets the focus
|
|
83
|
+
*/
|
|
68
84
|
};
|
|
69
85
|
/**
|
|
70
86
|
* Allows a function that is triggered once the date input changes
|
|
71
87
|
*/
|
|
72
88
|
onChange: {
|
|
73
|
-
defaultValue
|
|
89
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
74
90
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
91
|
};
|
|
76
|
-
isRequired: import("react-desc").
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
93
|
+
* Triggers the onFocus when the component gets the focus
|
|
94
|
+
*/
|
|
77
95
|
};
|
|
78
96
|
/**
|
|
79
97
|
* Triggers the onError once one input date is wrong
|
|
80
98
|
*/
|
|
81
99
|
onError: {
|
|
82
|
-
defaultValue
|
|
100
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
83
101
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
102
|
};
|
|
85
|
-
isRequired: import("react-desc").
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
104
|
+
* Triggers the onFocus when the component gets the focus
|
|
105
|
+
*/
|
|
86
106
|
};
|
|
87
107
|
/**
|
|
88
108
|
* Format type for date input
|
|
89
109
|
*/
|
|
90
110
|
format: {
|
|
91
|
-
defaultValue
|
|
111
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
92
112
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
113
|
};
|
|
94
|
-
isRequired: import("react-desc").
|
|
114
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
115
|
+
* Triggers the onFocus when the component gets the focus
|
|
116
|
+
*/
|
|
95
117
|
};
|
|
96
118
|
/**
|
|
97
119
|
* Default value once the component is initialized
|
|
98
120
|
*/
|
|
99
121
|
value: {
|
|
100
|
-
defaultValue
|
|
122
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
101
123
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
124
|
};
|
|
103
|
-
isRequired: import("react-desc").
|
|
125
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
126
|
+
* Triggers the onFocus when the component gets the focus
|
|
127
|
+
*/
|
|
104
128
|
};
|
|
105
129
|
/**
|
|
106
130
|
* Whether the date input is clearable or not
|
|
107
131
|
*/
|
|
108
132
|
clearable: {
|
|
109
|
-
defaultValue
|
|
133
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
110
134
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
111
135
|
};
|
|
112
|
-
isRequired: import("react-desc").
|
|
136
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
137
|
+
* Triggers the onFocus when the component gets the focus
|
|
138
|
+
*/
|
|
113
139
|
};
|
|
114
140
|
/**
|
|
115
141
|
* Whether the date input is disabled or not
|
|
116
142
|
*/
|
|
117
143
|
disabled: {
|
|
118
|
-
defaultValue
|
|
144
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
119
145
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
120
146
|
};
|
|
121
|
-
isRequired: import("react-desc").
|
|
147
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
148
|
+
* Triggers the onFocus when the component gets the focus
|
|
149
|
+
*/
|
|
122
150
|
};
|
|
123
151
|
/**
|
|
124
152
|
* Max year that can be accepted by the date input
|
|
125
153
|
*/
|
|
126
154
|
yearMaxRange: {
|
|
127
|
-
defaultValue
|
|
155
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
128
156
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
157
|
};
|
|
130
|
-
isRequired: import("react-desc").
|
|
158
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
159
|
+
* Triggers the onFocus when the component gets the focus
|
|
160
|
+
*/
|
|
131
161
|
};
|
|
132
162
|
/**
|
|
133
163
|
* Min year that can be accepted by the date input
|
|
134
164
|
*/
|
|
135
165
|
yearMinRange: {
|
|
136
|
-
defaultValue
|
|
166
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
137
167
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
138
168
|
};
|
|
139
|
-
isRequired: import("react-desc").
|
|
169
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
170
|
+
* Triggers the onFocus when the component gets the focus
|
|
171
|
+
*/
|
|
140
172
|
};
|
|
141
173
|
};
|
|
@@ -27,64 +27,64 @@ declare const DSDateInputV2: {
|
|
|
27
27
|
};
|
|
28
28
|
propTypes: {
|
|
29
29
|
containerProps: {
|
|
30
|
-
defaultValue
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
31
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
32
|
};
|
|
33
|
-
isRequired: import("react-desc").
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
34
|
};
|
|
35
35
|
onBlur: {
|
|
36
|
-
defaultValue
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
37
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
38
|
};
|
|
39
|
-
isRequired: import("react-desc").
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
40
|
};
|
|
41
41
|
onFocus: {
|
|
42
|
-
defaultValue
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
43
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
44
|
};
|
|
45
|
-
isRequired: import("react-desc").
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
46
|
};
|
|
47
47
|
onKeyDown: {
|
|
48
|
-
defaultValue
|
|
48
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
49
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
50
|
};
|
|
51
|
-
isRequired: import("react-desc").
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
52
|
};
|
|
53
53
|
onChange: {
|
|
54
|
-
defaultValue
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
55
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
56
|
};
|
|
57
|
-
isRequired: import("react-desc").
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
58
|
};
|
|
59
59
|
onDateChange: {
|
|
60
|
-
defaultValue
|
|
60
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
61
61
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
62
|
};
|
|
63
|
-
isRequired: import("react-desc").
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
64
64
|
};
|
|
65
65
|
onError: {
|
|
66
|
-
defaultValue
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
67
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
68
|
};
|
|
69
|
-
isRequired: import("react-desc").
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
70
|
};
|
|
71
71
|
value: {
|
|
72
|
-
defaultValue
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
73
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
74
|
};
|
|
75
|
-
isRequired: import("react-desc").
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
76
|
};
|
|
77
77
|
disabled: {
|
|
78
|
-
defaultValue
|
|
78
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
79
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
80
|
};
|
|
81
|
-
isRequired: import("react-desc").
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
82
82
|
};
|
|
83
83
|
tabIndex: {
|
|
84
|
-
defaultValue
|
|
84
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
85
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
86
|
};
|
|
87
|
-
isRequired: import("react-desc").
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
};
|
|
@@ -2,46 +2,46 @@
|
|
|
2
2
|
export declare const props: {
|
|
3
3
|
/** Props to inject to date input wrapper */
|
|
4
4
|
containerProps: {
|
|
5
|
-
defaultValue
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
6
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
7
|
};
|
|
8
|
-
isRequired: import("react-desc").
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Triggers the onBlur when focus moves out of date input
|
|
12
12
|
*/
|
|
13
13
|
onBlur: {
|
|
14
|
-
defaultValue
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
15
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
16
|
};
|
|
17
|
-
isRequired: import("react-desc").
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* Triggers the onFocus when the component gets the focus
|
|
21
21
|
*/
|
|
22
22
|
onFocus: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Triggers the onKeyDown
|
|
30
30
|
*/
|
|
31
31
|
onKeyDown: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* Allows a function that is triggered once the date input changes
|
|
39
39
|
*/
|
|
40
40
|
onChange: {
|
|
41
|
-
defaultValue
|
|
41
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
42
42
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
43
|
};
|
|
44
|
-
isRequired: import("react-desc").
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* Triggers when the date is completely set and only once you have blurred the
|
|
@@ -49,46 +49,46 @@ export declare const props: {
|
|
|
49
49
|
* are already set, once you completely set the day it will trigger.
|
|
50
50
|
*/
|
|
51
51
|
onDateChange: {
|
|
52
|
-
defaultValue
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
53
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
54
|
};
|
|
55
|
-
isRequired: import("react-desc").
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
58
|
* Triggers the onError once one input date is wrong
|
|
59
59
|
*/
|
|
60
60
|
onError: {
|
|
61
|
-
defaultValue
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
62
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
63
|
};
|
|
64
|
-
isRequired: import("react-desc").
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
67
|
* Default value once the component is initialized MMDDYYYY
|
|
68
68
|
*/
|
|
69
69
|
value: {
|
|
70
|
-
defaultValue
|
|
70
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
71
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
72
|
};
|
|
73
|
-
isRequired: import("react-desc").
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
74
|
};
|
|
75
75
|
/**
|
|
76
76
|
* Whether the date input is disabled or not
|
|
77
77
|
*/
|
|
78
78
|
disabled: {
|
|
79
|
-
defaultValue
|
|
79
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
80
80
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
81
|
};
|
|
82
|
-
isRequired: import("react-desc").
|
|
82
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* tab index
|
|
86
86
|
*/
|
|
87
87
|
tabIndex: {
|
|
88
|
-
defaultValue
|
|
88
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
89
89
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
90
90
|
};
|
|
91
|
-
isRequired: import("react-desc").
|
|
91
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
export declare const defaultProps: {
|