@redneckz/wildless-cms-uni-blocks 0.7.1 → 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 +282 -488
- 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/CarouselTariffsCard.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/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/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/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 -1
- 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/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 +2 -2
- 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.d.ts +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +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/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/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/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 -1
- package/dist/utils/style.js +4 -1
- package/dist/utils/style.js.map +1 -1
- 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/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 +2 -2
- 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.d.ts +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +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/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/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/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 -1
- package/lib/utils/style.js +4 -1
- package/lib/utils/style.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +147 -161
- 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/CarouselTariffsCard.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/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/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/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 -1
- 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 +2 -2
- 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.d.ts +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +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/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/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/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 -1
- package/mobile/dist/utils/style.js +4 -1
- package/mobile/dist/utils/style.js.map +1 -1
- 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 +2 -2
- 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.d.ts +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +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/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/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/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 -1
- package/mobile/lib/utils/style.js +4 -1
- package/mobile/lib/utils/style.js.map +1 -1
- package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
- 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/CarouselContent.ts +2 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +6 -4
- 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 +2 -6
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
- 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/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/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/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 -2
- package/package.json +1 -1
- package/src/BlockRenderer/renderBlock.tsx +8 -3
- 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/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/CarouselContent.ts +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
- package/src/components/CarouselCard/CarouselCard.tsx +6 -4
- 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 +2 -6
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
- 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/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/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 +5 -2
- 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/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 -2
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../src/BlockRenderer/renderBlock.tsx"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../src/BlockRenderer/renderBlock.tsx"],"names":[],"mappings":";;;AAEA,0CAAuC;AAEvC,mE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ph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
10
10
|
const AccordionItemsList_1 = require("./AccordionItemsList");
|
|
11
|
-
exports.Accordion = (0, uni_jsx_1.JSX)(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 mb-1 last:mb-0
|
|
11
|
+
exports.Accordion = (0, uni_jsx_1.JSX)(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 mb-1 last:mb-0 ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText_1.AlignText[accordionAlignTitle]}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-2.5", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-l", children: description }) })) : null, (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: (0, renderChildren_1.renderChildren)(rest) })] })));
|
|
12
12
|
exports.Accordion.childrenTypes = ['AccordionItem'];
|
|
13
13
|
//# sourceMappingURL=Accordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AACpE,qDAAkD;AAElD,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAE7D,6DAA0D;AAI7C,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,mBAAmB,GAAG,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnF,wBAAC,2BAAY,
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AACpE,qDAAkD;AAElD,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAE7D,6DAA0D;AAI7C,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,mBAAmB,GAAG,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnF,wBAAC,2BAAY,IAAC,SAAS,EAAE,uBAAuB,SAAS,EAAE,KAAM,IAAI,aAClE,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,UAAU,qBAAS,CAAC,mBAAmB,CAAC,EAAE,EACrD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,YAAE,WAAW,GAAa,GAC9C,CACP,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,uCAAkB,cAAE,IAAA,+BAAc,EAAC,IAAI,CAAC,GAAsB,IAClD,CAChB,CACF,CAAC;AAEF,iBAAS,CAAC,aAAa,GAAG,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -7,6 +7,6 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
|
7
7
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
8
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
9
9
|
const AccordionItemsList_1 = require("./AccordionItemsList");
|
|
10
|
-
exports.Accordion = (0, uni_jsx_1.JSX)(({ title, description, className = '', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `py-6 px-4
|
|
10
|
+
exports.Accordion = (0, uni_jsx_1.JSX)(({ title, description, className = '', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `py-6 px-4 ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", align: "text-center", children: description }) })) : null, (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: (0, renderChildren_1.renderChildren)(rest) })] })));
|
|
11
11
|
exports.Accordion.childrenTypes = ['AccordionItem'];
|
|
12
12
|
//# sourceMappingURL=Accordion.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAE7D,6DAA0D;AAI7C,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Accordion.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAE7D,6DAA0D;AAI7C,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,aACxD,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,aAAa,YAC3D,WAAW,GACF,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,uCAAkB,cAAE,IAAA,+BAAc,EAAC,IAAI,CAAC,GAAsB,IAClD,CAChB,CACF,CAAC;AAEF,iBAAS,CAAC,aAAa,GAAG,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -10,5 +10,5 @@ const Text_1 = require("../../ui-kit/Text/Text");
|
|
|
10
10
|
const icons = ['PlusIcon', 'MinusIcon'];
|
|
11
11
|
exports.AccordionItem = (0, uni_jsx_1.JSX)(({ className = '', label = '', isExpanded, ...rest }) => ((0, jsx_runtime_1.jsx)("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: (0, renderChildren_1.renderChildren)(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsx)(FoldButton, { label: label, icon: icons[Number(isUnfolded)], onClick: onToggle })) }) })));
|
|
12
12
|
exports.AccordionItem.childrenTypes = [];
|
|
13
|
-
const FoldButton = (0, uni_jsx_1.JSX)(({ label, icon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6
|
|
13
|
+
const FoldButton = (0, uni_jsx_1.JSX)(({ label, icon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onClick, children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", font: "font-medium", children: label }), (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
|
|
14
14
|
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,6DAA0D;AAC1D,2EAAwE;AAExE,8CAA2C;AAC3C,iDAA8C;AAG9C,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEvC,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvD,+BACE,SAAS,EAAE,sEAAsE,SAAS,EAAE,YAE5F,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,IAAI,EACvB,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IAAC,SAAS,EAAC,mCAAmC,EAAC,UAAU,EAAE,UAAU,YAClF,IAAA,+BAAc,EAAC,IAAI,CAAC,GACL,CACnB,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9C,uBAAC,UAAU,IAAC,KAAK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ACjF,GACD,GACC,CACN,CACF,CAAC;AAEF,qBAAa,CAAC,aAAa,GAAG,EAAE,CAAC;AAQjC,MAAM,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACpE,oCACE,SAAS,EAAC,oHAAoH,EAC9H,OAAO,EAAE,OAAO,aAEhB,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,EACP,uBAAC,SAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,EACf,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type { BaseTileCommonProps } from './BaseTileProps';
|
|
2
|
-
export
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
|
|
2
|
+
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileCommonProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC5D,iCAAK,SAAS,EAAE,mDAAmD,SAAS,EAAE,aAC3E,KAAK,EACN,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,iCAAK,SAAS,EAAC,sCAAsC,aACnD,gCAAK,SAAS,EAAC,QAAQ,YAAE,QAAQ,GAAO,EACvC,OAAO,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,cAAc,YAAE,OAAO,GAAO,CAAC,CAAC,CAAC,IAAI,IAC3D,EACL,KAAK,IACF,IACF,CACP,CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AlignType } from '../../model/AlignType';
|
|
2
|
-
import type {
|
|
3
|
-
import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
3
|
import type { VNode } from '../../model/VNode';
|
|
5
|
-
|
|
4
|
+
import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
+
export interface BaseTileCommonProps extends UniBlockProps {
|
|
6
6
|
title?: VNode;
|
|
7
7
|
headingType?: HeadingType;
|
|
8
8
|
description?: string;
|
|
@@ -10,6 +10,5 @@ export interface BaseTileCommonProps {
|
|
|
10
10
|
items?: string[];
|
|
11
11
|
list?: string;
|
|
12
12
|
buttons?: VNode;
|
|
13
|
-
version?: BlockVersion;
|
|
14
13
|
align?: AlignType;
|
|
15
14
|
}
|
|
@@ -2,31 +2,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.BenefitsBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockVersion_1 = require("../../model/BlockVersion");
|
|
6
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
primary: '',
|
|
12
|
-
secondary: 'text-white',
|
|
13
|
-
};
|
|
14
|
-
const benefitsDescriptionStyleMap = {
|
|
15
|
-
primary: 'text-secondary-text',
|
|
16
|
-
secondary: 'text-white opacity-80',
|
|
17
|
-
};
|
|
18
|
-
const benefitsIconStyleMap = {
|
|
19
|
-
primary: 'bg-main-divider text-primary-main',
|
|
20
|
-
secondary: 'bg-white/30 text-black',
|
|
21
|
-
};
|
|
22
|
-
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${BlockVersion_1.VersionStyleMap[version]}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
|
|
23
|
-
const renderStep = (version) => (benefit, i) => {
|
|
8
|
+
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
|
|
9
|
+
const renderStep = (benefit, i) => {
|
|
24
10
|
const description = benefit.description;
|
|
25
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className:
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
|
|
26
12
|
};
|
|
27
|
-
const renderDescription = (description
|
|
13
|
+
const renderDescription = (description) => {
|
|
28
14
|
const benefitType = description?.benefitType || null;
|
|
29
|
-
return description && benefitType ? ((0, jsx_runtime_1.jsx)("div", { className:
|
|
15
|
+
return description && benefitType ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
|
|
30
16
|
? renderListBenefit(description)
|
|
31
17
|
: renderTextBenefit(description) })) : null;
|
|
32
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAW9B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,mCAAmC,SAAS,EAAE,KAAM,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AAW,IAAI,WAAW,CAAC,CAAC,CAAC,CAClC,gCAAK,SAAS,EAAC,0EAA0E,YACtF,WAAW,KAAK,MAAM;YACrB,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;AAEtF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -3,17 +3,15 @@ exports.Bonus = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
9
|
exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
|
|
10
10
|
const { className = '', title, description, bonusItems, ...rest } = props;
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `
|
|
12
|
-
? bonusItems.map((_, i) => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
: null] }) }, String(i)));
|
|
16
|
-
})
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
|
|
12
|
+
? bonusItems.map((_, i) => ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between mr-4", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), (0, renderButtonsSection_1.renderButtonsSection)(_?.buttons)] }), _.bonusItemContent?.bonusType
|
|
13
|
+
? renderBonusItemContent(_.bonusItemContent)
|
|
14
|
+
: null] }) }, String(i))))
|
|
17
15
|
: null })] }) }));
|
|
18
16
|
});
|
|
19
17
|
const renderBonusItemContent = (bonusItemContent) => ((0, jsx_runtime_1.jsx)("div", { children: bonusItemContent.bonusType === 'count'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"Bonus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AAC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CAAC,CAClF,0CACG,gBAAgB,CAAC,SAAS,KAAK,OAAO;QACrC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;QACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,GACnD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,yDAAyD,aACrE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -6,7 +6,7 @@ const AlignText_1 = require("../../model/AlignText");
|
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
|
-
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M"
|
|
9
|
+
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
|
|
10
10
|
const renderBonusBenefit = ({ icon, label, description }, i) => {
|
|
11
11
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,
|
|
1
|
+
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAC,GAAG,GAAG,EAC1F,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
|
|
@@ -5,5 +5,5 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
7
|
const BusinessCard_1 = require("./BusinessCard");
|
|
8
|
-
exports.BusinessBlock = (0, uni_jsx_1.JSX)(({ className = '', title, cards, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `
|
|
8
|
+
exports.BusinessBlock = (0, uni_jsx_1.JSX)(({ className = '', title, cards, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), (0, jsx_runtime_1.jsx)("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => (0, jsx_runtime_1.jsx)(BusinessCard_1.BusinessCard, { ..._ }, String(i))) : null })] })));
|
|
9
9
|
//# sourceMappingURL=BusinessBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessBlock.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AAEvD,iDAA8C;AAIjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7C,wBAAC,2BAAY,IAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"BusinessBlock.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AAEvD,iDAA8C;AAIjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7C,wBAAC,2BAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,aACzD,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,kBAAkB,GAAG,EACvE,gCAAK,SAAS,EAAC,YAAY,YACxB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAC,2BAAY,OAAqB,CAAC,IAAhB,MAAM,CAAC,CAAC,CAAC,CAAW,CAAC,CAAC,CAAC,CAAC,IAAI,GAChF,IACO,CAChB,CACF,CAAC"}
|
|
@@ -2,12 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.BusinessCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
exports.BusinessCard = (0, uni_jsx_1.JSX)((props) => {
|
|
9
9
|
const { title, image, cardItems, button } = props;
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "border-gray border p-9 w-1/2", children: [image ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image, asSVG: true }) : null] })) : null, title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? (0, jsx_runtime_1.jsx)("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null,
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "border-gray border p-9 w-1/2", children: [image ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image, asSVG: true }) : null] })) : null, title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? (0, jsx_runtime_1.jsx)("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'mt-6' })] }));
|
|
11
11
|
});
|
|
12
12
|
const renderItem = (item, key) => {
|
|
13
13
|
const { icon, text } = item;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{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,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,gCAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAC,qDAAqD,EAAC,KAAK,SAAG,CAC3F,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KALtC,GAAG,CAMP,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,9 +3,6 @@ exports.ButtonBlock = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const
|
|
7
|
-
exports.ButtonBlock = (0, uni_jsx_1.JSX)((
|
|
8
|
-
const { className, button, ...rest } = props;
|
|
9
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, ...rest, children: button ? (0, ButtonSection_1.renderButton)({ button }) : null }));
|
|
10
|
-
});
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
|
+
exports.ButtonBlock = (0, uni_jsx_1.JSX)(({ button, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { ...rest, children: (0, renderButtonsSection_1.renderButtonsSection)([button]) })));
|
|
11
8
|
//# sourceMappingURL=ButtonBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBlock.js","sourceRoot":"","sources":["../../../src/components/ButtonBlock/ButtonBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"ButtonBlock.js","sourceRoot":"","sources":["../../../src/components/ButtonBlock/ButtonBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAKnE,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxE,uBAAC,2BAAY,OAAK,IAAI,YAAG,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,CAAC,GAAgB,CACxE,CAAC,CAAC"}
|
|
@@ -3,10 +3,10 @@ exports.BonusCalculatorForm = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
7
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
7
8
|
const constants_1 = require("./constants");
|
|
8
9
|
const Rate_1 = require("./Rate");
|
|
9
|
-
const renderButtonSection_1 = require("./renderButtonSection");
|
|
10
10
|
const renderFootnote_1 = require("./renderFootnote");
|
|
11
11
|
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
12
12
|
const useBonusCalculatorParams_1 = require("./useBonusCalculatorParams");
|
|
@@ -33,6 +33,6 @@ exports.BonusCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDi
|
|
|
33
33
|
moneyValue: restExpenseValue,
|
|
34
34
|
step: 500,
|
|
35
35
|
isShowItems: false,
|
|
36
|
-
}, handleRestExpenseValue)] }), (0, jsx_runtime_1.jsx)("div", { children: monthBonus >= 0 ? ((0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, (0,
|
|
36
|
+
}, handleRestExpenseValue)] }), (0, jsx_runtime_1.jsx)("div", { children: monthBonus >= 0 ? ((0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
37
37
|
});
|
|
38
38
|
//# sourceMappingURL=BonusCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;
|
|
1
|
+
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAEhF,iEAA8D;AAC9D,2CAA2E;AAC3E,iCAA8B;AAC9B,qDAAkD;AAClD,i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B;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,sBAAsB,CACvB,IACG,EACN,0CACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,uBAAC,WAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,iCAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACtE,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -18,7 +18,7 @@ exports.Calculator = (0, uni_jsx_1.JSX)(({ className = '', calculatorTabs = [],
|
|
|
18
18
|
itemCount: calculatorTabs?.length,
|
|
19
19
|
visibleItemCount: COLUMNS_FOR_SCROLL,
|
|
20
20
|
});
|
|
21
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border overflow-hidden relative
|
|
21
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border overflow-hidden relative w-100 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-white", children: [tabsNav.length > 1
|
|
22
22
|
? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
|
|
23
23
|
: null, (0, renderArrows_1.renderArrows)({
|
|
24
24
|
...controls,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnD,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,CACzC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,qBAAqB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACpF,MAAM,kBAAkB,GAAG,CAAC,CAAC;IAE7B,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,cAAc,EAAE,MAAM;QACjC,gBAAgB,EAAE,kBAAkB;KACrC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,
|
|
1
|
+
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,cAA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AAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAnBD,MAAM,CAAC,CAAC,CAAC,CAoBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAa;IAC/E,MAAM,UAAU,GAAG,GAAG,CAAC;IAEvB,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,QAAQ,EAAE,OAAO,CAAC,CAAC,KAAK,eAAe,CAAC;wBACxC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC1B,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonCalculatorProps } from './CalculatorContent';
|
|
1
|
+
import type { CommonCalculatorProps } from './CalculatorContent';
|
|
2
2
|
export declare const ANNUITY = "annuity";
|
|
3
3
|
export declare const DIFFERENTIAL = "differential";
|
|
4
4
|
export interface CreditCalculatorProp extends CommonCalculatorProps {
|
|
@@ -3,12 +3,12 @@ exports.CreditCalculatorForm = exports.DIFFERENTIAL = exports.ANNUITY = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
7
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
7
8
|
const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
|
|
8
9
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
9
10
|
const constants_1 = require("./constants");
|
|
10
11
|
const Rate_1 = require("./Rate");
|
|
11
|
-
const renderButtonSection_1 = require("./renderButtonSection");
|
|
12
12
|
const renderFootnote_1 = require("./renderFootnote");
|
|
13
13
|
const renderMonthsInput_1 = require("./renderMonthsInput");
|
|
14
14
|
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
@@ -43,6 +43,6 @@ exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookD
|
|
|
43
43
|
monthsValue,
|
|
44
44
|
};
|
|
45
45
|
const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(userInputParams, sourceBookDir);
|
|
46
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === exports.ANNUITY) }), (0,
|
|
46
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === exports.ANNUITY) }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
47
47
|
});
|
|
48
48
|
//# sourceMappingURL=CreditCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;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C,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,iCAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACF,uBAAC,mCAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY,EAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC,GAC7D,EACD,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACtE,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,11 +4,11 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
// TEMP
|
|
5
5
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
6
6
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
7
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
8
|
const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
|
|
8
9
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
9
10
|
const constants_1 = require("./constants");
|
|
10
11
|
const Rate_1 = require("./Rate");
|
|
11
|
-
const renderButtonSection_1 = require("./renderButtonSection");
|
|
12
12
|
const renderFootnote_1 = require("./renderFootnote");
|
|
13
13
|
const renderMonthsInput_1 = require("./renderMonthsInput");
|
|
14
14
|
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
@@ -42,6 +42,6 @@ exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBook
|
|
|
42
42
|
...calculatorParams,
|
|
43
43
|
}, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок вклада, месяцев', {
|
|
44
44
|
...calculatorParams,
|
|
45
|
-
}, handleMonthsValue)] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [income ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), (0,
|
|
45
|
+
}, handleMonthsValue)] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [income ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=DepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,uDAAoE;AACpE,qFAAkF;AAElF,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,qFAAkF;AAElF,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,qDAAkD;AAClD,2DAAwD;AACxD,iEAA8D;AAC9D,6EAA0E;AAM1E,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,WAAW,GAAG,WAAW,CAAC;AAEhC,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,eAAe;KACtB;CACF,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE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B,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,mCAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,wBAAwB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EACjE,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,8BAA8B,CAAC,IAAI,KAAK,WAAW,CAAC,GAChF,EACD,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACtE,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -23,6 +23,6 @@ exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TIT
|
|
|
23
23
|
? (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ version: button?.version })
|
|
24
24
|
: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className: 'text-white', version: button?.version });
|
|
25
25
|
const link = (0, useLink_1.useLink)();
|
|
26
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center
|
|
26
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iDAA8C;AAE9C,4DAAyD;AACzD,2FAAwF;AACxF,yFAAsF;AACtF,4EAAyE;AACzE,0DAAuD;AACvD,qEAAkE;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAItB,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjE,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,IAAA,qCAAiB,EAAC,KAAK,CAAC,CAAC,CAAC;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;IACrD,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,mCAAmC,SAAS,EAAE,KAAM,IAAI,aAC9E,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,kCAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,uBAAC,6BAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -7,17 +7,18 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
|
7
7
|
const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
|
|
8
8
|
const SwipeListContainer_1 = require("../../ui-kit/SwipeListControl/SwipeListContainer");
|
|
9
9
|
const useSwipeListScroll_1 = require("../../ui-kit/SwipeListControl/useSwipeListScroll");
|
|
10
|
+
const style_1 = require("../../utils/style");
|
|
10
11
|
const ITEMS_GAP = 4;
|
|
11
|
-
const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
|
|
12
|
+
const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px] pointer-events-none';
|
|
12
13
|
const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
|
|
13
|
-
exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
|
|
14
|
+
exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, isPadding = true, ...rest }) => {
|
|
14
15
|
const { blocks: childBlocks } = rest.block || {};
|
|
15
16
|
const count = itemCount || childBlocks?.length || 0;
|
|
16
17
|
const [containerRef, scroll] = (0, useSwipeListScroll_1.useSwipeListScroll)({
|
|
17
18
|
itemCount: count,
|
|
18
19
|
isCyclic,
|
|
19
20
|
});
|
|
20
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className:
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: (0, renderChildren_1.renderChildren)(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), (0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
|
|
21
22
|
});
|
|
22
23
|
exports.Carousel.childrenTypes = [
|
|
23
24
|
'CarouselCard',
|
|
@@ -30,4 +31,5 @@ exports.Carousel.childrenTypes = [
|
|
|
30
31
|
'CarouselInvestmentCard',
|
|
31
32
|
];
|
|
32
33
|
const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => ((0, jsx_runtime_1.jsxs)("div", { children: [canScrollLeft ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
|
|
34
|
+
const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
|
|
33
35
|
//# sourceMappingURL=Carousel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,iEAAsF;AACtF,yFAAsF;AACtF,yFAG0D;
|
|
1
|
+
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,iEAAsF;AACtF,yFAAsF;AACtF,yFAG0D;AAE1D,6CAA0C;AAM1C,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,aAAa,GAAG,2DAA2D,CAAC;AAClF,MAAM,iBAAiB,GAAG,oCAAoC,CAAC;AAElD,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAA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GAAG,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,GACE,EAAE,EAAE,CAAC,CACrB,4CACG,aAAa,CAAC,CAAC,CAAC,CACf,uBAAC,8BAAgB,IAAC,SAAS,EAAE,GAAG,iBAAiB,SAAS,EAAE,OAAO,EAAE,UAAU,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CAChB,uBAAC,+BAAiB,IAAC,SAAS,EAAE,GAAG,iBAAiB,UAAU,EAAE,OAAO,EAAE,WAAW,GAAI,CACvF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -2,12 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.CarouselCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
6
|
const Headline_1 = require("../Headline/Headline");
|
|
7
7
|
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
|
|
8
8
|
const CARD_WIDTH_MAP = {
|
|
9
9
|
normal: 'min-w-[970px]',
|
|
10
10
|
mini: 'min-w-[355px]',
|
|
11
11
|
};
|
|
12
|
-
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title,
|
|
12
|
+
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, carouselVersion = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), (0, renderButtonsSection_1.renderButtonsSection)([button], { className: 'mt-14' })] })] }) })));
|
|
13
13
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,mFAAgF;AAChF,mDAAgD;AAKhD,MAAM,aAAa,GAAG,wDAAwD,CAAC;AAE/E,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,eAAe;IACvB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9E,oCACE,SAAS,EAAE,8BAA8B,cAAc,CAAC,eAAe,CAAC,IAAI,SAAS,EAAE,YAEvF,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,oEAAoE,aACjF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,GACjB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,IACnD,IACF,GACE,CACX,CACF,CAAC"}
|