@redneckz/wildless-cms-uni-blocks 0.14.947 → 0.14.949
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 +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/ui-kit/YandexMap/useYandexMaps.js +2 -1
- package/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/dist/wlc.json +2 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/ui-kit/YandexMap/useYandexMaps.js +2 -1
- package/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/lib/wlc.json +2 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js +2 -1
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/dist/wlc.json +2 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js +2 -1
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/lib/wlc.json +2 -1
- package/mobile/src/components/Footer/Footer.tsx +5 -3
- package/mobile/src/ui-kit/YandexMap/useYandexMaps.ts +4 -1
- package/mobile/src/wlc.json +2 -2
- package/package.json +1 -1
- package/src/components/Footer/Footer.tsx +5 -3
- package/src/ui-kit/YandexMap/useYandexMaps.ts +4 -1
- package/src/wlc.json +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
|
|
4440
4440
|
const YMAPS_NAMESPACE = 'ymaps';
|
|
4441
4441
|
const useYandexMaps = () => {
|
|
4442
|
-
const url = `https://api-maps.yandex.ru/2.1/?lang=ru_RU`;
|
|
4442
|
+
const url = `https://api-maps.yandex.ru/2.1/?apikey=${projectSettings.YANDEX_MAP_API_KEY || ''}&lang=ru_RU`;
|
|
4443
4443
|
return useExternalNS(YMAPS_NAMESPACE, url, false);
|
|
4444
4444
|
};
|
|
4445
4445
|
|
|
@@ -11182,7 +11182,7 @@
|
|
|
11182
11182
|
const { navigationItems } = rest.options?.page?.navigation ?? {};
|
|
11183
11183
|
const common = rest.options?.page?.common ?? {};
|
|
11184
11184
|
const { documents, relatedEnterprises, contacts, mediaLinks = [], horizontalNavigationTitle, feedbackButton, license, otherLinks = [], } = footer ?? {};
|
|
11185
|
-
return (jsxs(BlockWrapper, { tag: "footer", className: style('grid gap-y-xl p-4xl pb-24 lg:p-xl', className), ...rest, children: [renderLogoSearchBar(common, navigationItems), jsxs("div", { className: "flex flex-col lg:flex-row items-center @lg:items-stretch gap-lg lg:gap-6xl ", children: [jsx(Sitemap, { navigationItems: navigationItems }), jsx("div", { className: "border-t border-main-divider lg:hidden w-full" }), jsxs("div", { className: style(LEFT_COLUMN_STYLE, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, stretched: true, children: _?.title }, String(i)))), otherLinks.map((_, i) => (jsx(Link, { className: "text-s font-light", ..._ }, `${_.href}_${i}`)))] })] }), jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
|
|
11185
|
+
return (jsxs(BlockWrapper, { tag: "footer", className: style('grid gap-y-xl p-4xl pb-24 lg:p-xl', className), ...rest, children: [renderLogoSearchBar(common, navigationItems), jsxs("div", { className: "flex flex-col lg:flex-row items-center @lg:items-stretch gap-lg lg:gap-6xl ", children: [jsx(Sitemap, { navigationItems: navigationItems }), jsx("div", { className: "border-t border-main-divider lg:hidden w-full" }), jsxs("div", { className: style(LEFT_COLUMN_STYLE, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, stretched: true, children: _?.title }, String(i)))), jsx("div", { className: "flex gap-m xl:gap-xs flex-wrap", children: otherLinks.map((_, i) => (jsx(Link, { className: "text-s font-light", ..._ }, `${_.href}_${i}`))) })] })] }), jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
|
|
11186
11186
|
});
|
|
11187
11187
|
|
|
11188
11188
|
const getInnerPadding = (isPadding = false) => isPadding ? {} : { padding: 'p-0' };
|
|
@@ -12599,7 +12599,7 @@
|
|
|
12599
12599
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
12600
12600
|
});
|
|
12601
12601
|
|
|
12602
|
-
const packageVersion = "0.14.
|
|
12602
|
+
const packageVersion = "0.14.948";
|
|
12603
12603
|
|
|
12604
12604
|
exports.Blocks = Blocks;
|
|
12605
12605
|
exports.ContentPage = ContentPage;
|