@redneckz/wildless-cms-uni-blocks 0.14.307 → 0.14.308

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 (31) hide show
  1. package/bundle/bundle.umd.js +4 -4
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  4. package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  5. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  6. package/dist/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  7. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  8. package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  9. package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  10. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  11. package/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  12. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  13. package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  14. package/mobile/bundle/bundle.umd.js +4 -4
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/bundle/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  17. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  18. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  19. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  20. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  21. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  22. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  23. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  24. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
  25. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  26. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  27. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  28. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +4 -2
  29. package/package.json +1 -1
  30. package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  31. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +4 -2
@@ -4884,7 +4884,7 @@
4884
4884
  mapStateAutoApply: true,
4885
4885
  })
4886
4886
  .then(function (result) {
4887
- map.geoObjects.add(result.geoObjects);
4887
+ map.current.geoObjects.add(result.geoObjects);
4888
4888
  });
4889
4889
  };
4890
4890
  return (jsx("div", { className: `select-none cursor-pointer py-m w-12 bg-white ${Object.values(styles$1).join(' ')} ${className}`, onClick: setUserGeoLocation, children: jsx(Icon, { name: "UserGeoLocationIcon", width: "20", height: "16" }) }));
@@ -4945,12 +4945,12 @@
4945
4945
  map.current.setCenter(DEFAULT_CENTER_COORDS);
4946
4946
  }
4947
4947
  }
4948
- }, [yandexMaps, map, points, zoom]);
4948
+ }, [yandexMaps, points, zoom]);
4949
4949
  if (!yandexMaps) {
4950
4950
  return null;
4951
4951
  }
4952
4952
  const zIndex = 'z-10';
4953
- return (jsxs("div", { id: "map", className: style('relative', 'w-full', className), children: [jsxs("div", { className: style('absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md', zIndex), children: [jsx(ZoomButton, { yandexMaps: map }), jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map.current, yandexMaps, style('right-2 top-80', zIndex))] }));
4953
+ return (jsxs("div", { id: "map", className: style('relative', 'w-full', className), children: [jsxs("div", { className: style('absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md', zIndex), children: [jsx(ZoomButton, { yandexMaps: map }), jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map, yandexMaps, style('right-2 top-80', zIndex))] }));
4954
4954
  });
4955
4955
  const getCenterPoint = (points) => [
4956
4956
  getArraySumAndAverage(mapByIndex(points, 0)),
@@ -6188,7 +6188,7 @@
6188
6188
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6189
6189
  });
6190
6190
 
6191
- const packageVersion = "0.14.306";
6191
+ const packageVersion = "0.14.307";
6192
6192
 
6193
6193
  exports.Blocks = Blocks;
6194
6194
  exports.ContentPage = ContentPage;