ordering-ui-external 12.0.2 → 12.0.3

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.
Files changed (15) hide show
  1. package/_bundles/{7.ordering-ui.64f9eb58c7faf4d26a8a.js → 7.ordering-ui.bba8869238ae5af25442.js} +1 -1
  2. package/_bundles/{ordering-ui.64f9eb58c7faf4d26a8a.js → ordering-ui.bba8869238ae5af25442.js} +2 -2
  3. package/_modules/themes/five/src/components/AddressForm/index.js +1 -1
  4. package/package.json +2 -2
  5. package/src/themes/five/src/components/AddressForm/index.js +1 -1
  6. /package/_bundles/{0.ordering-ui.64f9eb58c7faf4d26a8a.js → 0.ordering-ui.bba8869238ae5af25442.js} +0 -0
  7. /package/_bundles/{1.ordering-ui.64f9eb58c7faf4d26a8a.js → 1.ordering-ui.bba8869238ae5af25442.js} +0 -0
  8. /package/_bundles/{2.ordering-ui.64f9eb58c7faf4d26a8a.js → 2.ordering-ui.bba8869238ae5af25442.js} +0 -0
  9. /package/_bundles/{4.ordering-ui.64f9eb58c7faf4d26a8a.js → 4.ordering-ui.bba8869238ae5af25442.js} +0 -0
  10. /package/_bundles/{5.ordering-ui.64f9eb58c7faf4d26a8a.js → 5.ordering-ui.bba8869238ae5af25442.js} +0 -0
  11. /package/_bundles/{6.ordering-ui.64f9eb58c7faf4d26a8a.js → 6.ordering-ui.bba8869238ae5af25442.js} +0 -0
  12. /package/_bundles/{7.ordering-ui.64f9eb58c7faf4d26a8a.js.LICENSE.txt → 7.ordering-ui.bba8869238ae5af25442.js.LICENSE.txt} +0 -0
  13. /package/_bundles/{8.ordering-ui.64f9eb58c7faf4d26a8a.js → 8.ordering-ui.bba8869238ae5af25442.js} +0 -0
  14. /package/_bundles/{9.ordering-ui.64f9eb58c7faf4d26a8a.js → 9.ordering-ui.bba8869238ae5af25442.js} +0 -0
  15. /package/_bundles/{ordering-ui.64f9eb58c7faf4d26a8a.js.LICENSE.txt → ordering-ui.bba8869238ae5af25442.js.LICENSE.txt} +0 -0
@@ -314,7 +314,7 @@ var AddressFormUI = function AddressFormUI(props) {
314
314
  selectedFromAutocomplete: true
315
315
  }));
316
316
  updateChanges(_objectSpread(_objectSpread({}, address), {}, {
317
- address: googleInputRef === null || googleInputRef === void 0 || (_googleInputRef$curre = googleInputRef.current) === null || _googleInputRef$curre === void 0 ? void 0 : _googleInputRef$curre.value
317
+ address: (googleInputRef === null || googleInputRef === void 0 || (_googleInputRef$curre = googleInputRef.current) === null || _googleInputRef$curre === void 0 ? void 0 : _googleInputRef$curre.value) || (address === null || address === void 0 ? void 0 : address.address)
318
318
  }));
319
319
  };
320
320
  var setMapErrors = function setMapErrors(errKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-external",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "Ordering UI Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -88,7 +88,7 @@
88
88
  "lodash": "^4.17.19",
89
89
  "moment": "^2.29.4",
90
90
  "nanoid": "^4.0.0",
91
- "ordering-components-external": "11.0.1",
91
+ "ordering-components-external": "11.0.2",
92
92
  "payment": "^2.4.6",
93
93
  "polished": "^3.6.6",
94
94
  "react-bootstrap-icons": "^1.7.2",
@@ -243,7 +243,7 @@ const AddressFormUI = (props) => {
243
243
  })
244
244
  updateChanges({
245
245
  ...address,
246
- address: googleInputRef?.current?.value
246
+ address: googleInputRef?.current?.value || address?.address
247
247
  })
248
248
  }
249
249