@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
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import {
|
|
4
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
8
7
|
import { List } from '../../ui-kit/List/List.js';
|
|
9
|
-
import {
|
|
8
|
+
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
10
9
|
import { SocialMedia } from '../Footer/SocialMedia.js';
|
|
11
|
-
import {
|
|
12
|
-
export const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title,
|
|
10
|
+
import { style } from '../../utils/style.js';
|
|
11
|
+
export const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, ...rest }) => {
|
|
13
12
|
const tileTitle = title ? (_jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
14
13
|
const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
${VersionWithGrayStyleMap[version]}
|
|
18
|
-
${className}`, ...rest, children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx("span", { className: "mb-2", children: description }) : null, items.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? (_jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? _jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
|
|
14
|
+
const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
|
|
15
|
+
return (_jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), ...rest, children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx("span", { className: "mb-2", children: description }) : null, items.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? _jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, renderButtonsSection([button], { className: 'pt-2 mt-16' })] }) }) }));
|
|
19
16
|
});
|
|
20
|
-
const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
|
|
21
17
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC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wDAAwD,EAClE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC,IACxD,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { BlockVersionWithGray } from '../../model/BlockVersion';
|
|
2
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
3
|
import type { Picture } from '../../model/Picture';
|
|
@@ -40,5 +39,4 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
40
39
|
* }
|
|
41
40
|
*/
|
|
42
41
|
button?: ButtonProps;
|
|
43
|
-
version?: BlockVersionWithGray;
|
|
44
42
|
}
|
|
@@ -7,17 +7,19 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
|
7
7
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
8
8
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
9
9
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
11
|
+
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
12
|
+
import { style } from '../../utils/style.js';
|
|
13
|
+
const VISIBLE_CELLS_COUNT = 1;
|
|
14
|
+
export const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
|
|
15
|
+
const cellsNode = cardCells.map(renderCardInfo);
|
|
16
|
+
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
17
|
+
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
18
|
+
return (_jsxs(BlockWrapper, { className: style('relative border border-gray min-w-[322px] p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? _jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? _jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (_jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (_jsxs("div", { children: [visibleCells, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton : null })) : null] }));
|
|
18
19
|
});
|
|
19
|
-
const
|
|
20
|
+
const renderIconBlock = (icon) => (_jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? _jsx(Img, { image: icon }) : null, icon?.icon ? _jsx(Img, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
|
|
21
|
+
const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-7';
|
|
20
22
|
const renderFoldButton = ({ isUnfolded, onToggle }) => (_jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [_jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), _jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
|
|
21
23
|
const renderCardInfo = (cell, i) => (_jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (_jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (_jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
|
|
22
|
-
const renderHitIcon = () => (_jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [_jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), _jsx("
|
|
24
|
+
const renderHitIcon = () => (_jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [_jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), _jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
|
|
23
25
|
//# sourceMappingURL=CarouselTariffsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EA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CACtE,eAAqB,SAAS,EAAC,mCAAmC,aAC/D,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,6CAA6C,YAAE,IAAI,CAAC,KAAK,GAAO,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,gCAAgC,YAAE,IAAI,CAAC,WAAW,GAAO,CACzE,CAAC,CAAC,CAAC,IAAI,KANA,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC;AAEF,MAAM,aAAa,GAAG,GAAU,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,+IAA+I,aAC5J,KAAC,IAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAC1E,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,mCAE7E,IACR,CACP,CAAC"}
|
|
@@ -13,7 +13,7 @@ export const Catalog = JSX(({ cards = [], className = '', title, description, ..
|
|
|
13
13
|
itemCount: cards?.length,
|
|
14
14
|
visibleItemCount: CARD_VIEW_COUNT,
|
|
15
15
|
});
|
|
16
|
-
return (_jsxs(BlockWrapper, { className: `
|
|
16
|
+
return (_jsxs(BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), _jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => _jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
|
|
17
17
|
...controls,
|
|
18
18
|
btnClass: ['left-8', 'right-8'],
|
|
19
19
|
className: 'top-1/2 z-10 mt-6',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,MAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAA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A8B,GAAI,IAC1D,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
6
|
const cardStyleMap = {
|
|
7
7
|
black: 'bg-black',
|
|
8
8
|
white: 'bg-white',
|
|
9
9
|
};
|
|
10
|
-
export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (_jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button
|
|
10
|
+
export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (_jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
|
|
11
11
|
const renderColorOption = (color, i) => (_jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
12
12
|
//# sourceMappingURL=CatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACxE,mBACE,SAAS,EAAE,gGAAgG,SAAS,EAAE,EACtH,IAAI,EAAC,UAAU,aAEd,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACrF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,eAAK,SAAS,EAAC,4CAA4C,aACzD,cAAK,SAAS,EAAC,QAAQ,wGAAwB,EAC9C,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,eAAK,SAAS,EAAC,mBAAmB,aAAE,KAAK,oBAAc,CAAC,CAAC,CAAC,IAAI,EACtE,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,IAC3D,CACX,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,eAEE,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
4
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
6
5
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
7
6
|
import { Headline } from '../Headline/Headline.js';
|
|
8
|
-
export const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (_jsxs(BlockWrapper, { className:
|
|
9
|
-
const renderBlocks = (info
|
|
10
|
-
const renderBlocksColumn = ({ column, index
|
|
7
|
+
export const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (_jsxs(BlockWrapper, { className: `flex p-12 ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
8
|
+
const renderBlocks = (info) => (_jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
9
|
+
const renderBlocksColumn = ({ column, index }) => column ? (_jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (_jsxs("div", { className: "mt-6 first:mt-0", children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (_jsx("div", { className: "mt-1.5 opacity-80", children: _jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? _jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
|
|
11
10
|
//# sourceMappingURL=ContactsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAA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SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,KAAK,EAAC,WAAW,GACjB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YACvC,qBAAqB,GACZ,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,KAfpB,MAAM,CAAC,GAAG,CAAC,CAgB3C,CACP,CAAC,IAnB6D,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,CAoBjF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { renderBlocksList } from '../../BlockRenderer/renderBlockList.js';
|
|
4
4
|
import { useBlockRouterProvider } from '../../services/BlockRouter/useBlockRouterProvider.js';
|
|
5
|
-
import {
|
|
5
|
+
import { style } from '../../utils/style.js';
|
|
6
6
|
import { LikeControl } from '../LikeControl/LikeControl.js';
|
|
7
7
|
export const ContentPage = JSX((props) => {
|
|
8
8
|
const { className = '', blocksRegistry, blockDecorator, data = {} } = props;
|
|
@@ -15,7 +15,7 @@ export const ContentPage = JSX((props) => {
|
|
|
15
15
|
parent: data,
|
|
16
16
|
};
|
|
17
17
|
useBlockRouterProvider();
|
|
18
|
-
return (_jsxs("section", { className:
|
|
18
|
+
return (_jsxs("section", { className: style('relative', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (_jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
|
|
19
19
|
...options,
|
|
20
20
|
slotName: 'header',
|
|
21
21
|
}) })) : null, _jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderBlocksList(blocks, options), slots?.footer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAKvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAKvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,MAAM,WAAW,GAA+B,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACrF,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE5E,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAEnF,MAAM,OAAO,GAAyB;QACpC,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,IAAI;QACV,cAAc;QACd,cAAc;QACd,MAAM,EAAE,IAAI;KACb,CAAC;IAEF,sBAAsB,EAAE,CAAC;IAEzB,OAAO,CACL,mBAAS,SAAS,EAAE,KAAK,CAAC,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,gBAAc,YAAY,aAClF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,wCAAwC,YACpD,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE;oBAC/B,GAAG,OAAO;oBACV,QAAQ,EAAE,QAAQ;iBACnB,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,mCAAmC,aAC/C,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,KAAK,EAAE,MAAM;wBACZ,CAAC,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE;4BAC9B,GAAG,OAAO;4BACV,QAAQ,EAAE,QAAQ;yBACnB,CAAC;wBACJ,CAAC,CAAC,IAAI,IACJ,EACL,WAAW,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,IAAI,IACjC,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,WAAW,CAAC,aAAa,GAAG,EAAE,CAAC;AAC/B,WAAW,CAAC,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAE/C,SAAS,iBAAiB;IACxB,OAAO,CACL,cAAK,SAAS,EAAC,qEAAqE,YAClF,KAAC,WAAW,IAAC,SAAS,EAAC,mDAAmD,GAAG,GACzE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ export const ExchangeRateTile = JSX(({ className = '', title = 'Курсы об
|
|
|
15
15
|
currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
|
|
16
16
|
const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
|
|
17
17
|
currencyRatesSell.push({ currency: { currency: Currency.RUB } });
|
|
18
|
-
return (_jsx(BlockWrapper, { className: `
|
|
18
|
+
return (_jsx(BlockWrapper, { className: `p-9 box-border min-h-80 ${className}`, ...rest, children: _jsx(BaseTile, { title: _jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: _jsxs("div", { className: "flex", children: [_jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (_jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, _jsx(CurrentLocation, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (_jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
|
|
19
19
|
});
|
|
20
20
|
const getCurrencyRates = (currencies) => {
|
|
21
21
|
return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAwB,MAAM,8BAA8B,CAAC;AAEhG,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAItE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,oBAAoB,EAAE,MAAM,EAAE,GAAG,IAAI,EA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B,CAAC,MAAM,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7E,KAAC,0BAA0B,IACzB,SAAS,EAAC,MAAM,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,GACd,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,UAAmC,EAAE,EAAE;IAC/D,OAAO,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AACzF,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
2
2
|
export declare type ButtonSize = 'default' | 'small';
|
|
3
3
|
interface MediaButtonProps {
|
|
4
4
|
href?: string;
|
|
5
|
-
version?: BlockVersion;
|
|
6
5
|
isRounded?: boolean;
|
|
7
6
|
buttonSize?: ButtonSize;
|
|
7
|
+
iconVersion?: IconVersion;
|
|
8
8
|
}
|
|
9
9
|
export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
|
|
10
10
|
export {};
|
|
@@ -3,6 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
5
|
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
6
|
+
import { style } from '../../utils/style.js';
|
|
6
7
|
const ICONS_MAP = [
|
|
7
8
|
{
|
|
8
9
|
origins: ['t.me', 'telegram.org'],
|
|
@@ -29,23 +30,21 @@ const ICONS_MAP = [
|
|
|
29
30
|
icon: { icon: 'PlayMarketIcon' },
|
|
30
31
|
label: 'Google Play',
|
|
31
32
|
},
|
|
33
|
+
{
|
|
34
|
+
origins: ['youtube.com'],
|
|
35
|
+
icon: { icon: 'YoutubeIcon' },
|
|
36
|
+
label: 'Youtube',
|
|
37
|
+
},
|
|
32
38
|
];
|
|
33
|
-
const
|
|
34
|
-
default: '
|
|
35
|
-
small: '
|
|
39
|
+
const buttonSizeStyles = {
|
|
40
|
+
default: 'w-14 h-14',
|
|
41
|
+
small: 'w-12 h-12',
|
|
36
42
|
};
|
|
37
|
-
export const MediaButton = JSX(({
|
|
43
|
+
export const MediaButton = JSX(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
|
|
38
44
|
const link = useLink();
|
|
39
45
|
const { href, onClick } = link(rest);
|
|
40
46
|
const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
const classes = version === 'secondary'
|
|
45
|
-
? 'bg-white hover:bg-secondary-hover'
|
|
46
|
-
: 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
|
|
47
|
-
const isPrimary = version === 'primary' ? 'hover:text-black' : '';
|
|
48
|
-
const rounded = isRounded ? 'rounded-full' : 'rounded-md';
|
|
49
|
-
return (_jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (_jsx(Img, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
|
|
47
|
+
const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
|
|
48
|
+
return icon ? (_jsx("a", { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], isRounded ? 'rounded-full' : 'rounded-md', 'border-solid border border-main-divider hover:border-transparent', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white group-data-secondary:hover:bg-secondary-hover'), href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: iconWithVersion ? (_jsx(Img, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
|
|
50
49
|
});
|
|
51
50
|
//# sourceMappingURL=MediaButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI1C,MAAM,SAAS,GAIV;IACH;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,IAAI,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;QAC9B,KAAK,EAAE,UAAU;KAClB;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,KAAK,EAAE,eAAe;KACvB;IACD;QACE,OAAO,EAAE,CA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AAC,cAAc,CAAC,CAAC,CAAC,YAAY,EACzC,kEAAkE,EAClE,wCAAwC,EACxC,6EAA6E,CAC9E,EACD,IAAI,EAAE,IAAI,gBACE,KAAK,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,OAAO,EAAE,OAAO,YAEf,eAAe,CAAC,CAAC,CAAC,CACjB,KAAC,GAAG,IACF,KAAK,EAAE,eAAe,EACtB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,GACN,CACL,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
2
|
export interface SocialMediaProps {
|
|
4
3
|
className?: string;
|
|
5
4
|
media?: Omit<LinkProps, 'text'>[];
|
|
6
|
-
version?: BlockVersion;
|
|
7
5
|
}
|
|
8
6
|
export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { MediaButton } from './MediaButton.js';
|
|
4
|
-
export const SocialMedia = JSX(({ className = '', media
|
|
4
|
+
export const SocialMedia = JSX(({ className = '', media }) => (_jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { ..._ }, String(index)))) })));
|
|
5
5
|
//# sourceMappingURL=SocialMedia.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,cAAK,SAAS,EAAE,kDAAkD,SAAS,EAAE,YAC1E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { blockStyles, BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
7
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
8
|
-
export const Gallery = JSX(({ title, description, cards = [],
|
|
9
|
-
const headingClassName = description ? 'mb-2' : 'mb-5';
|
|
10
|
-
return (_jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [_jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? (_jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] }));
|
|
11
|
-
});
|
|
8
|
+
export const Gallery = JSX(({ className = '', title, description, cards = [], orientation = 'horizontal', ...rest }) => (_jsxs(BlockWrapper, { className: `relative px-4 py-6 overflow-hidden ${className}`, ...rest, children: [_jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? (_jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] })));
|
|
12
9
|
function renderCardsLayout(orientation, cards) {
|
|
13
10
|
return orientation === 'horizontal' ? (_jsx(SwipeListControl, { children: cards?.map(renderCard) })) : (_jsx("div", { className: "grid gap-3.5", children: cards?.map(renderCard) }));
|
|
14
11
|
}
|
|
15
12
|
function renderCard(card, key) {
|
|
16
13
|
return (_jsxs("div", { className: `w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4
|
|
17
|
-
${
|
|
14
|
+
${blockStyles[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [renderImage(card.icon), card.title ? _jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
|
|
18
15
|
}
|
|
19
16
|
const renderImage = (image) => image?.src || image?.icon ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-3.5", image: image }) })) : null;
|
|
20
17
|
function renderButton(button) {
|
|
@@ -26,7 +23,9 @@ function renderDescription(card) {
|
|
|
26
23
|
const LIST_DOT_STYLE_MAP = {
|
|
27
24
|
primary: 'bg-primary-text',
|
|
28
25
|
secondary: 'bg-white',
|
|
29
|
-
gray: 'bg-
|
|
26
|
+
gray: 'bg-primary-text',
|
|
27
|
+
transparent: '',
|
|
28
|
+
'': '',
|
|
30
29
|
};
|
|
31
30
|
function renderItems(items, isDotted, version = 'primary') {
|
|
32
31
|
return (_jsx("section", { className: "mt-3", children: items.map((item, i) => (_jsxs("div", { children: [isDotted ? (_jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP[version]}` })) : null, _jsx("span", { className: "text-m font-medium", children: item.title }), _jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAIlF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,GAAG,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3F,MAAC,YAAY,IAAC,SAAS,EAAE,sCAAsC,SAAS,EAAE,KAAM,IAAI,aAClF,eAAK,SAAS,EAAC,iCAAiC,aAC7C,KAAK,CAAC,CAA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,SAAS,EAAC,oBAAoB,YAAE,IAAI,CAAC,KAAK,GAAQ,EACxD,eAAM,SAAS,EAAE,eAAe,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,EAAE,YACjF,IAAI,CAAC,IAAI,GACL,KATC,MAAM,CAAC,CAAC,CAAC,CAUb,CACP,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { AlignText } from '../../model/AlignText.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
7
|
import { List } from '../../ui-kit/List/List.js';
|
|
8
8
|
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
9
9
|
import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
|
|
10
|
-
export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button,
|
|
11
|
-
?
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
15
|
-
: null] })));
|
|
16
|
-
const renderImage = (image, version) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
|
|
10
|
+
export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (_jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription(additionalDescription)] }), renderButtonsSection([button], {
|
|
11
|
+
buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
|
|
12
|
+
})] })));
|
|
13
|
+
const renderImage = (image) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
|
|
17
14
|
const renderCardTitle = (headlineSmallVersion, title) => title ? _jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
|
|
18
15
|
const renderDescription = (description, title) => description ? _jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
|
|
19
|
-
const renderAdditionalDescription = (additionalDescription
|
|
20
|
-
const renderItems = (items, isDotted
|
|
16
|
+
const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
|
|
17
|
+
const renderItems = (items, isDotted) => (_jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
|
|
21
18
|
//# sourceMappingURL=GalleryCardInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GalleryCardInner.js","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,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC"}
|
|
@@ -6,6 +6,6 @@ export interface GalleryContainerProps extends GalleryInnerProps {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GalleryCardData {
|
|
8
8
|
card: GalleryCardProps;
|
|
9
|
-
|
|
9
|
+
galleryVersion: GalleryVersion;
|
|
10
10
|
}
|
|
11
11
|
export declare const GalleryContainer: import("@redneckz/uni-jsx").UNIComponent<GalleryContainerProps, any, any>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { blockStyles } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { Headline } from '../Headline/Headline.js';
|
|
5
5
|
import { cardStyleMap, cardWidthMap, galleryLengthForScrollMap } from './constants.js';
|
|
6
6
|
import { GalleryCardInner } from './GalleryCardInner.js';
|
|
7
|
-
export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [],
|
|
8
|
-
function renderCard({ card,
|
|
7
|
+
export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (_jsxs("div", { children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
|
|
8
|
+
function renderCard({ card, galleryVersion }, i) {
|
|
9
9
|
return (_jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
|
|
10
|
-
items-stretch ${cardStyleMap[
|
|
10
|
+
items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
|
|
11
|
+
} w-full col-span-4`, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=GalleryContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAatD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,EAAE,EACV,cAAc,GAAG,QAAQ,EACzB,WAAW,EACX,KAAK,EACL,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,0BACE,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,GAChC,EACF,cACE,SAAS,EAAE,aACT,KAAK,EAAE,MAAM,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAClF,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,YAAY,CAAC,cAAc,CAAC,KAAK,EAAE,EACpF,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC,GAC7D,IACF,CACP,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAmB,EAAE,CAAS;IACtE,OAAO,CACL,kBACE,SAAS,EAAE;wBACO,YAAY,CAAC,cAAc,CAAC,IAC5C,WAAW,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,CAAC,8CAA8C;QACvF,oBAAoB,EAEpB,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,OAAK,IAAI,GAAI,IAHzB,MAAM,CAAC,CAAC,CAAC,CAIN,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -2,6 +2,6 @@ import type { GalleryVersion } from '../../model/GalleryVersion';
|
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { GalleryContent } from './GalleryContent';
|
|
4
4
|
export interface GalleryInnerProps extends GalleryContent, UniBlockProps {
|
|
5
|
-
|
|
5
|
+
galleryVersion?: GalleryVersion;
|
|
6
6
|
}
|
|
7
7
|
export declare const GalleryInner: import("@redneckz/uni-jsx").UNIComponent<GalleryInnerProps, any, any>;
|
|
@@ -2,20 +2,20 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCarouselControls } from '../../hooks/useCarouselControls.js';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import {
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
6
6
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
7
7
|
import { galleryLengthForScrollMap } from './constants.js';
|
|
8
8
|
import { GalleryContainer } from './GalleryContainer.js';
|
|
9
|
-
export const GalleryInner = JSX(({ cards = [], className = '',
|
|
9
|
+
export const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
|
|
10
10
|
const [activeIndex, controls] = useCarouselControls({
|
|
11
11
|
itemCount: cards?.length,
|
|
12
|
-
visibleItemCount: galleryLengthForScrollMap[
|
|
12
|
+
visibleItemCount: galleryLengthForScrollMap[galleryVersion],
|
|
13
13
|
});
|
|
14
14
|
const { isScrollAvailable } = controls;
|
|
15
|
-
return (_jsxs(BlockWrapper, { className: `relative
|
|
15
|
+
return (_jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [_jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
|
|
16
16
|
...controls,
|
|
17
17
|
btnClass: ['left-8', 'right-8'],
|
|
18
18
|
className: 'top-1/2',
|
|
19
|
-
}), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button
|
|
19
|
+
}), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=GalleryInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7E,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,yBAAyB,CAAC,cAAc,CAAC;KAC5D,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,mDAAmD,SAAS,EAAE,KACrE,IAAI,aAER,KAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9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