@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.
Files changed (55) hide show
  1. package/package.json +17 -17
  2. package/types/Checkbox/DSCheckbox.d.ts +78 -13
  3. package/types/Checkbox/props.d.ts +58 -12
  4. package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
  5. package/types/CheckboxGroup/props.d.ts +37 -6
  6. package/types/ComboBox/v2/Combobox.d.ts +56 -1
  7. package/types/ComboBox/v3/ComboBox.d.ts +54 -16
  8. package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
  9. package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
  10. package/types/ComboBox/v3/propTypes.d.ts +49 -15
  11. package/types/DateInput/DSDateInput.d.ts +97 -16
  12. package/types/DateInput/props.d.ts +97 -16
  13. package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
  14. package/types/DateInputV2/components/props.d.ts +61 -10
  15. package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
  16. package/types/FormItem/DSFormItemLayout.d.ts +390 -60
  17. package/types/FormItem/Error/DSError.d.ts +21 -3
  18. package/types/FormItem/defaultProps.d.ts +118 -20
  19. package/types/FormItem/props.d.ts +229 -39
  20. package/types/InputGroup/DSInputGroup.d.ts +56 -8
  21. package/types/InputGroup/props.d.ts +43 -7
  22. package/types/InputMask/DSInputMask.d.ts +172 -30
  23. package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
  24. package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
  25. package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
  26. package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
  27. package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
  28. package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
  29. package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
  30. package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
  31. package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
  32. package/types/InputMask/props.d.ts +172 -30
  33. package/types/InputProtected/DSInputProtected.d.ts +56 -7
  34. package/types/InputProtected/props.d.ts +43 -8
  35. package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
  36. package/types/LargeInputText/props.d.ts +163 -27
  37. package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
  38. package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
  39. package/types/MenuItem/components/Section/index.d.ts +4 -1
  40. package/types/MenuItem/components/Section/props.d.ts +4 -1
  41. package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
  42. package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
  43. package/types/MenuItem/props.d.ts +7 -2
  44. package/types/Radio/DSRadio.d.ts +79 -13
  45. package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
  46. package/types/RadioGroup/props.d.ts +37 -6
  47. package/types/SearchBox/DSSearchBox.d.ts +146 -21
  48. package/types/SearchBox/NavSearchBox.d.ts +18 -3
  49. package/types/SearchBox/SButton.d.ts +13 -2
  50. package/types/SearchBox/props.d.ts +133 -22
  51. package/types/SearchBox/styled.d.ts +1 -49
  52. package/types/TextBox/DSTextBox.d.ts +146 -21
  53. package/types/TimeInput/DSTimeInput.d.ts +83 -12
  54. package/types/TimeInput/utils.d.ts +1 -1
  55. package/types/Toggle/DSToggle.d.ts +84 -12
@@ -1,44 +1,95 @@
1
+ /// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const props: {
2
3
  /** Props to inject to date input wrapper */
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
  /**
5
11
  * Triggers the onBlur when focus moves out of date input
6
12
  */
7
- onBlur: any;
13
+ onBlur: {
14
+ defaultValue<T = unknown>(arg: T): {
15
+ deprecated: import("react-desc").PropTypesDescValidator;
16
+ };
17
+ isRequired: import("react-desc").PropTypesDescValidator;
18
+ };
8
19
  /**
9
20
  * Triggers the onFocus when the component gets the focus
10
21
  */
