@redneckz/wildless-cms-uni-blocks 0.6.36 → 0.6.37
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.32.js +6 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +121 -113
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/{lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts → bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/bundle/components/Gallery/GalleryContent.d.ts +5 -0
- package/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/bundle/components/Video/VideoContent.d.ts +1 -0
- package/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/bundle/ui-kit/Text/Text.d.ts +1 -26
- package/bundle/ui-kit/Text/TextProps.d.ts +26 -0
- package/dist/components/Blocks.js +7 -3
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +4 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +3 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +5 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +2 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/dist/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +6 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +2 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/dist/components/ImgBlock/ImgBlock.js +11 -0
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -0
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/dist/components/{InvestmentGallery/InvestmentGalleryContent.js → ImgBlock/ImgBlockContent.js} +1 -1
- package/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -7
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/{mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js → dist/components/ParagraphBlock/ParagraphBlockContent.js} +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.js +7 -7
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -3
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +1 -3
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +6 -6
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +3 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/Video/VideoContent.d.ts +1 -0
- package/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Text/Text.d.ts +1 -26
- package/dist/ui-kit/Text/Text.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +26 -0
- package/dist/ui-kit/Text/TextProps.js +2 -0
- package/dist/ui-kit/Text/TextProps.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +7 -3
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +5 -3
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +4 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +6 -3
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
- package/lib/components/Carousel/Carousel.js +2 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.d.ts +10 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/{bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts → lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +6 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +3 -3
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/lib/components/{InvestmentGallery/InvestmentGallery.fixture.d.ts → ImgBlock/ImgBlock.fixture.d.ts} +0 -2
- package/lib/components/ImgBlock/ImgBlock.js +9 -0
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -0
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/lib/components/ImgBlock/ImgBlockContent.js +2 -0
- package/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.fixture.d.ts +9 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.js +8 -8
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
- package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -3
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +1 -3
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +6 -6
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +4 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/Video/VideoContent.d.ts +1 -0
- package/lib/ui-kit/InnerTable/InnerTable.js +4 -3
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Text/Text.d.ts +1 -26
- package/lib/ui-kit/Text/Text.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +26 -0
- package/lib/ui-kit/Text/TextProps.js +2 -0
- package/lib/ui-kit/Text/TextProps.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +4 -6
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/bundle/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/bundle/components/Video/VideoContent.d.ts +1 -0
- package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/bundle/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +5 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +2 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +6 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/dist/components/ImgBlock/ImgBlock.js +11 -0
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.js +2 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -7
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -7
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -3
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/Video/VideoContent.d.ts +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/dist/ui-kit/Text/TextProps.js +2 -0
- package/mobile/dist/ui-kit/Text/TextProps.js.map +1 -0
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +5 -3
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +6 -3
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +2 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +6 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +3 -3
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/lib/components/ImgBlock/ImgBlock.js +9 -0
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.js +2 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +8 -8
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -3
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/Video/VideoContent.d.ts +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +4 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/lib/ui-kit/Text/TextProps.js +2 -0
- package/mobile/lib/ui-kit/Text/TextProps.js.map +1 -0
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +6 -3
- package/mobile/src/components/Carousel/Carousel.tsx +2 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
- package/mobile/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +7 -1
- package/mobile/src/components/Gallery/GalleryContent.ts +5 -0
- package/mobile/src/components/Gallery/GalleryInner.tsx +0 -1
- package/mobile/src/components/Header/Header.tsx +4 -6
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/mobile/src/components/ImgBlock/ImgBlock.example.json +11 -0
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +17 -0
- package/mobile/src/components/ImgBlock/ImgBlock.ui.json +7 -0
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +8 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -11
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +13 -13
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
- package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +8 -10
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +11 -4
- package/mobile/src/components/Video/VideoContent.ts +1 -0
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
- package/mobile/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/Radio/RadioProps.ts +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +0 -1
- package/mobile/src/ui-kit/Text/Text.tsx +1 -63
- package/mobile/src/ui-kit/Text/TextProps.ts +63 -0
- package/package.json +1 -1
- package/src/components/Blocks.ts +7 -3
- package/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
- package/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
- package/src/components/Calculator/DepositCalculatorForm.tsx +6 -3
- package/src/components/Carousel/Carousel.fixture.tsx +20 -1
- package/src/components/Carousel/Carousel.tsx +2 -1
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
- package/src/components/{InvestmentGallery/InvestmentGallery.fixture.tsx → CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx} +21 -27
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
- package/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/src/components/Gallery/GalleryCardInner.tsx +7 -1
- package/src/components/Gallery/GalleryContent.ts +5 -0
- package/src/components/Gallery/GalleryInner.tsx +0 -1
- package/src/components/Header/Header.mobile.tsx +4 -6
- package/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/src/components/ImgBlock/ImgBlock.example.json +11 -0
- package/src/components/ImgBlock/ImgBlock.fixture.tsx +21 -0
- package/src/components/ImgBlock/ImgBlock.tsx +17 -0
- package/src/components/ImgBlock/ImgBlock.ui.json +7 -0
- package/src/components/ImgBlock/ImgBlockContent.ts +8 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -11
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
- package/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +45 -0
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
- package/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
- package/src/components/ProductGallery/ProductGallery.tsx +13 -13
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
- package/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.tsx +2 -3
- package/src/components/TariffsTable/TableTileHeader.tsx +8 -10
- package/src/components/TariffsTable/TariffsTable.tsx +20 -22
- package/src/components/TariffsTable/TariffsTableRow.tsx +11 -4
- package/src/components/Video/VideoContent.ts +1 -0
- package/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
- package/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
- package/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/Radio/RadioProps.ts +1 -1
- package/src/ui-kit/Select/Select.tsx +0 -1
- package/src/ui-kit/Text/Text.tsx +1 -63
- package/src/ui-kit/Text/TextProps.ts +63 -0
- package/tailwind.config.cjs +8 -0
- package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
- package/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
- package/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { Picture } from '../../model/Picture';
|
|
3
|
-
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
4
|
-
/**
|
|
5
|
-
* @title Количество колонок в списке
|
|
6
|
-
* @enumNames [
|
|
7
|
-
* "1 колонка",
|
|
8
|
-
* "2 колонки",
|
|
9
|
-
* ]
|
|
10
|
-
*/
|
|
11
|
-
export declare type CardColumnsMode = 'single' | 'double';
|
|
12
|
-
/**
|
|
13
|
-
* @title Карточка
|
|
14
|
-
*/
|
|
15
|
-
export interface InvestmentGalleryCardTypes extends HeadlineCommonProps {
|
|
16
|
-
/** @title Доп. описание карточки */
|
|
17
|
-
additionalDescription?: string;
|
|
18
|
-
/**
|
|
19
|
-
* @default {
|
|
20
|
-
* "format": "webp",
|
|
21
|
-
* "size": {
|
|
22
|
-
* "width": 290
|
|
23
|
-
* },
|
|
24
|
-
* "sources": [{
|
|
25
|
-
* "media": 1279,
|
|
26
|
-
* "width": 174,
|
|
27
|
-
* "format": "webp",
|
|
28
|
-
* "alignment": "southeast"
|
|
29
|
-
* }]
|
|
30
|
-
* }
|
|
31
|
-
*/
|
|
32
|
-
image?: Picture;
|
|
33
|
-
columnsMode?: CardColumnsMode;
|
|
34
|
-
/** @title Описание пункта */
|
|
35
|
-
cardList?: CardListItem[];
|
|
36
|
-
}
|
|
37
|
-
export interface CardListItem {
|
|
38
|
-
/** @title Параметр */
|
|
39
|
-
parameter?: string;
|
|
40
|
-
/** @title Описание */
|
|
41
|
-
parameterDesccription?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @title Карточка
|
|
45
|
-
*/
|
|
46
|
-
export interface InvestmentGalleryContent extends TitleProps {
|
|
47
|
-
/** @title Карточки */
|
|
48
|
-
cards?: InvestmentGalleryCardTypes[];
|
|
49
|
-
version?: BlockVersion;
|
|
50
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentGalleryContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Заголовок блока",
|
|
3
|
-
"cards": [
|
|
4
|
-
{
|
|
5
|
-
"image": {
|
|
6
|
-
"format": "webp",
|
|
7
|
-
"size": {
|
|
8
|
-
"width": 180,
|
|
9
|
-
"height": 180
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"title": "Заголовок карточки",
|
|
13
|
-
"description": "Описание",
|
|
14
|
-
"additionalDescription": "Дополнительное описание",
|
|
15
|
-
"cardList":[
|
|
16
|
-
{
|
|
17
|
-
"parametr": "Параметр",
|
|
18
|
-
"parametrDesccription": "Описание"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"parametr": "Параметр",
|
|
22
|
-
"parametrDesccription": "Описание"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"parametr": "Параметр",
|
|
26
|
-
"parametrDesccription": "Описание"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"image": {
|
|
32
|
-
"format": "webp",
|
|
33
|
-
"size": {
|
|
34
|
-
"width": 180,
|
|
35
|
-
"height": 180
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"title": "Заголовок 2",
|
|
39
|
-
"description": "Описание 2",
|
|
40
|
-
"socialMedia": [
|
|
41
|
-
{ "href": "https://t.me" },
|
|
42
|
-
{ "href": "https://vk.com" },
|
|
43
|
-
{ "href": "https://ok.ru" }
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"image": {
|
|
48
|
-
"format": "webp",
|
|
49
|
-
"size": {
|
|
50
|
-
"width": 180,
|
|
51
|
-
"height": 180
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"title": "Заголовок 3",
|
|
55
|
-
"description": "Описание 3",
|
|
56
|
-
"socialMedia": [
|
|
57
|
-
{ "href": "https://t.me" },
|
|
58
|
-
{ "href": "https://vk.com" },
|
|
59
|
-
{ "href": "https://ok.ru" }
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"version": "primary"
|
|
64
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useCarouselControls } from '../../hooks/useCarouselControls';
|
|
3
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
-
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
5
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
6
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
|
-
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
8
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
9
|
-
import { InvestmentGalleryCard } from './InvestmentGalleryCard';
|
|
10
|
-
import type {
|
|
11
|
-
InvestmentGalleryCardTypes,
|
|
12
|
-
InvestmentGalleryContent,
|
|
13
|
-
} from './InvestmentGalleryContent';
|
|
14
|
-
|
|
15
|
-
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
16
|
-
const CARD_FULL_VIEW_COUNT = 1;
|
|
17
|
-
|
|
18
|
-
export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {}
|
|
19
|
-
|
|
20
|
-
export const InvestmentGallery = JSX<InvestmentGalleryProps>(
|
|
21
|
-
({ cards = [], className = '', title, version = 'primary', ...rest }) => {
|
|
22
|
-
const cardWidth = 710;
|
|
23
|
-
|
|
24
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
25
|
-
itemCount: cards.length,
|
|
26
|
-
visibleItemCount: CARD_FULL_VIEW_COUNT,
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<BlockWrapper
|
|
31
|
-
className={`relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`}
|
|
32
|
-
{...rest}
|
|
33
|
-
>
|
|
34
|
-
{title ? <Heading headingType="h3" className="mb-9" title={title} /> : null}
|
|
35
|
-
<div>
|
|
36
|
-
<div
|
|
37
|
-
className="flex duration-1000 gap-3.5"
|
|
38
|
-
style={{ transform: `translateX(-${activeIndex * cardWidth}px)` }}
|
|
39
|
-
role="list"
|
|
40
|
-
>
|
|
41
|
-
{cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null}
|
|
42
|
-
</div>
|
|
43
|
-
{renderArrows({
|
|
44
|
-
...controls,
|
|
45
|
-
btnClass: ['left-8', 'right-8'],
|
|
46
|
-
className: 'top-1/2 mt-3',
|
|
47
|
-
})}
|
|
48
|
-
</div>
|
|
49
|
-
<div
|
|
50
|
-
className={`${BLUR_BLOCK_CLASSES} left-0 ${
|
|
51
|
-
version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'
|
|
52
|
-
}`}
|
|
53
|
-
/>
|
|
54
|
-
<div
|
|
55
|
-
className={`${BLUR_BLOCK_CLASSES} right-0 ${
|
|
56
|
-
version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'
|
|
57
|
-
}`}
|
|
58
|
-
/>
|
|
59
|
-
</BlockWrapper>
|
|
60
|
-
);
|
|
61
|
-
},
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
const renderInvestmentGalleryCard =
|
|
65
|
-
(className: string, version?: BlockVersion) => (card: InvestmentGalleryCardTypes, i: number) =>
|
|
66
|
-
<InvestmentGalleryCard key={String(i)} className={className} version={version} {...card} />;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import { BorderVersionStyleMap } from '../../model/BorderVersion';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
|
-
import { Img } from '../../ui-kit/Img/Img';
|
|
6
|
-
import { BaseTile } from '../BaseTile/BaseTile';
|
|
7
|
-
import type {
|
|
8
|
-
CardColumnsMode,
|
|
9
|
-
CardListItem,
|
|
10
|
-
InvestmentGalleryCardTypes,
|
|
11
|
-
} from './InvestmentGalleryContent';
|
|
12
|
-
|
|
13
|
-
export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
|
|
14
|
-
className?: string;
|
|
15
|
-
version?: BlockVersion;
|
|
16
|
-
}
|
|
17
|
-
const getItemListFontSize = (colValue?: string) => (colValue === 'single' ? 'text-h6' : 'text-l');
|
|
18
|
-
|
|
19
|
-
const cardColumnsModeStyleMap: Record<CardColumnsMode, string> = {
|
|
20
|
-
double: 'flex gap-y-2 gap-x-10 flex-wrap',
|
|
21
|
-
single: 'flex gap-y-2 flex-col',
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export const InvestmentGalleryCard = JSX<RecommendationCardProps>(
|
|
25
|
-
({
|
|
26
|
-
className = '',
|
|
27
|
-
columnsMode = 'double',
|
|
28
|
-
description,
|
|
29
|
-
additionalDescription,
|
|
30
|
-
image,
|
|
31
|
-
cardList,
|
|
32
|
-
title,
|
|
33
|
-
version = 'primary',
|
|
34
|
-
}) => {
|
|
35
|
-
const tileTitle = title ? (
|
|
36
|
-
<Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} />
|
|
37
|
-
) : null;
|
|
38
|
-
const tileImage = image?.src ? (
|
|
39
|
-
<Img className="absolute bottom-0 right-0 m-0" image={image} />
|
|
40
|
-
) : null;
|
|
41
|
-
|
|
42
|
-
return (
|
|
43
|
-
<section
|
|
44
|
-
className={`relative overflow-hidden text-left border border-solid box-border
|
|
45
|
-
p-9 min-w-[697px] min-h-[319px]
|
|
46
|
-
${BorderVersionStyleMap[version]}
|
|
47
|
-
${className}`}
|
|
48
|
-
role="listitem"
|
|
49
|
-
>
|
|
50
|
-
<BaseTile className="flex justify-between" title={tileTitle} image={tileImage}>
|
|
51
|
-
<div className="flex flex-col justify-between">
|
|
52
|
-
<div className="flex itens-center justify-between mb-4">
|
|
53
|
-
{description ? <span className="text-h6">{description}</span> : null}
|
|
54
|
-
{additionalDescription ? (
|
|
55
|
-
<span className="text-m-light text-secondary-text"> {additionalDescription} </span>
|
|
56
|
-
) : null}
|
|
57
|
-
</div>
|
|
58
|
-
{cardList?.length ? (
|
|
59
|
-
<div className={`${cardColumnsModeStyleMap[columnsMode]}`} role="list">
|
|
60
|
-
{renderCardList(cardList, columnsMode)}
|
|
61
|
-
</div>
|
|
62
|
-
) : null}
|
|
63
|
-
</div>
|
|
64
|
-
</BaseTile>
|
|
65
|
-
</section>
|
|
66
|
-
);
|
|
67
|
-
},
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
const renderCardList = (cardList: CardListItem[], columnsMode: string) =>
|
|
71
|
-
cardList.map((item, i) => (
|
|
72
|
-
<div
|
|
73
|
-
key={String(i)}
|
|
74
|
-
className={columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}
|
|
75
|
-
role="listitem"
|
|
76
|
-
>
|
|
77
|
-
{item?.parameter ? (
|
|
78
|
-
<span className={`pr-2.5 ${getItemListFontSize(columnsMode)}`}>{item.parameter}</span>
|
|
79
|
-
) : null}
|
|
80
|
-
{item?.parameterDesccription ? (
|
|
81
|
-
<span className="text-m-light text-secondary-text">{item.parameterDesccription}</span>
|
|
82
|
-
) : null}
|
|
83
|
-
</div>
|
|
84
|
-
));
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Заголовок блока",
|
|
3
|
-
"cards": [
|
|
4
|
-
{
|
|
5
|
-
"image": {
|
|
6
|
-
"format": "webp",
|
|
7
|
-
"size": {
|
|
8
|
-
"width": 180,
|
|
9
|
-
"height": 180
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"title": "Заголовок карточки",
|
|
13
|
-
"description": "Описание",
|
|
14
|
-
"additionalDescription": "Дополнительное описание",
|
|
15
|
-
"cardList":[
|
|
16
|
-
{
|
|
17
|
-
"parametr": "Параметр",
|
|
18
|
-
"parametrDesccription": "Описание"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"parametr": "Параметр",
|
|
22
|
-
"parametrDesccription": "Описание"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"parametr": "Параметр",
|
|
26
|
-
"parametrDesccription": "Описание"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"image": {
|
|
32
|
-
"format": "webp",
|
|
33
|
-
"size": {
|
|
34
|
-
"width": 180,
|
|
35
|
-
"height": 180
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"title": "Заголовок 2",
|
|
39
|
-
"description": "Описание 2",
|
|
40
|
-
"socialMedia": [
|
|
41
|
-
{ "href": "https://t.me" },
|
|
42
|
-
{ "href": "https://vk.com" },
|
|
43
|
-
{ "href": "https://ok.ru" }
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"image": {
|
|
48
|
-
"format": "webp",
|
|
49
|
-
"size": {
|
|
50
|
-
"width": 180,
|
|
51
|
-
"height": 180
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"title": "Заголовок 3",
|
|
55
|
-
"description": "Описание 3",
|
|
56
|
-
"socialMedia": [
|
|
57
|
-
{ "href": "https://t.me" },
|
|
58
|
-
{ "href": "https://vk.com" },
|
|
59
|
-
{ "href": "https://ok.ru" }
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"version": "primary"
|
|
64
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useCarouselControls } from '../../hooks/useCarouselControls';
|
|
3
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
-
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
5
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
6
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
|
-
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
8
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
9
|
-
import { InvestmentGalleryCard } from './InvestmentGalleryCard';
|
|
10
|
-
import type {
|
|
11
|
-
InvestmentGalleryCardTypes,
|
|
12
|
-
InvestmentGalleryContent,
|
|
13
|
-
} from './InvestmentGalleryContent';
|
|
14
|
-
|
|
15
|
-
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
16
|
-
const CARD_FULL_VIEW_COUNT = 1;
|
|
17
|
-
|
|
18
|
-
export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {}
|
|
19
|
-
|
|
20
|
-
export const InvestmentGallery = JSX<InvestmentGalleryProps>(
|
|
21
|
-
({ cards = [], className = '', title, version = 'primary', ...rest }) => {
|
|
22
|
-
const cardWidth = 710;
|
|
23
|
-
|
|
24
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
25
|
-
itemCount: cards.length,
|
|
26
|
-
visibleItemCount: CARD_FULL_VIEW_COUNT,
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<BlockWrapper
|
|
31
|
-
className={`relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`}
|
|
32
|
-
{...rest}
|
|
33
|
-
>
|
|
34
|
-
{title ? <Heading headingType="h3" className="mb-9" title={title} /> : null}
|
|
35
|
-
<div>
|
|
36
|
-
<div
|
|
37
|
-
className="flex duration-1000 gap-3.5"
|
|
38
|
-
style={{ transform: `translateX(-${activeIndex * cardWidth}px)` }}
|
|
39
|
-
role="list"
|
|
40
|
-
>
|
|
41
|
-
{cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null}
|
|
42
|
-
</div>
|
|
43
|
-
{renderArrows({
|
|
44
|
-
...controls,
|
|
45
|
-
btnClass: ['left-8', 'right-8'],
|
|
46
|
-
className: 'top-1/2 mt-3',
|
|
47
|
-
})}
|
|
48
|
-
</div>
|
|
49
|
-
<div
|
|
50
|
-
className={`${BLUR_BLOCK_CLASSES} left-0 ${
|
|
51
|
-
version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'
|
|
52
|
-
}`}
|
|
53
|
-
/>
|
|
54
|
-
<div
|
|
55
|
-
className={`${BLUR_BLOCK_CLASSES} right-0 ${
|
|
56
|
-
version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'
|
|
57
|
-
}`}
|
|
58
|
-
/>
|
|
59
|
-
</BlockWrapper>
|
|
60
|
-
);
|
|
61
|
-
},
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
const renderInvestmentGalleryCard =
|
|
65
|
-
(className: string, version?: BlockVersion) => (card: InvestmentGalleryCardTypes, i: number) =>
|
|
66
|
-
<InvestmentGalleryCard key={String(i)} className={className} version={version} {...card} />;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import { BorderVersionStyleMap } from '../../model/BorderVersion';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
|
-
import { Img } from '../../ui-kit/Img/Img';
|
|
6
|
-
import { BaseTile } from '../BaseTile/BaseTile';
|
|
7
|
-
import type {
|
|
8
|
-
CardColumnsMode,
|
|
9
|
-
CardListItem,
|
|
10
|
-
InvestmentGalleryCardTypes,
|
|
11
|
-
} from './InvestmentGalleryContent';
|
|
12
|
-
|
|
13
|
-
export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
|
|
14
|
-
className?: string;
|
|
15
|
-
version?: BlockVersion;
|
|
16
|
-
}
|
|
17
|
-
const getItemListFontSize = (colValue?: string) => (colValue === 'single' ? 'text-h6' : 'text-l');
|
|
18
|
-
|
|
19
|
-
const cardColumnsModeStyleMap: Record<CardColumnsMode, string> = {
|
|
20
|
-
double: 'flex gap-y-2 gap-x-10 flex-wrap',
|
|
21
|
-
single: 'flex gap-y-2 flex-col',
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export const InvestmentGalleryCard = JSX<RecommendationCardProps>(
|
|
25
|
-
({
|
|
26
|
-
className = '',
|
|
27
|
-
columnsMode = 'double',
|
|
28
|
-
description,
|
|
29
|
-
additionalDescription,
|
|
30
|
-
image,
|
|
31
|
-
cardList,
|
|
32
|
-
title,
|
|
33
|
-
version = 'primary',
|
|
34
|
-
}) => {
|
|
35
|
-
const tileTitle = title ? (
|
|
36
|
-
<Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} />
|
|
37
|
-
) : null;
|
|
38
|
-
const tileImage = image?.src ? (
|
|
39
|
-
<Img className="absolute bottom-0 right-0 m-0" image={image} />
|
|
40
|
-
) : null;
|
|
41
|
-
|
|
42
|
-
return (
|
|
43
|
-
<section
|
|
44
|
-
className={`relative overflow-hidden text-left border border-solid box-border
|
|
45
|
-
p-9 min-w-[697px] min-h-[319px]
|
|
46
|
-
${BorderVersionStyleMap[version]}
|
|
47
|
-
${className}`}
|
|
48
|
-
role="listitem"
|
|
49
|
-
>
|
|
50
|
-
<BaseTile className="flex justify-between" title={tileTitle} image={tileImage}>
|
|
51
|
-
<div className="flex flex-col justify-between">
|
|
52
|
-
<div className="flex itens-center justify-between mb-4">
|
|
53
|
-
{description ? <span className="text-h6">{description}</span> : null}
|
|
54
|
-
{additionalDescription ? (
|
|
55
|
-
<span className="text-m-light text-secondary-text"> {additionalDescription} </span>
|
|
56
|
-
) : null}
|
|
57
|
-
</div>
|
|
58
|
-
{cardList?.length ? (
|
|
59
|
-
<div className={`${cardColumnsModeStyleMap[columnsMode]}`} role="list">
|
|
60
|
-
{renderCardList(cardList, columnsMode)}
|
|
61
|
-
</div>
|
|
62
|
-
) : null}
|
|
63
|
-
</div>
|
|
64
|
-
</BaseTile>
|
|
65
|
-
</section>
|
|
66
|
-
);
|
|
67
|
-
},
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
const renderCardList = (cardList: CardListItem[], columnsMode: string) =>
|
|
71
|
-
cardList.map((item, i) => (
|
|
72
|
-
<div
|
|
73
|
-
key={String(i)}
|
|
74
|
-
className={columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}
|
|
75
|
-
role="listitem"
|
|
76
|
-
>
|
|
77
|
-
{item?.parameter ? (
|
|
78
|
-
<span className={`pr-2.5 ${getItemListFontSize(columnsMode)}`}>{item.parameter}</span>
|
|
79
|
-
) : null}
|
|
80
|
-
{item?.parameterDesccription ? (
|
|
81
|
-
<span className="text-m-light text-secondary-text">{item.parameterDesccription}</span>
|
|
82
|
-
) : null}
|
|
83
|
-
</div>
|
|
84
|
-
));
|