@elliemae/ds-form 2.0.0-rc.6 → 2.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 (108) hide show
  1. package/cjs/ComboBox/v1/DSComboBox.js +18 -22
  2. package/cjs/ComboBox/v1/withSelectStringValueConverter.js +3 -4
  3. package/cjs/ComboBox/v3/ComboBoxCTX.js +16 -17
  4. package/cjs/ComboBox/v3/config/useComboBox.js +6 -6
  5. package/cjs/ComboBox/v3/parts/container/Container.js +1 -1
  6. package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
  7. package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
  8. package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
  9. package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +7 -8
  10. package/cjs/ComboBox/v3/parts/menu-list/styled.js +8 -4
  11. package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
  12. package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
  13. package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
  14. package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
  15. package/cjs/FormItem/ValidationFieldWrapper.js +2 -3
  16. package/cjs/Input/InputAddonWrapper.js +2 -3
  17. package/cjs/Input/InputImpl.js +16 -18
  18. package/cjs/InputGroup/AddonWrapper.js +4 -6
  19. package/cjs/InputMask/DSInputMaskDeprecated.js +10 -12
  20. package/cjs/SearchBox/NavSearchBox.js +5 -1
  21. package/cjs/SearchBox/withSearchable.js +3 -5
  22. package/cjs/Toggle/DSToggleImpl.js +28 -28
  23. package/esm/ComboBox/v1/DSComboBox.js +17 -21
  24. package/esm/ComboBox/v1/withSelectStringValueConverter.js +3 -4
  25. package/esm/ComboBox/v3/ComboBoxCTX.js +5 -6
  26. package/esm/ComboBox/v3/config/useComboBox.js +6 -6
  27. package/esm/ComboBox/v3/parts/container/Container.js +1 -1
  28. package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
  29. package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
  30. package/esm/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
  31. package/esm/ComboBox/v3/parts/menu-list/MenuList.js +8 -9
  32. package/esm/ComboBox/v3/parts/menu-list/styled.js +8 -4
  33. package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
  34. package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
  35. package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
  36. package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
  37. package/esm/FormItem/ValidationFieldWrapper.js +2 -3
  38. package/esm/Input/InputAddonWrapper.js +2 -3
  39. package/esm/Input/InputImpl.js +15 -17
  40. package/esm/InputGroup/AddonWrapper.js +5 -7
  41. package/esm/InputMask/DSInputMaskDeprecated.js +10 -12
  42. package/esm/SearchBox/NavSearchBox.js +5 -1
  43. package/esm/SearchBox/withSearchable.js +2 -4
  44. package/esm/Toggle/DSToggleImpl.js +28 -28
  45. package/package.json +31 -23
  46. package/types/Checkbox/DSCheckbox.d.ts +78 -13
  47. package/types/Checkbox/props.d.ts +58 -12
  48. package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
  49. package/types/CheckboxGroup/props.d.ts +37 -6
  50. package/types/ComboBox/v2/Combobox.d.ts +56 -1
  51. package/types/ComboBox/v3/ComboBox.d.ts +54 -16
  52. package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +3 -3
  53. package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
  54. package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
  55. package/types/ComboBox/v3/parts/menu-list/styled.d.ts +4 -3
  56. package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +1 -1
  57. package/types/ComboBox/v3/propTypes.d.ts +49 -15
  58. package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -1
  59. package/types/ComboBox/v3/utils/listHelper.d.ts +1 -1
  60. package/types/DateInput/DSDateInput.d.ts +97 -16
  61. package/types/DateInput/props.d.ts +97 -16
  62. package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
  63. package/types/DateInputV2/components/props.d.ts +61 -10
  64. package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
  65. package/types/FormItem/DSFormItemLayout.d.ts +390 -60
  66. package/types/FormItem/Error/DSError.d.ts +21 -3
  67. package/types/FormItem/defaultProps.d.ts +118 -20
  68. package/types/FormItem/props.d.ts +229 -39
  69. package/types/InputGroup/DSInputGroup.d.ts +56 -8
  70. package/types/InputGroup/props.d.ts +43 -7
  71. package/types/InputMask/DSInputMask.d.ts +172 -30
  72. package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
  73. package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
  74. package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
  75. package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
  76. package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
  77. package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
  78. package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
  79. package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
  80. package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
  81. package/types/InputMask/props.d.ts +172 -30
  82. package/types/InputProtected/DSInputProtected.d.ts +56 -7
  83. package/types/InputProtected/props.d.ts +43 -8
  84. package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
  85. package/types/LargeInputText/props.d.ts +163 -27
  86. package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
  87. package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
  88. package/types/MenuItem/components/Section/index.d.ts +4 -1
  89. package/types/MenuItem/components/Section/props.d.ts +4 -1
  90. package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
  91. package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
  92. package/types/MenuItem/props.d.ts +7 -2
  93. package/types/Radio/DSRadio.d.ts +79 -13
  94. package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
  95. package/types/RadioGroup/props.d.ts +37 -6
  96. package/types/SearchBox/DSSearchBox.d.ts +146 -21
  97. package/types/SearchBox/NavSearchBox.d.ts +18 -3
  98. package/types/SearchBox/SButton.d.ts +13 -2
  99. package/types/SearchBox/index.d.ts +1 -1
  100. package/types/SearchBox/props.d.ts +133 -22
  101. package/types/SearchBox/styled.d.ts +1 -49
  102. package/types/TextBox/DSTextBox.d.ts +146 -21
  103. package/types/TimeInput/DSTimeInput.d.ts +83 -12
  104. package/types/TimeInput/utils.d.ts +1 -1
  105. package/types/Toggle/DSToggle.d.ts +84 -12
  106. package/cjs/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -31
  107. package/esm/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -27
  108. package/types/ComboBox/v3/utils/hooks/useOnWindowResize.d.ts +0 -5
