@redneckz/wildless-cms-uni-blocks 0.14.300 → 0.14.302

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 (37) hide show
  1. package/bundle/bundle.umd.js +5 -5
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/BankAccountFiltration/BankAccountFiltration.js +1 -1
  4. package/dist/components/BankAccountFiltration/BankAccountFiltration.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/HorizontalNavigation.js +1 -1
  8. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  9. package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  10. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  11. package/lib/common.css +1 -1
  12. package/lib/components/BankAccountFiltration/BankAccountFiltration.js +1 -1
  13. package/lib/components/BankAccountFiltration/BankAccountFiltration.js.map +1 -1
  14. package/lib/components/Footer/Footer.js +1 -1
  15. package/lib/components/Footer/Footer.js.map +1 -1
  16. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  17. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  18. package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  19. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  20. package/mobile/bundle/bundle.umd.js +2 -2
  21. package/mobile/bundle/bundle.umd.min.js +1 -1
  22. package/mobile/dist/components/BankAccountFiltration/BankAccountFiltration.js +1 -1
  23. package/mobile/dist/components/BankAccountFiltration/BankAccountFiltration.js.map +1 -1
  24. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  25. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  26. package/mobile/lib/common.css +1 -1
  27. package/mobile/lib/components/BankAccountFiltration/BankAccountFiltration.js +1 -1
  28. package/mobile/lib/components/BankAccountFiltration/BankAccountFiltration.js.map +1 -1
  29. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  30. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  31. package/mobile/src/components/BankAccountFiltration/BankAccountFiltration.tsx +1 -1
  32. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  33. package/package.json +1 -1
  34. package/src/components/BankAccountFiltration/BankAccountFiltration.tsx +1 -1
  35. package/src/components/Footer/Footer.tsx +3 -3
  36. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  37. package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
@@ -2407,7 +2407,7 @@
2407
2407
  childrenTypes: ['CarouselTariffsCard'],
2408
2408
  childSchema: (content) => ({
2409
2409
  ...content?.filtrationSchema,
2410
- ...(content?.consumerField ? { consumerField: content?.consumerField } : {}),
2410
+ ...(content?.consumerField ? { consumer: content?.consumerField } : {}),
2411
2411
  }),
2412
2412
  });
2413
2413
  const stringArrayToOptions = (stringEnum) => zip(stringEnum.items?.enum || [], stringEnum.items?.enumNames || []).map(([key, text]) => ({
@@ -4073,7 +4073,7 @@
4073
4073
  const renderColumn = (menuItem, index) => {
4074
4074
  const { text, items = [], href, target, onClick } = menuItem;
4075
4075
  const visibleSubItems = items.filter(isVisibleItem$1);
4076
- return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), visibleSubItems.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
4076
+ return (jsxs("div", { className: "flex flex-col gap-s @sm:w-full @md:w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), visibleSubItems.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
4077
4077
  };
4078
4078
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
4079
4079
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -4155,7 +4155,7 @@
4155
4155
  return (jsx("a", { className: style(horizontalNavigationLinkStyles, className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
4156
4156
  });
4157
4157
 
4158
- const HorizontalNavigation = JSX(({ className = '', links }) => (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-lg py-lg border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light max-w-[292px]", ..._ }, String(i)))) })) : null })));
4158
+ const HorizontalNavigation = JSX(({ className = '', links }) => (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-lg py-lg border-solid border-x-0 border-y border-y-main-divider flex-col @sm:flex-row", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light max-w-[292px]", ..._ }, String(i)))) })) : null })));
4159
4159
 
4160
4160
  const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
4161
4161
  const link = useLink({ isRemote: true });
@@ -4174,7 +4174,7 @@
4174
4174
  const [name, oldValue, newValue] = COOKIE_REPLACE;
4175
4175
  mapCookie(name, (value) => value?.replace(oldValue, newValue));
4176
4176
  }, []);
4177
- 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: logo }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-stretch gap-6xl", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), 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" }), jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: "!text-left text-s font-light", 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" })] }), jsx(Sitemap, { className: "flex-grow", ...sitemap })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
4177
+ 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: logo }), 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 }), 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" }), jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: "!text-left text-s font-light", 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" })] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
4178
4178
  });
4179
4179
 
4180
4180
  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] })));
@@ -6205,7 +6205,7 @@
6205
6205
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6206
6206
  });
6207
6207
 
6208
- const packageVersion = "0.14.299";
6208
+ const packageVersion = "0.14.301";
6209
6209
 
6210
6210
  exports.Blocks = Blocks;
6211
6211
  exports.ContentPage = ContentPage;