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