@@ -1,211 +1,7 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledHeaderListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const StyledSeparator: import("styled-components").StyledComponent<{
4
- ({ containerProps, dashed, margin, orientation, type, position, className, style, }: {
5
- containerProps: any;
6
- dashed: any;
7
- margin: any;
8
- orientation: any;
9
- type: any;
10
- position: any;
11
- className: any;
12
- style: any;
13
- }): JSX.Element;
14
- defaultProps: {
15
- containerProps: {};
16
- dashed: boolean;
17
- margin: string;
18
- orientation: string;
19
- type: string;
20
- position: string;
21
- };
22
- propTypes: {
23
- className: any;
24
- style: any;
25
- containerProps: any;
26
- dashed: any;
27
- margin: any;
28
- orientation: any;
29
- type: any;
30
- position: any;
31
- };
32
- }, import("styled-components").DefaultTheme, {}, never>;
33
- export declare const StyledButton: import("styled-components").StyledComponent<{
34
- ({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
35
- [x: string]: any;
36
- innerRef: any;
37
- disabled: any;
38
- buttonType: any;
39
- fluidWidth: any;
40
- size: any;
41
- labelText: any;
42
- icon: any;
43
- onBlur: any;
44
- onClick: any;
45
- onKeyPress: any;
46
- leftIcon: any;
47
- tabIndex: any;
48
- variant: any;
49
- intent: any;
50
- containerProps: any;
51
- className: any;
52
- as: any;
53
- type: any;
54
- }): JSX.Element;
55
- defaultProps: {
56
- disabled: boolean;
57
- fluidWidth: boolean;
58
- labelText: string;
59
- icon: null;
60
- onBlur: () => null;
61
- onClick: () => null;
62
- onKeyPress: () => null;
63
- leftIcon: null;
64
- tabIndex: number;
65
- variant: string;
66
- containerProps: {};
67
- as: string;
68
- type: string;
69
- };
70
- propTypes: {
71
- tabIndex: any;
72
- className: any;
73
- 'aria-disabled': any;
74
- as: any;
75
- disabled: any;
76
- fluidWidth: any;
77
- labelText: any;
78
- icon: any;
79
- leftIcon: any;
80
- buttonType: any;
81
- size: any;
82
- type: any;
83
- variant: any;
84
- innerRef: any;
85
- onBlur: any;
86
- intent: any;
87
- containerProps: any;
88
- onClick: any;
89
- onKeyPress: any;
90
- };
91
- }, import("styled-components").DefaultTheme, {}, never>;
92
- export declare const StyledButtonSelection: import("styled-components").StyledComponent<{
93
- ({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
94
- [x: string]: any;
95
- innerRef: any;
96
- disabled: any;
97
- buttonType: any;
98
- fluidWidth: any;
99
- size: any;
100
- labelText: any;
101
- icon: any;
102
- onBlur: any;
103
- onClick: any;
104
- onKeyPress: any;
105
- leftIcon: any;
106
- tabIndex: any;
107
- variant: any;
108
- intent: any;
109
- containerProps: any;
110
- className: any;
111
- as: any;
112
- type: any;
113
- }): JSX.Element;
114
- defaultProps: {
115
- disabled: boolean;
116
- fluidWidth: boolean;
117
- labelText: string;
118
- icon: null;
119
- onBlur: () => null;
120
- onClick: () => null;
121
- onKeyPress: () => null;
122
- leftIcon: null;
123
- tabIndex: number;
124
- variant: string;
125
- containerProps: {};
126
- as: string;
127
- type: string;
128
- };
129
- propTypes: {
130
- tabIndex: any;
131
- className: any;
132
- 'aria-disabled': any;
133
- as: any;
134
- disabled: any;
135
- fluidWidth: any;
136
- labelText: any;
137
- icon: any;
138
- leftIcon: any;
139
- buttonType: any;
140
- size: any;
141
- type: any;
142
- variant: any;
143
- innerRef: any;
144
- onBlur: any;
145
- intent: any;
146
- containerProps: any;
147
- onClick: any;
148
- onKeyPress: any;
149
- };
150
- }, import("styled-components").DefaultTheme, {}, never>;
151
- export declare const StyledShowAllButton: import("styled-components").StyledComponent<{
152
- ({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
153
- [x: string]: any;
154
- innerRef: any;
155
- disabled: any;
156
- buttonType: any;
157
- fluidWidth: any;
158
- size: any;
159
- labelText: any;
160
- icon: any;
161
- onBlur: any;
162
- onClick: any;
163
- onKeyPress: any;
164
- leftIcon: any;
165
- tabIndex: any;
166
- variant: any;
167
- intent: any;
168
- containerProps: any;
169
- className: any;
170
- as: any;
171
- type: any;
172
- }): JSX.Element;
173
- defaultProps: {
174
- disabled: boolean;
175
- fluidWidth: boolean;
176
- labelText: string;
177
- icon: null;
178
- onBlur: () => null;
179
- onClick: () => null;
180
- onKeyPress: () => null;
181
- leftIcon: null;
182
- tabIndex: number;
183
- variant: string;
184
- containerProps: {};
185
- as: string;
186
- type: string;
187
- };
188
- propTypes: {
189
- tabIndex: any;
190
- className: any;
191
- 'aria-disabled': any;
192
- as: any;
193
- disabled: any;
194
- fluidWidth: any;
195
- labelText: any;
196
- icon: any;
197
- leftIcon: any;
198
- buttonType: any;
199
- size: any;
200
- type: any;
201
- variant: any;
202
- innerRef: any;
203
- onBlur: any;
204
- intent: any;
205
- containerProps: any;
206
- onClick: any;
207
- onKeyPress: any;
208
- };
209
- }, import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledSeparator: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
3
+ export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
4
+ export declare const StyledButtonSelection: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
5
+ export declare const StyledShowAllButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
210
6
  export declare const StyledSelectedItems: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