11
- onFocus: any;
22
+ onFocus: {
23
+ defaultValue<T = unknown>(arg: T): {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ isRequired: import("react-desc").PropTypesDescValidator;
27
+ };
12
28
  /**
13
29
  * Triggers the onKeyDown
14
30
  */
15
- onKeyDown: any;
31
+ onKeyDown: {
32
+ defaultValue<T = unknown>(arg: T): {
33
+ deprecated: import("react-desc").PropTypesDescValidator;
34
+ };
35
+ isRequired: import("react-desc").PropTypesDescValidator;
36
+ };
16
37
  /**
17
38
  * Allows a function that is triggered once the date input changes
18
39
  */
19
- onChange: any;
40
+ onChange: {
41
+ defaultValue<T = unknown>(arg: T): {
42
+ deprecated: import("react-desc").PropTypesDescValidator;
43
+ };
44
+ isRequired: import("react-desc").PropTypesDescValidator;
45
+ };
20
46
  /**
21
47
  * Triggers when the date is completely set and only once you have blurred the
22
48
  * corresponding input. For example if you are editing the day and the year and month
23
49
  * are already set, once you completely set the day it will trigger.
24
50
  */
25
- onDateChange: any;
51
+ onDateChange: {
52
+ defaultValue<T = unknown>(arg: T): {
53
+ deprecated: import("react-desc").PropTypesDescValidator;
54
+ };
55
+ isRequired: import("react-desc").PropTypesDescValidator;
56
+ };
26
57
  /**
27
58
  * Triggers the onError once one input date is wrong
28
59
  */
29
- onError: any;
60
+ onError: {
61
+ defaultValue<T = unknown>(arg: T): {
62
+ deprecated: import("react-desc").PropTypesDescValidator;
63
+ };
64
+ isRequired: import("react-desc").PropTypesDescValidator;
65
+ };
30
66
  /**
31
67
  * Default value once the component is initialized MMDDYYYY
32
68
  */
33
- value: any;
69
+ value: {
70
+ defaultValue<T = unknown>(arg: T): {
71
+ deprecated: import("react-desc").PropTypesDescValidator;
72
+ };
73
+ isRequired: import("react-desc").PropTypesDescValidator;
74
+ };
34
75
  /**
35
76
  * Whether the date input is disabled or not
36
77
  */
37
- disabled: any;
78
+ disabled: {
79
+ defaultValue<T = unknown>(arg: T): {
80
+ deprecated: import("react-desc").PropTypesDescValidator;
81
+ };
82
+ isRequired: import("react-desc").PropTypesDescValidator;
83
+ };
38
84
  /**
39
85
  * tab index
40
86
  */
41
- tabIndex: any;
87
+ tabIndex: {
88
+ defaultValue<T = unknown>(arg: T): {
89
+ deprecated: import("react-desc").PropTypesDescValidator;
90
+ };
91
+ isRequired: import("react-desc").PropTypesDescValidator;
92
+ };
42
93
  };
