orc-shared 1.7.0-dev.2 → 1.7.0-dev.4
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.
|
@@ -156,6 +156,11 @@ var Autocomplete = function Autocomplete(_ref) {
|
|
|
156
156
|
return option.label;
|
|
157
157
|
},
|
|
158
158
|
onChange: onChangeOption,
|
|
159
|
+
openText: null,
|
|
160
|
+
closeText: null,
|
|
161
|
+
clearText: null,
|
|
162
|
+
noOptionsText: null,
|
|
163
|
+
loadingText: null,
|
|
159
164
|
classes: {
|
|
160
165
|
paper: classes.selectPaper,
|
|
161
166
|
popupIndicator: classes.popupIndicator,
|
package/package.json
CHANGED
|
@@ -125,6 +125,11 @@ const Autocomplete = ({ id, options, autocompleteProps }) => {
|
|
|
125
125
|
options={options}
|
|
126
126
|
getOptionLabel={option => option.label}
|
|
127
127
|
onChange={onChangeOption}
|
|
128
|
+
openText={null}
|
|
129
|
+
closeText={null}
|
|
130
|
+
clearText={null}
|
|
131
|
+
noOptionsText={null}
|
|
132
|
+
loadingText={null}
|
|
128
133
|
classes={{
|
|
129
134
|
paper: classes.selectPaper,
|
|
130
135
|
popupIndicator: classes.popupIndicator,
|
|
@@ -64,6 +64,11 @@ describe("Autocomplete Component", () => {
|
|
|
64
64
|
closeIcon={<Icon id="close2" />}
|
|
65
65
|
popupIcon={<Icon id="dropdown-chevron-down" />}
|
|
66
66
|
getOptionLabel={option => option.label}
|
|
67
|
+
openText={null}
|
|
68
|
+
closeText={null}
|
|
69
|
+
clearText={null}
|
|
70
|
+
noOptionsText={null}
|
|
71
|
+
loadingText={null}
|
|
67
72
|
renderInput={params => (
|
|
68
73
|
<TextField
|
|
69
74
|
{...params}
|
|
@@ -109,6 +114,11 @@ describe("Autocomplete Component", () => {
|
|
|
109
114
|
closeIcon={<Icon id="close2" />}
|
|
110
115
|
popupIcon={<Icon id="dropdown-chevron-down" />}
|
|
111
116
|
getOptionLabel={option => option.label}
|
|
117
|
+
openText={null}
|
|
118
|
+
closeText={null}
|
|
119
|
+
clearText={null}
|
|
120
|
+
noOptionsText={null}
|
|
121
|
+
loadingText={null}
|
|
112
122
|
renderInput={params => (
|
|
113
123
|
<TextField
|
|
114
124
|
{...params}
|
|
@@ -156,6 +166,11 @@ describe("Autocomplete Component", () => {
|
|
|
156
166
|
closeIcon={<Icon id="close2" />}
|
|
157
167
|
popupIcon={<Icon id="dropdown-chevron-down" />}
|
|
158
168
|
getOptionLabel={option => option.label}
|
|
169
|
+
openText={null}
|
|
170
|
+
closeText={null}
|
|
171
|
+
clearText={null}
|
|
172
|
+
noOptionsText={null}
|
|
173
|
+
loadingText={null}
|
|
159
174
|
renderInput={params => (
|
|
160
175
|
<TextField
|
|
161
176
|
{...params}
|