211
7
  export declare const StyledNoOptionsSelected: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,9 +1,10 @@
1
1
  export declare const StyledListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
- inline: boolean;
2
+ inline: boolean | undefined;
3
3
  minWidth: string | number;
4
4
  }, never>;
5
5
  export declare const StyledList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
6
6
  export declare const StyledVirtualListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
- inline: boolean;
8
- maxHeight: string | number;
7
+ inline: boolean | undefined;
8
+ maxHeight: number;
9
+ withHeader: boolean;
9
10
  }, never>;
@@ -1,2 +1,2 @@
1
- declare const useItemRenderer: () => any;
1
+ declare const useItemRenderer: () => unknown;
2
2
  export { useItemRenderer };
@@ -1,17 +1,51 @@
1
+ /// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
- placeholder: any;
3
- options: any;
4
- selectedValues: any;
5
- autoFocus: any;
6
- hasError: any;
7
- onChange: any;
8
- onSelectAll: any;
9
- onFilter: any;
10
- onCreate: any;
11
- onClearAll: any;
12
- onMenuOpen: any;
13
- inputMinWidth: any;
14
- menuMinWidth: any;
15
- menuMaxHeight: any;
16
- withToggle: any;
3
+ placeholder: {
4
+ deprecated: import("react-desc").PropTypesDescValidator;
5
+ };
6
+ options: {
7
+ deprecated: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ selectedValues: {
10
+ defaultValue<T = unknown>(arg: T): {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
13
+ isRequired: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ autoFocus: {
16
+ deprecated: import("react-desc").PropTypesDescValidator;
17
+ };
18
+ hasError: {
19
+ deprecated: import("react-desc").PropTypesDescValidator;
20
+ };
21
+ onChange: {
22
+ deprecated: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ onSelectAll: {
25
+ deprecated: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ onFilter: {
28
+ deprecated: import("react-desc").PropTypesDescValidator;
29
+ };
30
+ onCreate: {
31
+ deprecated: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ onClearAll: {
34
+ deprecated: import("react-desc").PropTypesDescValidator;
35
+ };
36
+ onMenuOpen: {
37
+ deprecated: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ inputMinWidth: {
40
+ deprecated: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ menuMinWidth: {
43
+ deprecated: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ menuMaxHeight: {
46
+ deprecated: import("react-desc").PropTypesDescValidator;
47
+ };
48
+ withToggle: {
49
+ deprecated: import("react-desc").PropTypesDescValidator;
50
+ };
17
51
  };
@@ -1 +1,4 @@
1
- export declare const useKeyboardNavigation: () => React.KeyboardEventHandler;
1
+ /// <reference types="react" />
2
+ export declare const useKeyboardNavigation: () => {
3
+ onInputKeyDown: import("react").KeyboardEventHandler<Element>;
4
+ };
@@ -1,4 +1,4 @@
1
- import { CBOptionsT, CBOptionT } from '../index.d';
1
+ import { CBOptionT } from '../index.d';
2
2
  export declare const getSelectableOptions: (options: Array<CBOptionT>) => Array<CBOptionT>;
3
3
  export declare const getOptions: (options: Array<CBOptionT>) => Array<CBOptionT>;
4
4
  export declare const isSelectedValueEmpty: (value: CBOptionT | Array<CBOptionT>) => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import DateInputImpl from './components/DateInputImpl';
3
4
  declare const DSDateInput: {
@@ -21,22 +22,102 @@ declare const DSDateInput: {
21
22
  INTERNAL_V2_NO_MUTATION: any;
22
23
  }): JSX.Element;
23
24
  propTypes: {
24
- containerProps: any;
25
- innerRef: any;
26
- className: any;
27
- style: any;
28
- onBlur: any;
29
- onFocus: any;
30
- onClear: any;
31
- onKeyDown: any;
32
- onChange: any;
33
- onError: any;
34
- format: any;
35
- value: any;
36
- clearable: any;
37
- disabled: any;
38
- yearMaxRange: any;
39
- yearMinRange: any;
25
+ containerProps: {
26
+ defaultValue<T = unknown>(arg: T): {
27
+ deprecated: import("react-desc").PropTypesDescValidator;
28
+ };
29
+ isRequired: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ innerRef: {
32
+ defaultValue<T = unknown>(arg: T): {
33
+ deprecated: import("react-desc").PropTypesDescValidator;
34
+ };
35
+ isRequired: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ className: {
38
+ defaultValue<T = unknown>(arg: T): {
39
+ deprecated: import("react-desc").PropTypesDescValidator;
40
+ };
41
+ isRequired: import("react-desc").PropTypesDescValidator;
42
+ };
43
+ style: {
44
+ defaultValue<T = unknown>(arg: T): {
45
+ deprecated: import("react-desc").PropTypesDescValidator;
46
+ };
47
+ isRequired: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ onBlur: {
50
+ defaultValue<T = unknown>(arg: T): {
51
+ deprecated: import("react-desc").PropTypesDescValidator;
52
+ };
53
+ isRequired: import("react-desc").PropTypesDescValidator;
54
+ };
55
+ onFocus: {
56
+ defaultValue<T = unknown>(arg: T): {
57
+ deprecated: import("react-desc").PropTypesDescValidator;
58
+ };
59
+ isRequired: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ onClear: {
62
+ defaultValue<T = unknown>(arg: T): {
63
+ deprecated: import("react-desc").PropTypesDescValidator;
64
+ };
65
+ isRequired: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ onKeyDown: {
68
+ defaultValue<T = unknown>(arg: T): {
69
+ deprecated: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ isRequired: import("react-desc").PropTypesDescValidator;
72
+ };
73
+ onChange: {
74
+ defaultValue<T = unknown>(arg: T): {
75
+ deprecated: import("react-desc").PropTypesDescValidator;
76
+ };
77
+ isRequired: import("react-desc").PropTypesDescValidator;
78
+ };
79
+ onError: {
80
+ defaultValue<T = unknown>(arg: T): {
81
+ deprecated: import("react-desc").PropTypesDescValidator;
82
+ };
83
+ isRequired: import("react-desc").PropTypesDescValidator;
84
+ };
85
+ format: {
86
+ defaultValue<T = unknown>(arg: T): {
87
+ deprecated: import("react-desc").PropTypesDescValidator;
88
+ };
89
+ isRequired: import("react-desc").PropTypesDescValidator;
90
+ };
91
+ value: {
92
+ defaultValue<T = unknown>(arg: T): {
93
+ deprecated: import("react-desc").PropTypesDescValidator;
94
+ };
95
+ isRequired: import("react-desc").PropTypesDescValidator;
96
+ };
97
+ clearable: {
98
+ defaultValue<T = unknown>(arg: T): {
99
+ deprecated: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ isRequired: import("react-desc").PropTypesDescValidator;
102
+ };
103
+ disabled: {
104
+ defaultValue<T = unknown>(arg: T): {
105
+ deprecated: import("react-desc").PropTypesDescValidator;
106
+ };
107
+ isRequired: import("react-desc").PropTypesDescValidator;
108
+ };
109
+ yearMaxRange: {
110
+ defaultValue<T = unknown>(arg: T): {
111
+ deprecated: import("react-desc").PropTypesDescValidator;
112
+ };
113
+ isRequired: import("react-desc").PropTypesDescValidator;
114
+ };
115
+ yearMinRange: {
116
+ defaultValue<T = unknown>(arg: T): {
117
+ deprecated: import("react-desc").PropTypesDescValidator;
118
+ };
119
+ isRequired: import("react-desc").PropTypesDescValidator;
120
+ };
40
121
  };
41
122
  defaultProps: {
42
123
  className: string;
@@ -1,60 +1,141 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const props: {
2
3
  /** props injected to date input wrapper node */
3
- containerProps: any;
4
+ containerProps: {
5
+ defaultValue<T = unknown>(arg: T): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValidator;
9
+ };
4
10
  /** inner ref for input wrapper */
5
- innerRef: any;
11
+ innerRef: {
12
+ defaultValue<T = unknown>(arg: T): {
13
+ deprecated: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ isRequired: import("react-desc").PropTypesDescValidator;
16
+ };
6
17
  /** class for input */
7
- className: any;
18
+ className: {
19
+ defaultValue<T = unknown>(arg: T): {
20
+ deprecated: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ isRequired: import("react-desc").PropTypesDescValidator;
23
+ };
8
24
  /**
9
25
  * Set style for the date input
10
26
  */
11
- style: any;
27
+ style: {
28
+ defaultValue<T = unknown>(arg: T): {
29
+ deprecated: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ isRequired: import("react-desc").PropTypesDescValidator;
32
+ };
12
33
  /**
13
34
  * Triggers the onBlur when focus moves out of date input
14
35
  */
15
- onBlur: any;
36
+ onBlur: {
37
+ defaultValue<T = unknown>(arg: T): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValidator;
41
+ };
16
42
  /**
17
43
  * Triggers the onFocus when the component gets the focus
18
44
  */
19
- onFocus: any;
45
+ onFocus: {
46
+ defaultValue<T = unknown>(arg: T): {
47
+ deprecated: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ isRequired: import("react-desc").PropTypesDescValidator;
50
+ };
20
51
  /**
21
52
  * Triggers the onClear
22
53
  */
23
- onClear: any;
54
+ onClear: {
55
+ defaultValue<T = unknown>(arg: T): {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ isRequired: import("react-desc").PropTypesDescValidator;
59
+ };
24
60
  /**
25
61
  * Triggers the onKeyDown
26
62
  */
27
- onKeyDown: any;
63
+ onKeyDown: {
64
+ defaultValue<T = unknown>(arg: T): {
65
+ deprecated: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ isRequired: import("react-desc").PropTypesDescValidator;
68
+ };
28
69
  /**
29
70
  * Allows a function that is triggered once the date input changes
30
71
  */
31
- onChange: any;
72
+ onChange: {
73
+ defaultValue<T = unknown>(arg: T): {
74
+ deprecated: import("react-desc").PropTypesDescValidator;
75
+ };
76
+ isRequired: import("react-desc").PropTypesDescValidator;
77
+ };
32
78
  /**
33
79
  * Triggers the onError once one input date is wrong
34
80
  */
35
- onError: any;
81
+ onError: {
82
+ defaultValue<T = unknown>(arg: T): {
83
+ deprecated: import("react-desc").PropTypesDescValidator;
84
+ };
85
+ isRequired: import("react-desc").PropTypesDescValidator;
86
+ };
36
87
  /**
37
88
  * Format type for date input
38
89
  */
39
- format: any;
90
+ format: {
91
+ defaultValue<T = unknown>(arg: T): {
92
+ deprecated: import("react-desc").PropTypesDescValidator;
93
+ };
94
+ isRequired: import("react-desc").PropTypesDescValidator;
95
+ };
40
96
  /**
41
97
  * Default value once the component is initialized
42
98
  */
43
- value: any;
99
+ value: {
100
+ defaultValue<T = unknown>(arg: T): {
101
+ deprecated: import("react-desc").PropTypesDescValidator;
102
+ };
103
+ isRequired: import("react-desc").PropTypesDescValidator;
104
+ };
44
105
  /**
45
106
  * Whether the date input is clearable or not
46
107
  */
47
- clearable: any;
108
+ clearable: {
109
+ defaultValue<T = unknown>(arg: T): {
110
+ deprecated: import("react-desc").PropTypesDescValidator;
111
+ };
112
+ isRequired: import("react-desc").PropTypesDescValidator;
113
+ };
48
114
  /**
49
115
  * Whether the date input is disabled or not
50
116
  */
51
- disabled: any;
117
+ disabled: {
118
+ defaultValue<T = unknown>(arg: T): {
119
+ deprecated: import("react-desc").PropTypesDescValidator;
120
+ };
121
+ isRequired: import("react-desc").PropTypesDescValidator;
122
+ };
52
123
  /**
53
124
  * Max year that can be accepted by the date input
54
125
  */
55
- yearMaxRange: any;
126
+ yearMaxRange: {
127
+ defaultValue<T = unknown>(arg: T): {
128
+ deprecated: import("react-desc").PropTypesDescValidator;
129
+ };
130
+ isRequired: import("react-desc").PropTypesDescValidator;
131
+ };
56
132
  /**
57
133
  * Min year that can be accepted by the date input
58
134
  */
59
- yearMinRange: any;
135
+ yearMinRange: {
136
+ defaultValue<T = unknown>(arg: T): {
137
+ deprecated: import("react-desc").PropTypesDescValidator;
138
+ };
139
+ isRequired: import("react-desc").PropTypesDescValidator;
140
+ };
60
141
  };