@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.
- package/bundle/bundle.umd.js +4 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
- package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
- package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +4 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +3 -1
- package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +4 -2
- package/package.json +1 -1
- package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +4 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -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,
|
|
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
|
|
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.
|
|
6191
|
+
const packageVersion = "0.14.307";
|
|
6192
6192
|
|
|
6193
6193
|
exports.Blocks = Blocks;
|
|
6194
6194
|
exports.ContentPage = ContentPage;
|