@redneckz/wildless-cms-uni-blocks 0.12.12 → 0.12.13
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.12.10.js +59 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +90 -66
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/bundle/components/Carousel/Carousel.d.ts +1 -1
- package/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/bundle/components/Footer/Contacts.d.ts +0 -1
- package/bundle/components/Footer/MediaButton.d.ts +1 -1
- package/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/bundle/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
- package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +16 -14
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/Bonus/Bonus.js +10 -13
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselScrollButtons.js +2 -2
- package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/dist/components/CarouselLinks/CarouselLinks.js +7 -8
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +0 -1
- package/dist/components/Footer/Contacts.js +3 -4
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +4 -3
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/MediaButton.d.ts +1 -1
- package/dist/components/Footer/SocialMedia.js +2 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/dist/components/Footer/buttonSizeStyles.js +7 -0
- package/dist/components/Footer/buttonSizeStyles.js.map +1 -0
- package/dist/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
- package/dist/components/Footer/buttonSizeStyles.mobile.js +7 -0
- package/dist/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
- package/dist/components/Footer/buttonStylesWithText.js +2 -5
- package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
- package/dist/components/MobileAppTile/renderDescription.js +1 -1
- package/dist/components/MobileAppTile/renderDescription.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +1 -1
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
- package/dist/ui-kit/LinkButton/LinkButton.js +4 -3
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/dist/ui-kit/LinkList/LinkList.js +2 -2
- package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.js +16 -14
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/Bonus/Bonus.fixture.mobile.d.ts +8 -0
- package/lib/components/Bonus/Bonus.js +10 -13
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselScrollButtons.js +2 -2
- package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +6 -0
- package/lib/components/CarouselLinks/CarouselLinks.js +7 -8
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +0 -1
- package/lib/components/Footer/Contacts.js +3 -4
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +4 -3
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/MediaButton.d.ts +1 -1
- package/lib/components/Footer/SocialMedia.js +2 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/lib/components/Footer/buttonSizeStyles.js +5 -0
- package/lib/components/Footer/buttonSizeStyles.js.map +1 -0
- package/lib/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
- package/lib/components/Footer/buttonSizeStyles.mobile.js +5 -0
- package/lib/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
- package/lib/components/Footer/buttonStylesWithText.js +1 -4
- package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
- package/lib/components/MobileAppTile/renderDescription.js +1 -1
- package/lib/components/MobileAppTile/renderDescription.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +1 -1
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
- package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +6 -0
- package/lib/ui-kit/LinkButton/LinkButton.js +4 -3
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/lib/ui-kit/LinkList/LinkList.js +2 -2
- package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +65 -37
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/mobile/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/mobile/bundle/components/Footer/Contacts.d.ts +0 -1
- package/mobile/bundle/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -2
- package/mobile/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +16 -14
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +10 -13
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js +2 -2
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -8
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +0 -1
- package/mobile/dist/components/Footer/Contacts.js +3 -4
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +4 -3
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -2
- package/mobile/dist/components/Footer/SocialMedia.js +3 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/mobile/dist/components/Footer/buttonSizeStyles.js +7 -0
- package/mobile/dist/components/Footer/buttonSizeStyles.js.map +1 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js +2 -5
- package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
- package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +4 -3
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
- package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +16 -14
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +10 -13
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js +2 -2
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -8
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +0 -1
- package/mobile/lib/components/Footer/Contacts.js +3 -4
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +4 -3
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -2
- package/mobile/lib/components/Footer/SocialMedia.js +4 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
- package/mobile/lib/components/Footer/buttonSizeStyles.js +5 -0
- package/mobile/lib/components/Footer/buttonSizeStyles.js.map +1 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -4
- package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
- package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +4 -3
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
- package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
- package/mobile/src/common.css +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
- package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
- package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Bonus/Bonus.tsx +33 -28
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
- package/mobile/src/components/Carousel/Carousel.tsx +5 -3
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -3
- package/mobile/src/components/Footer/Contacts.tsx +15 -19
- package/mobile/src/components/Footer/Footer.tsx +27 -13
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +10 -3
- package/mobile/src/components/Footer/MediaButton.tsx +1 -1
- package/mobile/src/components/Footer/SocialMedia.tsx +22 -9
- package/mobile/src/components/Footer/TextInformation.tsx +2 -2
- package/mobile/src/components/Footer/buttonSizeStyles.ts +6 -0
- package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -5
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +1 -1
- package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
- package/mobile/src/ui-kit/LinkList/LinkList.tsx +3 -3
- package/package.json +1 -1
- package/src/common.css +1 -1
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +41 -7
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +41 -7
- package/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
- package/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
- package/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
- package/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Bonus/Bonus.fixture.mobile.tsx +72 -0
- package/src/components/Bonus/Bonus.tsx +33 -28
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
- package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
- package/src/components/Carousel/Carousel.tsx +5 -3
- package/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
- package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +34 -0
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +3 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
- package/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +3 -3
- package/src/components/Footer/Contacts.tsx +15 -19
- package/src/components/Footer/Footer.mobile.tsx +27 -13
- package/src/components/Footer/Footer.tsx +6 -8
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +10 -3
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/MediaButton.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +9 -6
- package/src/components/Footer/TextInformation.tsx +2 -2
- package/src/components/Footer/buttonSizeStyles.mobile.ts +6 -0
- package/src/components/Footer/buttonSizeStyles.ts +6 -0
- package/src/components/Footer/buttonStylesWithText.ts +1 -5
- package/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/src/components/RollupItem/RollupItem.tsx +1 -1
- package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
- package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +11 -0
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +1 -1
- package/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
- package/src/ui-kit/LinkList/LinkList.tsx +3 -3
- package/tailwind.config.cjs +5 -5
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -6
- package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
- package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -6
- package/dist/components/Footer/SocialMedia.mobile.js +0 -7
- package/dist/components/Footer/SocialMedia.mobile.js.map +0 -1
- package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
- package/dist/components/Footer/buttonStylesWithText.mobile.js +0 -12
- package/dist/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -6
- package/lib/components/Footer/SocialMedia.mobile.js +0 -5
- package/lib/components/Footer/SocialMedia.mobile.js.map +0 -1
- package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
- package/lib/components/Footer/buttonStylesWithText.mobile.js +0 -9
- package/lib/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
- package/src/components/Footer/SocialMedia.mobile.tsx +0 -16
- package/src/components/Footer/buttonStylesWithText.mobile.ts +0 -15
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export const description = 'v0.12.10';
|
|
2
|
+
|
|
3
|
+
export default (uniPath, content) => {
|
|
4
|
+
if (!content?.blocks) {
|
|
5
|
+
return content;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
for (const block of content.blocks) {
|
|
9
|
+
adjustApplicationForm(block);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
return { ...content };
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
function adjustApplicationForm(block) {
|
|
16
|
+
if (block.blocks) {
|
|
17
|
+
for (const childBlock of block.blocks) {
|
|
18
|
+
adjustApplicationForm(childBlock);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (block.type === 'ApplicationForm' && !block?.content?.formBlock) {
|
|
23
|
+
const blockContent = block?.content;
|
|
24
|
+
const tempFormBlock = {};
|
|
25
|
+
|
|
26
|
+
if (blockContent?.title) {
|
|
27
|
+
tempFormBlock.title = blockContent.title;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (blockContent?.button) {
|
|
31
|
+
tempFormBlock.button = blockContent.button;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (blockContent?.link) {
|
|
35
|
+
tempFormBlock.link = blockContent.link;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (blockContent?.typeForm) {
|
|
39
|
+
tempFormBlock.formType = getFormType(blockContent.typeForm);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
blockContent.formBlock = tempFormBlock;
|
|
43
|
+
|
|
44
|
+
Reflect.deleteProperty(blockContent, 'typeForm');
|
|
45
|
+
Reflect.deleteProperty(blockContent, 'title');
|
|
46
|
+
Reflect.deleteProperty(blockContent, 'button');
|
|
47
|
+
Reflect.deleteProperty(blockContent, 'link');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const FORM_TYPES_MAP = {
|
|
52
|
+
deposit: 'ApplicationFormDeposit',
|
|
53
|
+
credit: 'ApplicationFormCredit',
|
|
54
|
+
wed: 'ApplicationFormWed',
|
|
55
|
+
'business-card': 'ApplicationFormBusinessCard',
|
|
56
|
+
'acquiring-card': 'ApplicationFormAcquiring',
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
const getFormType = (typeForm) => FORM_TYPES_MAP[typeForm];
|