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

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 (30) hide show
  1. package/bundle/bundle.umd.js +3 -3
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/Footer/Contacts.js +2 -1
  4. package/dist/components/Footer/Contacts.js.map +1 -1
  5. package/dist/components/Footer/Footer.js +1 -1
  6. package/dist/components/Footer/Footer.js.map +1 -1
  7. package/dist/components/Footer/Footer.mobile.js +1 -1
  8. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  9. package/lib/components/Footer/Contacts.js +2 -1
  10. package/lib/components/Footer/Contacts.js.map +1 -1
  11. package/lib/components/Footer/Footer.js +1 -1
  12. package/lib/components/Footer/Footer.js.map +1 -1
  13. package/lib/components/Footer/Footer.mobile.js +1 -1
  14. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  15. package/mobile/bundle/bundle.umd.js +3 -3
  16. package/mobile/bundle/bundle.umd.min.js +1 -1
  17. package/mobile/dist/components/Footer/Contacts.js +2 -1
  18. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  19. package/mobile/dist/components/Footer/Footer.js +1 -1
  20. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  21. package/mobile/lib/components/Footer/Contacts.js +2 -1
  22. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  23. package/mobile/lib/components/Footer/Footer.js +1 -1
  24. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  25. package/mobile/src/components/Footer/Contacts.tsx +4 -1
  26. package/mobile/src/components/Footer/Footer.tsx +3 -1
  27. package/package.json +1 -1
  28. package/src/components/Footer/Contacts.tsx +4 -1
  29. package/src/components/Footer/Footer.mobile.tsx +3 -1
  30. package/src/components/Footer/Footer.tsx +3 -1
@@ -4135,7 +4135,7 @@
4135
4135
  }
4136
4136
  };
4137
4137
 
4138
- const Contacts = JSX(({ className = '', items = [] }) => items?.length ? jsx("div", { className: className, children: items.map(renderContactsGroup) }) : null);
4138
+ const Contacts = JSX(({ className = '', items = [] }) => items?.length ? (jsx("div", { className: style('space-y-m', className), children: items.map(renderContactsGroup) })) : null);
4139
4139
  const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
4140
4140
  const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(index)));
4141
4141
  const renderText = (type, text = '') => {
@@ -4181,7 +4181,7 @@
4181
4181
  mapCookie(name, (value) => value?.replace(oldValue, newValue));
4182
4182
  }, []);
4183
4183
  const linkStyle = '!text-left text-s font-light';
4184
- return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? jsx(LinkButton, { className: "w-full mt-xs", ...feedbackButton }) : null, jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, showButtonText: false, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), isOldVersionButton ? (jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: linkStyle, onClick: handleOnClick, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0436\u043D\u044E\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0430\u0439\u0442\u0430" })) : null, otherLinks.map((_, i) => (jsx(LinkButton, { className: linkStyle, version: "link", ..._, children: _?.text }, String(i))))] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
4184
+ return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full mt-xs", version: "primary", ...feedbackButton })) : null, jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, showButtonText: false, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), isOldVersionButton ? (jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: linkStyle, onClick: handleOnClick, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0436\u043D\u044E\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0430\u0439\u0442\u0430" })) : null, otherLinks.map((_, i) => (jsx(LinkButton, { className: linkStyle, version: "link", ..._, children: _?.text }, String(i))))] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
4185
4185
  });
4186
4186
 
4187
4187
  const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
@@ -6188,7 +6188,7 @@
6188
6188
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6189
6189
  });
6190
6190
 
6191
- const packageVersion = "0.14.305";
6191
+ const packageVersion = "0.14.306";
6192
6192
 
6193
6193
  exports.Blocks = Blocks;
6194
6194
  exports.ContentPage = ContentPage;