@redneckz/wildless-cms-uni-blocks 0.13.18 → 0.13.19
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/bin/migration-scripts/0.13.14.js +25 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +34 -20
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +0 -2
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/cosmos-static/icons/RutubeIcon.svg +1 -0
- package/dist/components/Blocks.mobile.js +4 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +2 -2
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +0 -2
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +1 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/Footer/iconsMap.js +5 -0
- package/dist/components/Footer/iconsMap.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +5 -5
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Header/isHrefActive.js +3 -1
- package/dist/components/Header/isHrefActive.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +12 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/dist/components/ProductBlock/renderBackwardButton.js +8 -7
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
- package/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
- package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
- package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
- package/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/dist/components/StickyBottomMenu/RenderItem.js +7 -5
- package/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
- package/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
- package/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
- package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
- package/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.mobile.js +4 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +2 -2
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +0 -2
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +1 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.fixture.mobile.d.ts +6 -0
- package/lib/components/Footer/iconsMap.js +5 -0
- package/lib/components/Footer/iconsMap.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +5 -5
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Header/isHrefActive.js +3 -1
- package/lib/components/Header/isHrefActive.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +6 -0
- package/lib/components/ProductBlock/ProductBlock.js +12 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/lib/components/ProductBlock/renderBackwardButton.js +8 -7
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
- package/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
- package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
- package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
- package/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/lib/components/StickyBottomMenu/RenderItem.js +7 -5
- package/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
- package/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
- package/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
- package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
- package/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +0 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +240 -46
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +0 -2
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/mobile/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/mobile/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/mobile/dist/components/Blocks.js +4 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +2 -2
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +0 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/Footer/iconsMap.js +5 -0
- package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +5 -5
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Header/isHrefActive.js +3 -1
- package/mobile/dist/components/Header/isHrefActive.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +8 -7
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/mobile/dist/components/StickyBottomMenu/RenderItem.js +7 -5
- package/mobile/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
- package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
- package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Blocks.js +4 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +2 -2
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +0 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/Footer/iconsMap.js +5 -0
- package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +5 -5
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Header/isHrefActive.js +3 -1
- package/mobile/lib/components/Header/isHrefActive.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +12 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +8 -7
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
- package/mobile/lib/components/StickyBottomMenu/RenderItem.js +7 -5
- package/mobile/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
- package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
- package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
- package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
- package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/src/components/Blocks.ts +4 -0
- package/mobile/src/components/Carousel/Carousel.tsx +6 -9
- package/mobile/src/components/Carousel/CarouselContent.ts +0 -2
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
- package/mobile/src/components/Footer/iconsMap.ts +5 -0
- package/mobile/src/components/Header/HeaderTop.tsx +34 -28
- package/mobile/src/components/Header/isHrefActive.ts +3 -1
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -4
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +27 -16
- package/mobile/src/components/ProductBlock/ProductBlock.ui.json +0 -8
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -3
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
- package/mobile/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
- package/mobile/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
- package/mobile/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
- package/mobile/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
- package/mobile/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/RutubeIcon.svg +1 -0
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
- package/package.json +1 -1
- package/src/components/Blocks.mobile.ts +4 -0
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -8
- package/src/components/Carousel/Carousel.tsx +6 -9
- package/src/components/Carousel/CarouselContent.ts +0 -2
- package/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
- package/src/components/ContentPage/ContentPage.tsx +2 -2
- package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +203 -0
- package/src/components/Footer/iconsMap.ts +5 -0
- package/src/components/Header/HeaderTop.tsx +34 -28
- package/src/components/Header/isHrefActive.ts +3 -1
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +205 -0
- package/src/components/ProductBlock/ProductBlock.example.json +1 -4
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -9
- package/src/components/ProductBlock/ProductBlock.tsx +27 -16
- package/src/components/ProductBlock/ProductBlock.ui.json +0 -8
- package/src/components/ProductBlock/ProductBlockContent.ts +2 -3
- package/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
- package/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
- package/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
- package/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
- package/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
- package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.mobile.tsx +4 -4
- package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.tsx +4 -4
- package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +2 -2
- package/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
- package/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
- package/src/icons/IconName.ts +4 -1
- package/src/icons/RutubeIcon.svg +1 -0
- package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
- package/src/ui-kit/DialogManager/Dialog.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
- package/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
- package/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
- package/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
- package/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
- package/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -2
- package/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
- package/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
- package/mobile/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
- package/mobile/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
- package/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
package/bundle/bundle.umd.js
CHANGED
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
});
|
|
2356
2356
|
}
|
|
2357
2357
|
};
|
|
2358
|
-
return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
2358
|
+
return dotCount ? (jsx("div", { className: style('flex gap-xs @lg:hidden', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
2359
2359
|
});
|
|
2360
2360
|
|
|
2361
2361
|
const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
|
|
@@ -2540,7 +2540,7 @@
|
|
|
2540
2540
|
'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider');
|
|
2541
2541
|
const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
|
|
2542
2542
|
|
|
2543
|
-
const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter,
|
|
2543
|
+
const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
|
|
2544
2544
|
const { blocks: childBlocks = [] } = rest.block || {};
|
|
2545
2545
|
const count = itemCount || childBlocks?.length;
|
|
2546
2546
|
const [activeIndex, { inc: increaseActiveIndex, dec: decreaseActiveIndex }] = useCarouselControls({
|
|
@@ -2551,7 +2551,7 @@
|
|
|
2551
2551
|
const [dotsActiveIndex] = scroll.visibleIndicesRange;
|
|
2552
2552
|
// TODO Remove
|
|
2553
2553
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
2554
|
-
return (
|
|
2554
|
+
return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
|
|
2555
2555
|
});
|
|
2556
2556
|
Carousel.childrenTypes = [
|
|
2557
2557
|
'CarouselCard',
|
|
@@ -2639,7 +2639,7 @@
|
|
|
2639
2639
|
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })) : null] }), links?.length ? renderLinks(links, maxLinksCount) : null] })));
|
|
2640
2640
|
const renderLinks = (links, maxLinksCount) => {
|
|
2641
2641
|
const itemCount = Math.ceil(links.length / maxLinksCount);
|
|
2642
|
-
return (jsx(Carousel, { className: "@container-normal sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false,
|
|
2642
|
+
return (jsx(Carousel, { className: "@container-normal sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start w-full sm:w-[672px]'), children: links
|
|
2643
2643
|
.slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
|
|
2644
2644
|
.map((link, index) => (jsx(CarouselLinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
|
|
2645
2645
|
};
|
|
@@ -2777,6 +2777,11 @@
|
|
|
2777
2777
|
iconMapped: { icon: 'YoutubeIcon' },
|
|
2778
2778
|
label: 'Youtube',
|
|
2779
2779
|
},
|
|
2780
|
+
{
|
|
2781
|
+
origins: ['rutube.com'],
|
|
2782
|
+
iconMapped: { icon: 'RutubeIcon' },
|
|
2783
|
+
label: 'Rutube',
|
|
2784
|
+
},
|
|
2780
2785
|
];
|
|
2781
2786
|
|
|
2782
2787
|
const findIconByHref = (href) => ICONS_MAP.find(({ origins }) => origins?.some((_) => href?.includes(_))) || {};
|
|
@@ -2954,7 +2959,7 @@
|
|
|
2954
2959
|
};
|
|
2955
2960
|
|
|
2956
2961
|
const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
2957
|
-
const resultsGridStyle = 'grid grid-cols-12 gap-2xs border-box';
|
|
2962
|
+
const resultsGridStyle = 'lg:grid lg:grid-cols-12 gap-2xs border-box';
|
|
2958
2963
|
const BaseFiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
|
|
2959
2964
|
const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
|
|
2960
2965
|
const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
|
|
@@ -2984,7 +2989,7 @@
|
|
|
2984
2989
|
return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
|
|
2985
2990
|
});
|
|
2986
2991
|
|
|
2987
|
-
const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex justify-between bg-white p-4xl", children: [jsxs("div", { className: "flex gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-72 ml-s", onClick: reset, ...resetButton }) })) : null] }));
|
|
2992
|
+
const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, ...resetButton }) })) : null] }));
|
|
2988
2993
|
const renderFormItem = (field) => ([key, item]) => {
|
|
2989
2994
|
const type = item?.type;
|
|
2990
2995
|
switch (type) {
|
|
@@ -3386,7 +3391,7 @@
|
|
|
3386
3391
|
close();
|
|
3387
3392
|
onClose && onClose();
|
|
3388
3393
|
}, [onClose]);
|
|
3389
|
-
return (jsxs("div", { className: style('relative min-h-full bg-white p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
3394
|
+
return (jsxs("div", { className: style('relative min-h-full bg-white pt-0 p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
3390
3395
|
});
|
|
3391
3396
|
|
|
3392
3397
|
const Sitemap = JSX(({ className, topItems }) => {
|
|
@@ -3516,7 +3521,9 @@
|
|
|
3516
3521
|
const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
3517
3522
|
const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
3518
3523
|
|
|
3519
|
-
const isHrefActive = (router) => ({ href }) =>
|
|
3524
|
+
const isHrefActive = (router) => ({ href }) => !href
|
|
3525
|
+
? false
|
|
3526
|
+
: withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
|
|
3520
3527
|
|
|
3521
3528
|
const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
|
|
3522
3529
|
|
|
@@ -4476,19 +4483,26 @@
|
|
|
4476
4483
|
const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-xs bg-secondary-light" }, String(index)));
|
|
4477
4484
|
const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
|
|
4478
4485
|
|
|
4479
|
-
function renderBackwardButton(
|
|
4486
|
+
function renderBackwardButton(version, handleClick) {
|
|
4480
4487
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
4481
|
-
const
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
icon:
|
|
4485
|
-
iconVersion:
|
|
4486
|
-
} }) }), jsx(Button, { version: "link",
|
|
4488
|
+
const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
|
|
4489
|
+
const text = 'Вернуться назад';
|
|
4490
|
+
return (jsxs("div", { className: "flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
|
|
4491
|
+
icon: 'ArrowLeftIcon',
|
|
4492
|
+
iconVersion: iconVersion,
|
|
4493
|
+
} }) }), jsx(Button, { version: "link", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
4487
4494
|
}
|
|
4488
4495
|
|
|
4489
|
-
const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) =>
|
|
4490
|
-
|
|
4491
|
-
|
|
4496
|
+
const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) => {
|
|
4497
|
+
const router = useRouter();
|
|
4498
|
+
const handleClick = useCallback((ev) => {
|
|
4499
|
+
ev?.preventDefault();
|
|
4500
|
+
router.back();
|
|
4501
|
+
}, []);
|
|
4502
|
+
return (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
|
|
4503
|
+
? renderBackwardButton(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
|
|
4504
|
+
: null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] }));
|
|
4505
|
+
});
|
|
4492
4506
|
|
|
4493
4507
|
const ProductGallery = JSX(({ className = '', padding, slides = [], ...rest }) => {
|
|
4494
4508
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
@@ -5291,7 +5305,7 @@
|
|
|
5291
5305
|
parent: data,
|
|
5292
5306
|
};
|
|
5293
5307
|
useBlockRouterProvider();
|
|
5294
|
-
return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null
|
|
5308
|
+
return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null, jsx(StickyBottomMenu, {}), jsx(DialogManager, {})] }), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
5295
5309
|
});
|
|
5296
5310
|
ContentPage.childrenTypes = [];
|
|
5297
5311
|
ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
|
|
@@ -5299,7 +5313,7 @@
|
|
|
5299
5313
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5300
5314
|
}
|
|
5301
5315
|
|
|
5302
|
-
const packageVersion = "0.13.
|
|
5316
|
+
const packageVersion = "0.13.19";
|
|
5303
5317
|
|
|
5304
5318
|
exports.Blocks = Blocks;
|
|
5305
5319
|
exports.ContentPage = ContentPage;
|