@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,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const DSToggle: {
3
4
  ({ containerProps, hasError, readOnly, disabled, checked, labelOn, labelOff, name, value, size, ...otherProps }: {
@@ -26,49 +27,120 @@ declare const DSToggle: {
26
27
  /**
27
28
  * Set of Properties attached to the main container
28
29
  */
29
- containerProps: any;
30
+ containerProps: {
31
+ defaultValue<T = unknown>(arg: T): {
32
+ deprecated: import("react-desc").PropTypesDescValidator;
33
+ };
34
+ isRequired: import("react-desc").PropTypesDescValidator;
35
+ };
30
36
  /**
31
37
  * Whether the toggle has error or not
32
38
  */
33
- hasError: any;
39
+ hasError: {
40
+ defaultValue<T = unknown>(arg: T): {
41
+ deprecated: import("react-desc").PropTypesDescValidator;
42
+ };
43
+ isRequired: import("react-desc").PropTypesDescValidator;
44
+ };
34
45
  /**
35
46
  * Whether the toggle is read only or not
36
47
  */
37
- readOnly: any;
48
+ readOnly: {
49
+ defaultValue<T = unknown>(arg: T): {
50
+ deprecated: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ isRequired: import("react-desc").PropTypesDescValidator;
53
+ };
38
54
  /**
39
55
  * Whether the toggle is disabled or not
40
56
  */
41
- disabled: any;
57
+ disabled: {
58
+ defaultValue<T = unknown>(arg: T): {
59
+ deprecated: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ isRequired: import("react-desc").PropTypesDescValidator;
62
+ };
42
63
  /**
43
64
  * Whether the toggle is checked or not
44
65
  */
45
- checked: any;
66
+ checked: {
67
+ defaultValue<T = unknown>(arg: T): {
68
+ deprecated: import("react-desc").PropTypesDescValidator;
69
+ };
70
+ isRequired: import("react-desc").PropTypesDescValidator;
71
+ };
46
72
  /**
47
73
  * Allows a function that is triggered once the toggle changes
48
74
  */
49
- onChange: any;
75
+ onChange: {
76
+ defaultValue<T = unknown>(arg: T): {
77
+ deprecated: import("react-desc").PropTypesDescValidator;
78
+ };
79
+ isRequired: import("react-desc").PropTypesDescValidator;
80
+ };
50
81
  /**
51
82
  * Label to show when the toggle is ON
52
83
  */
53
- labelOn: any;
84
+ labelOn: {
85
+ defaultValue<T = unknown>(arg: T): {
86
+ deprecated: import("react-desc").PropTypesDescValidator;
87
+ };
88
+ isRequired: import("react-desc").PropTypesDescValidator;
89
+ };
54
90
  /**
55
91
  * Label to show when the toggle is OFF
56
92
  */
57
- labelOff: any;
93
+ labelOff: {
94
+ defaultValue<T = unknown>(arg: T): {
95
+ deprecated: import("react-desc").PropTypesDescValidator;
96
+ };
97
+ isRequired: import("react-desc").PropTypesDescValidator;
98
+ };
58
99
  /**
59
100
  * Default value once the component is initialized
60
101
  */
61
- value: any;
102
+ value: {
103
+ defaultValue<T = unknown>(arg: T): {
104
+ deprecated: import("react-desc").PropTypesDescValidator;
105
+ };
106
+ isRequired: import("react-desc").PropTypesDescValidator;
107
+ };
62
108
  /**
63
109
  * ['s', 'm', 'l']
64
110
  */
65
- size: any;
111
+ size: {
112
+ defaultValue<T = unknown>(arg: T): {
113
+ deprecated: import("react-desc").PropTypesDescValidator;
114
+ };
115
+ isRequired: import("react-desc").PropTypesDescValidator;
116
+ };
66
117
  /**
67
118
  * Input name
68
119
  */
69
- name: any;
120
+ name: {
121
+ defaultValue<T = unknown>(arg: T): {
122
+ deprecated: import("react-desc").PropTypesDescValidator;
123
+ };
124
+ isRequired: import("react-desc").PropTypesDescValidator;
125
+ };
70
126
  };
71
127
  };
72
- declare const DSToggleWithSchema: any;
128
+ declare const DSToggleWithSchema: {
129
+ (props?: {
130
+ [x: string]: any;
131
+ containerProps: any;
132
+ hasError: any;
133
+ readOnly: any;
134
+ disabled: any;
135
+ checked: any;
136
+ labelOn: any;
137
+ labelOff: any;
138
+ name: any;
139
+ value: any;
140
+ size: any;
141
+ } | undefined): JSX.Element;
142
+ propTypes: unknown;
143
+ toTypescript: () => import("react-desc").TypescriptSchema;
144
+ };
73
145
  export default DSToggle;
74
146
  export { DSToggleWithSchema };