@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
|
@@ -12,7 +12,7 @@ import { HorizontalNavigation } from './HorizontalNavigation';
|
|
|
12
12
|
import { SocialMedia } from './SocialMedia';
|
|
13
13
|
import { TextInformation } from './TextInformation';
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const LEFT_COL_WIDTH = 'w-52';
|
|
16
16
|
|
|
17
17
|
export const Footer = JSX<FooterProps>(({ className, sitemap, ...rest }) => {
|
|
18
18
|
const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } =
|
|
@@ -23,15 +23,13 @@ export const Footer = JSX<FooterProps>(({ className, sitemap, ...rest }) => {
|
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<BlockWrapper tag="footer" className={className} {...rest}>
|
|
26
|
-
<div className="flex items-stretch gap-
|
|
27
|
-
<Logo className={
|
|
26
|
+
<div className="flex items-stretch gap-3xl pb-3xl ">
|
|
27
|
+
<Logo className={LEFT_COL_WIDTH} logo={logo} />
|
|
28
28
|
<SearchBar className="grow" />
|
|
29
29
|
</div>
|
|
30
|
-
<div className="flex items-stretch gap-6xl
|
|
31
|
-
<div
|
|
32
|
-
|
|
33
|
-
>
|
|
34
|
-
<Contacts items={contacts} hasButton />
|
|
30
|
+
<div className="flex items-stretch gap-6xl">
|
|
31
|
+
<div className={`${LEFT_COL_WIDTH} flex flex-col shrink-0 overflow-hidden space-y-xl`}>
|
|
32
|
+
<Contacts items={contacts} />
|
|
35
33
|
<SocialMedia media={socialMedia}>Соцсети</SocialMedia>
|
|
36
34
|
<SocialMedia media={mobileApps}>Мобильное приложение</SocialMedia>
|
|
37
35
|
</div>
|
|
@@ -9,11 +9,18 @@ export interface HorizontalNavigationProps extends FooterLink, TitleProps {}
|
|
|
9
9
|
export const HorizontalNavigation = JSX<HorizontalNavigationProps>(
|
|
10
10
|
({ title, links, className = '' }) => (
|
|
11
11
|
<div className={className}>
|
|
12
|
-
<Text size="text-
|
|
12
|
+
<Text size="text-l" font="font-normal">
|
|
13
|
+
{title}
|
|
14
|
+
</Text>
|
|
13
15
|
{links?.length ? (
|
|
14
|
-
<div className="flex flex-col gap-
|
|
16
|
+
<div className="flex flex-col gap-lg mt-lg">
|
|
15
17
|
{links.map((_, i) => (
|
|
16
|
-
<HorizontalNavigationLink
|
|
18
|
+
<HorizontalNavigationLink
|
|
19
|
+
className="text-l font-light"
|
|
20
|
+
key={String(i)}
|
|
21
|
+
index={i}
|
|
22
|
+
{..._}
|
|
23
|
+
/>
|
|
17
24
|
))}
|
|
18
25
|
</div>
|
|
19
26
|
) : null}
|
|
@@ -9,7 +9,7 @@ export const HorizontalNavigation = JSX<HorizontalNavigationProps>(({ className
|
|
|
9
9
|
return (
|
|
10
10
|
<div className={className}>
|
|
11
11
|
{links?.length ? (
|
|
12
|
-
<div className="flex justify-between items-center gap-
|
|
12
|
+
<div className="flex justify-between items-center gap-lg py-lg border-solid border-x-0 border-y border-y-main-divider">
|
|
13
13
|
{links.map((_, i) => (
|
|
14
14
|
<HorizontalNavigationLink
|
|
15
15
|
key={String(i)}
|
|
@@ -7,7 +7,7 @@ import { style } from '../../utils/style';
|
|
|
7
7
|
import { buttonStylesWithText } from './buttonStylesWithText';
|
|
8
8
|
import { findIconByHref } from './findIconByHref';
|
|
9
9
|
|
|
10
|
-
export type ButtonSize = 'default' | '
|
|
10
|
+
export type ButtonSize = 'default' | 'stretched';
|
|
11
11
|
|
|
12
12
|
interface MediaButtonProps extends ButtonProps, IconProps {
|
|
13
13
|
buttonSize?: ButtonSize;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text';
|
|
4
|
-
import type { ButtonSize } from './MediaButton';
|
|
5
4
|
import { MediaButton } from './MediaButton';
|
|
5
|
+
import type { ButtonSize } from './MediaButton';
|
|
6
|
+
import { style } from '../../utils/style';
|
|
6
7
|
|
|
7
8
|
export interface SocialMediaProps {
|
|
8
9
|
className?: string;
|
|
@@ -12,15 +13,17 @@ export interface SocialMediaProps {
|
|
|
12
13
|
|
|
13
14
|
export const SocialMedia = JSX<SocialMediaProps>(
|
|
14
15
|
({ className = '', media, children, buttonSize }) => (
|
|
15
|
-
<div className="
|
|
16
|
-
|
|
16
|
+
<div className="flex flex-col sm:flex-col-reverse gap-xs">
|
|
17
|
+
{children ? (
|
|
18
|
+
<Text size="text-s" font="font-light" color="text-secondary-text">
|
|
19
|
+
{children}
|
|
20
|
+
</Text>
|
|
21
|
+
) : null}
|
|
22
|
+
<div className={style('flex gap-xs', className)}>
|
|
17
23
|
{media?.map((_, index) => (
|
|
18
24
|
<MediaButton key={String(index)} buttonSize={buttonSize} {..._} />
|
|
19
25
|
))}
|
|
20
26
|
</div>
|
|
21
|
-
<Text size="text-s" font="font-light" color="text-secondary-text">
|
|
22
|
-
{children}
|
|
23
|
-
</Text>
|
|
24
27
|
</div>
|
|
25
28
|
),
|
|
26
29
|
);
|
|
@@ -5,13 +5,13 @@ import { TextInformationLink } from './TextInformationLink';
|
|
|
5
5
|
|
|
6
6
|
export const TextInformation = JSX<FooterLink>(({ className = '', links }) => (
|
|
7
7
|
<div className={className}>
|
|
8
|
-
<div className="pt-
|
|
8
|
+
<div className="pt-lg">
|
|
9
9
|
<Text size="text-xs" font="font-light" color="text-secondary-text">
|
|
10
10
|
{`\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.`}
|
|
11
11
|
</Text>
|
|
12
12
|
</div>
|
|
13
13
|
{links?.length ? (
|
|
14
|
-
<div className="flex justify-start items-start gap-
|
|
14
|
+
<div className="flex flex-col sm:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg">
|
|
15
15
|
{links.map((_, i) => (
|
|
16
16
|
<TextInformationLink key={String(i)} index={i} {..._} />
|
|
17
17
|
))}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { style } from '../../utils/style';
|
|
2
2
|
import { ButtonSize } from './MediaButton';
|
|
3
|
-
|
|
4
|
-
const buttonSizeStyles = {
|
|
5
|
-
default: 'w-14 h-14',
|
|
6
|
-
small: 'w-12 h-12',
|
|
7
|
-
};
|
|
3
|
+
import { buttonSizeStyles } from './buttonSizeStyles';
|
|
8
4
|
|
|
9
5
|
export const buttonStylesWithText = (text: string, buttonSize: ButtonSize) =>
|
|
10
6
|
text
|
|
@@ -2,7 +2,7 @@ import { Text } from '../../ui-kit/Text/Text';
|
|
|
2
2
|
|
|
3
3
|
export const renderDescription = (description?: string) =>
|
|
4
4
|
description ? (
|
|
5
|
-
<div className="mb-
|
|
5
|
+
<div className="mb-lg pt-3xs">
|
|
6
6
|
<Text size="text-xl" font-weight="light">
|
|
7
7
|
{description}
|
|
8
8
|
</Text>
|
|
@@ -127,7 +127,7 @@ const renderPrimaryFoldButton = ({
|
|
|
127
127
|
return (
|
|
128
128
|
<button
|
|
129
129
|
className={style(
|
|
130
|
-
'border-none bg-transparent
|
|
130
|
+
'border-none bg-transparent flex justify-between items-center w-full group/button',
|
|
131
131
|
labelIcon?.icon ? 'py-xs' : 'py-lg',
|
|
132
132
|
)}
|
|
133
133
|
onClick={onToggle}
|
|
@@ -2,9 +2,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useLink } from '../../hooks/useLink';
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
4
|
import { Img } from '../Img/Img';
|
|
5
|
+
import { style } from '../../utils/style';
|
|
5
6
|
|
|
6
|
-
const LINK_CLASS_NAME = `absolute border border-primary-main
|
|
7
|
-
text-l font-light bg-white text-primary-text flex
|
|
7
|
+
const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
|
|
8
|
+
text-l font-light bg-white text-primary-text flex
|
|
8
9
|
justify-between items-center group-hover/link:text-primary-main z-10`;
|
|
9
10
|
|
|
10
11
|
const LINK_BORDER_CLASS_NAME =
|
|
@@ -20,12 +21,24 @@ export const LinkButton = JSX<LinkButtonProps>(
|
|
|
20
21
|
const adjustedProps = link({ href, target });
|
|
21
22
|
|
|
22
23
|
return text ? (
|
|
23
|
-
<div
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
<div
|
|
25
|
+
className={style(
|
|
26
|
+
'flex max-w-sm relative group/link cursor-pointer w-64 h-16 sm:w-[47%] sm:h-20 sm:mr-m',
|
|
27
|
+
className,
|
|
28
|
+
)}
|
|
29
|
+
>
|
|
30
|
+
<a
|
|
31
|
+
className={style(
|
|
32
|
+
LINK_CLASS_NAME,
|
|
33
|
+
'rounded-md sm:rounded-none w-full h-12 sm:ml-s sm:w-full sm:h-auto',
|
|
34
|
+
)}
|
|
35
|
+
role="link"
|
|
36
|
+
{...adjustedProps}
|
|
37
|
+
>
|
|
38
|
+
<div className="p-0.5">{text}</div>
|
|
39
|
+
<div className="w-6 h-6 hidden sm:block">
|
|
27
40
|
<Img
|
|
28
|
-
className="w-4 h-4
|
|
41
|
+
className="w-4 h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100"
|
|
29
42
|
image={{ icon: 'ArrowRightIcon', iconVersion: 'black' }}
|
|
30
43
|
imageClassName="group-hover/link:text-primary-main"
|
|
31
44
|
width="24"
|
|
@@ -33,8 +46,8 @@ export const LinkButton = JSX<LinkButtonProps>(
|
|
|
33
46
|
/>
|
|
34
47
|
</div>
|
|
35
48
|
</a>
|
|
36
|
-
<div className={
|
|
37
|
-
<div className={
|
|
49
|
+
<div className={LINK_BORDER_CLASS_NAME + ' hidden sm:block mx-1.5 mt-1.5'} />
|
|
50
|
+
<div className={LINK_BORDER_CLASS_NAME + ' hidden sm:block mt-3 mr-3'} />
|
|
38
51
|
</div>
|
|
39
52
|
) : null;
|
|
40
53
|
},
|
|
@@ -6,7 +6,7 @@ import { linkListStyles } from './linkListStyles';
|
|
|
6
6
|
|
|
7
7
|
export const LinkList = JSX<LinkListProps>(({ className = '', items }) =>
|
|
8
8
|
items?.length ? (
|
|
9
|
-
<ul className={style('flex flex-col
|
|
9
|
+
<ul className={style('flex flex-col', linkListStyles, className)}>
|
|
10
10
|
{items.map(renderLinkListItem)}
|
|
11
11
|
</ul>
|
|
12
12
|
) : null,
|
|
@@ -16,8 +16,8 @@ const renderLinkListItem = (item: LinkProps, i: number) => {
|
|
|
16
16
|
const { text, ...linkProps } = item;
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
|
-
<li key={`list_item_${String(i)}`} className="list-none">
|
|
20
|
-
<a className="hover:text-primary-main
|
|
19
|
+
<li key={`list_item_${String(i)}`} className="list-none my-xs">
|
|
20
|
+
<a className="hover:text-primary-main font-light" role="link" {...linkProps}>
|
|
21
21
|
{text ? text : null}
|
|
22
22
|
</a>
|
|
23
23
|
</li>
|
package/tailwind.config.cjs
CHANGED
|
@@ -37,11 +37,11 @@ module.exports = {
|
|
|
37
37
|
'4xl': '2.25rem', // 36px
|
|
38
38
|
'3xl': '2rem', // 32px
|
|
39
39
|
'2xl': '1.75rem', // 28px
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
xl: '1.5rem', // 24px
|
|
41
|
+
lg: '1.25rem', // 20px
|
|
42
|
+
m: '1rem', // 16px
|
|
43
|
+
s: '0.75rem', // 12px
|
|
44
|
+
xs: '0.5rem', // 8px
|
|
45
45
|
'2xs': '0.25rem', // 4px
|
|
46
46
|
'3xs': '0.125rem', // 2px
|
|
47
47
|
},
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.SocialMedia = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const MediaButton_1 = require("./MediaButton");
|
|
6
|
-
exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start ${className}`, children: media?.map((_, index) => ((0, jsx_runtime_1.jsx)(MediaButton_1.MediaButton, { ..._ }, String(index)))) })));
|
|
7
|
-
//# sourceMappingURL=SocialMedia.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+CAA4C;AAO/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,gCAAK,SAAS,EAAE,wCAAwC,SAAS,EAAE,YAChE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,yBAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.buttonStylesWithText = void 0;
|
|
3
|
-
const style_1 = require("../../utils/style");
|
|
4
|
-
const buttonSizeStyles = {
|
|
5
|
-
default: 'w-24 h-14',
|
|
6
|
-
small: 'w-12 h-12',
|
|
7
|
-
};
|
|
8
|
-
const buttonStylesWithText = (text, buttonSize) => text
|
|
9
|
-
? ''
|
|
10
|
-
: (0, style_1.style)('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
|
|
11
|
-
exports.buttonStylesWithText = buttonStylesWithText;
|
|
12
|
-
//# sourceMappingURL=buttonStylesWithText.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonStylesWithText.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonStylesWithText.mobile.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAG1C,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEK,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,UAAsB,EAAE,EAAE,CAC3E,IAAI;IACF,CAAC,CAAC,EAAE;IACJ,CAAC,CAAC,IAAA,aAAK,EACH,yDAAyD,EACzD,gBAAgB,CAAC,UAAU,CAAC,CAC7B,CAAC;AANK,QAAA,oBAAoB,wBAMzB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { MediaButton } from './MediaButton.js';
|
|
4
|
-
export const SocialMedia = JSX(({ className = '', media }) => (_jsx("div", { className: `flex gap-2 items-start justify-start ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { ..._ }, String(index)))) })));
|
|
5
|
-
//# sourceMappingURL=SocialMedia.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,cAAK,SAAS,EAAE,wCAAwC,SAAS,EAAE,YAChE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { style } from '../../utils/style.js';
|
|
2
|
-
const buttonSizeStyles = {
|
|
3
|
-
default: 'w-24 h-14',
|
|
4
|
-
small: 'w-12 h-12',
|
|
5
|
-
};
|
|
6
|
-
export const buttonStylesWithText = (text, buttonSize) => text
|
|
7
|
-
? ''
|
|
8
|
-
: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
|
|
9
|
-
//# sourceMappingURL=buttonStylesWithText.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonStylesWithText.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonStylesWithText.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,gBAAgB,GAAG;IACvB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,UAAsB,EAAE,EAAE,CAC3E,IAAI;IACF,CAAC,CAAC,EAAE;IACJ,CAAC,CAAC,KAAK,CACH,yDAAyD,EACzD,gBAAgB,CAAC,UAAU,CAAC,CAC7B,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { MediaButton } from './MediaButton';
|
|
4
|
-
|
|
5
|
-
export interface SocialMediaProps {
|
|
6
|
-
className?: string;
|
|
7
|
-
media?: Omit<LinkProps, 'text'>[];
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const SocialMedia = JSX<SocialMediaProps>(({ className = '', media }) => (
|
|
11
|
-
<div className={`flex gap-2 items-start justify-start ${className}`}>
|
|
12
|
-
{media?.map((_, index) => (
|
|
13
|
-
<MediaButton key={String(index)} {..._} />
|
|
14
|
-
))}
|
|
15
|
-
</div>
|
|
16
|
-
));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { style } from '../../utils/style';
|
|
2
|
-
import { ButtonSize } from './MediaButton';
|
|
3
|
-
|
|
4
|
-
const buttonSizeStyles = {
|
|
5
|
-
default: 'w-24 h-14',
|
|
6
|
-
small: 'w-12 h-12',
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export const buttonStylesWithText = (text: string, buttonSize: ButtonSize) =>
|
|
10
|
-
text
|
|
11
|
-
? ''
|
|
12
|
-
: style(
|
|
13
|
-
'group/media flex items-center justify-center box-border',
|
|
14
|
-
buttonSizeStyles[buttonSize],
|
|
15
|
-
);
|