@redneckz/wildless-cms-uni-blocks 0.6.50 → 0.7.2
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/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +346 -500
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
- package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/bundle/components/Footer/MediaButton.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.d.ts +1 -3
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
- package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/bundle/components/Tile/Tile.d.ts +0 -1
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/bundle/components/Video/getPaddings.d.ts +1 -1
- package/bundle/icons/IconName.d.ts +6 -4
- package/bundle/model/BlockVersion.d.ts +6 -20
- package/bundle/model/ButtonVersion.d.ts +3 -3
- package/bundle/model/JSXBlock.d.ts +2 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
- package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/bundle/ui-kit/List/ListItem.d.ts +1 -2
- package/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
- package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/bundle/utils/getColSpan.d.ts +1 -1
- package/bundle/utils/style.d.ts +3 -0
- package/cosmos-static/icons/YoutubeIcon.svg +1 -0
- package/dist/BlockRenderer/renderBlock.js +4 -3
- package/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.js +1 -1
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +1 -4
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +5 -7
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
- package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +5 -3
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/dist/components/CarouselCard/CarouselCard.js +3 -3
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +2 -2
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/MediaButton.d.ts +2 -2
- package/dist/components/Footer/MediaButton.js +12 -13
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -3
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/dist/components/Footer/SocialMedia.mobile.js +1 -1
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/dist/components/Gallery/Gallery.js +1 -1
- package/dist/components/Gallery/Gallery.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +6 -7
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +8 -11
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.js +5 -4
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +5 -5
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/dist/components/Header/DropdownMenu.js +4 -7
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.js +6 -6
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +7 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenu.js +2 -2
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenuItem.js +2 -2
- package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.js +4 -5
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/dist/components/HorizontalLayout/gapStyles.js +12 -0
- package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +2 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/dist/components/LinkDocs/LinkDocsList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MiniGallery/MiniGallery.js +1 -1
- package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/dist/components/PictureText/PictureText.js +1 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.js +2 -1
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -7
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +7 -20
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/dist/components/ProductTile/ProductTile.js +5 -6
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
- package/dist/components/ProductTile/renderBenefit.js +2 -6
- package/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +3 -3
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +2 -4
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/dist/components/Recommendation/RecommendationCard.js +4 -3
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +7 -15
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -6
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/StepsBlock/renderStepContent.js +2 -7
- package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/dist/components/Tabs/renderGroupTab.js +1 -1
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
- package/dist/components/Tabs/tabItemClasses.js +2 -2
- package/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/Tile/Tile.d.ts +0 -1
- package/dist/components/Tile/Tile.js +5 -10
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/dist/components/Video/Video.js +2 -4
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/components/Video/getPaddings.d.ts +1 -1
- package/dist/components/Video/getPaddings.js.map +1 -1
- package/dist/icons/IconName.d.ts +6 -4
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +6 -20
- package/dist/model/BlockVersion.js +0 -33
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +3 -3
- package/dist/model/JSXBlock.d.ts +2 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +2 -0
- package/dist/ui-kit/BlockWrapper.js +11 -3
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ArrowButton.js +2 -2
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/dist/ui-kit/Foldable/Foldable.js +2 -2
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +2 -5
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +3 -8
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/dist/ui-kit/List/List.js +1 -12
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +1 -2
- package/dist/ui-kit/List/ListItem.js +1 -8
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/dist/ui-kit/Location/Location.js +1 -1
- package/dist/ui-kit/Location/Location.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/dist/ui-kit/Text/Text.js +1 -1
- package/dist/ui-kit/Text/Text.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +2 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/dist/ui-kit/TopItem/TopItem.js +9 -18
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/utils/getColSpan.d.ts +1 -1
- package/dist/utils/getColSpan.js +1 -1
- package/dist/utils/getColSpan.js.map +1 -1
- package/dist/utils/style.d.ts +3 -0
- package/dist/utils/style.js +8 -0
- package/dist/utils/style.js.map +1 -0
- package/lib/BlockRenderer/renderBlock.js +4 -3
- package/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +1 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +1 -4
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +5 -7
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
- package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +5 -3
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/lib/components/CarouselCard/CarouselCard.js +3 -3
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +2 -2
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/MediaButton.d.ts +2 -2
- package/lib/components/Footer/MediaButton.js +12 -13
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -3
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/lib/components/Footer/SocialMedia.mobile.js +1 -1
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/lib/components/Gallery/Gallery.js +1 -1
- package/lib/components/Gallery/Gallery.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +6 -7
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +8 -11
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.js +5 -4
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +5 -5
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/lib/components/Header/DropdownMenu.js +4 -7
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.js +6 -6
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +7 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenu.js +2 -2
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenuItem.js +2 -2
- package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +0 -2
- package/lib/components/Headline/Headline.js +4 -5
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/lib/components/HorizontalLayout/gapStyles.js +10 -0
- package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +2 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/lib/components/LinkDocs/LinkDocsList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/lib/components/LinkList/LinkList.js +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.js +1 -1
- package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/lib/components/PictureText/PictureText.js +1 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/Placeholder/Placeholder.js +2 -1
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -7
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +7 -20
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +5 -6
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
- package/lib/components/ProductTile/renderBenefit.js +2 -6
- package/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +3 -3
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.js +2 -4
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/lib/components/Recommendation/RecommendationCard.js +4 -3
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +7 -15
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +3 -6
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/StepsBlock/renderStepContent.js +3 -8
- package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +5 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/lib/components/Tabs/renderGroupTab.js +1 -1
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
- package/lib/components/Tabs/tabItemClasses.js +2 -2
- package/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/Tile/Tile.d.ts +0 -1
- package/lib/components/Tile/Tile.js +5 -10
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/lib/components/Video/Video.js +2 -4
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/getPaddings.d.ts +1 -1
- package/lib/components/Video/getPaddings.js.map +1 -1
- package/lib/icons/IconName.d.ts +6 -4
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +6 -20
- package/lib/model/BlockVersion.js +1 -32
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +3 -3
- package/lib/model/JSXBlock.d.ts +2 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +2 -0
- package/lib/ui-kit/BlockWrapper.js +10 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ArrowButton.js +2 -2
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/lib/ui-kit/Foldable/Foldable.js +2 -2
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +2 -5
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.js +3 -8
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/lib/ui-kit/List/List.fixture.d.ts +0 -2
- package/lib/ui-kit/List/List.js +1 -12
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +1 -2
- package/lib/ui-kit/List/ListItem.js +1 -8
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/lib/ui-kit/Location/Location.js +1 -1
- package/lib/ui-kit/Location/Location.js.map +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/lib/ui-kit/Text/Text.js +1 -1
- package/lib/ui-kit/Text/Text.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +2 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/lib/ui-kit/TopItem/TopItem.js +9 -18
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/utils/getColSpan.d.ts +1 -1
- package/lib/utils/getColSpan.js +1 -1
- package/lib/utils/getColSpan.js.map +1 -1
- package/lib/utils/style.d.ts +3 -0
- package/lib/utils/style.js +5 -0
- package/lib/utils/style.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +168 -169
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
- package/mobile/bundle/icons/IconName.d.ts +6 -4
- package/mobile/bundle/model/BlockVersion.d.ts +6 -20
- package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
- package/mobile/bundle/model/JSXBlock.d.ts +2 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/bundle/utils/getColSpan.d.ts +1 -1
- package/mobile/bundle/utils/style.d.ts +3 -0
- package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
- package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +5 -7
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +5 -3
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/dist/components/CarouselCard/CarouselCard.js +3 -3
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/dist/components/Footer/MediaButton.js +12 -13
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/dist/components/Footer/SocialMedia.js +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +6 -7
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/dist/components/Header/DropdownMenu.js +4 -7
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +7 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +6 -5
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
- package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.js +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/dist/components/PictureText/PictureText.js +1 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
- package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
- package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +0 -1
- package/mobile/dist/components/Tile/Tile.js +5 -10
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/dist/components/Video/Video.js +2 -4
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
- package/mobile/dist/components/Video/getPaddings.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +6 -4
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +6 -20
- package/mobile/dist/model/BlockVersion.js +0 -33
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +3 -3
- package/mobile/dist/model/JSXBlock.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -12
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/dist/ui-kit/List/ListItem.js +1 -8
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/dist/ui-kit/Location/Location.js +1 -1
- package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Text/Text.js +1 -1
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/utils/getColSpan.d.ts +1 -1
- package/mobile/dist/utils/getColSpan.js +1 -1
- package/mobile/dist/utils/getColSpan.js.map +1 -1
- package/mobile/dist/utils/style.d.ts +3 -0
- package/mobile/dist/utils/style.js +8 -0
- package/mobile/dist/utils/style.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
- package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.js +1 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +5 -7
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +5 -3
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/lib/components/CarouselCard/CarouselCard.js +3 -3
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/lib/components/Footer/MediaButton.js +12 -13
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/lib/components/Footer/SocialMedia.js +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +6 -7
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/lib/components/Header/DropdownMenu.js +4 -7
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +7 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +6 -5
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
- package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.js +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/lib/components/PictureText/PictureText.js +1 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
- package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
- package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
- package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +0 -1
- package/mobile/lib/components/Tile/Tile.js +5 -10
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/lib/components/Video/Video.js +2 -4
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
- package/mobile/lib/components/Video/getPaddings.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +6 -4
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +6 -20
- package/mobile/lib/model/BlockVersion.js +1 -32
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +3 -3
- package/mobile/lib/model/JSXBlock.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -12
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/lib/ui-kit/List/ListItem.js +1 -8
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/lib/ui-kit/Location/Location.js +1 -1
- package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Text/Text.js +1 -1
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/utils/getColSpan.d.ts +1 -1
- package/mobile/lib/utils/getColSpan.js +1 -1
- package/mobile/lib/utils/getColSpan.js.map +1 -1
- package/mobile/lib/utils/style.d.ts +3 -0
- package/mobile/lib/utils/style.js +5 -0
- package/mobile/lib/utils/style.js.map +1 -0
- package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
- package/mobile/src/common.css +11 -0
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
- package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
- package/mobile/src/components/Bonus/Bonus.tsx +19 -27
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
- package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/Calculator.tsx +1 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
- package/mobile/src/components/Carousel/Carousel.example.json +2 -1
- package/mobile/src/components/Carousel/Carousel.tsx +14 -3
- package/mobile/src/components/Carousel/Carousel.ui.json +8 -0
- package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -7
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
- package/mobile/src/components/Catalog/Catalog.tsx +1 -4
- package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/mobile/src/components/Footer/MediaButton.tsx +27 -25
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
- package/mobile/src/components/Gallery/Gallery.tsx +23 -24
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
- package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
- package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
- package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
- package/mobile/src/components/Header/Header.tsx +57 -48
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
- package/mobile/src/components/Header/HeaderTop.tsx +2 -5
- package/mobile/src/components/Headline/Headline.tsx +28 -16
- package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
- package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -0
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/mobile/src/components/LinkList/LinkList.tsx +1 -1
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
- package/mobile/src/components/PictureText/PictureText.tsx +3 -14
- package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
- package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
- package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
- package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
- package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
- package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
- package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
- package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
- package/mobile/src/components/Tile/Tile.tsx +22 -42
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
- package/mobile/src/components/Video/Video.tsx +17 -20
- package/mobile/src/components/Video/getPaddings.ts +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/YoutubeIcon.svg +3 -0
- package/mobile/src/model/BlockVersion.ts +11 -53
- package/mobile/src/model/ButtonVersion.ts +3 -3
- package/mobile/src/model/JSXBlock.ts +2 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
- package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
- package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
- package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
- package/mobile/src/ui-kit/List/List.tsx +23 -43
- package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
- package/mobile/src/ui-kit/List/ListProps.ts +0 -7
- package/mobile/src/ui-kit/Location/Location.tsx +1 -1
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
- package/mobile/src/ui-kit/Text/Text.tsx +2 -4
- package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
- package/mobile/src/utils/getColSpan.ts +2 -2
- package/mobile/src/utils/style.ts +7 -0
- package/package.json +2 -2
- package/src/BlockRenderer/renderBlock.tsx +8 -3
- package/src/common.css +11 -0
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/Accordion.tsx +1 -4
- package/src/components/AccordionItem/AccordionItem.tsx +1 -1
- package/src/components/BaseTile/BaseTile.tsx +1 -5
- package/src/components/BaseTile/BaseTileProps.ts +3 -4
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
- package/src/components/Blocks.ts +2 -0
- package/src/components/Bonus/Bonus.tsx +19 -27
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
- package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
- package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
- package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/src/components/Calculator/Calculator.tsx +1 -4
- package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
- package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +1 -4
- package/src/components/Carousel/Carousel.example.json +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +20 -28
- package/src/components/Carousel/Carousel.tsx +14 -3
- package/src/components/Carousel/Carousel.ui.json +8 -0
- package/src/components/Carousel/CarouselContent.ts +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
- package/src/components/CarouselCard/CarouselCard.tsx +15 -7
- package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
- package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +3 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
- package/src/components/Catalog/Catalog.tsx +1 -4
- package/src/components/Catalog/CatalogCard.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
- package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
- package/src/components/ContentPage/ContentPage.tsx +2 -5
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/MediaButton.tsx +27 -25
- package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
- package/src/components/Footer/SocialMedia.tsx +4 -12
- package/src/components/Gallery/Gallery.fixture.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +23 -24
- package/src/components/Gallery/Gallery.tsx +3 -1
- package/src/components/Gallery/GalleryCardInner.tsx +21 -26
- package/src/components/Gallery/GalleryContainer.tsx +22 -10
- package/src/components/Gallery/GalleryInner.tsx +12 -7
- package/src/components/GracePeriod/GracePeriod.tsx +2 -8
- package/src/components/Header/DropdownMenu.tsx +41 -47
- package/src/components/Header/Header.mobile.tsx +57 -48
- package/src/components/Header/Header.tsx +21 -17
- package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
- package/src/components/Header/HeaderSubMenu.tsx +1 -5
- package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
- package/src/components/Header/HeaderTop.tsx +2 -5
- package/src/components/Headline/Headline.fixture.tsx +40 -43
- package/src/components/Headline/Headline.tsx +11 -11
- package/src/components/Headline/HeadlineContent.ts +0 -2
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
- package/src/components/HorizontalLayout/gapStyles.ts +11 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
- package/src/components/LinkDocs/LinkDocs.tsx +2 -2
- package/src/components/LinkDocs/LinkDocsContent.ts +4 -0
- package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
- package/src/components/LinkList/LinkList.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
- package/src/components/PictureText/PictureText.tsx +3 -14
- package/src/components/Placeholder/Placeholder.tsx +6 -3
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
- package/src/components/ProductBlock/ProductBlock.tsx +5 -13
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
- package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
- package/src/components/ProductGallery/ProductGallery.tsx +10 -31
- package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
- package/src/components/ProductTile/ProductTile.tsx +14 -17
- package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
- package/src/components/ProductTile/renderBenefit.tsx +6 -9
- package/src/components/PromoTile/PromoTile.tsx +12 -13
- package/src/components/Recommendation/Recommendation.tsx +3 -4
- package/src/components/Recommendation/RecommendationCard.tsx +12 -14
- package/src/components/RollupItem/RollupItem.tsx +36 -41
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
- package/src/components/StepsBlock/StepsBlock.tsx +3 -5
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
- package/src/components/StepsBlock/renderStepContent.tsx +9 -8
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +27 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
- package/src/components/Tabs/renderGroupTab.tsx +2 -1
- package/src/components/Tabs/tabItemClasses.ts +2 -2
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
- package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
- package/src/components/TariffsTable/TariffsTable.tsx +1 -3
- package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
- package/src/components/Tile/Tile.tsx +22 -42
- package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
- package/src/components/Video/Video.tsx +17 -20
- package/src/components/Video/getPaddings.ts +1 -1
- package/src/icons/IconName.ts +336 -6
- package/src/icons/YoutubeIcon.svg +3 -0
- package/src/model/BlockVersion.ts +11 -53
- package/src/model/ButtonVersion.ts +3 -3
- package/src/model/JSXBlock.ts +2 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
- package/src/ui-kit/BlockWrapper.tsx +17 -2
- package/src/ui-kit/Button/ArrowButton.tsx +2 -2
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/Foldable/Foldable.tsx +4 -2
- package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
- package/src/ui-kit/Heading/Heading.tsx +6 -8
- package/src/ui-kit/Icon/Icon.tsx +6 -9
- package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
- package/src/ui-kit/List/List.fixture.tsx +4 -14
- package/src/ui-kit/List/List.tsx +23 -43
- package/src/ui-kit/List/ListItem.tsx +13 -22
- package/src/ui-kit/List/ListProps.ts +0 -7
- package/src/ui-kit/Location/Location.tsx +1 -1
- package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +6 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
- package/src/ui-kit/Text/Text.tsx +2 -4
- package/src/ui-kit/Text/TextProps.ts +5 -2
- package/src/ui-kit/TopItem/TopItem.tsx +21 -27
- package/src/utils/getColSpan.ts +2 -2
- package/src/utils/style.ts +7 -0
- package/tailwind.config.cjs +6 -0
- package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
- package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
- package/bundle/components/Headline/headlineStyles.d.ts +0 -7
- package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
- package/bundle/model/BorderVersion.d.ts +0 -6
- package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/bundle/utils/style2className.d.ts +0 -1
- package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
- package/dist/components/Calculator/renderButtonSection.js +0 -9
- package/dist/components/Calculator/renderButtonSection.js.map +0 -1
- package/dist/components/Headline/Headline.mobile.d.ts +0 -5
- package/dist/components/Headline/Headline.mobile.js +0 -13
- package/dist/components/Headline/Headline.mobile.js.map +0 -1
- package/dist/components/Headline/headlineStyles.d.ts +0 -7
- package/dist/components/Headline/headlineStyles.js +0 -18
- package/dist/components/Headline/headlineStyles.js.map +0 -1
- package/dist/components/StepsBlock/renderItems.d.ts +0 -8
- package/dist/components/StepsBlock/renderItems.js +0 -7
- package/dist/components/StepsBlock/renderItems.js.map +0 -1
- package/dist/model/BorderVersion.d.ts +0 -6
- package/dist/model/BorderVersion.js +0 -7
- package/dist/model/BorderVersion.js.map +0 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/dist/ui-kit/Button/ButtonSection.js +0 -23
- package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
- package/dist/utils/style2className.d.ts +0 -1
- package/dist/utils/style2className.js +0 -7
- package/dist/utils/style2className.js.map +0 -1
- package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
- package/lib/components/Calculator/renderButtonSection.js +0 -6
- package/lib/components/Calculator/renderButtonSection.js.map +0 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
- package/lib/components/Headline/Headline.mobile.d.ts +0 -5
- package/lib/components/Headline/Headline.mobile.js +0 -11
- package/lib/components/Headline/Headline.mobile.js.map +0 -1
- package/lib/components/Headline/headlineStyles.d.ts +0 -7
- package/lib/components/Headline/headlineStyles.js +0 -16
- package/lib/components/Headline/headlineStyles.js.map +0 -1
- package/lib/components/StepsBlock/renderItems.d.ts +0 -8
- package/lib/components/StepsBlock/renderItems.js +0 -4
- package/lib/components/StepsBlock/renderItems.js.map +0 -1
- package/lib/model/BorderVersion.d.ts +0 -6
- package/lib/model/BorderVersion.js +0 -5
- package/lib/model/BorderVersion.js.map +0 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/lib/ui-kit/Button/ButtonSection.js +0 -20
- package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
- package/lib/utils/style2className.d.ts +0 -1
- package/lib/utils/style2className.js +0 -4
- package/lib/utils/style2className.js.map +0 -1
- package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/bundle/model/BorderVersion.d.ts +0 -6
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/bundle/utils/style2className.d.ts +0 -1
- package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
- package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
- package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/dist/components/Headline/headlineStyles.js +0 -18
- package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
- package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
- package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
- package/mobile/dist/model/BorderVersion.d.ts +0 -6
- package/mobile/dist/model/BorderVersion.js +0 -7
- package/mobile/dist/model/BorderVersion.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
- package/mobile/dist/utils/style2className.d.ts +0 -1
- package/mobile/dist/utils/style2className.js +0 -7
- package/mobile/dist/utils/style2className.js.map +0 -1
- package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
- package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
- package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/lib/components/Headline/headlineStyles.js +0 -16
- package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
- package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
- package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
- package/mobile/lib/model/BorderVersion.d.ts +0 -6
- package/mobile/lib/model/BorderVersion.js +0 -5
- package/mobile/lib/model/BorderVersion.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
- package/mobile/lib/utils/style2className.d.ts +0 -1
- package/mobile/lib/utils/style2className.js +0 -4
- package/mobile/lib/utils/style2className.js.map +0 -1
- package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
- package/mobile/src/components/Headline/headlineStyles.ts +0 -25
- package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
- package/mobile/src/model/BorderVersion.ts +0 -10
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
- package/mobile/src/utils/style2className.ts +0 -3
- package/src/components/Calculator/renderButtonSection.tsx +0 -8
- package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
- package/src/components/Headline/Headline.mobile.tsx +0 -40
- package/src/components/Headline/headlineStyles.ts +0 -25
- package/src/components/StepsBlock/renderItems.tsx +0 -23
- package/src/model/BorderVersion.ts +0 -10
- package/src/ui-kit/Button/ButtonSection.tsx +0 -51
- package/src/utils/style2className.ts +0 -3
|
@@ -6,6 +6,6 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
|
6
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
9
|
-
exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', title, servicesList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `
|
|
9
|
+
exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', title, servicesList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
|
|
10
10
|
const renderListItems = (itemList, i) => ((0, jsx_runtime_1.jsxs)("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: (0, getIconWithVersion_1.getIconWithVersion)(itemList.icon) })) : null, itemList.label ? (0, jsx_runtime_1.jsx)("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
|
|
11
11
|
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uEAAoE;AAQvD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,wBAAC,2BAAY,IAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uEAAoE;AAQvD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,wBAAC,2BAAY,IAAC,SAAS,EAAE,qBAAqB,SAAS,EAAE,KAAM,IAAI,aAChE,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,+BAAI,SAAS,EAAC,mBAAmB,YAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,GAAM,CAC3E,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAS,EAAE,EAAE,CAAC,CACxE,gCAAmC,SAAS,EAAC,+BAA+B,aACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,uBAAC,SAAG,IACF,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,QACL,KAAK,EAAE,IAAA,uCAAkB,EAAC,QAAQ,CAAC,IAAI,CAAC,GACxC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVxE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
|
|
@@ -4,8 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
7
|
-
exports.ParagraphBlock = (0, uni_jsx_1.JSX)((
|
|
8
|
-
const { className, text, size, color, align, font, ...rest } = props;
|
|
9
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, ...rest, children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: size, color: color, align: align, font: font, children: text }) }));
|
|
10
|
-
});
|
|
7
|
+
exports.ParagraphBlock = (0, uni_jsx_1.JSX)(({ text, size, align, font, children, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { ...rest, children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: size, align: align, font: font, children: text || children }) })));
|
|
11
8
|
//# sourceMappingURL=ParagraphBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParagraphBlock.js","sourceRoot":"","sources":["../../../src/components/ParagraphBlock/ParagraphBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,gEAA6D;AAKhD,QAAA,cAAc,GAAG,IAAA,aAAG,
|
|
1
|
+
{"version":3,"file":"ParagraphBlock.js","sourceRoot":"","sources":["../../../src/components/ParagraphBlock/ParagraphBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,gEAA6D;AAKhD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAClD,uBAAC,2BAAY,OAAK,IAAI,YACpB,uBAAC,qBAAS,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,YAC5C,IAAI,IAAI,QAAQ,GACP,GACC,CAChB,CACF,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FontWeight, TextAlign, TextSize } from '../../ui-kit/Text/TextProps';
|
|
2
2
|
/**
|
|
3
3
|
* @title Параграф
|
|
4
4
|
*/
|
|
5
|
-
export interface ParagraphBlockContent
|
|
5
|
+
export interface ParagraphBlockContent {
|
|
6
|
+
size?: TextSize;
|
|
7
|
+
align?: TextAlign;
|
|
8
|
+
font?: FontWeight;
|
|
6
9
|
/** @title Текст */
|
|
7
10
|
text?: string;
|
|
8
11
|
}
|
|
@@ -2,13 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.PictureText = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
6
5
|
const BenefitItem_1 = require("../../ui-kit/BenefitItem/BenefitItem");
|
|
7
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
8
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
8
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
10
9
|
const Headline_1 = require("../Headline/Headline");
|
|
11
|
-
exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, benefits,
|
|
10
|
+
exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2' : '', image: image }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
|
|
12
11
|
const renderBenefit = (version) => (benefit, i) => ((0, jsx_runtime_1.jsx)(BenefitItem_1.BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
|
|
13
12
|
function renderInsuranceSumMonth(sum, monthLimit) {
|
|
14
13
|
return sum || monthLimit ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,sEAAmE;AAEnE,4DAAyD;AACzD,8CAA2C;AAC3C,iFAA8E;AAC9E,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IAAC,SAAS,EAAE,wBAAwB,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,aACtF,uBAAC,mBAAQ,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAC,GAAG,GAAG,EACzF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,iCAAK,SAAS,EAAC,kBAAkB,aAC9B,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,IACrD,IACF,IACO,CAChB,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAqB,EAAE,EAAE,CAAC,CAAC,OAAyB,EAAE,CAAS,EAAE,EAAE,CACxF,CACE,uBAAC,yBAAW,IAEV,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,OAAO,EAAE,OAAO,IAJX,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AAEJ,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,iCAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC;gBACrB,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,iEAAiE,UAAU,EAAE,aAC3F,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -3,13 +3,14 @@ exports.Placeholder = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const style_1 = require("../../utils/style");
|
|
6
7
|
const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
|
|
7
8
|
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
8
9
|
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
9
10
|
const Headline_1 = require("../Headline/Headline");
|
|
10
11
|
const GOLDEN_RATIO = 1.618;
|
|
11
12
|
exports.Placeholder = (0, uni_jsx_1.JSX)(({ className, title, description = 'Блок в разработке...', ...rest }) => {
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className:
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('p-9 box-border', className, (0, getTileRightPadding_1.getTileRightPadding)(className), (0, getTileMinHeight_1.getTileMinHeight)(className)), ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className) }), (0, jsx_runtime_1.jsx)("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
|
|
13
14
|
});
|
|
14
15
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
15
16
|
.map((_) => Math.floor(_))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AACtE,mDAAgD;AAKhD,MAAM,YAAY,GAAG,KAAK,CAAC;AAEd,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AACtE,mDAAgD;AAKhD,MAAM,YAAY,GAAG,KAAK,CAAC;AAEd,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,gBAAgB,EAChB,SAAS,EACT,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAC9B,IAAA,mCAAgB,EAAC,SAAS,CAAC,CAC5B,KACG,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,GAC9C,EACF,mCAAQ,SAAS,EAAC,iBAAiB,YAAE,aAAa,EAAE,GAAU,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAI,GAAG,CAAC,EAAE,EAAE,CACjC,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC;KACtB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACzB,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAE5B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAAC,CAC1D,gCAEE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,EAAE,EACpC,SAAS,EAAC,6BAA6B,IAFlC,MAAM,CAAC,KAAK,CAAC,CAGlB,CACH,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,IAAY,EAAY,EAAE,CAC/D,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,GAAG,YAAY,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const ProductBlockInner_1 = require("./ProductBlockInner");
|
|
7
7
|
exports.ProductBlock = (0, uni_jsx_1.JSX)((props /* Get rid of image and benefits */) => {
|
|
8
|
-
const { className = '',
|
|
9
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
8
|
+
const { className = '', ...rest } = props;
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `px-4 py-6 ${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { ...props }) }));
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AAEzD,2DAAwD;AAI3C,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC/F,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1C,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,YACzD,uBAAC,qCAAiB,OAAK,KAAK,GAAI,GACnB,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,21 +2,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlockInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
8
|
const List_1 = require("../../ui-kit/List/List");
|
|
9
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
8
10
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
9
11
|
const Headline_1 = require("../Headline/Headline");
|
|
10
12
|
const renderBenefit_1 = require("./renderBenefit");
|
|
11
|
-
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, ...rest }) => {
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `w-full ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [label ? renderLabel(label, version) : null, (0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", bgColorHeadline: version, headlineVersion: headlineVersion, ...rest }), (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-3", children: benefits.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage(image)] }));
|
|
13
|
-
});
|
|
13
|
+
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, title, description, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `w-full ${className}`, version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { children: [label ? renderLabel(label) : null, (0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-5', isVertical: true }), children: [benefits?.filter((_) => _.label)?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-3", children: benefits.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-3 text-m", items: items, isDotted: isDotted })) : null] })] }), renderImage(image)] })));
|
|
14
14
|
function renderImage(image) {
|
|
15
15
|
return image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
|
|
16
16
|
}
|
|
17
|
-
const
|
|
18
|
-
primary: 'text-primary-main border-secondary-hover',
|
|
19
|
-
secondary: 'text-white/80',
|
|
20
|
-
};
|
|
21
|
-
const renderLabel = (label, version) => ((0, jsx_runtime_1.jsx)("div", { className: `px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${labelStyleMap[version]}`, children: label }));
|
|
17
|
+
const renderLabel = (label) => ((0, jsx_runtime_1.jsx)("div", { className: "w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-primary-main group-data-secondary:text-white/80", children: label }) }));
|
|
22
18
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,GAAG,EACrB,QAAQ,EACR,eAAe,GAAG,QAAQ,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,KAAK,EACL,KAAK,EACL,WAAW,EACX,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IAAC,SAAS,EAAE,UAAU,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,aACxE,4CACG,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAClC,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,GACjB,EACF,wBAAC,mBAAQ,IAAC,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,aACtF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAC1C,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GAAO,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACnE,CAAC,CAAC,CAAC,IAAI,IACC,IACP,EACL,WAAW,CAAC,KAAK,CAAC,IACN,CAChB,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,uBAAC,SAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CACrC,gCAAK,SAAS,EAAC,kFAAkF,YAC/F,uBAAC,WAAI,IAAC,KAAK,EAAC,sDAAsD,YAAE,KAAK,GAAQ,GAC7E,CACP,CAAC"}
|
|
@@ -3,46 +3,33 @@ exports.ProductGallery = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
7
|
-
const BorderVersion_1 = require("../../model/BorderVersion");
|
|
8
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
9
7
|
const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
|
|
10
|
-
const productBlockStyleMap = {
|
|
11
|
-
primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
|
|
12
|
-
secondary: { title: 'text-white', text: 'text-white/80' },
|
|
13
|
-
};
|
|
14
8
|
exports.ProductGallery = (0, uni_jsx_1.JSX)(({ className = '', slides = [], version = 'primary', ...rest }) => {
|
|
15
9
|
const galleryNav = slides.map((s) => s.nav);
|
|
16
10
|
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
17
11
|
const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
|
|
18
12
|
const handleActiveSlideIndex = (0, hooks_1.useCallback)((_) => setActiveSlideIndex(_), []);
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border pt-12 overflow-hidden relative
|
|
20
|
-
${BlockVersion_1.VersionStyleMap[version]}`, ...rest, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), (0, jsx_runtime_1.jsx)("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), (0, jsx_runtime_1.jsx)("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
21
14
|
slide,
|
|
22
15
|
i,
|
|
23
16
|
isActive: Boolean(i === activeSlideIndex),
|
|
24
17
|
onClick: () => handleActiveSlideIndex(i),
|
|
25
|
-
version,
|
|
26
18
|
})) })] }));
|
|
27
19
|
});
|
|
28
20
|
function renderProductBlock(block, i) {
|
|
29
|
-
|
|
30
|
-
const additionalClass = version ? productBlockStyleMap[version].title : '';
|
|
31
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: `pl-12 z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
|
|
32
22
|
}
|
|
33
|
-
function renderNavButton({ slide, i, isActive, onClick
|
|
23
|
+
function renderNavButton({ slide, i, isActive, onClick }) {
|
|
34
24
|
const btnClassName = isActive
|
|
35
25
|
? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
|
|
36
|
-
:
|
|
37
|
-
${BlockVersion_1.VersionStyleMap[version]}`;
|
|
26
|
+
: 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
|
|
38
27
|
const btnTitleClassName = isActive
|
|
39
28
|
? 'text-primary-text !text-h6 p-2'
|
|
40
|
-
:
|
|
29
|
+
: 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
|
|
41
30
|
const btnDescClassName = isActive
|
|
42
31
|
? 'text-secondary-text text-l-light'
|
|
43
|
-
:
|
|
44
|
-
return ((0, jsx_runtime_1.jsx)("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border
|
|
45
|
-
${btnClassName} ${BorderVersion_1.BorderVersionStyleMap[version]}
|
|
46
|
-
`, children: (0, jsx_runtime_1.jsxs)("div", { className: "border-0 px-6", children: [(0, jsx_runtime_1.jsx)("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), (0, jsx_runtime_1.jsx)("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
|
|
32
|
+
: 'text-m-light text-secondary-text group-data-secondary:text-white/80';
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "border-0 px-6", children: [(0, jsx_runtime_1.jsx)("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), (0, jsx_runtime_1.jsx)("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
|
|
47
34
|
}
|
|
48
35
|
//# sourceMappingURL=ProductGallery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAGpE,4DAAyD;AAEzD,yEAAsE;AAYzD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChE,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IACxD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,sBAAsB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,wDAAwD,SAAS,EAAE,EAC9E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,gCACE,SAAS,EAAC,0BAA0B,EACpC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,GAC3E,EAEN,gCAAK,SAAS,EAAC,8EAA8E,YAC1F,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC3B,eAAe,CAAC;oBACd,KAAK;oBACL,CAAC;oBACD,QAAQ,EAAE,OAAO,CAAC,CAAC,KAAK,gBAAgB,CAAC;oBACzC,OAAO,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC,CAAC;iBACzC,CAAC,CACH,GACG,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,kBAAkB,CAAC,KAA+C,EAAE,CAAS;IACpF,OAAO,CACL,oCAEE,SAAS,EAAC,qDAAqD,EAC/D,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,WAAW,YACxB,uBAAC,qCAAiB,IAChB,SAAS,EAAC,gEAAgE,EAC1E,kBAAkB,EAAC,YAAY,EAC/B,eAAe,EAAC,KAAK,KACjB,KAAK,GACT,GACE,IAXD,MAAM,CAAC,CAAC,CAAC,CAYN,CACX,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAkB;IACtE,MAAM,YAAY,GAAG,QAAQ;QAC3B,CAAC,CAAC,yDAAyD;QAC3D,CAAC,CAAC,wGAAwG,CAAC;IAC7G,MAAM,iBAAiB,GAAG,QAAQ;QAChC,CAAC,CAAC,gCAAgC;QAClC,CAAC,CAAC,iEAAiE,CAAC;IACtE,MAAM,gBAAgB,GAAG,QAAQ;QAC/B,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,qEAAqE,CAAC;IAE1E,OAAO,CACL,mCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE,0IAA0I,YAAY,EAAE,YAEnK,iCAAK,SAAS,EAAC,eAAe,aAC5B,gCAAK,SAAS,EAAE,aAAa,iBAAiB,EAAE,YAAG,KAAK,EAAE,KAAK,GAAO,EACtE,gCAAK,SAAS,EAAE,uBAAuB,gBAAgB,EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IACjF,IARD,MAAM,CAAC,CAAC,CAAC,CASP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
2
2
|
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
3
3
|
/** @title Кнопка под слайдом */
|
|
4
4
|
export interface ProductGalleryNav {
|
|
5
|
+
/** @title Заголовок */
|
|
5
6
|
title: string;
|
|
6
7
|
/** @title Описание */
|
|
7
8
|
description: string;
|
|
@@ -2,23 +2,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductTile = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
6
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
8
8
|
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
9
9
|
const Headline_1 = require("../Headline/Headline");
|
|
10
10
|
const renderAdditionalDescription_1 = require("./renderAdditionalDescription");
|
|
11
11
|
const renderBenefit_1 = require("./renderBenefit");
|
|
12
12
|
const renderImage_1 = require("./renderImage");
|
|
13
|
-
exports.ProductTile = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true,
|
|
14
|
-
|
|
15
|
-
function renderBenefits(benefits, version, image) {
|
|
13
|
+
exports.ProductTile = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-9 box-border relative min-h-[364px]', (0, getTileRightPadding_1.getTileRightPadding)(className), className), ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: (0, style_1.style)('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), (0, renderAdditionalDescription_1.renderAdditionalDescription)(additionalDescription, image), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-5 z-10 text-l' })] }), (0, renderImage_1.renderImage)(image, isImageOnRightSide)] })));
|
|
14
|
+
function renderBenefits(benefits, image) {
|
|
16
15
|
if (!benefits.length) {
|
|
17
16
|
return null;
|
|
18
17
|
}
|
|
19
18
|
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
20
19
|
const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
21
20
|
return ((0, jsx_runtime_1.jsx)("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
|
|
22
|
-
${benefitsWidth}`, children: benefits.length ? benefits.map(
|
|
21
|
+
${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit_1.renderBenefit) : null }));
|
|
23
22
|
}
|
|
24
23
|
//# sourceMappingURL=ProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,yEAAsE;AACtE,mDAAgD;AAEhD,+EAA4E;AAC5E,mDAAgD;AAChD,+CAA4C;AAI/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,kBAAkB,GAAG,IAAI,EACzB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,uDAAuD,EACvD,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAC9B,SAAS,CACV,KACG,IAAI,aAER,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,aAC3E,uBAAC,mBAAQ,IACP,SAAS,EAAE,IAAA,aAAK,EAAC,2BAA2B,EAAE,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACnF,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,EAC/B,IAAA,yDAA2B,EAAC,qBAAqB,EAAE,KAAK,CAAC,EACzD,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,IAC7D,EACL,IAAA,yBAAW,EAAC,KAAK,EAAE,kBAAkB,CAAC,IAC1B,CAChB,CACF,CAAC;AAEF,SAAS,cAAc,CAAC,QAAmB,EAAE,KAAe;IAC1D,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;QACpB,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,aAAa,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvE,OAAO,CACL,gCACE,SAAS,EAAE;UACP,aAAa,EAAE,YAElB,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,6BAAa,CAAC,CAAC,CAAC,CAAC,IAAI,GACjD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
2
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture
|
|
3
|
+
export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture): JSX.Element | null;
|
|
@@ -2,17 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.renderAdditionalDescription = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
5
|
-
|
|
6
|
-
primary: 'text-secondary-text',
|
|
7
|
-
secondary: 'text-white',
|
|
8
|
-
};
|
|
9
|
-
function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
|
|
5
|
+
function renderAdditionalDescription(additionalDescription, image) {
|
|
10
6
|
if (!additionalDescription) {
|
|
11
7
|
return null;
|
|
12
8
|
}
|
|
13
9
|
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
14
10
|
const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", color:
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription }) }));
|
|
16
12
|
}
|
|
17
13
|
exports.renderAdditionalDescription = renderAdditionalDescription;
|
|
18
14
|
//# sourceMappingURL=renderAdditionalDescription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,SAAgB,2BAA2B,CAAC,qBAA8B,EAAE,KAAe;IACzF,IAAI,CAAC,qBAAqB,EAAE;QAC1B,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE1E,OAAO,CACL,gCAAK,SAAS,EAAE,eAAe,gBAAgB,EAAE,YAC/C,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,GACR,CACP,CAAC;AACJ,CAAC;AAfD,kEAeC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
2
|
import type { Benefit } from './ProductTileContent';
|
|
4
|
-
export declare const renderBenefit: (
|
|
3
|
+
export declare const renderBenefit: (benefit: Benefit, i: number) => JSX.Element | JSX.Element[] | null;
|
|
@@ -4,11 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
5
5
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
6
|
const assertUnreachable_1 = require("../../utils/assertUnreachable");
|
|
7
|
-
const
|
|
8
|
-
primary: 'text-secondary-text',
|
|
9
|
-
secondary: 'text-white',
|
|
10
|
-
};
|
|
11
|
-
const renderBenefit = (version = 'primary') =>
|
|
7
|
+
const renderBenefit =
|
|
12
8
|
// Linter doesn't understand that switch processes all cases
|
|
13
9
|
// eslint-disable-next-line consistent-return
|
|
14
10
|
(benefit, i) => {
|
|
@@ -20,7 +16,7 @@ const renderBenefit = (version = 'primary') =>
|
|
|
20
16
|
case 'default':
|
|
21
17
|
return [
|
|
22
18
|
(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
|
|
23
|
-
(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m-light", color:
|
|
19
|
+
(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
|
|
24
20
|
];
|
|
25
21
|
case 'rte':
|
|
26
22
|
return (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: benefit.__html });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderBenefit.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderBenefit.tsx"],"names":[],"mappings":";;;AAAA,6DAA0D;AAC1D,iDAA8C;AAC9C,qEAAkE;AAG3D,MAAM,aAAa;AACxB,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAEzB,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,KAAK,CAAC,EAAE;QAC3C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,SAAS;YACZ,OAAO;gBACL,uBAAC,WAAI,IAAoB,IAAI,EAAC,SAAS,YACpC,OAAO,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB;gBACP,uBAAC,WAAI,IAEH,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,wCAAwC,YAE7C,OAAO,CAAC,WAAW,IALf,QAAQ,CAAC,EAAE,CAMX;aACR,CAAC;QACJ,KAAK,KAAK;YACR,OAAO,uBAAC,mBAAQ,IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CAAC;QAC9C;YACE,IAAA,qCAAiB,EAAC,OAAO,CAAC,CAAC;KAC9B;AACH,CAAC,CAAC;AA9BS,QAAA,aAAa,iBA8BtB"}
|
|
@@ -2,15 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.PromoTile = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
6
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
8
8
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
9
9
|
const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
|
|
10
10
|
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
11
11
|
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
12
12
|
const Headline_1 = require("../Headline/Headline");
|
|
13
|
-
exports.PromoTile = (0, uni_jsx_1.JSX)(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [],
|
|
13
|
+
exports.PromoTile = (0, uni_jsx_1.JSX)(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('p-9 box-border', className, (0, getTileRightPadding_1.getTileRightPadding)(className), (0, getTileMinHeight_1.getTileMinHeight)(className)), ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className), align: "text-left", as: as || 'h2' })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: (0, jsx_runtime_1.jsxs)("div", { className: "mt-1.5", children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-s mb-2", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-l", children: description })] }) }) })));
|
|
14
14
|
function formatDate(date) {
|
|
15
15
|
const dateObj = new Date(date);
|
|
16
16
|
const dateFormat = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,mDAAgD;AAChD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AACtE,mDAAgD;AAKnC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,yBAAyB,EACjC,IAAI,EACJ,WAAW,EACX,EAAE,EACF,OAAO,GAAG,EAAE,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,gBAAgB,EAChB,SAAS,EACT,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAC9B,IAAA,mCAAgB,EAAC,SAAS,CAAC,CAC5B,KACG,IAAI,YAER,uBAAC,mBAAQ,IACP,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,EAC9C,KAAK,EAAC,WAAW,EACjB,EAAE,EAAE,EAAE,IAAI,IAAI,GACd,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,YAEtC,iCAAK,SAAS,EAAC,QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,gCAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IACvC,GACG,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -3,8 +3,6 @@ exports.Recommendation = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useCarouselControls_1 = require("../../hooks/useCarouselControls");
|
|
6
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
7
|
-
const BorderVersion_1 = require("../../model/BorderVersion");
|
|
8
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
9
7
|
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
10
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
@@ -17,8 +15,8 @@ exports.Recommendation = (0, uni_jsx_1.JSX)(({ recommendations = [], className =
|
|
|
17
15
|
itemCount: recommendations.length,
|
|
18
16
|
visibleItemCount: CARD_VIEW_COUNT,
|
|
19
17
|
});
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${
|
|
21
|
-
? recommendations.map((card, i) => ((0, jsx_runtime_1.jsx)(RecommendationCard_1.RecommendationCard, { version: version, className:
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${className}`, version: version, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-6", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
|
|
19
|
+
? recommendations.map((card, i) => ((0, jsx_runtime_1.jsx)(RecommendationCard_1.RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
|
|
22
20
|
: null }), (0, renderArrows_1.renderArrows)({
|
|
23
21
|
...controls,
|
|
24
22
|
btnClass: ['left-8', 'right-8'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;
|
|
1
|
+
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,0DAAuD;AACvD,6DAA0D;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIV,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,eAAe,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,eAAe,CAAC,MAAM;QACjC,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,sDAAsD,SAAS,EAAE,EAC5E,OAAO,EAAE,OAAO,KACZ,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC3E,4CACE,gCACE,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,IAAI,EAAC,MAAM,YAEV,eAAe,CAAC,MAAM;4BACrB,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAC,uCAAkB,IAEjB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,kDAAkD,KACxD,IAAI,IAHH,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;4BACJ,CAAC,CAAC,IAAI,GACJ,EACL,IAAA,2BAAY,EAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,gCACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,gCACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { RecommendationCardTypes } from './RecommendationContent';
|
|
3
|
-
export interface RecommendationCardProps extends RecommendationCardTypes {
|
|
4
|
-
className?: string;
|
|
5
|
-
version?: BlockVersion;
|
|
3
|
+
export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {
|
|
6
4
|
}
|
|
7
5
|
export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -2,15 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.RecommendationCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
7
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
8
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
9
|
const List_1 = require("../../ui-kit/List/List");
|
|
9
10
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
10
11
|
const SocialMedia_1 = require("../Footer/SocialMedia");
|
|
11
|
-
exports.RecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, items, image,
|
|
12
|
+
exports.RecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
|
|
12
13
|
const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
13
14
|
const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "mb-2", children: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, button?.text ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-2", children: (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
|
|
15
16
|
});
|
|
16
17
|
//# sourceMappingURL=RecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,uDAAoD;AAKvC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrF,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,KACX,IAAI,YAER,uBAAC,mBAAQ,IAAC,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,YAC3E,iCAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,MAAM,YAAE,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,gCAAK,SAAS,EAAC,MAAM,YAClB,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,GAC9D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,27 +3,19 @@ exports.RollupItem = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
6
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
7
8
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
8
9
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
9
10
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
10
11
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
11
|
-
exports.RollupItem = (0, uni_jsx_1.JSX)(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsx)(
|
|
12
|
+
exports.RollupItem = (0, uni_jsx_1.JSX)(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `border-b border-solid border-main-divider w-full ${className}`, tag: "div", ...rest, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)("div", { className: "box-border", children: (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: (0, renderChildren_1.renderChildren)(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
|
|
12
13
|
exports.RollupItem.childrenTypes = {
|
|
13
|
-
exclude: [
|
|
14
|
-
'RollupItem',
|
|
15
|
-
'Accordion',
|
|
16
|
-
'AccordionItem',
|
|
17
|
-
'OtherProducts',
|
|
18
|
-
'OtherProductsItem',
|
|
19
|
-
'VerticalLayout',
|
|
20
|
-
],
|
|
14
|
+
exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
|
|
21
15
|
};
|
|
22
|
-
const renderFoldButton = ({
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
|
|
26
|
-
return version === 'primary' ? ((0, jsx_runtime_1.jsx)(FoldButton, { icon: iconsPrimary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle })) : ((0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { icon: iconsSecondary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
|
|
16
|
+
const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
|
|
17
|
+
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
18
|
+
return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : ((0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
|
|
27
19
|
};
|
|
28
|
-
const
|
|
20
|
+
const renderPrimaryFoldButton = ({ label, icon, onToggle }) => ((0, jsx_runtime_1.jsxs)("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
|
|
29
21
|
//# sourceMappingURL=RollupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAGpE,+EAA4E;AAC5E,6DAA0D;AAE1D,2EAAwE;AAExE,8CAA2C;AAC3C,uEAAoE;
|
|
1
|
+
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAGpE,4DAAyD;AACzD,+EAA4E;AAC5E,6DAA0D;AAE1D,2EAAwE;AAExE,8CAA2C;AAC3C,uEAAoE;AAGvD,QAAA,UAAU,GAA8B,IAAA,aAAG,EACtD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,YAAY,EACpB,UAAU,EACV,iBAAiB,GAAG,IAAI,EACxB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,oDAAoD,SAAS,EAAE,EAC1E,GAAG,EAAC,KAAK,KACL,IAAI,YAER,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,gCAAK,SAAS,EAAC,YAAY,YACzB,uBAAC,iCAAe,IACd,SAAS,EAAE,oCAAoC,EAC/C,UAAU,EAAE,UAAU,YAErB,IAAA,+BAAc,EAAC,IAAI,CAAC,GACL,GACd,CACP,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAC7C,gBAAgB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,GAE5D,GACW,CAChB,CACF,CAAC;AAEF,kBAAU,CAAC,aAAa,GAAG;IACzB,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,mBAAmB,CAAC;CAC5F,CAAC;AAOF,MAAM,gBAAgB,GAAG,CAAC,EACxB,OAAO,EACP,KAAK,EAAE,YAAY,EACnB,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,MAAM,KAAK,GAAG,YAAY,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAErE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,CAC1F,CAAC,CAAC,CAAC,CACF,uBAAC,qCAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAQF,MAAM,uBAAuB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAA0B,EAAE,EAAE,CAAC,CACrF,oCACE,SAAS,EAAC,oHAAoH,EAC9H,OAAO,EAAE,QAAQ,aAEjB,iCAAM,SAAS,EAAC,4BAA4B,YAAE,KAAK,GAAQ,EAC1D,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAA,uCAAkB,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IACjF,CACV,CAAC"}
|