@dfds-ui/google-places 2.0.20 → 2.0.21-alpha.237a0f45

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/AddressSelect.js CHANGED
@@ -61,7 +61,8 @@ var AddressSelect = function AddressSelect(_ref) {
61
61
  options = placePredictions.map(function (prediction) {
62
62
  return {
63
63
  value: prediction.description,
64
- label: prediction.description
64
+ label: prediction.description,
65
+ prediction: prediction
65
66
  };
66
67
  });
67
68
  callback(options);
@@ -59,7 +59,8 @@ const AddressSelect = _ref => {
59
59
  setPredictions(placePredictions);
60
60
  const options = placePredictions.map(prediction => ({
61
61
  value: prediction.description,
62
- label: prediction.description
62
+ label: prediction.description,
63
+ prediction
63
64
  }));
64
65
  callback(options);
65
66
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Components using Google places",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.0.20",
6
+ "version": "2.0.21-alpha.237a0f45",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
@@ -14,15 +14,15 @@
14
14
  "react-dom": ">= 17.0.2"
15
15
  },
16
16
  "dependencies": {
17
- "@dfds-ui/colors": "2.0.20",
18
- "@dfds-ui/hooks": "2.0.20",
19
- "@dfds-ui/icons": "2.0.20",
20
- "@dfds-ui/react-components": "2.0.20",
17
+ "@dfds-ui/colors": "2.0.21-alpha.237a0f45",
18
+ "@dfds-ui/hooks": "2.0.21-alpha.237a0f45",
19
+ "@dfds-ui/icons": "2.0.21-alpha.237a0f45",
20
+ "@dfds-ui/react-components": "2.0.21-alpha.237a0f45",
21
21
  "@types/googlemaps": "3.43.3",
22
22
  "@types/lodash.debounce": "^4.0.7",
23
23
  "lodash.debounce": "^4.0.8"
24
24
  },
25
- "gitHead": "0c4ee92cbe87aabe6d80934cbf7c5824eaa24586",
25
+ "gitHead": "237a0f458150ca105be83399fb00f0ced86d37bf",
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  }