wacomm 2.26.0 → 2.26.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/dist/wacomm.es.js CHANGED
@@ -16210,9 +16210,11 @@ function is({ className: e = "", ref: t = null, inputValue: n, options: r, onSel
16210
16210
  ref: t,
16211
16211
  options: r,
16212
16212
  getOptionLabel: (e) => e.value,
16213
+ getOptionKey: (e) => e.id,
16213
16214
  isOptionEqualToValue: (e, t) => e.id === t.id,
16214
16215
  filterOptions: (e) => e,
16215
16216
  popupIcon: null,
16217
+ value: null,
16216
16218
  inputValue: n,
16217
16219
  clearOnBlur: !1,
16218
16220
  sx: {
@@ -28385,11 +28387,15 @@ var hb = ({ lng: e, lat: t, zoom: n = 12, setCoordinates: r, locations: i = [],
28385
28387
  zoom: n
28386
28388
  });
28387
28389
  return g(() => {
28388
- s.current && dn(t, e) && s.current.flyTo({
28390
+ dn(t, e) && (s.current ? s.current.flyTo({
28389
28391
  center: [e, t],
28390
28392
  duration: 3e3,
28391
28393
  essential: !0
28392
- });
28394
+ }) : l((n) => ({
28395
+ ...n,
28396
+ longitude: e,
28397
+ latitude: t
28398
+ })));
28393
28399
  }, [t, e]), /* @__PURE__ */ w(lb, {
28394
28400
  ref: s,
28395
28401
  ...c,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wacomm",
3
- "version": "2.26.0",
3
+ "version": "2.26.2",
4
4
  "main": "dist/wacomm.cjs.js",
5
5
  "module": "dist/wacomm.es.js",
6
6
  "types": "dist/index.d.ts",