@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
|
@@ -2,16 +2,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.AccordionItem = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const getParentBlockContent_1 = require("../../
|
|
5
|
+
const getParentBlockContent_1 = require("../../BlockRenderer/getParentBlockContent");
|
|
6
|
+
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
6
7
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
7
8
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
8
9
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
10
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
9
11
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
10
12
|
const icons = ['PlusIcon', 'MinusIcon'];
|
|
11
|
-
exports.AccordionItem = (0, uni_jsx_1.JSX)(({ className = '',
|
|
12
|
-
const { bordered } = (0, getParentBlockContent_1.getParentBlockContent)(
|
|
13
|
-
return ((0, jsx_runtime_1.jsx)("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider ${className}`, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children:
|
|
13
|
+
exports.AccordionItem = (0, uni_jsx_1.JSX)(({ className = '', label = '', labelIcon, isExpanded, ...rest }) => {
|
|
14
|
+
const { bordered } = (0, getParentBlockContent_1.getParentBlockContent)(rest.options, {});
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider ${className}`, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: (0, renderChildren_1.renderChildren)(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsx)(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, onClick: onToggle })) }) }));
|
|
14
16
|
});
|
|
15
17
|
exports.AccordionItem.childrenTypes = [];
|
|
16
|
-
const FoldButton = (0, uni_jsx_1.JSX)(({ className, icon, label, primaryIcon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${className}`, onClick: onClick, children: [(0, jsx_runtime_1.jsxs)("
|
|
18
|
+
const FoldButton = (0, uni_jsx_1.JSX)(({ className, icon, label, primaryIcon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${className}`, onClick: onClick, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex group-hover:text-primary-main", children: [primaryIcon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(primaryIcon), className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m-title-xs", font: "font-medium", children: label })] }), (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex-shrink-0", image: (0, getIconWithVersion_1.getIconWithVersion)({ icon: icon }), width: "24", height: "24", asSVG: true })] })));
|
|
17
19
|
//# sourceMappingURL=AccordionItem.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qFAAkF;AAClF,uEAAoE;AAGpE,6DAA0D;AAC1D,2EAAwE;AAExE,8CAA2C;AAC3C,iDAA8C;AAC9C,uEAAoE;AAIpE,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEvC,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACjE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,6CAAqB,EAAC,IAAI,CAAC,OAAO,EAAE,EAAsB,CAAC,CAAC;IAEjF,OAAO,CACL,+BACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,mCACzC,qCAAqC,SAAS,EAAE,YAEhD,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,IAAI,EACvB,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IACd,SAAS,EAAC,qDAAqD,EAC/D,UAAU,EAAE,UAAU,YAErB,IAAA,+BAAc,EAAC,IAAI,CAAC,GACL,CACnB,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9C,uBAAC,UAAU,IACT,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,EAC3C,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/B,WAAW,EAAE,SAAS,EACtB,OAAO,EAAE,QAAQ,GACjB,CACH,GACD,GACC,CACN,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,qBAAa,CAAC,aAAa,GAAG,EAAE,CAAC;AAUjC,MAAM,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC5F,oCACE,SAAS,EAAE,qHAAqH,SAAS,EAAE,EAC3I,OAAO,EAAE,OAAO,aAEhB,iCAAK,SAAS,EAAC,oCAAoC,aAChD,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,SAAG,IACF,KAAK,EAAE,IAAA,uCAAkB,EAAC,WAAW,CAAC,EACtC,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,WAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,IAAI,EAAC,aAAa,YAC5C,KAAK,GACD,IACH,EACN,uBAAC,SAAG,IACF,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE,IAAA,uCAAkB,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACzC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC,CAAC"}
|
|
@@ -2,7 +2,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Blocks = void 0;
|
|
3
3
|
const Accordion_1 = require("./Accordion/Accordion");
|
|
4
4
|
const AccordionItem_1 = require("./AccordionItem/AccordionItem");
|
|
5
|
-
const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
|
|
6
5
|
const BenefitsBlock_1 = require("./BenefitsBlock/BenefitsBlock");
|
|
7
6
|
const Bonus_1 = require("./Bonus/Bonus");
|
|
8
7
|
const BonusBenefitsBlock_1 = require("./BonusBenefitsBlock/BonusBenefitsBlock");
|
|
@@ -11,6 +10,7 @@ const Calculator_1 = require("./Calculator/Calculator");
|
|
|
11
10
|
const CardTransfer_1 = require("./CardTransfer/CardTransfer");
|
|
12
11
|
const Carousel_1 = require("./Carousel/Carousel");
|
|
13
12
|
const CarouselCard_1 = require("./CarouselCard/CarouselCard");
|
|
13
|
+
const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
|
|
14
14
|
const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
|
|
15
15
|
const Catalog_1 = require("./Catalog/Catalog");
|
|
16
16
|
const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
|
|
@@ -47,6 +47,7 @@ const TariffsTable_1 = require("./TariffsTable/TariffsTable");
|
|
|
47
47
|
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
48
48
|
const Tile_1 = require("./Tile/Tile");
|
|
49
49
|
const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
|
|
50
|
+
const Video_1 = require("./Video/Video");
|
|
50
51
|
exports.Blocks = {
|
|
51
52
|
Accordion: Accordion_1.Accordion,
|
|
52
53
|
AccordionItem: AccordionItem_1.AccordionItem,
|
|
@@ -95,5 +96,6 @@ exports.Blocks = {
|
|
|
95
96
|
TextBlock: TextBlock_1.TextBlock,
|
|
96
97
|
Tile: Tile_1.Tile,
|
|
97
98
|
VerticalLayout: VerticalLayout_1.VerticalLayout,
|
|
99
|
+
Video: Video_1.Video,
|
|
98
100
|
};
|
|
99
101
|
//# sourceMappingURL=Blocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,8DAA2D;AAC3D,iEAA8D;AAC9D,mFAAgF;AAChF,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,sFAAmF;AACnF,6EAA0E;AAC1E,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,wDAAqD;AACrD,6EAA0E;AAC1E,wDAAqD;AACrD,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AACnC,oEAAiE;AACjE,yCAAsC;AAEzB,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,kBAAkB,EAAlB,uCAAkB;IAClB,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,QAAQ,EAAR,mBAAQ;IACR,YAAY,EAAZ,2BAAY;IACZ,mBAAmB,EAAnB,yCAAmB;IACnB,OAAO,EAAP,iBAAO;IACP,aAAa,EAAb,6BAAa;IACb,eAAe,EAAf,iCAAe;IACf,UAAU,EAAV,uBAAU;IACV,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;IACd,iBAAiB,EAAjB,qCAAiB;IACjB,QAAQ,EAAR,mBAAQ;IACR,WAAW,EAAX,yBAAW;IACX,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,cAAc,EAAd,+BAAc;IACd,KAAK,EAAL,aAAK;CACN,CAAC"}
|
|
@@ -2,12 +2,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.BonusBenefitsBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const AlignText_1 = require("../../model/AlignText");
|
|
5
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
8
|
const Headline_1 = require("../Headline/Headline");
|
|
8
|
-
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({
|
|
9
|
-
const renderBonusBenefit = (
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center
|
|
9
|
+
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
|
|
10
|
+
const renderBonusBenefit = ({ icon, label, description }, i) => {
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
|
|
12
|
+
};
|
|
13
|
+
const getElementsColsValue = (colValue) => {
|
|
14
|
+
switch (colValue) {
|
|
15
|
+
case '3':
|
|
16
|
+
return 'grid-cols-3';
|
|
17
|
+
case '4':
|
|
18
|
+
return 'grid-cols-4';
|
|
19
|
+
case '5':
|
|
20
|
+
return 'grid-cols-5';
|
|
21
|
+
default:
|
|
22
|
+
return 'grid-cols-5';
|
|
23
|
+
}
|
|
11
24
|
};
|
|
12
|
-
const getElementsColsValue = (colValue) => colValue === '4' ? 'grid-cols-4' : 'grid-cols-5';
|
|
13
25
|
//# sourceMappingURL=BonusBenefitsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,2EAA2E,SAAS,EAAE,KAC7F,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AlignType } from '../../model/AlignType';
|
|
2
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { IconProps } from '../../model/Picture';
|
|
3
4
|
/**
|
|
4
5
|
* @title Количество элементов в строке
|
|
5
6
|
* @enumNames [
|
|
7
|
+
* "Три колонки",
|
|
6
8
|
* "Четыре колонки",
|
|
7
9
|
* "Пять колонок",
|
|
8
10
|
* ]
|
|
9
11
|
*/
|
|
10
|
-
export declare type ColumnsCount = '4' | '5';
|
|
12
|
+
export declare type ColumnsCount = '3' | '4' | '5';
|
|
11
13
|
/**
|
|
12
14
|
* @title Бонус и преимущество
|
|
13
15
|
*/
|
|
14
|
-
export declare type BonusBenefit = LabelProps & IconProps;
|
|
16
|
+
export declare type BonusBenefit = LabelProps & IconProps & DescriptionProps;
|
|
15
17
|
/**
|
|
16
18
|
* @title Блок бонусов и преимуществ
|
|
17
19
|
*/
|
|
@@ -21,4 +23,5 @@ export declare type BonusBenefitsBlockContent = TitleProps & {
|
|
|
21
23
|
/** @title Список бонусов */
|
|
22
24
|
bonusBenefits?: BonusBenefit[];
|
|
23
25
|
columnsCount?: ColumnsCount;
|
|
26
|
+
cardTextAlign?: AlignType;
|
|
24
27
|
};
|
|
@@ -3,6 +3,7 @@ exports.Calculator = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const useCarouselControls_1 = require("../../hooks/useCarouselControls");
|
|
6
7
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
8
|
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
8
9
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
@@ -10,46 +11,45 @@ const renderCalculatorBlock_1 = require("./renderCalculatorBlock");
|
|
|
10
11
|
exports.Calculator = (0, uni_jsx_1.JSX)(({ className = '', calculatorTabs = [], ...rest }) => {
|
|
11
12
|
const tabsNav = calculatorTabs.map((_) => _.nav || {});
|
|
12
13
|
const calculatorBlocks = calculatorTabs.map(({ calculatorBlock }) => calculatorBlock || {});
|
|
13
|
-
const [
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
const [slideIndexShift, setSlideIndexShift] = (0, hooks_1.useState)(0);
|
|
15
|
+
const handleSlideIndexShift = (0, hooks_1.useCallback)((_) => setSlideIndexShift(_), []);
|
|
16
|
+
const COLUMNS_FOR_SCROLL = 3;
|
|
17
|
+
const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
|
|
18
|
+
itemCount: calculatorTabs?.length,
|
|
19
|
+
visibleItemCount: COLUMNS_FOR_SCROLL,
|
|
20
|
+
});
|
|
20
21
|
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-white", children: [tabsNav.length > 1
|
|
21
|
-
? renderTabs({
|
|
22
|
+
? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
|
|
22
23
|
: null, (0, renderArrows_1.renderArrows)({
|
|
23
|
-
|
|
24
|
-
isShown: [showPrevButton, showNextButton],
|
|
24
|
+
...controls,
|
|
25
25
|
btnClass: ['left-3', 'right-3'],
|
|
26
26
|
className: 'top-8',
|
|
27
|
-
})] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${
|
|
27
|
+
})] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${slideIndexShift}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock_1.renderCalculatorBlock) : null })] }));
|
|
28
28
|
});
|
|
29
|
-
function renderNavButton({ tab, i,
|
|
30
|
-
const
|
|
31
|
-
const btnClassName = isActiveBtn
|
|
29
|
+
function renderNavButton({ tab, i, isActive, onClick }) {
|
|
30
|
+
const btnClassName = isActive
|
|
32
31
|
? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
|
|
33
32
|
: `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
|
|
34
|
-
const btnTitleClassName =
|
|
35
|
-
const btnDescClassName =
|
|
33
|
+
const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
|
|
34
|
+
const btnDescClassName = isActive
|
|
36
35
|
? 'text-l-light text-white'
|
|
37
36
|
: `text-m-light text-secondary-text`;
|
|
38
|
-
const iconClassName =
|
|
37
|
+
const iconClassName = isActive ? '' : `text-primary-main`;
|
|
39
38
|
const iconVersion = tab?.icon?.iconVersion;
|
|
40
|
-
const activeIconStyle =
|
|
39
|
+
const activeIconStyle = isActive ? 'white' : 'normal';
|
|
41
40
|
return ((0, jsx_runtime_1.jsxs)("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
|
|
42
41
|
${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
|
|
43
42
|
...tab?.icon,
|
|
44
43
|
iconVersion: iconVersion ?? activeIconStyle,
|
|
45
44
|
}, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
|
|
46
45
|
}
|
|
47
|
-
function renderTabs({
|
|
48
|
-
|
|
46
|
+
function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }) {
|
|
47
|
+
const CARD_SHIFT = 388;
|
|
48
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton({
|
|
49
49
|
tab,
|
|
50
50
|
i,
|
|
51
|
-
|
|
52
|
-
onClick: () =>
|
|
51
|
+
isActive: Boolean(i === slideIndexShift),
|
|
52
|
+
onClick: () => onClick(i),
|
|
53
53
|
})) }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-full h-2 bg-primary-main" })] }));
|
|
54
54
|
}
|
|
55
55
|
//# sourceMappingURL=Calculator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnD,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,CACzC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,qBAAqB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACpF,MAAM,kBAAkB,GAAG,CAAC,CAAC;IAE7B,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,cAAc,EAAE,MAAM;QACjC,gBAAgB,EAAE,kBAAkB;KACrC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,kFAAkF,SAAS,EAAE,KACpG,IAAI,aAER,iCAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,MAAM,GAAG,CAAC;wBACjB,CAAC,CAAC,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;wBACvF,CAAC,CAAC,IAAI,EACP,IAAA,2BAAY,EAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,OAAO;qBACnB,CAAC,IACE,EACN,gCACE,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,MAAM,EAAE,EAC1D,IAAI,EAAC,MAAM,YAEV,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,6CAAqB,CAAC,CAAC,CAAC,CAAC,IAAI,GAC1E,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAkB;IACpE,MAAM,YAAY,GAAG,QAAQ;QAC3B,CAAC,CAAC,6EAA6E;QAC/E,CAAC,CAAC,4FAA4F,CAAC;IACjG,MAAM,iBAAiB,GAAG,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAC1E,MAAM,gBAAgB,GAAG,QAAQ;QAC/B,CAAC,CAAC,yBAAyB;QAC3B,CAAC,CAAC,kCAAkC,CAAC;IACvC,MAAM,aAAa,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAC1D,MAAM,WAAW,GAAG,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC;IAC3C,MAAM,eAAe,GAAG,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEtD,OAAO,CACL,oCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,gCAAgC,aAAa,EAAE,EAC1D,KAAK,EAAE;oBACL,GAAG,GAAG,EAAE,IAAI;oBACZ,WAAW,EAAE,WAAW,IAAI,eAAe;iBAC5C,EACD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,gCAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAnBD,MAAM,CAAC,CAAC,CAAC,CAoBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAa;IAC/E,MAAM,UAAU,GAAG,GAAG,CAAC;IAEvB,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,QAAQ,EAAE,OAAO,CAAC,CAAC,KAAK,eAAe,CAAC;wBACxC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC1B,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,5 @@ exports.CalculatorValueBlock = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
6
|
-
exports.CalculatorValueBlock = (0, uni_jsx_1.JSX)(({ title, value, postfix = '', prefix, className = '' }) => {
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `mb-7 ${className}`, children: [title ? (0, jsx_runtime_1.jsx)("div", { className: "text-l-light text-secondary-text", children: title }) : null, value ? ((0, jsx_runtime_1.jsxs)("div", { className: "text-h3", children: [prefix, " ", (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(value)), " ", postfix] })) : null] }));
|
|
8
|
-
});
|
|
6
|
+
exports.CalculatorValueBlock = (0, uni_jsx_1.JSX)(({ title, value, postfix = '', prefix, className = '' }) => ((0, jsx_runtime_1.jsxs)("div", { className: `mb-7 ${className}`, children: [title ? (0, jsx_runtime_1.jsx)("div", { className: "text-l-light text-secondary-text", children: title }) : null, value ? ((0, jsx_runtime_1.jsxs)("div", { className: "text-h3", children: [prefix, " ", (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(value)), " ", postfix] })) : null] })));
|
|
9
7
|
//# sourceMappingURL=CalculatorValueBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAUjE,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAUjE,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAC1D,iCAAK,SAAS,EAAE,QAAQ,SAAS,EAAE,aAChC,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,iCAAK,SAAS,EAAC,SAAS,aACrB,MAAM,OAAG,IAAA,iDAAuB,EAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAG,OAAO,IAC1D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
|
|
@@ -17,11 +17,12 @@ const DEFAULT_LABEL = 'Сумма перевода';
|
|
|
17
17
|
const DEFAULT_PLACEHOLDER = '1500';
|
|
18
18
|
exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, ...rest }) => {
|
|
19
19
|
const [value, setValue] = (0, hooks_1.useState)('');
|
|
20
|
+
const handleChange = (0, hooks_1.useCallback)((_) => setValue(_), []);
|
|
20
21
|
const isDisabled = !Number((0, getSanitizedValue_1.getSanitizedValue)(value));
|
|
21
22
|
const buttonStyle = isDisabled
|
|
22
23
|
? (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ version: button?.version })
|
|
23
24
|
: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className: 'text-white', version: button?.version });
|
|
24
25
|
const link = (0, useLink_1.useLink)();
|
|
25
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange:
|
|
26
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
|
|
26
27
|
});
|
|
27
28
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iDAA8C;AAE9C,4DAAyD;AACzD,2FAAwF;AACxF,yFAAsF;AACtF,4EAAyE;AACzE,0DAAuD;AACvD,qEAAkE;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAItB,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjE,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,IAAA,qCAAiB,EAAC,KAAK,CAAC,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,0DAA0D,SAAS,EAAE,KAC5E,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,kCAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,uBAAC,6BAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { CarouselContent } from './CarouselContent';
|
|
3
3
|
export interface CarouselProps extends CarouselContent, UniBlockProps {
|
|
4
|
+
itemCount?: number;
|
|
4
5
|
}
|
|
5
6
|
export declare const Carousel: JSXBlock<CarouselProps>;
|
|
@@ -2,27 +2,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Carousel = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
5
7
|
const useCarouselControls_1 = require("../../hooks/useCarouselControls");
|
|
6
8
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
9
|
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
8
10
|
const CarouselContainer_1 = require("./CarouselContainer");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const { blocks: childBlocks } = block || {};
|
|
12
|
-
const
|
|
13
|
-
const
|
|
11
|
+
const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
|
|
12
|
+
exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
|
|
13
|
+
const { blocks: childBlocks } = rest.block || {};
|
|
14
|
+
const count = itemCount || childBlocks?.length || 0;
|
|
15
|
+
const containerRef = (0, hooks_1.useRef)(null);
|
|
14
16
|
const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
|
|
15
|
-
|
|
16
|
-
visibleItemCount
|
|
17
|
+
itemCount: count,
|
|
18
|
+
visibleItemCount,
|
|
17
19
|
isCyclic,
|
|
20
|
+
container: containerRef.current,
|
|
18
21
|
});
|
|
19
|
-
const {
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}) })) : null, isScrollAvailable ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: `${blurClasses} left-0 bg-opacity-from-white` }), (0, jsx_runtime_1.jsx)("div", { className: `${blurClasses} right-0 bg-opacity-to-white` })] })) : null] }));
|
|
22
|
+
const { isScrollAvailable } = controls;
|
|
23
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans overflow-hidden ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(CarouselContainer_1.CarouselContainer, { activeIndex: activeIndex, itemCount: count, visibleItemCount: visibleItemCount, containerRef: containerRef, children: (0, renderChildren_1.renderChildren)(rest) }), isScrollAvailable && isBlur ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), (0, jsx_runtime_1.jsx)("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, (0, renderArrows_1.renderArrows)({
|
|
24
|
+
...controls,
|
|
25
|
+
btnClass: ['left-8', 'right-8'],
|
|
26
|
+
className: 'top-1/2',
|
|
27
|
+
})] }));
|
|
26
28
|
});
|
|
27
29
|
exports.Carousel.childrenTypes = ['CarouselCard', 'CarouselTariffsCard'];
|
|
28
30
|
//# sourceMappingURL=Carousel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,2DAAwD;
|
|
1
|
+
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAqD;AACrD,uEAAoE;AACpE,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,2DAAwD;AAOxD,MAAM,aAAa,GAAG,uCAAuC,CAAC;AAEjD,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;IAEpD,MAAM,YAAY,GAAG,IAAA,cAAM,EAAwB,IAAI,CAAC,CAAC;IAEzD,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK;QAChB,gBAAgB;QAChB,QAAQ;QACR,SAAS,EAAE,YAAY,CAAC,OAAO;KAChC,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,sCAAsC,SAAS,EAAE,KAAM,IAAI,aAClF,uBAAC,qCAAiB,IAChB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EAAE,YAAY,YAEzB,IAAA,+BAAc,EAAC,IAAI,CAAC,GACH,EACnB,iBAAiB,IAAI,MAAM,CAAC,CAAC,CAAC,CAC7B,4CACE,gCAAK,SAAS,EAAE,GAAG,aAAa,+BAA+B,GAAI,EACnE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,IAC9D,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,2BAAY,EAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
interface CarouselContainerProps {
|
|
2
|
+
activeIndex: number;
|
|
3
|
+
itemCount: number;
|
|
4
|
+
visibleItemCount?: number;
|
|
5
|
+
containerRef?: {
|
|
6
|
+
current: HTMLDivElement | null;
|
|
7
|
+
};
|
|
6
8
|
}
|
|
7
9
|
export declare const CarouselContainer: import("@redneckz/uni-jsx").UNIComponent<CarouselContainerProps, any, any>;
|
|
10
|
+
export {};
|
|
@@ -2,10 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.CarouselContainer = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
const childStyleMap = ['[&>*]:min-w-[100%]', '[&>*]:min-w-[50%]', '[&>*]:min-w-[33.33%]'];
|
|
6
|
+
exports.CarouselContainer = (0, uni_jsx_1.JSX)(({ activeIndex, itemCount, visibleItemCount, containerRef, children }) => {
|
|
7
|
+
const scrollWidth = containerRef?.current?.scrollWidth || 0;
|
|
8
|
+
const maxScrollLeft = scrollWidth - (containerRef?.current?.clientWidth || 0);
|
|
9
|
+
const translateX = visibleItemCount
|
|
10
|
+
? `${-Math.round((100 * activeIndex) / visibleItemCount)}%`
|
|
11
|
+
: `${-Math.round(Math.min((scrollWidth * activeIndex) / (itemCount || 1), maxScrollLeft))}px`;
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-1 duration-1000 ${visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''}`, style: { transform: `translateX(${translateX})` }, role: "list", ref: containerRef, children: children }));
|
|
10
13
|
});
|
|
11
14
|
//# sourceMappingURL=CarouselContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselContainer.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"CarouselContainer.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AASxC,MAAM,aAAa,GAAG,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;AAE7E,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,MAAM,WAAW,GAAG,YAAY,EAAE,OAAO,EAAE,WAAW,IAAI,CAAC,CAAC;IAC5D,MAAM,aAAa,GAAG,WAAW,GAAG,CAAC,YAAY,EAAE,OAAO,EAAE,WAAW,IAAI,CAAC,CAAC,CAAC;IAE9E,MAAM,UAAU,GAAG,gBAAgB;QACjC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,gBAAgB,CAAC,GAAG;QAC3D,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,WAAW,GAAG,WAAW,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,IAAI,CAAC;IAEhG,OAAO,CACL,gCACE,SAAS,EAAE,4BACT,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,gBAAgB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAC3D,EAAE,EACF,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,UAAU,GAAG,EAAE,EACjD,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,YAAY,YAEhB,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @title Карусель
|
|
3
3
|
*/
|
|
4
|
-
/**
|
|
5
|
-
* @title Ширина карточек
|
|
6
|
-
* @enumNames [ "1007", "833", "350", "322" ]
|
|
7
|
-
*/
|
|
8
|
-
export declare type CardWidth = '322' | '350' | '832' | '1007';
|
|
9
4
|
export interface CarouselContent {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @title Количество видимых карточек
|
|
7
|
+
* @enumNames ["auto", "1", "2", "3"]
|
|
8
|
+
*/
|
|
9
|
+
visibleItemCount?: 0 | 1 | 2 | 3;
|
|
13
10
|
/** @title Добавление блюра */
|
|
14
11
|
isBlur?: boolean;
|
|
15
12
|
/** @title Цикличность */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselContent.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CarouselContent.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
|
|
2
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { CarouselCardContent } from './CarouselCardContent';
|
|
4
3
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
|
|
5
|
-
version?: CarouselCardVersion;
|
|
6
4
|
}
|
|
7
5
|
export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
|
|
@@ -4,17 +4,10 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
6
6
|
const Headline_1 = require("../Headline/Headline");
|
|
7
|
-
const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-
|
|
8
|
-
const CARD_STYLE_MAP = {
|
|
9
|
-
normal: 'min-w-[100%] justify-center items-center my-7 col-span-12',
|
|
10
|
-
mini: 'justify-center items-center mx-4 my-9 col-span-4',
|
|
11
|
-
};
|
|
7
|
+
const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
|
|
12
8
|
const CARD_WIDTH_MAP = {
|
|
13
|
-
normal:
|
|
14
|
-
mini:
|
|
9
|
+
normal: `w-[${1007 + 48}px]`,
|
|
10
|
+
mini: `w-[${350 + 48}px]`,
|
|
15
11
|
};
|
|
16
|
-
exports.CarouselCard = (0, uni_jsx_1.JSX)(({
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: `flex ${CARD_STYLE_MAP[version]}`, children: (0, jsx_runtime_1.jsxs)("div", { className: `relative ${CARD_WIDTH_MAP[version]}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `relative bg-white py-6 px-10 z-10
|
|
18
|
-
border border-solid border-green-light ${className}`, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? (0, ButtonSection_1.renderButton)({ button, buttonClassName: 'mt-6 w-[158px]' }) : null] }), (0, jsx_runtime_1.jsx)("div", { className: `top-9 right-12 bg-green-dark ${BLOCK_CLASSES}` }), (0, jsx_runtime_1.jsx)("div", { className: `top-6 right-8 bg-green ${BLOCK_CLASSES}` }), (0, jsx_runtime_1.jsx)("div", { className: `top-3 right-4 bg-green-light ${BLOCK_CLASSES}` })] }) }));
|
|
19
|
-
});
|
|
12
|
+
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, version = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? (0, jsx_runtime_1.jsx)("div", { className: "mt-6", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] })] }) })));
|
|
20
13
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,MAAM,IAAI,GAAG,EAAE,KAAK;IAC5B,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,KAAK;CAC1B,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,oCAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,0EAA0E,aACvF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACD,MAAM,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
|
|
@@ -3,18 +3,18 @@ exports.CarouselLinks = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Description_1 = require("../../ui-kit/Description/Description");
|
|
7
|
-
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
6
|
const LinkButton_1 = require("../../ui-kit/LinkButton/LinkButton");
|
|
9
|
-
const
|
|
7
|
+
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
10
8
|
const Carousel_1 = require("../Carousel/Carousel");
|
|
9
|
+
const Headline_1 = require("../Headline/Headline");
|
|
11
10
|
const MAX_LINKS_COUNT = 12;
|
|
12
|
-
exports.CarouselLinks = (0, uni_jsx_1.JSX)(({
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [
|
|
11
|
+
exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, ...rest }) => {
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, as: "h1", description: description, align: "left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
|
|
14
13
|
});
|
|
15
|
-
const renderLinks = (links
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
const renderLinks = (links) => {
|
|
15
|
+
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
|
|
17
|
+
.slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
|
|
18
|
+
.map((link, index) => ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CarouselLinks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D,mDAAgD;AAChD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,8EAA8E,SAAS,EAAE,KAChG,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aACnE,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,EAAE,EAAC,IAAI,EACP,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,MAAM,EACZ,SAAS,EAAC,KAAK,EACf,eAAe,EAAC,WAAW,GAC3B,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,cAAE,qBAAqB,GAAa,GAC1C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAC7B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAkB,EAAE,EAAE;IACzC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,eAAe,CAAC,CAAC;IAE5D,OAAO,CACL,uBAAC,mBAAQ,IACP,SAAS,EAAC,yBAAyB,EACnC,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,SAAS,YAEnB,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC,CACtD,gCAEE,SAAS,EAAC,+DAA+D,YAExE,KAAK;iBACH,KAAK,CAAC,UAAU,GAAG,eAAe,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;iBACvE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpB,uBAAC,uBAAU,IAAqB,SAAS,EAAC,KAAK,KAAK,IAAI,IAAvC,MAAM,CAAC,KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -17,11 +17,11 @@ exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon,
|
|
|
17
17
|
rowsNode.slice(0, VISIBLE_ROWS_COUNT),
|
|
18
18
|
rowsNode.slice(VISIBLE_ROWS_COUNT),
|
|
19
19
|
];
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-8 border border-main-stroke relative w-[322px] min-w-[322px] -ml-[1px] ${hitStyle} ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center", image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, rows?.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton : null })) : null] }));
|
|
21
21
|
});
|
|
22
22
|
const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[71px]' : 'mt-[70px] pt-9';
|
|
23
23
|
const renderFoldButton = ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsxs)("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [(0, jsx_runtime_1.jsx)("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
|
|
24
|
-
const renderCardInfo = (cell) => ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider flex flex-col gap-1", children: [cell?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (0, jsx_runtime_1.jsx)("div", { className: "text-primary-text text-h6", children: cell.description }) : null] }));
|
|
24
|
+
const renderCardInfo = (cell, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider flex flex-col gap-1", children: [cell?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (0, jsx_runtime_1.jsx)("div", { className: "text-primary-text text-h6", children: cell.description }) : null] }, String(i)));
|
|
25
25
|
const renderHitIcon = () => {
|
|
26
26
|
const POSITION_STYLE = 'absolute -top-7 -right-4';
|
|
27
27
|
return ((0, jsx_runtime_1.jsxs)("div", { className: `h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)] ${POSITION_STYLE}`, children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), (0, jsx_runtime_1.jsx)("div", { className: "text-center", children: "\u0425\u0438\u0442" })] }));
|