@elliemae/ds-form 2.0.1 → 2.1.0-rc.2
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 +4 -4
- package/cjs/CheckboxGroup/DSCheckboxGroup.js +2 -2
- package/cjs/ComboBox/v1/DSComboBox.js +2 -2
- package/cjs/ComboBox/v1/components/AllOption.js +2 -2
- package/cjs/ComboBox/v1/components/Control.js +2 -2
- package/cjs/ComboBox/v1/components/CustomOption.js +2 -2
- package/cjs/ComboBox/v1/components/CustomOptionMulti.js +2 -2
- package/cjs/ComboBox/v1/components/DropdownIndicator.js +2 -2
- package/cjs/ComboBox/v1/components/MenuList.js +2 -2
- package/cjs/ComboBox/v1/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBox/v1/components/SelectMenu.js +2 -2
- package/cjs/ComboBox/v1/components/ValueContainer.js +2 -2
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js +2 -2
- package/cjs/ComboBox/v2/Combobox.js +2 -2
- package/cjs/ComboBox/v2/components/AllOption.js +2 -2
- package/cjs/ComboBox/v2/components/ClearIndicator.js +2 -2
- package/cjs/ComboBox/v2/components/Content.js +2 -2
- package/cjs/ComboBox/v2/components/Control.js +2 -2
- package/cjs/ComboBox/v2/components/CustomOption.js +2 -2
- package/cjs/ComboBox/v2/components/CustomOptionMulti.js +2 -2
- package/cjs/ComboBox/v2/components/DropdownIndicator.js +2 -2
- package/cjs/ComboBox/v2/components/GroupHeading.js +2 -2
- package/cjs/ComboBox/v2/components/IndicatorSeparator.js +2 -2
- package/cjs/ComboBox/v2/components/MenuList.js +2 -2
- package/cjs/ComboBox/v2/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBox/v2/components/SelectMenu.js +2 -2
- package/cjs/ComboBox/v2/components/ValueContainer.js +2 -2
- package/cjs/ComboBox/v3/config/useComboBox.js +2 -2
- package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +2 -2
- package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +2 -2
- package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBoxFreeSolo/components/SingleValue.js +2 -2
- package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +2 -2
- package/cjs/DateInput/DSDateInput.js +2 -2
- package/cjs/DateInput/components/DateInputImpl.js +2 -2
- package/cjs/DateInput/components/DateInputs.js +2 -2
- package/cjs/DateInputV2/components/DateInputs.js +2 -2
- package/cjs/ExpandableInput/ExpandableInputImpl.js +2 -2
- package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +2 -2
- package/cjs/FormItem/DSFormItemLayout.js +2 -2
- package/cjs/FormItem/ValidationFieldWrapper.js +2 -2
- package/cjs/Input/DSInput.js +2 -2
- package/cjs/Input/InputAddonWrapper.js +2 -2
- package/cjs/Input/InputImpl.js +2 -2
- package/cjs/InputGroup/AddonWrapper.js +2 -2
- package/cjs/InputMask/DSInputMask.js +2 -2
- package/cjs/InputMask/DSInputMaskDeprecated.js +2 -2
- package/cjs/InputMask/MaskTypes.js +2 -2
- package/cjs/InputMask/mask_types/DateInputMask.js +2 -2
- package/cjs/InputMask/mask_types/DateTimeInputMask.js +2 -2
- package/cjs/InputMask/mask_types/DictionaryInputMask.js +2 -2
- package/cjs/InputMask/mask_types/NumberInputMask.js +2 -2
- package/cjs/InputMask/mask_types/PhoneInputMask.js +2 -2
- package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +2 -2
- package/cjs/InputMask/mask_types/SsnInputMask.js +2 -2
- package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +2 -2
- package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +2 -2
- package/cjs/InputMask/mask_types/index.js +2 -2
- package/cjs/InputProtected/DSInputProtected.js +2 -2
- package/cjs/LargeInputText/DSLargeInputText.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 +3 -3
- package/cjs/MenuItem/components/styled.js +4 -9
- package/cjs/Radio/DSRadio.js +11 -6
- package/cjs/RadioGroup/DSRadioGroup.js +2 -2
- package/cjs/SearchBox/SearchBoxToggle.js +2 -2
- package/cjs/SearchBox/withSearchable.js +2 -2
- package/cjs/TextBox/DSTextBox.js +2 -2
- package/cjs/TimeInput/DSTimeInput.js +2 -2
- package/cjs/TimeInput/TimeInputImpl.js +2 -2
- package/cjs/TimeInput/TimeInputs.js +2 -2
- package/cjs/Toggle/DSToggle.js +2 -2
- package/cjs/Toggle/DSToggleImpl.js +2 -2
- package/cjs/Toggle/DSToggleRender.js +2 -2
- package/esm/Checkbox/DSCheckbox.js +4 -4
- package/esm/CheckboxGroup/DSCheckboxGroup.js +2 -2
- package/esm/ComboBox/v1/DSComboBox.js +2 -2
- package/esm/ComboBox/v1/components/AllOption.js +2 -2
- package/esm/ComboBox/v1/components/Control.js +2 -2
- package/esm/ComboBox/v1/components/CustomOption.js +2 -2
- package/esm/ComboBox/v1/components/CustomOptionMulti.js +2 -2
- package/esm/ComboBox/v1/components/DropdownIndicator.js +2 -2
- package/esm/ComboBox/v1/components/MenuList.js +2 -2
- package/esm/ComboBox/v1/components/MultiValueRemove.js +2 -2
- package/esm/ComboBox/v1/components/SelectMenu.js +2 -2
- package/esm/ComboBox/v1/components/ValueContainer.js +2 -2
- package/esm/ComboBox/v1/withSelectStringValueConverter.js +2 -2
- package/esm/ComboBox/v2/Combobox.js +2 -2
- package/esm/ComboBox/v2/components/AllOption.js +2 -2
- package/esm/ComboBox/v2/components/ClearIndicator.js +2 -2
- package/esm/ComboBox/v2/components/Content.js +2 -2
- package/esm/ComboBox/v2/components/Control.js +2 -2
- package/esm/ComboBox/v2/components/CustomOption.js +2 -2
- package/esm/ComboBox/v2/components/CustomOptionMulti.js +2 -2
- package/esm/ComboBox/v2/components/DropdownIndicator.js +2 -2
- package/esm/ComboBox/v2/components/GroupHeading.js +2 -2
- package/esm/ComboBox/v2/components/IndicatorSeparator.js +2 -2
- package/esm/ComboBox/v2/components/MenuList.js +2 -2
- package/esm/ComboBox/v2/components/MultiValueRemove.js +2 -2
- package/esm/ComboBox/v2/components/SelectMenu.js +2 -2
- package/esm/ComboBox/v2/components/ValueContainer.js +2 -2
- package/esm/ComboBox/v3/config/useComboBox.js +2 -2
- package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +2 -2
- package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +2 -2
- package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +2 -2
- package/esm/ComboBoxFreeSolo/components/SingleValue.js +2 -2
- package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +2 -2
- package/esm/DateInput/DSDateInput.js +2 -2
- package/esm/DateInput/components/DateInputImpl.js +2 -2
- package/esm/DateInput/components/DateInputs.js +2 -2
- package/esm/DateInputV2/components/DateInputs.js +2 -2
- package/esm/ExpandableInput/ExpandableInputImpl.js +2 -2
- package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +2 -2
- package/esm/FormItem/DSFormItemLayout.js +2 -2
- package/esm/FormItem/ValidationFieldWrapper.js +2 -2
- package/esm/Input/DSInput.js +2 -2
- package/esm/Input/InputAddonWrapper.js +2 -2
- package/esm/Input/InputImpl.js +2 -2
- package/esm/InputGroup/AddonWrapper.js +2 -2
- package/esm/InputMask/DSInputMask.js +2 -2
- package/esm/InputMask/DSInputMaskDeprecated.js +2 -2
- package/esm/InputMask/MaskTypes.js +2 -2
- package/esm/InputMask/mask_types/DateInputMask.js +2 -2
- package/esm/InputMask/mask_types/DateTimeInputMask.js +2 -2
- package/esm/InputMask/mask_types/DictionaryInputMask.js +2 -2
- package/esm/InputMask/mask_types/NumberInputMask.js +2 -2
- package/esm/InputMask/mask_types/PhoneInputMask.js +2 -2
- package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +2 -2
- package/esm/InputMask/mask_types/SsnInputMask.js +2 -2
- package/esm/InputMask/mask_types/UsZipCodeInputMask.js +2 -2
- package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +2 -2
- package/esm/InputMask/mask_types/index.js +2 -2
- package/esm/InputProtected/DSInputProtected.js +2 -2
- package/esm/LargeInputText/DSLargeInputText.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 +3 -3
- package/esm/MenuItem/components/styled.js +5 -9
- package/esm/Radio/DSRadio.js +11 -6
- package/esm/RadioGroup/DSRadioGroup.js +2 -2
- package/esm/SearchBox/SearchBoxToggle.js +2 -2
- package/esm/SearchBox/withSearchable.js +2 -2
- package/esm/TextBox/DSTextBox.js +2 -2
- package/esm/TimeInput/DSTimeInput.js +2 -2
- package/esm/TimeInput/TimeInputImpl.js +2 -2
- package/esm/TimeInput/TimeInputs.js +2 -2
- package/esm/Toggle/DSToggle.js +2 -2
- package/esm/Toggle/DSToggleImpl.js +2 -2
- package/esm/Toggle/DSToggleRender.js +2 -2
- 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
|
@@ -34,166 +34,166 @@ declare const DSLargeInputText: {
|
|
|
34
34
|
}): JSX.Element;
|
|
35
35
|
propTypes: {
|
|
36
36
|
containerProps: {
|
|
37
|
-
defaultValue
|
|
37
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
38
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
39
|
};
|
|
40
|
-
isRequired: import("react-desc").
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
41
41
|
};
|
|
42
42
|
autoFocus: {
|
|
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
|
className: {
|
|
49
|
-
defaultValue
|
|
49
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
50
50
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
51
|
};
|
|
52
|
-
isRequired: import("react-desc").
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
53
53
|
};
|
|
54
54
|
disabled: {
|
|
55
|
-
defaultValue
|
|
55
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
56
56
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
57
|
};
|
|
58
|
-
isRequired: import("react-desc").
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
59
59
|
};
|
|
60
60
|
name: {
|
|
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
|
id: {
|
|
67
|
-
defaultValue
|
|
67
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
68
68
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
69
|
};
|
|
70
|
-
isRequired: import("react-desc").
|
|
70
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
71
71
|
};
|
|
72
72
|
maxLength: {
|
|
73
|
-
defaultValue
|
|
73
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
74
74
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
75
|
};
|
|
76
|
-
isRequired: import("react-desc").
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
77
77
|
};
|
|
78
78
|
minLength: {
|
|
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
|
placeholder: {
|
|
85
|
-
defaultValue
|
|
85
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
86
86
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
87
87
|
};
|
|
88
|
-
isRequired: import("react-desc").
|
|
88
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
89
89
|
};
|
|
90
90
|
onClick: {
|
|
91
|
-
defaultValue
|
|
91
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
92
92
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
93
|
};
|
|
94
|
-
isRequired: import("react-desc").
|
|
94
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
95
95
|
};
|
|
96
96
|
onChange: {
|
|
97
|
-
defaultValue
|
|
97
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
98
98
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
99
99
|
};
|
|
100
|
-
isRequired: import("react-desc").
|
|
100
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
101
101
|
};
|
|
102
102
|
onFocus: {
|
|
103
|
-
defaultValue
|
|
103
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
104
104
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
105
105
|
};
|
|
106
|
-
isRequired: import("react-desc").
|
|
106
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
107
107
|
};
|
|
108
108
|
onBlur: {
|
|
109
|
-
defaultValue
|
|
109
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
110
110
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
111
111
|
};
|
|
112
|
-
isRequired: import("react-desc").
|
|
112
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
113
113
|
};
|
|
114
114
|
onKeyUp: {
|
|
115
|
-
defaultValue
|
|
115
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
116
116
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
117
|
};
|
|
118
|
-
isRequired: import("react-desc").
|
|
118
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
119
119
|
};
|
|
120
120
|
onKeyDown: {
|
|
121
|
-
defaultValue
|
|
121
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
122
122
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
123
123
|
};
|
|
124
|
-
isRequired: import("react-desc").
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
125
125
|
};
|
|
126
126
|
onPaste: {
|
|
127
|
-
defaultValue
|
|
127
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
128
128
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
129
|
};
|
|
130
|
-
isRequired: import("react-desc").
|
|
130
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
131
131
|
};
|
|
132
132
|
value: {
|
|
133
|
-
defaultValue
|
|
133
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
134
134
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
135
135
|
};
|
|
136
|
-
isRequired: import("react-desc").
|
|
136
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
137
137
|
};
|
|
138
138
|
hasError: {
|
|
139
|
-
defaultValue
|
|
139
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
140
140
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
141
141
|
};
|
|
142
|
-
isRequired: import("react-desc").
|
|
142
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
143
143
|
};
|
|
144
144
|
required: {
|
|
145
|
-
defaultValue
|
|
145
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
146
146
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
147
147
|
};
|
|
148
|
-
isRequired: import("react-desc").
|
|
148
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
149
149
|
};
|
|
150
150
|
readOnly: {
|
|
151
|
-
defaultValue
|
|
151
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
152
152
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
153
153
|
};
|
|
154
|
-
isRequired: import("react-desc").
|
|
154
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
155
155
|
};
|
|
156
156
|
resize: {
|
|
157
|
-
defaultValue
|
|
157
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
158
158
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
159
159
|
};
|
|
160
|
-
isRequired: import("react-desc").
|
|
160
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
161
161
|
};
|
|
162
162
|
innerRef: {
|
|
163
|
-
defaultValue
|
|
163
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
164
164
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
165
165
|
};
|
|
166
|
-
isRequired: import("react-desc").
|
|
166
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
167
167
|
};
|
|
168
168
|
ariaLabel: {
|
|
169
|
-
defaultValue
|
|
169
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
170
170
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
171
171
|
};
|
|
172
|
-
isRequired: import("react-desc").
|
|
172
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
173
173
|
};
|
|
174
174
|
ariaAutocomplete: {
|
|
175
|
-
defaultValue
|
|
175
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
176
176
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
177
177
|
};
|
|
178
|
-
isRequired: import("react-desc").
|
|
178
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
179
179
|
};
|
|
180
180
|
role: {
|
|
181
|
-
defaultValue
|
|
181
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
182
182
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
183
183
|
};
|
|
184
|
-
isRequired: import("react-desc").
|
|
184
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
185
185
|
};
|
|
186
186
|
characterLimitCounter: {
|
|
187
|
-
defaultValue
|
|
187
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
188
188
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
189
189
|
};
|
|
190
|
-
isRequired: import("react-desc").
|
|
190
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
191
191
|
};
|
|
192
192
|
tabIndex: {
|
|
193
|
-
defaultValue
|
|
193
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
194
194
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
195
195
|
};
|
|
196
|
-
isRequired: import("react-desc").
|
|
196
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
197
197
|
};
|
|
198
198
|
};
|
|
199
199
|
defaultProps: {
|
|
@@ -2,230 +2,230 @@
|
|
|
2
2
|
export declare const props: {
|
|
3
3
|
/** Injected props to wrapper element of component */
|
|
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
|
* Whether uses auto focus or not
|
|
12
12
|
*/
|
|
13
13
|
autoFocus: {
|
|
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
|
/** CSS class */
|
|
20
20
|
className: {
|
|
21
|
-
defaultValue
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
22
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
23
|
};
|
|
24
|
-
isRequired: import("react-desc").
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Whether is disabled or not
|
|
28
28
|
*/
|
|
29
29
|
disabled: {
|
|
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
|
/** HTML form name property */
|
|
36
36
|
name: {
|
|
37
|
-
defaultValue
|
|
37
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
38
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
39
|
};
|
|
40
|
-
isRequired: import("react-desc").
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
41
41
|
};
|
|
42
42
|
/** HTML id */
|
|
43
43
|
id: {
|
|
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
|
/**
|
|
50
50
|
* Max length for text to be entered
|
|
51
51
|
*/
|
|
52
52
|
maxLength: {
|
|
53
|
-
defaultValue
|
|
53
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
54
54
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
55
|
};
|
|
56
|
-
isRequired: import("react-desc").
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* Min length for text to be entered
|
|
60
60
|
*/
|
|
61
61
|
minLength: {
|
|
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
|
/**
|
|
68
68
|
* Placeholder for the text
|
|
69
69
|
*/
|
|
70
70
|
placeholder: {
|
|
71
|
-
defaultValue
|
|
71
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
72
72
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
73
|
};
|
|
74
|
-
isRequired: import("react-desc").
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* Allows a function that is triggered once the input text is clicked
|
|
78
78
|
*/
|
|
79
79
|
onClick: {
|
|
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
|
/**
|
|
86
86
|
* Allows a function that is triggered once the input text changes
|
|
87
87
|
*/
|
|
88
88
|
onChange: {
|
|
89
|
-
defaultValue
|
|
89
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
90
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
91
|
};
|
|
92
|
-
isRequired: import("react-desc").
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
93
93
|
};
|
|
94
94
|
/**
|
|
95
95
|
* Allows a function that is triggered once the input text is focused
|
|
96
96
|
*/
|
|
97
97
|
onFocus: {
|
|
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
|
/**
|
|
104
104
|
* Allows a function that is triggered once the input text loses focus
|
|
105
105
|
*/
|
|
106
106
|
onBlur: {
|
|
107
|
-
defaultValue
|
|
107
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
108
108
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
109
|
};
|
|
110
|
-
isRequired: import("react-desc").
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
111
111
|
};
|
|
112
112
|
/**
|
|
113
113
|
* Allows a function that is triggered once in the input a keyboard key is released
|
|
114
114
|
*/
|
|
115
115
|
onKeyUp: {
|
|
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
|
* Allows a function that is triggered once a key is being pressed
|
|
123
123
|
*/
|
|
124
124
|
onKeyDown: {
|
|
125
|
-
defaultValue
|
|
125
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
126
126
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
127
127
|
};
|
|
128
|
-
isRequired: import("react-desc").
|
|
128
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
129
129
|
};
|
|
130
130
|
/**
|
|
131
131
|
* Allows a function that is triggered once the input text is pasted
|
|
132
132
|
*/
|
|
133
133
|
onPaste: {
|
|
134
|
-
defaultValue
|
|
134
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
135
135
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
136
136
|
};
|
|
137
|
-
isRequired: import("react-desc").
|
|
137
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* Default value once the component is initialized
|
|
141
141
|
*/
|
|
142
142
|
value: {
|
|
143
|
-
defaultValue
|
|
143
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
144
144
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
145
145
|
};
|
|
146
|
-
isRequired: import("react-desc").
|
|
146
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
149
|
* Whether the input text has error or not
|
|
150
150
|
*/
|
|
151
151
|
hasError: {
|
|
152
|
-
defaultValue
|
|
152
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
153
153
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
154
154
|
};
|
|
155
|
-
isRequired: import("react-desc").
|
|
155
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
156
156
|
};
|
|
157
157
|
/**
|
|
158
158
|
* Whether the input text is required or not
|
|
159
159
|
*/
|
|
160
160
|
required: {
|
|
161
|
-
defaultValue
|
|
161
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
162
162
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
163
163
|
};
|
|
164
|
-
isRequired: import("react-desc").
|
|
164
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
165
165
|
};
|
|
166
166
|
/**
|
|
167
167
|
* Whether the input text is read only or not
|
|
168
168
|
*/
|
|
169
169
|
readOnly: {
|
|
170
|
-
defaultValue
|
|
170
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
171
171
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
172
172
|
};
|
|
173
|
-
isRequired: import("react-desc").
|
|
173
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
174
174
|
};
|
|
175
175
|
/**
|
|
176
176
|
* Whether the input text style is vertical or not
|
|
177
177
|
*/
|
|
178
178
|
resize: {
|
|
179
|
-
defaultValue
|
|
179
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
180
180
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
181
181
|
};
|
|
182
|
-
isRequired: import("react-desc").
|
|
182
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
183
183
|
};
|
|
184
184
|
/** ref forwarded to component */
|
|
185
185
|
innerRef: {
|
|
186
|
-
defaultValue
|
|
186
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
187
187
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
188
188
|
};
|
|
189
|
-
isRequired: import("react-desc").
|
|
189
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
190
190
|
};
|
|
191
191
|
/** a11y aria label */
|
|
192
192
|
ariaLabel: {
|
|
193
|
-
defaultValue
|
|
193
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
194
194
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
195
195
|
};
|
|
196
|
-
isRequired: import("react-desc").
|
|
196
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
197
197
|
};
|
|
198
198
|
ariaAutocomplete: {
|
|
199
|
-
defaultValue
|
|
199
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
200
200
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
201
201
|
};
|
|
202
|
-
isRequired: import("react-desc").
|
|
202
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
203
203
|
};
|
|
204
204
|
/**
|
|
205
205
|
* Type of input. Ex: textbox
|
|
206
206
|
*/
|
|
207
207
|
role: {
|
|
208
|
-
defaultValue
|
|
208
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
209
209
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
210
210
|
};
|
|
211
|
-
isRequired: import("react-desc").
|
|
211
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
212
212
|
};
|
|
213
213
|
/**
|
|
214
214
|
* it will show a counter/limit if the value is greater than 0
|
|
215
215
|
*/
|
|
216
216
|
characterLimitCounter: {
|
|
217
|
-
defaultValue
|
|
217
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
218
218
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
219
219
|
};
|
|
220
|
-
isRequired: import("react-desc").
|
|
220
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
223
223
|
* Tab index html property.
|
|
224
224
|
*/
|
|
225
225
|
tabIndex: {
|
|
226
|
-
defaultValue
|
|
226
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
227
227
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
228
228
|
};
|
|
229
|
-
isRequired: import("react-desc").
|
|
229
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
230
230
|
};
|
|
231
231
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StyledItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme,
|
|
1
|
+
export declare const StyledItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, Pick<import("../../props").MenuItemT, "isSelected" | "isFocus" | "isActive"> & import("@xstyled/system").LayoutProps<import("@xstyled/system").Theme> & import("@xstyled/system").SizingProps<import("@xstyled/system").Theme> & import("@xstyled/system").PositionProps<import("@xstyled/system").Theme> & import("@xstyled/system").SpaceProps<import("@xstyled/system").Theme>, never>;
|
|
2
2
|
export declare const StyledItemLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
1
|
+
import { LayoutProps, SizingProps, PositionProps, SpaceProps } from '@xstyled/styled-components';
|
|
2
|
+
import { MenuItemT } from '../props';
|
|
3
|
+
export declare const StyledGlobalMenuItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, Pick<MenuItemT, "isSelected" | "isFocus" | "isActive"> & LayoutProps<import("@xstyled/system").Theme> & SizingProps<import("@xstyled/system").Theme> & PositionProps<import("@xstyled/system").Theme> & SpaceProps<import("@xstyled/system").Theme>, never>;
|
|
4
|
+
export declare const StyledMenuItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, Pick<MenuItemT, "isSelected" | "isFocus" | "isActive"> & LayoutProps<import("@xstyled/system").Theme> & SizingProps<import("@xstyled/system").Theme> & PositionProps<import("@xstyled/system").Theme> & SpaceProps<import("@xstyled/system").Theme>, never>;
|
|
5
|
+
export declare const StyledSubmenuItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, Pick<MenuItemT, "isSelected" | "isFocus" | "isActive"> & LayoutProps<import("@xstyled/system").Theme> & SizingProps<import("@xstyled/system").Theme> & PositionProps<import("@xstyled/system").Theme> & SpaceProps<import("@xstyled/system").Theme>, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
|
-
import {
|
|
3
|
+
import { SizingProps } from '@xstyled/styled-components';
|
|
4
4
|
export interface MenuItemT {
|
|
5
5
|
dsId: string;
|
|
6
6
|
value: string;
|
|
@@ -21,8 +21,8 @@ export interface MenuItemT {
|
|
|
21
21
|
onKeyDown?: React.KeyboardEventHandler;
|
|
22
22
|
wrapperStyles?: Record<string, unknown>;
|
|
23
23
|
withVirtualization?: boolean;
|
|
24
|
-
minWidth?:
|
|
25
|
-
maxHeight?:
|
|
24
|
+
minWidth?: SizingProps['minWidth'];
|
|
25
|
+
maxHeight?: SizingProps['maxHeight'];
|
|
26
26
|
render?: (props: MenuItemT) => JSX.Element;
|
|
27
27
|
dataTestid: string;
|
|
28
28
|
}
|