@redneckz/wildless-cms-uni-blocks 0.14.28 → 0.14.30
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.14.28.js +28 -0
- package/bin/migration-scripts/0.14.29.js +73 -0
- package/bin/migration-scripts/0.14.30.js +54 -0
- package/bin/migration-scripts/0.14.4.js +4 -4
- package/bin/utils.js +54 -7
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +219 -133
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/bundle/hooks/useResizeObserver.d.ts +3 -0
- package/bundle/model/HeadlineType.d.ts +0 -8
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/dist/components/Blocks.js +0 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +3 -2
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/dist/components/Depository/Depository.js +12 -3
- package/dist/components/Depository/Depository.js.map +1 -1
- package/dist/components/Depository/DepositoryFilter.js +1 -1
- package/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/dist/components/Depository/DepositoryItem.js +1 -1
- package/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/dist/components/Depository/useDepository.js +11 -1
- package/dist/components/Depository/useDepository.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +2 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/OfficesAtmsMap/Badge.js +2 -2
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/dist/components/OfficesAtmsMap/CardCell.js +6 -4
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/hooks/useResizeObserver.d.ts +3 -0
- package/dist/hooks/useResizeObserver.js +22 -0
- package/dist/hooks/useResizeObserver.js.map +1 -0
- package/dist/model/HeadlineType.d.ts +0 -8
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldableSection.js +5 -4
- package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +1 -1
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/dist/ui-kit/PriceList/PriceList.js +9 -0
- package/dist/ui-kit/PriceList/PriceList.js.map +1 -0
- package/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/{mobile/dist/components/PictureText/PictureTextContent.js → dist/ui-kit/PriceList/PriceListProps.js} +1 -1
- package/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/dist/ui-kit/Select/Select.js +1 -0
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/dist/ui-kit/Select/SelectPopup.js +2 -2
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/dist/ui-kit/Select/useSelectPopup.js +2 -2
- package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +0 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +3 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -2
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/lib/components/Depository/Depository.js +12 -3
- package/lib/components/Depository/Depository.js.map +1 -1
- package/lib/components/Depository/DepositoryFilter.js +1 -1
- package/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/lib/components/Depository/DepositoryItem.js +1 -1
- package/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/lib/components/Depository/useDepository.js +11 -1
- package/lib/components/Depository/useDepository.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +2 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/OfficesAtmsMap/Badge.js +2 -2
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/lib/components/OfficesAtmsMap/CardCell.js +6 -4
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +1 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/lib/components/StepsBlock/StepsBlock.js +3 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/hooks/useResizeObserver.d.ts +3 -0
- package/lib/hooks/useResizeObserver.js +19 -0
- package/lib/hooks/useResizeObserver.js.map +1 -0
- package/lib/model/HeadlineType.d.ts +0 -8
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldableSection.js +6 -5
- package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +1 -1
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/lib/ui-kit/PriceList/PriceList.fixture.d.ts +6 -0
- package/lib/ui-kit/PriceList/PriceList.js +7 -0
- package/lib/ui-kit/PriceList/PriceList.js.map +1 -0
- package/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/lib/ui-kit/PriceList/PriceListProps.js +2 -0
- package/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/lib/ui-kit/Select/Select.js +1 -0
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/lib/ui-kit/Select/SelectPopup.js +2 -2
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/lib/ui-kit/Select/useSelectPopup.js +2 -2
- package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +88 -88
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/bundle/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/bundle/model/HeadlineType.d.ts +0 -8
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/dist/components/Depository/Depository.js +12 -3
- package/mobile/dist/components/Depository/Depository.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/dist/components/Depository/useDepository.js +11 -1
- package/mobile/dist/components/Depository/useDepository.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js +6 -4
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/dist/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/dist/hooks/useResizeObserver.js +22 -0
- package/mobile/dist/hooks/useResizeObserver.js.map +1 -0
- package/mobile/dist/model/HeadlineType.d.ts +0 -8
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js +5 -4
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/dist/ui-kit/PriceList/PriceList.js +9 -0
- package/mobile/dist/ui-kit/PriceList/PriceList.js.map +1 -0
- package/mobile/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/{dist/components/PictureText/PictureTextContent.js → mobile/dist/ui-kit/PriceList/PriceListProps.js} +1 -1
- package/mobile/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/mobile/dist/ui-kit/Select/Select.js +1 -0
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/dist/ui-kit/Select/SelectPopup.js +2 -2
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.js +2 -2
- package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/lib/components/Depository/Depository.js +12 -3
- package/mobile/lib/components/Depository/Depository.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/lib/components/Depository/useDepository.js +11 -1
- package/mobile/lib/components/Depository/useDepository.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js +6 -4
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/lib/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/lib/hooks/useResizeObserver.js +19 -0
- package/mobile/lib/hooks/useResizeObserver.js.map +1 -0
- package/mobile/lib/model/HeadlineType.d.ts +0 -8
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js +6 -5
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/lib/ui-kit/PriceList/PriceList.js +7 -0
- package/mobile/lib/ui-kit/PriceList/PriceList.js.map +1 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.js +2 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/mobile/lib/ui-kit/Select/Select.js +1 -0
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/lib/ui-kit/Select/SelectPopup.js +2 -2
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.js +2 -2
- package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/src/common.css +1 -0
- package/mobile/src/components/Blocks.ts +0 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
- package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/mobile/src/components/Depository/Depository.tsx +25 -8
- package/mobile/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/mobile/src/components/Depository/DepositoryItem.tsx +6 -2
- package/mobile/src/components/Depository/useDepository.ts +15 -6
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
- package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
- package/mobile/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
- package/mobile/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
- package/mobile/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
- package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
- package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/mobile/src/hooks/useResizeObserver.ts +28 -0
- package/mobile/src/model/HeadlineType.ts +0 -10
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
- package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/List/ListItem.tsx +15 -17
- package/mobile/src/ui-kit/PriceList/PriceList.tsx +25 -0
- package/mobile/src/ui-kit/PriceList/PriceListProps.ts +11 -0
- package/mobile/src/ui-kit/Select/Select.tsx +1 -0
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +41 -34
- package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -0
- package/package.json +1 -1
- package/src/common.css +1 -0
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -6
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +15 -0
- package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
- package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -34
- package/src/components/Carousel/Carousel.fixture.tsx +2 -52
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +44 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/src/components/Depository/Depository.tsx +25 -8
- package/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/src/components/Depository/DepositoryItem.tsx +6 -2
- package/src/components/Depository/useDepository.ts +15 -6
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
- package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
- package/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
- package/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
- package/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
- package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +42 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +42 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +15 -0
- package/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/src/components/StepsBlock/StepsBlock.tsx +7 -4
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +4 -12
- package/src/hooks/useResizeObserver.ts +28 -0
- package/src/model/HeadlineType.ts +0 -10
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
- package/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/List/ListItem.tsx +15 -17
- package/src/ui-kit/PriceList/PriceList.fixture.tsx +16 -0
- package/src/ui-kit/PriceList/PriceList.tsx +25 -0
- package/src/ui-kit/PriceList/PriceListProps.ts +11 -0
- package/src/ui-kit/Select/Select.tsx +1 -0
- package/src/ui-kit/Select/SelectPopup.tsx +41 -34
- package/src/ui-kit/Select/useSelectPopup.tsx +2 -0
- package/tailwind.config.cjs +23 -20
- package/bin/migration-scripts/0.14.12.js +0 -34
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/bundle/components/PictureText/PictureText.d.ts +0 -5
- package/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
- package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/dist/components/PictureText/PictureText.d.ts +0 -5
- package/dist/components/PictureText/PictureText.js +0 -9
- package/dist/components/PictureText/PictureText.js.map +0 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +0 -11
- package/dist/components/PictureText/PictureTextContent.js.map +0 -1
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +0 -8
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
- package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/lib/components/PictureText/PictureText.d.ts +0 -5
- package/lib/components/PictureText/PictureText.fixture.d.ts +0 -14
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +0 -14
- package/lib/components/PictureText/PictureText.js +0 -7
- package/lib/components/PictureText/PictureText.js.map +0 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +0 -11
- package/lib/components/PictureText/PictureTextContent.js +0 -2
- package/lib/components/PictureText/PictureTextContent.js.map +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/bundle/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/mobile/dist/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/dist/components/PictureText/PictureText.js +0 -9
- package/mobile/dist/components/PictureText/PictureText.js.map +0 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/dist/components/PictureText/PictureTextContent.js.map +0 -1
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/mobile/lib/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/lib/components/PictureText/PictureText.js +0 -7
- package/mobile/lib/components/PictureText/PictureText.js.map +0 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/lib/components/PictureText/PictureTextContent.js +0 -2
- package/mobile/lib/components/PictureText/PictureTextContent.js.map +0 -1
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
- package/mobile/src/components/PictureText/PictureText.example.json +0 -40
- package/mobile/src/components/PictureText/PictureText.tsx +0 -36
- package/mobile/src/components/PictureText/PictureText.ui.json +0 -23
- package/mobile/src/components/PictureText/PictureTextContent.ts +0 -13
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +0 -92
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +0 -96
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +0 -26
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
- package/src/components/PictureText/PictureText.example.json +0 -40
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +0 -116
- package/src/components/PictureText/PictureText.fixture.tsx +0 -130
- package/src/components/PictureText/PictureText.tsx +0 -36
- package/src/components/PictureText/PictureText.ui.json +0 -23
- package/src/components/PictureText/PictureTextContent.ts +0 -13
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import '../../setup-fixture';
|
|
2
|
-
|
|
3
|
-
import { type Picture } from '../../model/Picture';
|
|
4
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
|
-
import { CarouselProductCard } from './CarouselProductCard';
|
|
6
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
7
|
-
|
|
8
|
-
const isDotted = false;
|
|
9
|
-
|
|
10
|
-
const image: Picture = {
|
|
11
|
-
src: 'money-1.png',
|
|
12
|
-
format: 'webp',
|
|
13
|
-
size: {
|
|
14
|
-
width: 140,
|
|
15
|
-
height: 140,
|
|
16
|
-
},
|
|
17
|
-
title: 'money',
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const buttonPrimary: ButtonContent = {
|
|
21
|
-
href: '/credit-cards',
|
|
22
|
-
text: 'Подробнее',
|
|
23
|
-
target: '_blank',
|
|
24
|
-
version: 'secondary',
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const buttonPrimaryIcon: ButtonContent = {
|
|
28
|
-
href: '/credit-cards',
|
|
29
|
-
text: 'Подробнее',
|
|
30
|
-
target: '_blank',
|
|
31
|
-
version: 'secondary',
|
|
32
|
-
icon: { icon: 'BankIcon' },
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const defaultItems = [
|
|
36
|
-
{ text: 'Качественные фермерские продукты напрямую от производителей' },
|
|
37
|
-
{ text: 'Самая большая база сельских туров по России' },
|
|
38
|
-
{ text: 'Площадки для создания комфортной жизни за городом' },
|
|
39
|
-
];
|
|
40
|
-
|
|
41
|
-
export const PRODUCT_CARD: CarouselProductCardContent = {
|
|
42
|
-
title: 'Более 5000 товаров',
|
|
43
|
-
description: 'Время копить: ставка растет в зависимости от срока нахождения средств на Счете!',
|
|
44
|
-
icon: image,
|
|
45
|
-
button: buttonPrimary,
|
|
46
|
-
isDotted,
|
|
47
|
-
items: defaultItems,
|
|
48
|
-
isImageFullWidth: true,
|
|
49
|
-
additionalDescription: 'Дополнительное описание',
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export const PRODUCT_CARD_SMALL: CarouselProductCardContent = {
|
|
53
|
-
title: 'Более 5000 товаров Более 5000 товаров Более 5000 товаров',
|
|
54
|
-
icon: image,
|
|
55
|
-
button: buttonPrimary,
|
|
56
|
-
isDotted,
|
|
57
|
-
isButtonFullWidth: true,
|
|
58
|
-
};
|
|
59
|
-
export const PRODUCT_CARD_EVENT: CarouselProductCardContent = {
|
|
60
|
-
title: 'Более 5000 товаров',
|
|
61
|
-
icon: image,
|
|
62
|
-
isDotted,
|
|
63
|
-
additionalDescription: 'Дополнительное описание',
|
|
64
|
-
isTopPosition: true,
|
|
65
|
-
isImageFullWidth: true,
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
const CAROUSEL_PRODUCT_CARD = <CarouselProductCard className="col-span-12" {...PRODUCT_CARD} />;
|
|
69
|
-
const CAROUSEL_PRODUCT_CARD_SECONDARY = (
|
|
70
|
-
<CarouselProductCard
|
|
71
|
-
className="col-span-12"
|
|
72
|
-
{...PRODUCT_CARD}
|
|
73
|
-
version="secondary"
|
|
74
|
-
isDotted={true}
|
|
75
|
-
button={buttonPrimaryIcon}
|
|
76
|
-
isButtonFullWidth={true}
|
|
77
|
-
/>
|
|
78
|
-
);
|
|
79
|
-
const CAROUSEL_PRODUCT_CARD_SMALL = (
|
|
80
|
-
<CarouselProductCard className="col-span-12" {...PRODUCT_CARD_SMALL} />
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
const CAROUSEL_PRODUCT_CARD_EVENT = (
|
|
84
|
-
<CarouselProductCard className="col-span-12" {...PRODUCT_CARD_EVENT} />
|
|
85
|
-
);
|
|
86
|
-
|
|
87
|
-
export default {
|
|
88
|
-
default: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD}</div>,
|
|
89
|
-
secondary: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_SECONDARY}</div>,
|
|
90
|
-
small: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_SMALL}</div>,
|
|
91
|
-
event: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_EVENT}</div>,
|
|
92
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import '../../setup-fixture';
|
|
2
|
-
|
|
3
|
-
import { type Picture } from '../../model/Picture';
|
|
4
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
5
|
-
import { CarouselProductCard } from './CarouselProductCard';
|
|
6
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
7
|
-
|
|
8
|
-
const isDotted = false;
|
|
9
|
-
|
|
10
|
-
const image: Picture = {
|
|
11
|
-
src: 'money-1.png',
|
|
12
|
-
format: 'webp',
|
|
13
|
-
size: {
|
|
14
|
-
width: 140,
|
|
15
|
-
height: 140,
|
|
16
|
-
},
|
|
17
|
-
title: 'money',
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const buttonPrimary: ButtonContent = {
|
|
21
|
-
href: '/credit-cards',
|
|
22
|
-
text: 'Подробнее',
|
|
23
|
-
target: '_blank',
|
|
24
|
-
version: 'secondary',
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const buttonPrimaryIcon: ButtonContent = {
|
|
28
|
-
href: '/credit-cards',
|
|
29
|
-
text: 'Подробнее',
|
|
30
|
-
target: '_blank',
|
|
31
|
-
version: 'secondary',
|
|
32
|
-
icon: { icon: 'BankIcon' },
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const defaultItems = [
|
|
36
|
-
{ text: 'Качественные фермерские продукты напрямую от производителей' },
|
|
37
|
-
{ text: 'Самая большая база сельских туров по России' },
|
|
38
|
-
{ text: 'Площадки для создания комфортной жизни за городом' },
|
|
39
|
-
];
|
|
40
|
-
|
|
41
|
-
export const PRODUCT_CARD: CarouselProductCardContent = {
|
|
42
|
-
title: 'Более 5000 товаров',
|
|
43
|
-
description: 'Время копить: ставка растет в зависимости от срока нахождения средств на Счете!',
|
|
44
|
-
icon: image,
|
|
45
|
-
button: buttonPrimary,
|
|
46
|
-
isDotted,
|
|
47
|
-
items: defaultItems,
|
|
48
|
-
additionalDescription: 'Дополнительное описание',
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const PRODUCT_CARD_SMALL: CarouselProductCardContent = {
|
|
52
|
-
title: 'Более 5000 товаров Более 5000 товаров Более 5000 товаров',
|
|
53
|
-
icon: image,
|
|
54
|
-
button: buttonPrimary,
|
|
55
|
-
isDotted,
|
|
56
|
-
isButtonFullWidth: false,
|
|
57
|
-
align: 'text-left',
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export const PRODUCT_CARD_EVENT: CarouselProductCardContent = {
|
|
61
|
-
title: 'Более 5000 товаров',
|
|
62
|
-
icon: image,
|
|
63
|
-
isDotted,
|
|
64
|
-
additionalDescription: 'Дополнительное описание',
|
|
65
|
-
align: 'text-left',
|
|
66
|
-
isTopPosition: true,
|
|
67
|
-
isImageFullWidth: true,
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const CAROUSEL_PRODUCT_CARD = <CarouselProductCard className="col-span-4" {...PRODUCT_CARD} />;
|
|
71
|
-
|
|
72
|
-
const CAROUSEL_PRODUCT_CARD_SECONDARY = (
|
|
73
|
-
<CarouselProductCard
|
|
74
|
-
className="col-span-4"
|
|
75
|
-
{...PRODUCT_CARD}
|
|
76
|
-
version="secondary"
|
|
77
|
-
isDotted={true}
|
|
78
|
-
button={buttonPrimaryIcon}
|
|
79
|
-
isButtonFullWidth={false}
|
|
80
|
-
/>
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
const CAROUSEL_PRODUCT_CARD_SMALL = (
|
|
84
|
-
<CarouselProductCard className="col-span-4" {...PRODUCT_CARD_SMALL} />
|
|
85
|
-
);
|
|
86
|
-
|
|
87
|
-
const CAROUSEL_PRODUCT_CARD_EVENT = (
|
|
88
|
-
<CarouselProductCard className="col-span-4" {...PRODUCT_CARD_EVENT} />
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
export default {
|
|
92
|
-
default: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD}</div>,
|
|
93
|
-
secondary: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_SECONDARY}</div>,
|
|
94
|
-
small: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_SMALL}</div>,
|
|
95
|
-
event: <div className="container grid grid-cols-12">{CAROUSEL_PRODUCT_CARD_EVENT}</div>,
|
|
96
|
-
};
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { AlignStyles } from '../../model/AlignStyles';
|
|
3
|
-
import { type BlockVersion } from '../../model/BlockVersion';
|
|
4
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
5
|
-
import { type Picture } from '../../model/Picture';
|
|
6
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
8
|
-
import { Img } from '../../ui-kit/Img/Img';
|
|
9
|
-
import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper';
|
|
10
|
-
import { List } from '../../ui-kit/List/List';
|
|
11
|
-
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
12
|
-
import { Text } from '../../ui-kit/Text/Text';
|
|
13
|
-
import { type TextAlign } from '../../ui-kit/Text/TextProps';
|
|
14
|
-
import { style } from '../../utils/style';
|
|
15
|
-
import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles';
|
|
16
|
-
import { type CarouselProductCardContent, type ListProps } from './CarouselProductCardContent';
|
|
17
|
-
|
|
18
|
-
export interface CarouselProductCardProps extends CarouselProductCardContent, UniBlockProps {}
|
|
19
|
-
|
|
20
|
-
export const CarouselProductCard = JSX<CarouselProductCardProps>(
|
|
21
|
-
({
|
|
22
|
-
additionalDescription,
|
|
23
|
-
align = AlignStyles,
|
|
24
|
-
button = {},
|
|
25
|
-
className = '',
|
|
26
|
-
description,
|
|
27
|
-
headlineSmallVersion = 'H6',
|
|
28
|
-
href,
|
|
29
|
-
icon,
|
|
30
|
-
isDotted = true,
|
|
31
|
-
isButtonFullWidth = true,
|
|
32
|
-
isImageFullWidth = false,
|
|
33
|
-
isTopPosition = false,
|
|
34
|
-
items = [],
|
|
35
|
-
target,
|
|
36
|
-
title,
|
|
37
|
-
version = 'primary',
|
|
38
|
-
...rest
|
|
39
|
-
}) => {
|
|
40
|
-
return (
|
|
41
|
-
<BlockWrapper
|
|
42
|
-
className={style('flex flex-col justify-between', className)}
|
|
43
|
-
defaultPadding="p-0"
|
|
44
|
-
version={version}
|
|
45
|
-
{...rest}
|
|
46
|
-
>
|
|
47
|
-
<LinkWrapper className="p-m flex flex-col gap-xs" href={href} target={target}>
|
|
48
|
-
{renderCardTitle(headlineSmallVersion, title, align)}
|
|
49
|
-
{renderDescription(description, align)}
|
|
50
|
-
{renderItems(items, isDotted, version)}
|
|
51
|
-
{renderAdditionalDescription(additionalDescription, align)}
|
|
52
|
-
{renderImage(icon, isImageFullWidth, isTopPosition)}
|
|
53
|
-
</LinkWrapper>
|
|
54
|
-
{renderButtonsSection([button], {
|
|
55
|
-
className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
56
|
-
isVertical: isButtonFullWidth,
|
|
57
|
-
})}
|
|
58
|
-
</BlockWrapper>
|
|
59
|
-
);
|
|
60
|
-
},
|
|
61
|
-
);
|
|
62
|
-
|
|
63
|
-
const renderImage = (image?: Picture, isImageFullWidth?: boolean, isTopPosition?: boolean) => (
|
|
64
|
-
<div
|
|
65
|
-
className={style(
|
|
66
|
-
'flex gap-y-lg justify-center',
|
|
67
|
-
isImageFullWidth ? 'min-w-full h-full' : '',
|
|
68
|
-
isTopPosition ? 'order-first' : 'order-last',
|
|
69
|
-
)}
|
|
70
|
-
>
|
|
71
|
-
{image?.src ? <Img image={image} /> : null}
|
|
72
|
-
{image?.icon ? (
|
|
73
|
-
<Img
|
|
74
|
-
className={style(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full')}
|
|
75
|
-
image={image}
|
|
76
|
-
/>
|
|
77
|
-
) : null}
|
|
78
|
-
</div>
|
|
79
|
-
);
|
|
80
|
-
|
|
81
|
-
const renderCardTitle = (headlineSmallVersion: string, title?: string, align?: TextAlign) =>
|
|
82
|
-
title ? (
|
|
83
|
-
<Text align={align} size={HEADLINE_SMALL_VERSION[headlineSmallVersion]}>
|
|
84
|
-
{title}
|
|
85
|
-
</Text>
|
|
86
|
-
) : null;
|
|
87
|
-
|
|
88
|
-
const renderDescription = (description?: string, align?: TextAlign) =>
|
|
89
|
-
description ? (
|
|
90
|
-
<Paragraph align={align} size="text-l">
|
|
91
|
-
{description}
|
|
92
|
-
</Paragraph>
|
|
93
|
-
) : null;
|
|
94
|
-
|
|
95
|
-
const renderAdditionalDescription = (additionalDescription?: string, align?: TextAlign) =>
|
|
96
|
-
additionalDescription ? (
|
|
97
|
-
<Text
|
|
98
|
-
size="text-m"
|
|
99
|
-
font="font-light"
|
|
100
|
-
color="text-secondary-text group-data-secondary:text-white/80"
|
|
101
|
-
align={align}
|
|
102
|
-
>
|
|
103
|
-
{additionalDescription}
|
|
104
|
-
</Text>
|
|
105
|
-
) : null;
|
|
106
|
-
|
|
107
|
-
const renderItems = (items: ListProps[], isDotted: boolean, version: BlockVersion = 'primary') =>
|
|
108
|
-
items?.length ? (
|
|
109
|
-
<List
|
|
110
|
-
className={style('text-s', version === 'primary' ? '!text-secondary-text' : '')}
|
|
111
|
-
items={items.filter((item) => item?.text).map((item) => item.text as string)}
|
|
112
|
-
isDotted={isDotted}
|
|
113
|
-
listItemSize="S"
|
|
114
|
-
/>
|
|
115
|
-
) : null;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"content": {
|
|
3
|
-
"additionalDescription": {
|
|
4
|
-
"ui:field": "hidden"
|
|
5
|
-
},
|
|
6
|
-
"icon": {
|
|
7
|
-
"ui:field": "picture"
|
|
8
|
-
},
|
|
9
|
-
"button": {
|
|
10
|
-
"href": {
|
|
11
|
-
"ui:field": "attachmentHref"
|
|
12
|
-
},
|
|
13
|
-
"icon": {
|
|
14
|
-
"ui:field": "icon"
|
|
15
|
-
},
|
|
16
|
-
"iconRight": {
|
|
17
|
-
"ui:field": "icon"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import {
|
|
3
|
-
type AdditionalDescriptionProps,
|
|
4
|
-
type AlignProps,
|
|
5
|
-
type HeadlineSmallProps,
|
|
6
|
-
} from '../../model/HeadlineType';
|
|
7
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
8
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
9
|
-
import { type IconProps } from '../../model/Picture';
|
|
10
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @title Элемент списка
|
|
14
|
-
*/
|
|
15
|
-
export interface ListProps {
|
|
16
|
-
/** @title Текст */
|
|
17
|
-
text?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @title Карточка продуктовой карусели
|
|
22
|
-
*/
|
|
23
|
-
export type CarouselProductCardContent = UniBlockContent &
|
|
24
|
-
HeadlineSmallProps &
|
|
25
|
-
AdditionalDescriptionProps &
|
|
26
|
-
IconProps &
|
|
27
|
-
BulletsProps &
|
|
28
|
-
LinkCommonProps &
|
|
29
|
-
AlignProps & {
|
|
30
|
-
/** @title Список */
|
|
31
|
-
items?: ListProps[];
|
|
32
|
-
/** @title Изображение на всю ширину */
|
|
33
|
-
isImageFullWidth?: boolean;
|
|
34
|
-
/** @title Картинка сверху над текстом */
|
|
35
|
-
isTopPosition?: boolean;
|
|
36
|
-
/** @title Кнопка по всей ширине */
|
|
37
|
-
isButtonFullWidth?: boolean;
|
|
38
|
-
button?: ButtonContent;
|
|
39
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"content": {
|
|
3
|
-
"richVersion": "striped",
|
|
4
|
-
"__html": "<h4>Заголовок4</h4><p><br></p><table><thead><tr><th><p>Заголовок 1-1</p></th><th><p>Заголовок 1-2</p></th></tr></thead><tbody><tr><td><p>Описание 1-1</p></td><td><p>Описание 1-2</p></td></tr><tr><td><p>Описание 2-1</p></td><td><p>Описание 2-2</p></td></tr><tr><td><p>Описание 3-1<br></p></td><td><p>Описание 3-2<br></p></td></tr><tr><td><p>Описание 4-1<br></p></td><td><p>Описание 4-2<br></p></td></tr></tbody></table></li>"
|
|
5
|
-
}
|
|
6
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import '../../setup-fixture';
|
|
2
|
-
|
|
3
|
-
import { CarouselRichTextCard } from './CarouselRichTextCard';
|
|
4
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
5
|
-
|
|
6
|
-
export const RICH_CARD: CarouselRichTextCardContent = {
|
|
7
|
-
__html:
|
|
8
|
-
'<h4>Заголовок 4</h4><p><br></p>' +
|
|
9
|
-
'<table>' +
|
|
10
|
-
'<thead><tr><th><p>Эмитент</p></th><th><p>Код</p></th></tr></thead>' +
|
|
11
|
-
'<tbody>' +
|
|
12
|
-
'<tr><td><p>ПАО «Полюс»</p></td><td><p>PLZL</p></td></tr>' +
|
|
13
|
-
'<tr><td><p>Полиметалл Интернэшнл плс</p></td><td><p>POLY</p></td></tr>' +
|
|
14
|
-
'<tr><td><p>ПАО «ГМК «Норильский никель»<br></p></td><td><p>GMKN<br></p></td></tr>' +
|
|
15
|
-
'<tr><td><p>ПАО «Лензолото»<br></p></td><td><p>LNZL<br></p></td></tr>' +
|
|
16
|
-
'</tbody>' +
|
|
17
|
-
'</table>',
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
default: (
|
|
22
|
-
<div className="container grid grid-cols-12">
|
|
23
|
-
<CarouselRichTextCard className="col-span-4" {...RICH_CARD} />
|
|
24
|
-
</div>
|
|
25
|
-
),
|
|
26
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
-
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
5
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
6
|
-
|
|
7
|
-
export interface CarouselRichTextCardProps extends CarouselRichTextCardContent, UniBlockProps {}
|
|
8
|
-
|
|
9
|
-
export const CarouselRichTextCard = JSX<CarouselRichTextCardProps>(
|
|
10
|
-
({ className = '', __html, richVersion = 'striped', ...rest }) => (
|
|
11
|
-
<BlockWrapper className={className} {...rest}>
|
|
12
|
-
<RichText __html={__html} richVersion={richVersion} />
|
|
13
|
-
</BlockWrapper>
|
|
14
|
-
),
|
|
15
|
-
);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @title Карточка c форматированным вводом
|
|
6
|
-
*/
|
|
7
|
-
export type CarouselRichTextCardContent = UniBlockContent & RichTextProps;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Text } from '../../ui-kit/Text/Text';
|
|
2
|
-
|
|
3
|
-
export const renderLunchHour = (lunchHour: string) => {
|
|
4
|
-
const hasLunch = /\d+/gi.test(lunchHour);
|
|
5
|
-
|
|
6
|
-
return hasLunch ? (
|
|
7
|
-
<div className="flex flex-row w-full pb-2xs">
|
|
8
|
-
<div className="pr-s">
|
|
9
|
-
<Text size="text-l" color="text-error">
|
|
10
|
-
Перерыв
|
|
11
|
-
</Text>
|
|
12
|
-
</div>
|
|
13
|
-
<div>
|
|
14
|
-
<Text size="text-l" color="text-error">
|
|
15
|
-
{lunchHour}
|
|
16
|
-
</Text>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
) : (
|
|
20
|
-
<div className="items-center w-full pb-2xs">
|
|
21
|
-
<div>
|
|
22
|
-
<Text size="text-m" color="text-primary-main" font="font-light">
|
|
23
|
-
{lunchHour}
|
|
24
|
-
</Text>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
);
|
|
28
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"content": {
|
|
3
|
-
"title": "Блок с картинкой",
|
|
4
|
-
"description": "Описание",
|
|
5
|
-
"headlineVersion": "M",
|
|
6
|
-
"align": "text-center",
|
|
7
|
-
"image": {
|
|
8
|
-
"format": "webp",
|
|
9
|
-
"size": {
|
|
10
|
-
"width": 400,
|
|
11
|
-
"height": 300
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"version": "primary",
|
|
15
|
-
"benefits": [
|
|
16
|
-
{
|
|
17
|
-
"type": "default",
|
|
18
|
-
"label": "Преимущество №1",
|
|
19
|
-
"icon": {
|
|
20
|
-
"format": "webp",
|
|
21
|
-
"icon": "ShieldTickIcon"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "default",
|
|
26
|
-
"label": "Преимущество №2",
|
|
27
|
-
"icon": {
|
|
28
|
-
"format": "webp",
|
|
29
|
-
"icon": "ShieldTickIcon"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"sum": 500000,
|
|
34
|
-
"monthLimit": 25000,
|
|
35
|
-
"imageOptions": {
|
|
36
|
-
"directionRight": false,
|
|
37
|
-
"imageAlign": "center"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { type Picture } from '../../model/Picture';
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { PictureText } from './PictureText';
|
|
4
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
5
|
-
|
|
6
|
-
const imageInsurance: Picture = {
|
|
7
|
-
src: 'insurance.png',
|
|
8
|
-
format: 'webp',
|
|
9
|
-
alt: 'Страховые риски и продукты',
|
|
10
|
-
size: {
|
|
11
|
-
width: 335,
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const imageMonitor: Picture = {
|
|
16
|
-
src: 'monitor.png',
|
|
17
|
-
format: 'webp',
|
|
18
|
-
alt: 'Управление несколькими счетами',
|
|
19
|
-
size: {
|
|
20
|
-
width: 420,
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
export const PICTURE_TEXT: PictureTextContent = {
|
|
24
|
-
title: 'Страховые риски и продукты',
|
|
25
|
-
description: 'Покрываемые риски программы «Страхование от потери работы»',
|
|
26
|
-
benefits: [
|
|
27
|
-
{
|
|
28
|
-
type: 'default',
|
|
29
|
-
label: 'Кредит по одному документу',
|
|
30
|
-
description: 'До 300 тыс ₽ по упрощённой процедуре получения кредита',
|
|
31
|
-
icon: { icon: 'DocIcon' },
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
type: 'default',
|
|
35
|
-
label: 'Кредит на общих условиях',
|
|
36
|
-
description: 'До 5 млн ₽ на общих условиях получения кредита',
|
|
37
|
-
icon: { icon: 'DocIcon', iconVersion: 'white' },
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export const INSURANCE_TEXT: PictureTextContent = {
|
|
43
|
-
title: 'Страховые риски и продукты',
|
|
44
|
-
description: 'Покрываемые риски программы «Защита вас и ваших близких»',
|
|
45
|
-
benefits: [
|
|
46
|
-
{
|
|
47
|
-
type: 'default',
|
|
48
|
-
label: 'Телесное повреждение',
|
|
49
|
-
icon: { icon: 'ShieldTickIcon' },
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
type: 'default',
|
|
53
|
-
label: 'Госпитализация застрахованного',
|
|
54
|
-
description: 'Описание',
|
|
55
|
-
icon: { icon: 'ShieldTickIcon' },
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
type: 'default',
|
|
59
|
-
label: 'Сокращение численности работников организации и другой текст для теста длинны текста',
|
|
60
|
-
icon: { icon: 'ShieldTickIcon' },
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
type: 'default',
|
|
64
|
-
label: 'Смерть застрахованного',
|
|
65
|
-
icon: { icon: 'ShieldTickIcon' },
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
image: imageInsurance,
|
|
69
|
-
sum: 500000,
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export const BENEFITS_HTML_TEXT: PictureTextContent = {
|
|
73
|
-
title: '',
|
|
74
|
-
benefits: [
|
|
75
|
-
{
|
|
76
|
-
type: 'rte',
|
|
77
|
-
__html:
|
|
78
|
-
'<p class="h3">Управление несколькими счетами</p><p>Контролируйте баланс, пересылайте реквизиты контрагентам и установите любимый счёт для регулярных платежей</p>',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
type: 'rte',
|
|
82
|
-
__html:
|
|
83
|
-
'<p class="h3">Управление несколькими счетами</p><p>Контролируйте баланс, пересылайте реквизиты контрагентам и установите любимый счёт для регулярных платежей</p>',
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
|
|
87
|
-
image: imageMonitor,
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export default {
|
|
91
|
-
default: (
|
|
92
|
-
<div className="container grid grid-cols-12">
|
|
93
|
-
<PictureText className="col-span-12" {...PICTURE_TEXT} />
|
|
94
|
-
</div>
|
|
95
|
-
),
|
|
96
|
-
secondary: (
|
|
97
|
-
<div className="container grid grid-cols-12">
|
|
98
|
-
<PictureText className="col-span-12" {...PICTURE_TEXT} version="secondary" />
|
|
99
|
-
</div>
|
|
100
|
-
),
|
|
101
|
-
'insurance sum': (
|
|
102
|
-
<div className="container grid grid-cols-12">
|
|
103
|
-
<PictureText className="col-span-12" {...INSURANCE_TEXT} />
|
|
104
|
-
</div>
|
|
105
|
-
),
|
|
106
|
-
'insurance monthPay': (
|
|
107
|
-
<div className="container grid grid-cols-12">
|
|
108
|
-
<PictureText className="col-span-12" {...INSURANCE_TEXT} monthLimit={25000} />
|
|
109
|
-
</div>
|
|
110
|
-
),
|
|
111
|
-
'benefits as html': (
|
|
112
|
-
<div className="container grid grid-cols-12">
|
|
113
|
-
<PictureText className="col-span-12" {...BENEFITS_HTML_TEXT} />
|
|
114
|
-
</div>
|
|
115
|
-
),
|
|
116
|
-
};
|