@redneckz/wildless-cms-uni-blocks 0.6.32 → 0.6.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.6.34.js +51 -0
- package/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/bundle/BlockRenderer/renderBlock.d.ts +3 -0
- package/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
- package/bundle/BlockRenderer/renderChildren.d.ts +10 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +382 -395
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/bundle/components/Carousel/Carousel.d.ts +1 -0
- package/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
- package/bundle/components/Carousel/CarouselContent.d.ts +5 -8
- package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
- package/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/bundle/components/Video/Video.d.ts +6 -0
- package/bundle/components/Video/VideoContent.d.ts +8 -0
- package/bundle/components/Video/getPaddings.d.ts +1 -0
- package/bundle/hooks/useCarouselControls.d.ts +5 -3
- package/bundle/model/JSXBlock.d.ts +4 -5
- package/bundle/model/LinkProps.d.ts +1 -0
- package/bundle/model/Picture.d.ts +8 -2
- package/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
- package/bundle/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/bundle/ui-kit/Text/Text.d.ts +34 -0
- package/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/dist/BlockRenderer/BlockRendererOptions.js +2 -0
- package/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
- package/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/{mobile/dist/model → dist/BlockRenderer}/getParentBlockContent.js +2 -2
- package/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/dist/BlockRenderer/getParentBlockDef.js +7 -0
- package/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/dist/BlockRenderer/renderBlock.d.ts +3 -0
- package/dist/BlockRenderer/renderBlock.js +27 -0
- package/dist/BlockRenderer/renderBlock.js.map +1 -0
- package/dist/BlockRenderer/renderBlockList.d.ts +9 -0
- package/dist/BlockRenderer/renderBlockList.js +14 -0
- package/dist/BlockRenderer/renderBlockList.js.map +1 -0
- package/dist/BlockRenderer/renderChildren.d.ts +10 -0
- package/dist/BlockRenderer/renderChildren.js +13 -0
- package/dist/BlockRenderer/renderChildren.js.map +1 -0
- package/dist/components/Accordion/Accordion.js +3 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +3 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.js +4 -2
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.mobile.js +7 -5
- package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Blocks.js +3 -1
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/dist/components/Calculator/Calculator.js +22 -22
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -3
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +1 -0
- package/dist/components/Carousel/Carousel.js +16 -14
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContainer.d.ts +8 -5
- package/dist/components/Carousel/CarouselContainer.js +8 -5
- package/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +5 -8
- package/dist/components/Carousel/CarouselContent.js +0 -3
- package/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/dist/components/CarouselCard/CarouselCard.js +4 -11
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +9 -9
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +8 -11
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRow.js +1 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/dist/components/ComparisonTable/constants.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -5
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +13 -7
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +2 -4
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.js +1 -3
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryInner.js +9 -12
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +2 -3
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OtherProducts/OtherProducts.js +2 -1
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +11 -21
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.js +1 -2
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +5 -3
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +12 -14
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +2 -2
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +3 -2
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/Video.d.ts +6 -0
- package/dist/components/Video/Video.js +12 -0
- package/dist/components/Video/Video.js.map +1 -0
- package/dist/components/Video/VideoContent.d.ts +8 -0
- package/dist/components/Video/VideoContent.js +2 -0
- package/dist/components/Video/VideoContent.js.map +1 -0
- package/dist/components/Video/getPaddings.d.ts +1 -0
- package/dist/components/Video/getPaddings.js +7 -0
- package/dist/components/Video/getPaddings.js.map +1 -0
- package/dist/hooks/useCarouselControls.d.ts +5 -3
- package/dist/hooks/useCarouselControls.js +19 -8
- package/dist/hooks/useCarouselControls.js.map +1 -1
- package/dist/model/JSXBlock.d.ts +4 -5
- package/dist/model/LinkProps.d.ts +1 -0
- package/dist/model/Picture.d.ts +8 -2
- package/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/{mobile/dist/react → dist}/setup-fixture.js +4 -4
- package/dist/setup-fixture.js.map +1 -0
- package/dist/ui-kit/Button/renderArrows.d.ts +6 -4
- package/dist/ui-kit/Button/renderArrows.js +3 -2
- package/dist/ui-kit/Button/renderArrows.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/dist/ui-kit/Paragraph/Paragraph.js +10 -0
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/dist/ui-kit/Text/Text.d.ts +34 -0
- package/dist/ui-kit/Text/Text.js +10 -0
- package/dist/ui-kit/Text/Text.js.map +1 -0
- package/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/lib/BlockRenderer/BlockRendererOptions.js +2 -0
- package/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
- package/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/lib/BlockRenderer/getParentBlockContent.js +6 -0
- package/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/lib/BlockRenderer/getParentBlockDef.js +4 -0
- package/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/lib/BlockRenderer/renderBlock.d.ts +3 -0
- package/lib/BlockRenderer/renderBlock.js +24 -0
- package/lib/BlockRenderer/renderBlock.js.map +1 -0
- package/lib/BlockRenderer/renderBlockList.d.ts +9 -0
- package/lib/BlockRenderer/renderBlockList.js +11 -0
- package/lib/BlockRenderer/renderBlockList.js.map +1 -0
- package/lib/BlockRenderer/renderChildren.d.ts +10 -0
- package/lib/BlockRenderer/renderChildren.js +10 -0
- package/lib/BlockRenderer/renderChildren.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +3 -2
- package/lib/components/Accordion/Accordion.js +3 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +3 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +4 -2
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.mobile.js +7 -5
- package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -1
- package/lib/components/Blocks.js +3 -1
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.fixture.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/lib/components/BusinessBlock/BusinessBlock.fixture.d.ts +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +1 -1
- package/lib/components/Calculator/Calculator.js +23 -23
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -3
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +1 -0
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js +16 -14
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContainer.d.ts +8 -5
- package/lib/components/Carousel/CarouselContainer.js +8 -5
- package/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +5 -8
- package/lib/components/Carousel/CarouselContent.js +0 -3
- package/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +2 -1
- package/lib/components/CarouselCard/CarouselCard.js +4 -11
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +9 -9
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/Catalog/Catalog.fixture.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +8 -11
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRow.js +1 -1
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/lib/components/ComparisonTable/constants.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -5
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.js +13 -7
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -1
- package/lib/components/Footer/Footer.fixture.d.ts +1 -1
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Gallery/Gallery.fixture.d.ts +1 -1
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +2 -4
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.js +1 -3
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryInner.js +9 -12
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -1
- package/lib/components/Header/Header.fixture.d.ts +1 -1
- package/lib/components/Header/Header.fixture.mobile.d.ts +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +2 -3
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +1 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -1
- package/lib/components/Headline/Headline.js +1 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -1
- package/lib/components/LinkList/LinkList.fixture.d.ts +1 -1
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +3 -2
- package/lib/components/OtherProducts/OtherProducts.js +2 -1
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.js +11 -21
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.js +1 -2
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +5 -3
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/Tabs/Tabs.fixture.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +12 -14
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +2 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -1
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +3 -2
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/Video.d.ts +6 -0
- package/lib/components/Video/Video.fixture.d.ts +8 -0
- package/lib/components/Video/Video.js +10 -0
- package/lib/components/Video/Video.js.map +1 -0
- package/lib/components/Video/VideoContent.d.ts +8 -0
- package/lib/components/Video/VideoContent.js +2 -0
- package/lib/components/Video/VideoContent.js.map +1 -0
- package/lib/components/Video/getPaddings.d.ts +1 -0
- package/lib/components/Video/getPaddings.js +4 -0
- package/lib/components/Video/getPaddings.js.map +1 -0
- package/lib/hooks/useCarouselControls.d.ts +5 -3
- package/lib/hooks/useCarouselControls.js +19 -8
- package/lib/hooks/useCarouselControls.js.map +1 -1
- package/lib/model/JSXBlock.d.ts +4 -5
- package/lib/model/LinkProps.d.ts +1 -0
- package/lib/model/Picture.d.ts +8 -2
- package/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
- package/lib/setup-fixture.js.map +1 -0
- package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
- package/lib/ui-kit/Button/renderArrows.d.ts +6 -4
- package/lib/ui-kit/Button/renderArrows.js +3 -2
- package/lib/ui-kit/Button/renderArrows.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/List/List.fixture.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/lib/ui-kit/Paragraph/Paragraph.js +8 -0
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/lib/ui-kit/Text/Text.d.ts +34 -0
- package/lib/ui-kit/Text/Text.js +8 -0
- package/lib/ui-kit/Text/Text.js.map +1 -0
- package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
- package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/mobile/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/bundle/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/bundle/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/bundle/bundle.umd.js +103 -88
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/bundle/components/Video/Video.d.ts +6 -0
- package/mobile/bundle/components/Video/VideoContent.d.ts +8 -0
- package/mobile/bundle/components/Video/getPaddings.d.ts +1 -0
- package/mobile/bundle/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/bundle/model/JSXBlock.d.ts +4 -5
- package/mobile/bundle/model/LinkProps.d.ts +1 -0
- package/mobile/bundle/model/Picture.d.ts +8 -2
- package/mobile/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/bundle/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.js +2 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/mobile/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/{dist/model → mobile/dist/BlockRenderer}/getParentBlockContent.js +2 -2
- package/mobile/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.js +7 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/dist/BlockRenderer/renderBlock.js +27 -0
- package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/dist/BlockRenderer/renderBlockList.js +14 -0
- package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/dist/BlockRenderer/renderChildren.js +13 -0
- package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -0
- package/mobile/dist/components/Accordion/Accordion.js +3 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/AccordionItem/AccordionItem.js +7 -5
- package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/dist/components/Calculator/Calculator.js +22 -22
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -3
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/dist/components/Carousel/Carousel.js +16 -14
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/dist/components/Carousel/CarouselContainer.js +8 -5
- package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/dist/components/Carousel/CarouselContent.js +0 -3
- package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js +4 -11
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +9 -9
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +8 -11
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/constants.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -5
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +13 -7
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
- 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 +1 -3
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +9 -12
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -3
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +11 -21
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -2
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +5 -3
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/Video.d.ts +6 -0
- package/mobile/dist/components/Video/Video.js +12 -0
- package/mobile/dist/components/Video/Video.js.map +1 -0
- package/mobile/dist/components/Video/VideoContent.d.ts +8 -0
- package/mobile/dist/components/Video/VideoContent.js +2 -0
- package/mobile/dist/components/Video/VideoContent.js.map +1 -0
- package/mobile/dist/components/Video/getPaddings.d.ts +1 -0
- package/mobile/dist/components/Video/getPaddings.js +7 -0
- package/mobile/dist/components/Video/getPaddings.js.map +1 -0
- package/mobile/dist/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/dist/hooks/useCarouselControls.js +19 -8
- package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
- package/mobile/dist/model/JSXBlock.d.ts +4 -5
- package/mobile/dist/model/LinkProps.d.ts +1 -0
- package/mobile/dist/model/Picture.d.ts +8 -2
- package/mobile/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/{dist/react → mobile/dist}/setup-fixture.js +4 -4
- package/mobile/dist/setup-fixture.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/dist/ui-kit/Button/renderArrows.js +3 -2
- package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +10 -0
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/dist/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/dist/ui-kit/Text/Text.js +10 -0
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.js +2 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.js +6 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.js +4 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/lib/BlockRenderer/renderBlock.js +24 -0
- package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/lib/BlockRenderer/renderBlockList.js +11 -0
- package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/lib/BlockRenderer/renderChildren.js +10 -0
- package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +3 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/AccordionItem/AccordionItem.js +7 -5
- package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/lib/components/Calculator/Calculator.js +23 -23
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -3
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/lib/components/Carousel/Carousel.js +16 -14
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/lib/components/Carousel/CarouselContainer.js +8 -5
- package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/lib/components/Carousel/CarouselContent.js +0 -3
- package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js +4 -11
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +9 -9
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +8 -11
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/constants.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -5
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +13 -7
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
- 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 +1 -3
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +9 -12
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +2 -3
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +11 -21
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -2
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +5 -3
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/Video.d.ts +6 -0
- package/mobile/lib/components/Video/Video.js +10 -0
- package/mobile/lib/components/Video/Video.js.map +1 -0
- package/mobile/lib/components/Video/VideoContent.d.ts +8 -0
- package/mobile/lib/components/Video/VideoContent.js +2 -0
- package/mobile/lib/components/Video/VideoContent.js.map +1 -0
- package/mobile/lib/components/Video/getPaddings.d.ts +1 -0
- package/mobile/lib/components/Video/getPaddings.js +4 -0
- package/mobile/lib/components/Video/getPaddings.js.map +1 -0
- package/mobile/lib/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/lib/hooks/useCarouselControls.js +19 -8
- package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
- package/mobile/lib/model/JSXBlock.d.ts +4 -5
- package/mobile/lib/model/LinkProps.d.ts +1 -0
- package/mobile/lib/model/Picture.d.ts +8 -2
- package/mobile/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/mobile/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
- package/mobile/lib/setup-fixture.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/lib/ui-kit/Button/renderArrows.js +3 -2
- package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +8 -0
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/lib/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/lib/ui-kit/Text/Text.js +8 -0
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -0
- package/mobile/src/BlockRenderer/BlockRendererOptions.ts +12 -0
- package/mobile/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
- package/mobile/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
- package/mobile/src/BlockRenderer/getParentBlockDef.ts +6 -0
- package/mobile/src/BlockRenderer/renderBlock.tsx +47 -0
- package/mobile/src/BlockRenderer/renderBlockList.tsx +33 -0
- package/mobile/src/BlockRenderer/renderChildren.ts +25 -0
- package/mobile/src/components/Accordion/Accordion.tsx +12 -7
- package/mobile/src/components/AccordionItem/AccordionItem.tsx +12 -8
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
- package/mobile/src/components/Calculator/Calculator.tsx +32 -33
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -2
- package/mobile/src/components/Carousel/Carousel.example.json +2 -2
- package/mobile/src/components/Carousel/Carousel.tsx +29 -40
- package/mobile/src/components/Carousel/CarouselContainer.tsx +19 -12
- package/mobile/src/components/Carousel/CarouselContent.ts +5 -9
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +22 -34
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +30 -24
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/mobile/src/components/Catalog/Catalog.tsx +8 -13
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
- package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
- package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -3
- package/mobile/src/components/ComparisonTable/constants.ts +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +10 -13
- package/mobile/src/components/ContentPage/ContentPage.tsx +21 -20
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
- package/mobile/src/components/Footer/Footer.tsx +3 -3
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +12 -14
- package/mobile/src/components/Gallery/GalleryContainer.tsx +14 -16
- package/mobile/src/components/Gallery/GalleryInner.tsx +9 -22
- package/mobile/src/components/Header/Header.tsx +3 -4
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +2 -3
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +3 -2
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
- package/mobile/src/components/Recommendation/Recommendation.tsx +12 -36
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -2
- package/mobile/src/components/RollupItem/RollupItem.tsx +9 -7
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
- package/mobile/src/components/Tile/Tile.tsx +4 -2
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
- package/mobile/src/components/Video/Video.tsx +29 -0
- package/mobile/src/components/Video/Video.ui.json +12 -0
- package/mobile/src/components/Video/VideoContent.ts +9 -0
- package/mobile/src/components/Video/getPaddings.ts +6 -0
- package/mobile/src/hooks/useCarouselControls.ts +33 -19
- package/mobile/src/model/JSXBlock.ts +4 -5
- package/mobile/src/model/LinkProps.ts +1 -0
- package/mobile/src/model/Picture.ts +8 -2
- package/{src/react → mobile/src}/setup-fixture.ts +4 -4
- package/mobile/src/ui-kit/Button/renderArrows.tsx +22 -17
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +17 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
- package/mobile/src/ui-kit/Text/Text.tsx +79 -0
- package/package.json +1 -1
- package/src/BlockRenderer/BlockRendererOptions.ts +12 -0
- package/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
- package/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
- package/src/BlockRenderer/getParentBlockDef.ts +6 -0
- package/src/BlockRenderer/renderBlock.tsx +47 -0
- package/src/BlockRenderer/renderBlockList.tsx +33 -0
- package/src/BlockRenderer/renderChildren.ts +25 -0
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +40 -55
- package/src/components/Accordion/Accordion.fixture.tsx +79 -52
- package/src/components/Accordion/Accordion.mobile.tsx +12 -7
- package/src/components/Accordion/Accordion.tsx +10 -4
- package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +13 -2
- package/src/components/AccordionItem/AccordionItem.fixture.tsx +12 -1
- package/src/components/AccordionItem/AccordionItem.mobile.tsx +12 -8
- package/src/components/AccordionItem/AccordionItem.tsx +7 -3
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
- package/src/components/Blocks.ts +3 -1
- package/src/components/Bonus/Bonus.fixture.tsx +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +12 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -1
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/Calculator.tsx +32 -33
- package/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -1
- package/src/components/CardTransfer/CardTransfer.tsx +3 -2
- package/src/components/Carousel/Carousel.example.json +2 -2
- package/src/components/Carousel/Carousel.fixture.tsx +38 -45
- package/src/components/Carousel/Carousel.tsx +29 -40
- package/src/components/Carousel/CarouselContainer.tsx +19 -12
- package/src/components/Carousel/CarouselContent.ts +5 -9
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +9 -4
- package/src/components/CarouselCard/CarouselCard.tsx +22 -34
- package/src/components/CarouselLinks/CarouselLinks.tsx +30 -24
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/src/components/Catalog/Catalog.fixture.tsx +1 -1
- package/src/components/Catalog/Catalog.tsx +8 -13
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
- package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
- package/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
- package/src/components/ComparisonTable/TableRow.tsx +3 -3
- package/src/components/ComparisonTable/constants.ts +1 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +10 -13
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +21 -20
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
- package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
- package/src/components/Footer/Footer.fixture.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +3 -3
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.tsx +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +12 -14
- package/src/components/Gallery/GalleryContainer.tsx +14 -16
- package/src/components/Gallery/GalleryInner.tsx +9 -22
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
- package/src/components/Header/Header.fixture.mobile.tsx +1 -1
- package/src/components/Header/Header.fixture.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +3 -4
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Headline/Headline.fixture.mobile.tsx +1 -1
- package/src/components/Headline/Headline.fixture.tsx +1 -1
- package/src/components/Headline/Headline.tsx +3 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
- package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -1
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +2 -3
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -1
- package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -1
- package/src/components/LinkList/LinkList.fixture.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -1
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +86 -76
- package/src/components/OtherProducts/OtherProducts.tsx +3 -2
- package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +16 -1
- package/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
- package/src/components/PictureText/PictureText.fixture.tsx +1 -1
- package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
- package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +13 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +26 -22
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -1
- package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
- package/src/components/Recommendation/Recommendation.fixture.tsx +1 -1
- package/src/components/Recommendation/Recommendation.tsx +12 -36
- package/src/components/Recommendation/RecommendationCard.tsx +1 -2
- package/src/components/RollupItem/RollupItem.fixture.tsx +44 -11
- package/src/components/RollupItem/RollupItem.tsx +9 -7
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/components/Tabs/Tabs.fixture.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.tsx +21 -38
- package/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
- package/src/components/Tile/Tile.fixture.tsx +1 -1
- package/src/components/Tile/Tile.tsx +4 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +126 -47
- package/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
- package/src/components/Video/Video.fixture.tsx +33 -0
- package/src/components/Video/Video.tsx +29 -0
- package/src/components/Video/Video.ui.json +12 -0
- package/src/components/Video/VideoContent.ts +9 -0
- package/src/components/Video/getPaddings.ts +6 -0
- package/src/hooks/useCarouselControls.ts +33 -19
- package/src/model/JSXBlock.ts +4 -5
- package/src/model/LinkProps.ts +1 -0
- package/src/model/Picture.ts +8 -2
- package/{mobile/src/react → src}/setup-fixture.ts +4 -4
- package/src/ui-kit/Button/Button.fixture.tsx +1 -1
- package/src/ui-kit/Button/renderArrows.tsx +22 -17
- package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
- package/src/ui-kit/Icon/Icon.fixture.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
- package/src/ui-kit/List/List.fixture.tsx +1 -1
- package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
- package/src/ui-kit/Paragraph/Paragraph.tsx +17 -0
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -8
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
- package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
- package/src/ui-kit/Text/Text.tsx +79 -0
- package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
- package/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/bundle/components/ContentPage/renderBlock.d.ts +0 -15
- package/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
- package/bundle/components/ContentPage/renderSlots.d.ts +0 -12
- package/bundle/model/getParentBlockContent.d.ts +0 -2
- package/bundle/model/getParentBlockDef.d.ts +0 -3
- package/bundle/ui-kit/Description/Description.d.ts +0 -5
- package/bundle/utils/sliceArray.d.ts +0 -1
- package/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/dist/components/Carousel/CarouselNavButtons.js +0 -36
- package/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/dist/components/ContentPage/renderBlock.d.ts +0 -15
- package/dist/components/ContentPage/renderBlock.js +0 -29
- package/dist/components/ContentPage/renderBlock.js.map +0 -1
- package/dist/components/ContentPage/renderBlockList.d.ts +0 -14
- package/dist/components/ContentPage/renderBlockList.js +0 -11
- package/dist/components/ContentPage/renderBlockList.js.map +0 -1
- package/dist/components/ContentPage/renderSlots.d.ts +0 -12
- package/dist/components/ContentPage/renderSlots.js +0 -15
- package/dist/components/ContentPage/renderSlots.js.map +0 -1
- package/dist/model/getParentBlockContent.d.ts +0 -2
- package/dist/model/getParentBlockContent.js.map +0 -1
- package/dist/model/getParentBlockDef.d.ts +0 -3
- package/dist/model/getParentBlockDef.js +0 -11
- package/dist/model/getParentBlockDef.js.map +0 -1
- package/dist/react/setup-fixture.js.map +0 -1
- package/dist/ui-kit/Description/Description.d.ts +0 -5
- package/dist/ui-kit/Description/Description.js +0 -9
- package/dist/ui-kit/Description/Description.js.map +0 -1
- package/dist/utils/sliceArray.d.ts +0 -1
- package/dist/utils/sliceArray.js +0 -15
- package/dist/utils/sliceArray.js.map +0 -1
- package/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/lib/components/Carousel/CarouselNavButtons.js +0 -34
- package/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/lib/components/ContentPage/renderBlock.d.ts +0 -15
- package/lib/components/ContentPage/renderBlock.js +0 -26
- package/lib/components/ContentPage/renderBlock.js.map +0 -1
- package/lib/components/ContentPage/renderBlockList.d.ts +0 -14
- package/lib/components/ContentPage/renderBlockList.js +0 -8
- package/lib/components/ContentPage/renderBlockList.js.map +0 -1
- package/lib/components/ContentPage/renderSlots.d.ts +0 -12
- package/lib/components/ContentPage/renderSlots.js +0 -12
- package/lib/components/ContentPage/renderSlots.js.map +0 -1
- package/lib/model/getParentBlockContent.d.ts +0 -2
- package/lib/model/getParentBlockContent.js +0 -6
- package/lib/model/getParentBlockContent.js.map +0 -1
- package/lib/model/getParentBlockDef.d.ts +0 -3
- package/lib/model/getParentBlockDef.js +0 -8
- package/lib/model/getParentBlockDef.js.map +0 -1
- package/lib/react/setup-fixture.js.map +0 -1
- package/lib/ui-kit/Description/Description.d.ts +0 -5
- package/lib/ui-kit/Description/Description.js +0 -7
- package/lib/ui-kit/Description/Description.js.map +0 -1
- package/lib/utils/sliceArray.d.ts +0 -1
- package/lib/utils/sliceArray.js +0 -12
- package/lib/utils/sliceArray.js.map +0 -1
- package/mobile/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/bundle/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/bundle/model/getParentBlockContent.d.ts +0 -2
- package/mobile/bundle/model/getParentBlockDef.d.ts +0 -3
- package/mobile/bundle/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/bundle/utils/sliceArray.d.ts +0 -1
- package/mobile/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/dist/components/Carousel/CarouselNavButtons.js +0 -36
- package/mobile/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/dist/components/ContentPage/renderBlock.js +0 -29
- package/mobile/dist/components/ContentPage/renderBlock.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/dist/components/ContentPage/renderBlockList.js +0 -11
- package/mobile/dist/components/ContentPage/renderBlockList.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/dist/components/ContentPage/renderSlots.js +0 -15
- package/mobile/dist/components/ContentPage/renderSlots.js.map +0 -1
- package/mobile/dist/model/getParentBlockContent.d.ts +0 -2
- package/mobile/dist/model/getParentBlockContent.js.map +0 -1
- package/mobile/dist/model/getParentBlockDef.d.ts +0 -3
- package/mobile/dist/model/getParentBlockDef.js +0 -11
- package/mobile/dist/model/getParentBlockDef.js.map +0 -1
- package/mobile/dist/react/setup-fixture.js.map +0 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/dist/ui-kit/Description/Description.js +0 -9
- package/mobile/dist/ui-kit/Description/Description.js.map +0 -1
- package/mobile/dist/utils/sliceArray.d.ts +0 -1
- package/mobile/dist/utils/sliceArray.js +0 -15
- package/mobile/dist/utils/sliceArray.js.map +0 -1
- package/mobile/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/lib/components/Carousel/CarouselNavButtons.js +0 -34
- package/mobile/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/lib/components/ContentPage/renderBlock.js +0 -26
- package/mobile/lib/components/ContentPage/renderBlock.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/lib/components/ContentPage/renderBlockList.js +0 -8
- package/mobile/lib/components/ContentPage/renderBlockList.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/lib/components/ContentPage/renderSlots.js +0 -12
- package/mobile/lib/components/ContentPage/renderSlots.js.map +0 -1
- package/mobile/lib/model/getParentBlockContent.d.ts +0 -2
- package/mobile/lib/model/getParentBlockContent.js +0 -6
- package/mobile/lib/model/getParentBlockContent.js.map +0 -1
- package/mobile/lib/model/getParentBlockDef.d.ts +0 -3
- package/mobile/lib/model/getParentBlockDef.js +0 -8
- package/mobile/lib/model/getParentBlockDef.js.map +0 -1
- package/mobile/lib/react/setup-fixture.js.map +0 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/lib/ui-kit/Description/Description.js +0 -7
- package/mobile/lib/ui-kit/Description/Description.js.map +0 -1
- package/mobile/lib/utils/sliceArray.d.ts +0 -1
- package/mobile/lib/utils/sliceArray.js +0 -12
- package/mobile/lib/utils/sliceArray.js.map +0 -1
- package/mobile/src/components/Carousel/CarouselNavButtons.tsx +0 -51
- package/mobile/src/components/ContentPage/renderBlock.tsx +0 -61
- package/mobile/src/components/ContentPage/renderBlockList.tsx +0 -28
- package/mobile/src/components/ContentPage/renderSlots.tsx +0 -32
- package/mobile/src/model/getParentBlockDef.ts +0 -12
- package/mobile/src/ui-kit/Description/Description.tsx +0 -12
- package/mobile/src/utils/sliceArray.ts +0 -15
- package/src/components/Carousel/CarouselNavButtons.tsx +0 -51
- package/src/components/ContentPage/renderBlock.tsx +0 -61
- package/src/components/ContentPage/renderBlockList.tsx +0 -28
- package/src/components/ContentPage/renderSlots.tsx +0 -32
- package/src/model/.CarouselCardVersion.ts.icloud +0 -0
- package/src/model/getParentBlockDef.ts +0 -12
- package/src/ui-kit/Description/Description.tsx +0 -12
- package/src/utils/sliceArray.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import '../../
|
|
2
|
+
import '../../setup-fixture';
|
|
3
3
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
4
4
|
import type { BackwardButtonProps, ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
5
|
import { ProductBlock } from './ProductBlock';
|
|
@@ -184,4 +184,16 @@ export default {
|
|
|
184
184
|
/>
|
|
185
185
|
</div>
|
|
186
186
|
),
|
|
187
|
+
'secondary with footnote': (
|
|
188
|
+
<div className="container grid grid-cols-12">
|
|
189
|
+
<ProductBlock
|
|
190
|
+
className="col-span-12"
|
|
191
|
+
footnote="*в соответствии с Указанием Банка России от 28.12.2015 № 3921-У"
|
|
192
|
+
headlineVersion="L"
|
|
193
|
+
image={image}
|
|
194
|
+
title="Оплата проходит в 180 странах мира"
|
|
195
|
+
version="secondary"
|
|
196
|
+
/>
|
|
197
|
+
</div>
|
|
198
|
+
),
|
|
187
199
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { Footnote } from '../../model/Footnote';
|
|
2
3
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
4
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
5
|
import type { LinkProps } from '../../model/LinkProps';
|
|
@@ -9,7 +10,8 @@ import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
|
9
10
|
|
|
10
11
|
export type ProductBlockInnerContent = HeadlineProps &
|
|
11
12
|
ListContent &
|
|
12
|
-
ButtonContent &
|
|
13
|
+
ButtonContent &
|
|
14
|
+
Footnote & {
|
|
13
15
|
/**
|
|
14
16
|
* @default {
|
|
15
17
|
* "format": "webp",
|
|
@@ -20,6 +20,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
20
20
|
benefits,
|
|
21
21
|
benefitsVersion,
|
|
22
22
|
buttons,
|
|
23
|
+
footnote,
|
|
23
24
|
image,
|
|
24
25
|
items,
|
|
25
26
|
version = 'primary',
|
|
@@ -42,28 +43,31 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
42
43
|
align="left"
|
|
43
44
|
{...rest}
|
|
44
45
|
/>
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
buttons
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
46
|
+
<div className="flex flex-col justify-between h-full">
|
|
47
|
+
<BaseTile
|
|
48
|
+
buttons={
|
|
49
|
+
buttons?.length ? (
|
|
50
|
+
<ButtonSection buttons={buttons} className="flex gap-4" {...rest} />
|
|
51
|
+
) : null
|
|
52
|
+
}
|
|
53
|
+
>
|
|
54
|
+
{benefitsCount ? (
|
|
55
|
+
<div className={benefitsContainerStyles}>
|
|
56
|
+
{benefits.map(renderBenefit(version, benefitsVersion))}
|
|
57
|
+
</div>
|
|
58
|
+
) : null}
|
|
59
|
+
{items?.length ? (
|
|
60
|
+
<List
|
|
61
|
+
className="mt-5 text-h6"
|
|
62
|
+
items={items}
|
|
63
|
+
itemClassName="mb-[7px]"
|
|
64
|
+
version={version}
|
|
65
|
+
isDotted={isDotted}
|
|
66
|
+
/>
|
|
67
|
+
) : null}
|
|
68
|
+
</BaseTile>
|
|
69
|
+
{footnote ? <p className="text-m-light pt-12">{footnote}</p> : null}
|
|
70
|
+
</div>
|
|
67
71
|
</div>
|
|
68
72
|
{image?.src && <Img className="mt-[-50px]" image={image} />}
|
|
69
73
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import '../../
|
|
2
|
+
import '../../setup-fixture';
|
|
3
3
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import { ProductTile } from './ProductTile';
|
|
5
5
|
import type { ProductTileContent } from './ProductTileContent';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
-
import '../../
|
|
3
|
+
import '../../setup-fixture';
|
|
4
4
|
import { Recommendation, RecommendationProps } from './Recommendation';
|
|
5
5
|
|
|
6
6
|
const cowCard: Picture = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
2
|
+
import { useCarouselControls } from '../../hooks/useCarouselControls';
|
|
3
3
|
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
4
4
|
import { BorderVersionStyleMap } from '../../model/BorderVersion';
|
|
5
5
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
@@ -10,14 +10,17 @@ import { RecommendationCard } from './RecommendationCard';
|
|
|
10
10
|
import type { RecommendationContent } from './RecommendationContent';
|
|
11
11
|
|
|
12
12
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
13
|
-
const
|
|
13
|
+
const CARD_VIEW_COUNT = 2;
|
|
14
14
|
const CARD_SHIFT = 525;
|
|
15
15
|
|
|
16
16
|
export interface RecommendationProps extends RecommendationContent, UniBlockProps {}
|
|
17
17
|
|
|
18
18
|
export const Recommendation = JSX<RecommendationProps>(
|
|
19
19
|
({ recommendations = [], className = '', title, version = 'primary', ...rest }) => {
|
|
20
|
-
const [
|
|
20
|
+
const [activeIndex, controls] = useCarouselControls({
|
|
21
|
+
itemCount: recommendations.length,
|
|
22
|
+
visibleItemCount: CARD_VIEW_COUNT,
|
|
23
|
+
});
|
|
21
24
|
|
|
22
25
|
return (
|
|
23
26
|
<BlockWrapper
|
|
@@ -28,10 +31,10 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
28
31
|
<div>
|
|
29
32
|
<div
|
|
30
33
|
className="flex duration-1000 gap-3.5"
|
|
31
|
-
style={{ transform: `translateX(-${
|
|
34
|
+
style={{ transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }}
|
|
32
35
|
role="list"
|
|
33
36
|
>
|
|
34
|
-
{recommendations
|
|
37
|
+
{recommendations.length
|
|
35
38
|
? recommendations.map((card, i) => (
|
|
36
39
|
<RecommendationCard
|
|
37
40
|
key={String(i)}
|
|
@@ -42,10 +45,10 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
42
45
|
))
|
|
43
46
|
: null}
|
|
44
47
|
</div>
|
|
45
|
-
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
{renderArrows({
|
|
49
|
+
...controls,
|
|
50
|
+
btnClass: ['left-8', 'right-8'],
|
|
51
|
+
className: 'top-1/2 mt-3',
|
|
49
52
|
})}
|
|
50
53
|
</div>
|
|
51
54
|
<div
|
|
@@ -62,30 +65,3 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
62
65
|
);
|
|
63
66
|
},
|
|
64
67
|
);
|
|
65
|
-
|
|
66
|
-
const renderNavButtons = ({
|
|
67
|
-
cardsCount,
|
|
68
|
-
activeCardIndex,
|
|
69
|
-
setActiveCardIndex,
|
|
70
|
-
}: {
|
|
71
|
-
cardsCount: number;
|
|
72
|
-
activeCardIndex: number;
|
|
73
|
-
setActiveCardIndex: (index: number) => void;
|
|
74
|
-
}) => {
|
|
75
|
-
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
76
|
-
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
77
|
-
const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
|
|
78
|
-
const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
|
|
79
|
-
const showPrevButton = isUseSlider && activeCardIndex > 0;
|
|
80
|
-
|
|
81
|
-
return (
|
|
82
|
-
<div>
|
|
83
|
-
{renderArrows({
|
|
84
|
-
handler: [handlePrevClick, handleNextClick],
|
|
85
|
-
isShown: [showPrevButton, showNextButton],
|
|
86
|
-
btnClass: ['left-8', 'right-8'],
|
|
87
|
-
className: 'top-1/2 mt-3',
|
|
88
|
-
})}
|
|
89
|
-
</div>
|
|
90
|
-
);
|
|
91
|
-
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import { renderButton } from '../../ui-kit/Button/ButtonSection';
|
|
4
|
-
import { Description } from '../../ui-kit/Description/Description';
|
|
5
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
6
|
import { List } from '../../ui-kit/List/List';
|
|
@@ -30,7 +29,7 @@ export const RecommendationCard = JSX<RecommendationCardProps>(
|
|
|
30
29
|
>
|
|
31
30
|
<BaseTile className="flex justify-between" title={tileTitle} image={tileImage}>
|
|
32
31
|
<div className="h-full flex flex-col justify-between">
|
|
33
|
-
{description ? <
|
|
32
|
+
{description ? <span className="mb-2">{description}</span> : null}
|
|
34
33
|
{items?.length ? (
|
|
35
34
|
<List
|
|
36
35
|
className="text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]"
|
|
@@ -1,23 +1,56 @@
|
|
|
1
|
+
import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
|
|
2
|
+
import { Blocks } from '../Blocks';
|
|
1
3
|
import { RollupItem } from '../RollupItem/RollupItem';
|
|
2
|
-
import { TextBlock } from '../TextBlock/TextBlock';
|
|
3
4
|
import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
+
const options = {
|
|
7
|
+
blocksRegistry: Blocks,
|
|
8
|
+
} as BlockRendererOptions;
|
|
6
9
|
|
|
7
10
|
export default {
|
|
8
11
|
default: (
|
|
9
|
-
<RollupItem
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
<RollupItem
|
|
13
|
+
label="Rollup button 1"
|
|
14
|
+
isExpanded={true}
|
|
15
|
+
block={{
|
|
16
|
+
type: 'RollupItem',
|
|
17
|
+
blocks: [
|
|
18
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
19
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
20
|
+
],
|
|
21
|
+
}}
|
|
22
|
+
options={options}
|
|
23
|
+
/>
|
|
12
24
|
),
|
|
13
25
|
secondary: (
|
|
14
|
-
<RollupItem
|
|
15
|
-
|
|
16
|
-
|
|
26
|
+
<RollupItem
|
|
27
|
+
label="Rollup button 2"
|
|
28
|
+
version="secondary"
|
|
29
|
+
isFoldButtonOnTop={false}
|
|
30
|
+
isExpanded={true}
|
|
31
|
+
block={{
|
|
32
|
+
type: 'RollupItem',
|
|
33
|
+
blocks: [
|
|
34
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
35
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
36
|
+
],
|
|
37
|
+
}}
|
|
38
|
+
options={options}
|
|
39
|
+
/>
|
|
17
40
|
),
|
|
18
41
|
'secondary default-open': (
|
|
19
|
-
<RollupItem
|
|
20
|
-
|
|
21
|
-
|
|
42
|
+
<RollupItem
|
|
43
|
+
version="secondary"
|
|
44
|
+
label="Rollup button 2"
|
|
45
|
+
isExpanded={true}
|
|
46
|
+
block={{
|
|
47
|
+
type: 'RollupItem',
|
|
48
|
+
blocks: [
|
|
49
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
50
|
+
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
51
|
+
],
|
|
52
|
+
}}
|
|
53
|
+
options={options}
|
|
54
|
+
/>
|
|
22
55
|
),
|
|
23
56
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { renderChildren } from '../../BlockRenderer/renderChildren';
|
|
2
3
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
4
|
import type { JSXBlock } from '../../model/JSXBlock';
|
|
4
5
|
import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
|
|
@@ -17,10 +18,10 @@ interface RollupFoldablePartProps extends FoldablePartProps {
|
|
|
17
18
|
|
|
18
19
|
interface FoldButtonProps {
|
|
19
20
|
label?: string;
|
|
20
|
-
icon
|
|
21
|
+
icon?: IconName;
|
|
22
|
+
isUnfolded?: boolean;
|
|
21
23
|
onClick?: () => void;
|
|
22
24
|
onToggle?: () => void;
|
|
23
|
-
isUnfolded?: boolean;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
@@ -30,7 +31,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
30
31
|
isExpanded,
|
|
31
32
|
isFoldButtonOnTop = true,
|
|
32
33
|
version = 'primary',
|
|
33
|
-
|
|
34
|
+
...rest
|
|
34
35
|
}) => (
|
|
35
36
|
<div className={`border-b border-solid border-main-divider w-full ${className}`}>
|
|
36
37
|
<Foldable
|
|
@@ -42,7 +43,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
42
43
|
className={`grid grid-cols-12 gap-1 border-box`}
|
|
43
44
|
isUnfolded={isUnfolded}
|
|
44
45
|
>
|
|
45
|
-
{
|
|
46
|
+
{renderChildren(rest)}
|
|
46
47
|
</FoldableSection>
|
|
47
48
|
</div>
|
|
48
49
|
)}
|
|
@@ -57,18 +58,19 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
57
58
|
RollupItem.childrenTypes = [];
|
|
58
59
|
|
|
59
60
|
const renderFoldButton = ({ isUnfolded, onToggle, label, version }: RollupFoldablePartProps) => {
|
|
60
|
-
const
|
|
61
|
+
const iconsPrimary: IconName[] = ['PlusIcon', 'MinusIcon'];
|
|
62
|
+
const iconsSecondary: IconName[] = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
61
63
|
const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
|
|
62
64
|
|
|
63
65
|
return version === 'primary' ? (
|
|
64
66
|
<FoldButton
|
|
65
|
-
icon={
|
|
67
|
+
icon={iconsPrimary[Number(isUnfolded)]}
|
|
66
68
|
label={labels[Number(isUnfolded)]}
|
|
67
69
|
onClick={onToggle}
|
|
68
70
|
/>
|
|
69
71
|
) : (
|
|
70
72
|
<DefaultFoldButton
|
|
71
|
-
icon={
|
|
73
|
+
icon={iconsSecondary[Number(isUnfolded)]}
|
|
72
74
|
label={labels[Number(isUnfolded)]}
|
|
73
75
|
onClick={onToggle}
|
|
74
76
|
/>
|
|
@@ -4,8 +4,4 @@ import type { TitleProps } from '../../model/HeadlineType';
|
|
|
4
4
|
/**
|
|
5
5
|
* @title Аренда сейфовых ячеек
|
|
6
6
|
*/
|
|
7
|
-
export type SafeDepositRentalContent = Footnote &
|
|
8
|
-
TitleProps & {
|
|
9
|
-
/** @title Сноска */
|
|
10
|
-
footnote?: string;
|
|
11
|
-
};
|
|
7
|
+
export type SafeDepositRentalContent = Footnote & TitleProps;
|
|
@@ -33,7 +33,7 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
33
33
|
className={[
|
|
34
34
|
'box-border py-[50px] font-sans',
|
|
35
35
|
shortGaps ? 'px-20' : 'px-[70px]',
|
|
36
|
-
'flex flex-col items-center',
|
|
36
|
+
'flex flex-col items-center overflow-hidden',
|
|
37
37
|
styleMap.background,
|
|
38
38
|
styleMap.title,
|
|
39
39
|
className,
|
|
@@ -45,7 +45,7 @@ export const TariffsTable = JSX<TariffsTableProps>(
|
|
|
45
45
|
);
|
|
46
46
|
|
|
47
47
|
const getColData = (columns: TariffsTableColumn[] | undefined) =>
|
|
48
|
-
columns?.[0]
|
|
48
|
+
columns?.[0]?.data ? columns[0].data : [];
|
|
49
49
|
|
|
50
50
|
const getTiles = (rowHeaders: TariffsTableRowHeader[] | undefined, colData: CellDef[][]) =>
|
|
51
51
|
rowHeaders?.map((header, i) => ({
|
|
@@ -34,24 +34,14 @@ export const TariffsTable = JSX<TariffsTableProps>(
|
|
|
34
34
|
header,
|
|
35
35
|
data: colData.map((col) => col?.[i] || []),
|
|
36
36
|
}));
|
|
37
|
-
|
|
38
|
-
const columnsLength = colData.length;
|
|
39
|
-
|
|
37
|
+
const itemCount = colData.length;
|
|
40
38
|
const [activeIndex, controls] = useCarouselControls({
|
|
41
|
-
|
|
39
|
+
itemCount: itemCount,
|
|
42
40
|
visibleItemCount: COLS_LENGTH_FOR_SCROLL,
|
|
43
41
|
});
|
|
44
|
-
|
|
45
|
-
const isScrollAvailable = colData.length > COLS_LENGTH_FOR_SCROLL;
|
|
46
|
-
|
|
42
|
+
const { isScrollAvailable } = controls;
|
|
47
43
|
const rows = (rowData || []).map((row, i) => (
|
|
48
|
-
<TariffsTableRow
|
|
49
|
-
key={String(i)}
|
|
50
|
-
row={row}
|
|
51
|
-
activeCardIndex={activeIndex}
|
|
52
|
-
rowIdx={i}
|
|
53
|
-
{...rest}
|
|
54
|
-
/>
|
|
44
|
+
<TariffsTableRow key={String(i)} row={row} activeIndex={activeIndex} rowIdx={i} {...rest} />
|
|
55
45
|
));
|
|
56
46
|
const [visibleRows, hiddenRows] =
|
|
57
47
|
hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
@@ -59,7 +49,7 @@ export const TariffsTable = JSX<TariffsTableProps>(
|
|
|
59
49
|
return (
|
|
60
50
|
<BlockWrapper
|
|
61
51
|
className={`bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${
|
|
62
|
-
|
|
52
|
+
itemCount > 1 ? 'pr-0' : ''
|
|
63
53
|
} ${className}`}
|
|
64
54
|
{...rest}
|
|
65
55
|
>
|
|
@@ -99,27 +89,20 @@ function renderDescription(description?: string) {
|
|
|
99
89
|
return description ? <div className="mb-9 text-center text-l">{description}</div> : null;
|
|
100
90
|
}
|
|
101
91
|
|
|
102
|
-
const Wrapper = JSX<WrapperProps>(({ children, controls, isScrollAvailable }) =>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
isShown: [canDec, canInc],
|
|
114
|
-
btnClass: ['top-[108px]', 'top-11'],
|
|
115
|
-
className: 'right-7',
|
|
116
|
-
})}
|
|
117
|
-
</div>
|
|
118
|
-
) : null}
|
|
119
|
-
</div>
|
|
120
|
-
{isScrollAvailable ? (
|
|
121
|
-
<div className="absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" />
|
|
122
|
-
) : null}
|
|
92
|
+
const Wrapper = JSX<WrapperProps>(({ children, controls, isScrollAvailable }) => (
|
|
93
|
+
<div role="table">
|
|
94
|
+
<div className="relative">
|
|
95
|
+
{children}
|
|
96
|
+
{isScrollAvailable
|
|
97
|
+
? renderArrows({
|
|
98
|
+
...controls,
|
|
99
|
+
btnClass: ['top-[108px]', 'top-[44px]'],
|
|
100
|
+
className: 'right-7',
|
|
101
|
+
})
|
|
102
|
+
: null}
|
|
123
103
|
</div>
|
|
124
|
-
|
|
125
|
-
|
|
104
|
+
{isScrollAvailable ? (
|
|
105
|
+
<div className="absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" />
|
|
106
|
+
) : null}
|
|
107
|
+
</div>
|
|
108
|
+
));
|
|
@@ -12,12 +12,12 @@ import { TariffsTableRowContainer } from './TariffsTableRowContainer';
|
|
|
12
12
|
|
|
13
13
|
export interface TariffsTableRowProps extends UniBlockProps {
|
|
14
14
|
row: Data;
|
|
15
|
-
|
|
15
|
+
activeIndex: number;
|
|
16
16
|
rowIdx: number;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const TariffsTableRow = JSX<TariffsTableRowProps>(
|
|
20
|
-
({ row: { header, data },
|
|
20
|
+
({ row: { header, data }, activeIndex, rowIdx, ...rest }) => {
|
|
21
21
|
const [tableInner, setTableInner] = useState<TariffsTableInnerContent | undefined>(undefined);
|
|
22
22
|
const [openTableInnerIdx, setOpenTableInnerIdx] = useState<number | undefined>(undefined);
|
|
23
23
|
|
|
@@ -45,7 +45,7 @@ export const TariffsTableRow = JSX<TariffsTableRowProps>(
|
|
|
45
45
|
</div>
|
|
46
46
|
{data?.length ? (
|
|
47
47
|
<TableCarouselContainer
|
|
48
|
-
|
|
48
|
+
activeIndex={activeIndex}
|
|
49
49
|
columnWidth={COLUMN_WIDTH}
|
|
50
50
|
version="tariff"
|
|
51
51
|
>
|
|
@@ -3,11 +3,11 @@ import { VersionStyleMap } from '../../model/BlockVersion';
|
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
6
|
-
import { Description } from '../../ui-kit/Description/Description';
|
|
7
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
8
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
8
|
import { List } from '../../ui-kit/List/List';
|
|
10
9
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
10
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
11
11
|
import { Tags } from '../../ui-kit/Tags/Tags';
|
|
12
12
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
13
13
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
|
|
@@ -66,7 +66,9 @@ export const Tile = JSX<TileProps>((props) => {
|
|
|
66
66
|
image={image?.src ? <Img className="mt-auto ml-7" image={image} /> : null}
|
|
67
67
|
>
|
|
68
68
|
{description ? (
|
|
69
|
-
<
|
|
69
|
+
<div className="max-w-[600px] mt-2.5">
|
|
70
|
+
<Paragraph size="text-xl-light">{description}</Paragraph>
|
|
71
|
+
</div>
|
|
70
72
|
) : null}
|
|
71
73
|
{children}
|
|
72
74
|
{renderList({ version, isDotted, listItemSize }, items)}
|