@spothero/ui 13.10.0-beta.0 → 13.10.0-beta.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
# 13.10.0-beta.1 - 02/22/2022
|
|
2
|
+
|
|
3
|
+
## Miscellaneous Updates
|
|
4
|
+
* [[1f46e18](https://github.com/spothero/fe-ui/commit/1f46e18)] - `chore:` Added logging for suggestions, and added origin to biasing options (Nathan)
|
|
5
|
+
|
|
1
6
|
# 13.10.0-beta.0 - 02/22/2022
|
|
2
7
|
## Miscellaneous Updates
|
|
3
8
|
|
package/CHANGELOG.tmp
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
# 13.10.0-beta.
|
|
2
|
-
## Miscellaneous Updates
|
|
3
|
-
|
|
4
|
-
## New Features
|
|
5
|
-
* [[4193a26](https://github.com/spothero/fe-ui/commit/4193a26)] - Updated Autocomplete to accept biasing options (Nathan)
|
|
1
|
+
# 13.10.0-beta.1 - 02/22/2022
|
|
6
2
|
|
|
7
3
|
## Miscellaneous Updates
|
|
8
|
-
* [[
|
|
9
|
-
* [[e6ab74b](https://github.com/spothero/fe-ui/commit/e6ab74b)] - `chore:` Updated location options (Nathan)
|
|
10
|
-
* [[19f8451](https://github.com/spothero/fe-ui/commit/19f8451)] - `chore:` Updated PropTypes for geolocation biasing (Nathan)
|
|
4
|
+
* [[1f46e18](https://github.com/spothero/fe-ui/commit/1f46e18)] - `chore:` Added logging for suggestions, and added origin to biasing options (Nathan)
|
|
11
5
|
|
|
@@ -164,7 +164,8 @@ var GooglePlacesSearchInput = /*#__PURE__*/function (_Component) {
|
|
|
164
164
|
types: types
|
|
165
165
|
}), (biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.location) && {
|
|
166
166
|
location: new _this._gmaps.LatLng(location.latitude, location.longitude),
|
|
167
|
-
radius: biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.radius
|
|
167
|
+
radius: biasOptions === null || biasOptions === void 0 ? void 0 : biasOptions.radius,
|
|
168
|
+
origin: new _this._gmaps.LatLng(location.latitude, location.longitude)
|
|
168
169
|
}), {}, {
|
|
169
170
|
sessionToken: autocompleteSessionToken
|
|
170
171
|
});
|
|
@@ -182,6 +183,8 @@ var GooglePlacesSearchInput = /*#__PURE__*/function (_Component) {
|
|
|
182
183
|
});
|
|
183
184
|
}
|
|
184
185
|
|
|
186
|
+
console.log('>>>>>>suggestions', suggestions);
|
|
187
|
+
|
|
185
188
|
_this.setState({
|
|
186
189
|
suggestions: suggestions
|
|
187
190
|
});
|
package/package.json
CHANGED
|
@@ -151,6 +151,10 @@ export default class GooglePlacesSearchInput extends Component {
|
|
|
151
151
|
location.longitude
|
|
152
152
|
),
|
|
153
153
|
radius: biasOptions?.radius,
|
|
154
|
+
origin: new this._gmaps.LatLng(
|
|
155
|
+
location.latitude,
|
|
156
|
+
location.longitude
|
|
157
|
+
),
|
|
154
158
|
}),
|
|
155
159
|
sessionToken: autocompleteSessionToken,
|
|
156
160
|
};
|
|
@@ -168,6 +172,8 @@ export default class GooglePlacesSearchInput extends Component {
|
|
|
168
172
|
});
|
|
169
173
|
}
|
|
170
174
|
|
|
175
|
+
console.log('>>>>>>suggestions', suggestions);
|
|
176
|
+
|
|
171
177
|
this.setState({
|
|
172
178
|
suggestions,
|
|
173
179
|
});
|