43
94
  export declare const defaultProps: {
44
95
  onFocus: (...args: any[]) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const DSFloatingLabelInput: ({ containerProps, arialLabel, innerRef, className, extraInputProps, inputComponent, value, labelComponent, labelText, onChange, onBlur, onFocus, isOpen, hasError, readOnly, disabled, required, optional, mask, useSubfix, }: {
3
4
  containerProps?: {} | undefined;
@@ -31,26 +32,123 @@ declare const DSFloatingLabelInput: ({ containerProps, arialLabel, innerRef, cla
31
32
  id: any;
32
33
  }): JSX.Element;
33
34
  propTypes: {
34
- containerProps: any;
35
- autoFocus: any;
36
- disabled: any;
37
- maxLength: any;
38
- minLength: any;
39
- fluidWidth: any;
40
- placeholder: any;
41
- value: any;
42
- hasError: any;
43
- readOnly: any;
44
- min: any;
45
- max: any;
46
- clearable: any;
47
- leftComponent: any;
48
- rightComponent: any;
49
- required: any;
50
- variant: any;
51
- type: any;
52
- innerRef: any;
53
- disableTooltip: any;
35
+ containerProps: {
36
+ defaultValue<T = unknown>(arg: T): {
37
+ deprecated: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ isRequired: import("react-desc").PropTypesDescValidator;
40
+ };
41
+ autoFocus: {
42
+ defaultValue<T = unknown>(arg: T): {
43
+ deprecated: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ isRequired: import("react-desc").PropTypesDescValidator;
46
+ };
47
+ disabled: {
48
+ defaultValue<T = unknown>(arg: T): {
49
+ deprecated: import("react-desc").PropTypesDescValidator;
50
+ };
51
+ isRequired: import("react-desc").PropTypesDescValidator;
52
+ };
53
+ maxLength: {
54
+ defaultValue<T = unknown>(arg: T): {
55
+ deprecated: import("react-desc").PropTypesDescValidator;
56
+ };
57
+ isRequired: import("react-desc").PropTypesDescValidator;
58
+ };
59
+ minLength: {
60
+ defaultValue<T = unknown>(arg: T): {
61
+ deprecated: import("react-desc").PropTypesDescValidator;
62
+ };
63
+ isRequired: import("react-desc").PropTypesDescValidator;
64
+ };
65
+ fluidWidth: {
66
+ defaultValue<T = unknown>(arg: T): {
67
+ deprecated: import("react-desc").PropTypesDescValidator;
68
+ };
69
+ isRequired: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ placeholder: {
72
+ defaultValue<T = unknown>(arg: T): {
73
+ deprecated: import("react-desc").PropTypesDescValidator;
74
+ };
75
+ isRequired: import("react-desc").PropTypesDescValidator;
76
+ };
77
+ value: {
78
+ defaultValue<T = unknown>(arg: T): {
79
+ deprecated: import("react-desc").PropTypesDescValidator;
80
+ };
81
+ isRequired: import("react-desc").PropTypesDescValidator;
82
+ };
83
+ hasError: {
84
+ defaultValue<T = unknown>(arg: T): {
85
+ deprecated: import("react-desc").PropTypesDescValidator;
86
+ };
87
+ isRequired: import("react-desc").PropTypesDescValidator;
88
+ };
89
+ readOnly: {
90
+ defaultValue<T = unknown>(arg: T): {
91
+ deprecated: import("react-desc").PropTypesDescValidator;
92
+ };
93
+ isRequired: import("react-desc").PropTypesDescValidator;
94
+ };
95
+ min: {
96
+ defaultValue<T = unknown>(arg: T): {
97
+ deprecated: import("react-desc").PropTypesDescValidator;
98
+ };
99
+ isRequired: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ max: {
102
+ defaultValue<T = unknown>(arg: T): {
103
+ deprecated: import("react-desc").PropTypesDescValidator;
104
+ };
105
+ isRequired: import("react-desc").PropTypesDescValidator;
106
+ };
107
+ clearable: {
108
+ defaultValue<T = unknown>(arg: T): {
109
+ deprecated: import("react-desc").PropTypesDescValidator;
110
+ };
111
+ isRequired: import("react-desc").PropTypesDescValidator;
112
+ };
113
+ leftComponent: {
114
+ defaultValue<T = unknown>(arg: T): {
115
+ deprecated: import("react-desc").PropTypesDescValidator;
116
+ };
117
+ isRequired: import("react-desc").PropTypesDescValidator;
118
+ };
119
+ rightComponent: {
120
+ defaultValue<T = unknown>(arg: T): {
121
+ deprecated: import("react-desc").PropTypesDescValidator;
122
+ };
123
+ isRequired: import("react-desc").PropTypesDescValidator;
124
+ };
125
+ required: {
126
+ defaultValue<T = unknown>(arg: T): {
127
+ deprecated: import("react-desc").PropTypesDescValidator;
128
+ };
129
+ isRequired: import("react-desc").PropTypesDescValidator;
130
+ };
131
+ variant: {
132
+ defaultValue<T = unknown>(arg: T): {
133
+ deprecated: import("react-desc").PropTypesDescValidator;
134
+ };
135
+ isRequired: import("react-desc").PropTypesDescValidator;
136
+ };
137
+ type: {
138
+ defaultValue<T = unknown>(arg: T): {
139
+ deprecated: import("react-desc").PropTypesDescValidator;
140
+ };
141
+ isRequired: import("react-desc").PropTypesDescValidator;
142
+ };
143
+ innerRef: {
144
+ defaultValue<T = unknown>(arg: T): {
145
+ deprecated: import("react-desc").PropTypesDescValidator;
146
+ };
147
+ isRequired: import("react-desc").PropTypesDescValidator;
148
+ };
149
+ disableTooltip: {
150
+ deprecated: import("react-desc").PropTypesDescValidator;
151
+ };
54
152
  };
55
153
  } | undefined;
56
154
  value?: string | undefined;