@woosmap/ui 4.187.1 → 4.187.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/.yarn/cache/react-select-npm-5.10.0-f918d16320-dd615fb48f.zip +0 -0
- package/.yarn/cache/use-isomorphic-layout-effect-npm-1.2.0-f19ccd3a9a-84fc1074b4.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/package.json +2 -2
- package/src/components/Woosmap/AddressAutocomplete.js +4 -1
- package/.yarn/cache/react-select-npm-5.8.0-468e0395bb-c8398cc0ae.zip +0 -0
- package/.yarn/cache/use-isomorphic-layout-effect-npm-1.1.2-65facd0a4b-a6532f7fc9.zip +0 -0
|
Binary file
|
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woosmap/ui",
|
|
3
|
-
"version": "4.187.
|
|
3
|
+
"version": "4.187.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/WebGeoServices/ui.git"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react-datetime": "^3.2.0",
|
|
28
28
|
"react-dom": "^18.3.1",
|
|
29
29
|
"react-laag": "^2.0.5",
|
|
30
|
-
"react-select": "^5.
|
|
30
|
+
"react-select": "^5.10.0",
|
|
31
31
|
"react-slider": "^2.0.6",
|
|
32
32
|
"react-syntax-highlighter": "^15.5.0",
|
|
33
33
|
"resize-observer-polyfill": "^1.5.1",
|
|
@@ -149,7 +149,7 @@ export default class AddressAutocomplete extends Component {
|
|
|
149
149
|
|
|
150
150
|
render() {
|
|
151
151
|
const { selectedLocality, menuIsOpen, inputValue, value } = this.state;
|
|
152
|
-
const { placeholder, type } = this.props;
|
|
152
|
+
const { placeholder, type, inputMode } = this.props;
|
|
153
153
|
return (
|
|
154
154
|
<>
|
|
155
155
|
<Script
|
|
@@ -172,6 +172,7 @@ export default class AddressAutocomplete extends Component {
|
|
|
172
172
|
value={value}
|
|
173
173
|
inputValue={inputValue}
|
|
174
174
|
type={type}
|
|
175
|
+
inputMode={inputMode}
|
|
175
176
|
/>
|
|
176
177
|
</>
|
|
177
178
|
);
|
|
@@ -191,6 +192,7 @@ AddressAutocomplete.defaultProps = {
|
|
|
191
192
|
componentsAddress: null,
|
|
192
193
|
inputChangeCb: null,
|
|
193
194
|
type: 'search',
|
|
195
|
+
inputMode: 'search',
|
|
194
196
|
};
|
|
195
197
|
AddressAutocomplete.propTypes = {
|
|
196
198
|
woosmapKey: PropTypes.string.isRequired,
|
|
@@ -207,4 +209,5 @@ AddressAutocomplete.propTypes = {
|
|
|
207
209
|
callback: PropTypes.func.isRequired,
|
|
208
210
|
inputChangeCb: PropTypes.func,
|
|
209
211
|
type: PropTypes.string,
|
|
212
|
+
inputMode: PropTypes.string,
|
|
210
213
|
};
|
|
Binary file
|