@redneckz/wildless-cms-uni-blocks 0.12.8 → 0.12.9
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +48 -36
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/bundle/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/bundle/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/bundle/components/Footer/findIconByHref.d.ts +2 -0
- package/bundle/components/Footer/iconsMap.d.ts +7 -0
- package/bundle/model/HeadlineType.d.ts +5 -4
- package/bundle/ui-kit/Icon/IconProps.d.ts +3 -2
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegion.js +1 -1
- package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -5
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/dist/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/dist/components/BenefitsBlock/defaultIconSize.js +4 -0
- package/dist/components/BenefitsBlock/defaultIconSize.js.map +1 -0
- package/dist/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
- package/dist/components/BenefitsBlock/defaultIconSize.mobile.js +4 -0
- package/dist/components/BenefitsBlock/defaultIconSize.mobile.js.map +1 -0
- package/dist/components/Blocks.mobile.js +3 -1
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -2
- package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +7 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +2 -33
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/findIconByHref.d.ts +2 -0
- package/dist/components/Footer/findIconByHref.js +6 -0
- package/dist/components/Footer/findIconByHref.js.map +1 -0
- package/dist/components/Footer/iconsMap.d.ts +7 -0
- package/dist/components/Footer/iconsMap.js +35 -0
- package/dist/components/Footer/iconsMap.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.js +1 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +3 -3
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/model/HeadlineType.d.ts +5 -4
- package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +3 -2
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/dist/ui-kit/Icon/RoundedIcon.js +9 -6
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.js +0 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +10 -0
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +0 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderContacts.d.ts +0 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.d.ts +0 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +0 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegion.d.ts +0 -1
- package/lib/components/ApplicationForm/renderRegion.js +1 -1
- package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +0 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +0 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +0 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -5
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/lib/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/lib/components/BenefitsBlock/defaultIconSize.js +2 -0
- package/lib/components/BenefitsBlock/defaultIconSize.js.map +1 -0
- package/lib/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
- package/lib/components/BenefitsBlock/defaultIconSize.mobile.js +2 -0
- package/lib/components/BenefitsBlock/defaultIconSize.mobile.js.map +1 -0
- package/lib/components/Blocks.mobile.js +3 -1
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -2
- package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +7 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +2 -33
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/findIconByHref.d.ts +2 -0
- package/lib/components/Footer/findIconByHref.js +3 -0
- package/lib/components/Footer/findIconByHref.js.map +1 -0
- package/lib/components/Footer/iconsMap.d.ts +7 -0
- package/lib/components/Footer/iconsMap.js +33 -0
- package/lib/components/Footer/iconsMap.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +0 -1
- package/lib/components/RollupItem/RollupItem.js +1 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +3 -3
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/model/HeadlineType.d.ts +5 -4
- package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +3 -2
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/lib/ui-kit/Icon/RoundedIcon.js +9 -6
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.js +0 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +950 -492
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/mobile/bundle/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/mobile/bundle/components/Footer/findIconByHref.d.ts +2 -0
- package/mobile/bundle/components/Footer/iconsMap.d.ts +7 -0
- package/mobile/bundle/model/HeadlineType.d.ts +5 -4
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +3 -2
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -5
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/mobile/dist/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/mobile/dist/components/BenefitsBlock/defaultIconSize.js +4 -0
- package/mobile/dist/components/BenefitsBlock/defaultIconSize.js.map +1 -0
- package/mobile/dist/components/Blocks.js +3 -1
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -2
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +7 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +2 -33
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/findIconByHref.d.ts +2 -0
- package/mobile/dist/components/Footer/findIconByHref.js +6 -0
- package/mobile/dist/components/Footer/findIconByHref.js.map +1 -0
- package/mobile/dist/components/Footer/iconsMap.d.ts +7 -0
- package/mobile/dist/components/Footer/iconsMap.js +35 -0
- package/mobile/dist/components/Footer/iconsMap.js.map +1 -0
- package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +3 -3
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/model/HeadlineType.d.ts +5 -4
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +3 -2
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +9 -6
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js +0 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -5
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
- package/mobile/lib/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
- package/mobile/lib/components/BenefitsBlock/defaultIconSize.js +2 -0
- package/mobile/lib/components/BenefitsBlock/defaultIconSize.js.map +1 -0
- package/mobile/lib/components/Blocks.js +3 -1
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -2
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +7 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +2 -33
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/findIconByHref.d.ts +2 -0
- package/mobile/lib/components/Footer/findIconByHref.js +3 -0
- package/mobile/lib/components/Footer/findIconByHref.js.map +1 -0
- package/mobile/lib/components/Footer/iconsMap.d.ts +7 -0
- package/mobile/lib/components/Footer/iconsMap.js +33 -0
- package/mobile/lib/components/Footer/iconsMap.js.map +1 -0
- package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +3 -3
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/model/HeadlineType.d.ts +5 -4
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +3 -2
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +9 -6
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js +0 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +3 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +5 -5
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +13 -5
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +7 -9
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +4 -1
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -6
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +15 -19
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -0
- package/mobile/src/components/BenefitsBlock/defaultIconSize.tsx +1 -0
- package/mobile/src/components/Blocks.ts +3 -1
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +2 -2
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -4
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +2 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -1
- package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -2
- package/mobile/src/components/Footer/Footer.tsx +19 -8
- package/mobile/src/components/Footer/MediaButton.tsx +2 -39
- package/mobile/src/components/Footer/findIconByHref.ts +4 -0
- package/mobile/src/components/Footer/iconsMap.ts +40 -0
- package/mobile/src/components/RollupItem/RollupItem.tsx +2 -3
- package/mobile/src/components/TextBlock/TextBlock.tsx +12 -5
- package/mobile/src/model/HeadlineType.ts +6 -5
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +3 -3
- package/mobile/src/ui-kit/Icon/IconProps.ts +3 -2
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -7
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +0 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +44 -0
- package/src/components/ApplicationForm/ApplicationForm.tsx +3 -1
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +3 -3
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +5 -5
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +13 -5
- package/src/components/ApplicationForm/renderRegion.tsx +7 -9
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
- package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
- package/src/components/ApplicationForm/renderSubmitButton.tsx +4 -1
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -6
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.mobile.tsx +27 -20
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +43 -127
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +15 -19
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -0
- package/src/components/BenefitsBlock/defaultIconSize.mobile.tsx +1 -0
- package/src/components/BenefitsBlock/defaultIconSize.tsx +1 -0
- package/src/components/Blocks.mobile.ts +3 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.mobile.tsx +1 -1
- package/src/components/BonusBenefitsBlock/renderBonusBenefits.mobile.tsx +2 -2
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -4
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +2 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -1
- package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -2
- package/src/components/Footer/Footer.mobile.tsx +19 -8
- package/src/components/Footer/MediaButton.tsx +2 -39
- package/src/components/Footer/findIconByHref.ts +4 -0
- package/src/components/Footer/iconsMap.ts +40 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +0 -14
- package/src/components/RollupItem/RollupItem.tsx +2 -3
- package/src/components/TextBlock/TextBlock.tsx +12 -5
- package/src/model/HeadlineType.ts +6 -5
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +3 -3
- package/src/ui-kit/Icon/IconProps.ts +3 -2
- package/src/ui-kit/Icon/RoundedIcon.tsx +18 -7
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/TopItem/TopItem.tsx +0 -1
- package/tailwind.config.cjs +0 -16
- package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
- package/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/bundle/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
- package/bundle/components/RollupItem/labelSize.d.ts +0 -1
- package/bundle/components/RollupItem/labelSize.mobile.d.ts +0 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
- package/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -4
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
- package/dist/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/dist/components/CarouselTariffsCard/descriptionSize.js +0 -4
- package/dist/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js +0 -4
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js.map +0 -1
- package/dist/components/RollupItem/labelSize.d.ts +0 -1
- package/dist/components/RollupItem/labelSize.js +0 -4
- package/dist/components/RollupItem/labelSize.js.map +0 -1
- package/dist/components/RollupItem/labelSize.mobile.d.ts +0 -1
- package/dist/components/RollupItem/labelSize.mobile.js +0 -4
- package/dist/components/RollupItem/labelSize.mobile.js.map +0 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
- package/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -2
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
- package/lib/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/descriptionSize.js +0 -2
- package/lib/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js +0 -2
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js.map +0 -1
- package/lib/components/RollupItem/labelSize.d.ts +0 -1
- package/lib/components/RollupItem/labelSize.js +0 -2
- package/lib/components/RollupItem/labelSize.js.map +0 -1
- package/lib/components/RollupItem/labelSize.mobile.d.ts +0 -1
- package/lib/components/RollupItem/labelSize.mobile.js +0 -2
- package/lib/components/RollupItem/labelSize.mobile.js.map +0 -1
- package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/mobile/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/mobile/bundle/components/RollupItem/labelSize.d.ts +0 -1
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js +0 -4
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
- package/mobile/dist/components/RollupItem/labelSize.d.ts +0 -1
- package/mobile/dist/components/RollupItem/labelSize.js +0 -4
- package/mobile/dist/components/RollupItem/labelSize.js.map +0 -1
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js +0 -2
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
- package/mobile/lib/components/RollupItem/labelSize.d.ts +0 -1
- package/mobile/lib/components/RollupItem/labelSize.js +0 -2
- package/mobile/lib/components/RollupItem/labelSize.js.map +0 -1
- package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
- package/mobile/src/components/CarouselTariffsCard/descriptionSize.tsx +0 -1
- package/mobile/src/components/RollupItem/labelSize.tsx +0 -1
- package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +0 -1
- package/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
- package/src/components/CarouselTariffsCard/descriptionSize.mobile.tsx +0 -1
- package/src/components/CarouselTariffsCard/descriptionSize.tsx +0 -1
- package/src/components/RollupItem/labelSize.mobile.tsx +0 -1
- package/src/components/RollupItem/labelSize.tsx +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useSWRResource } from '../../hooks/useSWRResource';
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import { LinkCommonProps } from '../../model/LinkProps';
|
|
4
5
|
import { projectSettings } from '../../ProjectSettings';
|
|
5
6
|
import type { SitemapData } from '../../services/sitemap/SitemapData';
|
|
6
7
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
@@ -8,6 +9,7 @@ import { Button } from '../../ui-kit/Button/Button';
|
|
|
8
9
|
import { LinkList } from '../../ui-kit/LinkList/LinkList';
|
|
9
10
|
import { RollupItem } from '../RollupItem/RollupItem';
|
|
10
11
|
import { Contacts } from './Contacts';
|
|
12
|
+
import { findIconByHref } from './findIconByHref';
|
|
11
13
|
import type { FooterContent } from './FooterContent';
|
|
12
14
|
import type { FooterDataProps } from './FooterDataProps';
|
|
13
15
|
import { HorizontalNavigation } from './HorizontalNavigation';
|
|
@@ -20,7 +22,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
|
|
|
20
22
|
const fallback = rest.options?.page?.fallback;
|
|
21
23
|
|
|
22
24
|
const sitemap = useSWRResource<SitemapData>(projectSettings.SITEMAP || 'sitemap', fallback);
|
|
23
|
-
const { relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } =
|
|
25
|
+
const { relatedEnterprises, contacts, socialMedia, mobileApps, horizontalNavigationTitle } =
|
|
24
26
|
useSWRResource<FooterDataProps>(projectSettings.FOOTER || 'footer', fallback);
|
|
25
27
|
|
|
26
28
|
return (
|
|
@@ -34,13 +36,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
|
|
|
34
36
|
</div>
|
|
35
37
|
<Contacts className="overflow-hidden" items={contacts} />
|
|
36
38
|
<SocialMedia className="mb-4" media={socialMedia} />
|
|
37
|
-
|
|
38
|
-
className="w-full mb-4"
|
|
39
|
-
text="Google Play"
|
|
40
|
-
version="secondary"
|
|
41
|
-
href="/"
|
|
42
|
-
target="_blank"
|
|
43
|
-
/>
|
|
39
|
+
{mobileApps?.map(renderButton)}
|
|
44
40
|
<HorizontalNavigation
|
|
45
41
|
className="pt-4 pb-7 border-y border-main-divider"
|
|
46
42
|
title={horizontalNavigationTitle}
|
|
@@ -50,3 +46,18 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
|
|
|
50
46
|
</BlockWrapper>
|
|
51
47
|
);
|
|
52
48
|
});
|
|
49
|
+
|
|
50
|
+
const renderButton = ({ href = '/' }: LinkCommonProps, i: number) => {
|
|
51
|
+
const { label } = findIconByHref(href);
|
|
52
|
+
|
|
53
|
+
return (
|
|
54
|
+
<Button
|
|
55
|
+
key={String(i)}
|
|
56
|
+
className="w-full mb-4"
|
|
57
|
+
text={label}
|
|
58
|
+
version="secondary"
|
|
59
|
+
href={href}
|
|
60
|
+
target="_blank"
|
|
61
|
+
/>
|
|
62
|
+
);
|
|
63
|
+
};
|
|
@@ -5,43 +5,7 @@ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
6
|
import { style } from '../../utils/style';
|
|
7
7
|
import { buttonStylesWithText } from './buttonStylesWithText';
|
|
8
|
-
|
|
9
|
-
const ICONS_MAP: Array<{
|
|
10
|
-
origins: string[];
|
|
11
|
-
iconMapped: Picture;
|
|
12
|
-
label: string;
|
|
13
|
-
}> = [
|
|
14
|
-
{
|
|
15
|
-
origins: ['t.me', 'telegram.org'],
|
|
16
|
-
iconMapped: { icon: 'TelegramIcon' },
|
|
17
|
-
label: 'Телеграм',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
origins: ['vk.com'],
|
|
21
|
-
iconMapped: { icon: 'VKIcon' },
|
|
22
|
-
label: 'ВКонтакте',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
origins: ['ok.ru'],
|
|
26
|
-
iconMapped: { icon: 'OkIcon' },
|
|
27
|
-
label: 'Одноклассники',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
origins: ['apps.apple.com'],
|
|
31
|
-
iconMapped: { icon: 'AppleIcon' },
|
|
32
|
-
label: 'App Store',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
origins: ['play.google.com'],
|
|
36
|
-
iconMapped: { icon: 'PlayMarketIcon' },
|
|
37
|
-
label: 'Google Play',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
origins: ['youtube.com'],
|
|
41
|
-
iconMapped: { icon: 'YoutubeIcon' },
|
|
42
|
-
label: 'Youtube',
|
|
43
|
-
},
|
|
44
|
-
];
|
|
8
|
+
import { findIconByHref } from './findIconByHref';
|
|
45
9
|
|
|
46
10
|
export type ButtonSize = 'default' | 'small';
|
|
47
11
|
|
|
@@ -53,8 +17,7 @@ export const MediaButton = JSX<MediaButtonProps>(
|
|
|
53
17
|
({ buttonSize = 'default', rounded = false, icon, ...rest }) => {
|
|
54
18
|
const { href, version, text = '' } = rest;
|
|
55
19
|
|
|
56
|
-
const { iconMapped, label } =
|
|
57
|
-
ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
20
|
+
const { iconMapped, label } = findIconByHref(href);
|
|
58
21
|
|
|
59
22
|
const iconCustom = getFilteredIcon(icon) ?? iconMapped;
|
|
60
23
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LabelProps } from '../../model/HeadlineType';
|
|
2
|
+
import { Picture } from '../../model/Picture';
|
|
3
|
+
|
|
4
|
+
export type IconsMapItem = LabelProps & {
|
|
5
|
+
origins?: string[];
|
|
6
|
+
iconMapped?: Picture;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const ICONS_MAP: Array<IconsMapItem> = [
|
|
10
|
+
{
|
|
11
|
+
origins: ['t.me', 'telegram.org'],
|
|
12
|
+
iconMapped: { icon: 'TelegramIcon' },
|
|
13
|
+
label: 'Телеграм',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
origins: ['vk.com'],
|
|
17
|
+
iconMapped: { icon: 'VKIcon' },
|
|
18
|
+
label: 'ВКонтакте',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
origins: ['ok.ru'],
|
|
22
|
+
iconMapped: { icon: 'OkIcon' },
|
|
23
|
+
label: 'Одноклассники',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
origins: ['apps.apple.com'],
|
|
27
|
+
iconMapped: { icon: 'AppleIcon' },
|
|
28
|
+
label: 'App Store',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
origins: ['play.google.com'],
|
|
32
|
+
iconMapped: { icon: 'PlayMarketIcon' },
|
|
33
|
+
label: 'Google Play',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
origins: ['youtube.com'],
|
|
37
|
+
iconMapped: { icon: 'YoutubeIcon' },
|
|
38
|
+
label: 'Youtube',
|
|
39
|
+
},
|
|
40
|
+
];
|
|
@@ -52,18 +52,4 @@ export default {
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
),
|
|
55
|
-
labelIconSecondary: (
|
|
56
|
-
<div>
|
|
57
|
-
<div className="list-none m-0 p-0">
|
|
58
|
-
<RollupItem
|
|
59
|
-
label="RollupItem label 1"
|
|
60
|
-
labelIcon={labelIcon}
|
|
61
|
-
labelIconBgVersion="secondary-light"
|
|
62
|
-
isExpanded={true}
|
|
63
|
-
block={ROLLUP_ITEM}
|
|
64
|
-
options={options}
|
|
65
|
-
/>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
),
|
|
69
55
|
};
|
|
@@ -14,7 +14,6 @@ import { Text } from '../../ui-kit/Text/Text';
|
|
|
14
14
|
import { style } from '../../utils/style';
|
|
15
15
|
import { foldableSectionStyles } from './foldableSectionStyles';
|
|
16
16
|
import { getIconName } from './getIconName';
|
|
17
|
-
import { labelSize } from './labelSize';
|
|
18
17
|
import { renderRoundedIcon } from './renderRoundedIcon';
|
|
19
18
|
import { rollupIconVersion } from './rollupIconVersion';
|
|
20
19
|
import type { RollupItemContent } from './RollupItemContent';
|
|
@@ -130,10 +129,10 @@ const renderPrimaryFoldButton = ({
|
|
|
130
129
|
)}
|
|
131
130
|
onClick={onToggle}
|
|
132
131
|
>
|
|
133
|
-
<div className="flex items-center group-hover/button:text-primary-main">
|
|
132
|
+
<div className="flex items-center group-hover/button:text-primary-main gap-3">
|
|
134
133
|
{renderRoundedIcon(labelIcon, labelIconBgVersion)}
|
|
135
134
|
{label ? (
|
|
136
|
-
<Text size=
|
|
135
|
+
<Text size="text-h6" font="font-normal">
|
|
137
136
|
{label}
|
|
138
137
|
</Text>
|
|
139
138
|
) : null}
|
|
@@ -14,16 +14,19 @@ export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
|
|
|
14
14
|
export const TextBlock = JSX<TextBlockProps>(
|
|
15
15
|
({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (
|
|
16
16
|
<BlockWrapper
|
|
17
|
-
className={style(
|
|
17
|
+
className={style(
|
|
18
|
+
'flex gap-3 sm:gap-4 bg-white group-data-secondary:bg-primary-main/10',
|
|
19
|
+
className,
|
|
20
|
+
)}
|
|
18
21
|
{...rest}
|
|
19
22
|
>
|
|
20
23
|
{iconVersion === 'small' ? <div className="mt-1">{renderIcon()}</div> : null}
|
|
21
24
|
{iconVersion === 'big' ? renderImage(image) : null}
|
|
22
|
-
<div className="flex flex-col w-fit gap-
|
|
25
|
+
<div className="flex flex-col w-fit gap-1 sm:gap-2">
|
|
23
26
|
{title ? (
|
|
24
27
|
<Text
|
|
25
28
|
size="text-l"
|
|
26
|
-
font="font-
|
|
29
|
+
font="font-normal"
|
|
27
30
|
color="text-primary-text group-data-secondary:text-white"
|
|
28
31
|
>
|
|
29
32
|
{title}
|
|
@@ -46,10 +49,14 @@ const renderIcon = () => (
|
|
|
46
49
|
);
|
|
47
50
|
|
|
48
51
|
const renderImage = (image?: Picture) =>
|
|
49
|
-
image?.src ? <Img className="h-fit" image={image} /> : null;
|
|
52
|
+
image?.src ? <Img className="h-fit flex-shrink-0" image={image} /> : null;
|
|
50
53
|
|
|
51
54
|
const renderDescription = (description: string) => (
|
|
52
|
-
<Paragraph
|
|
55
|
+
<Paragraph
|
|
56
|
+
size="text-s"
|
|
57
|
+
font="font-light"
|
|
58
|
+
color="text-secondary-text group-data-secondary:text-white"
|
|
59
|
+
>
|
|
53
60
|
{description}
|
|
54
61
|
</Paragraph>
|
|
55
62
|
);
|
|
@@ -36,16 +36,17 @@ export type LabelProps = {
|
|
|
36
36
|
label?: string;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
export type AlignProps = {
|
|
40
|
+
/** @title Выравнивание заголовка */
|
|
41
|
+
align?: TextAlign;
|
|
42
|
+
};
|
|
43
|
+
|
|
39
44
|
export type AdditionalDescriptionProps = {
|
|
40
45
|
/** @title Дополнительное описание */
|
|
41
46
|
additionalDescription?: string;
|
|
42
47
|
};
|
|
43
48
|
|
|
44
|
-
export type HeadlineCommonProps = TitleProps &
|
|
45
|
-
DescriptionProps & {
|
|
46
|
-
/** @title Выравнивание заголовка */
|
|
47
|
-
align?: TextAlign;
|
|
48
|
-
};
|
|
49
|
+
export type HeadlineCommonProps = TitleProps & DescriptionProps & AlignProps & {};
|
|
49
50
|
|
|
50
51
|
export type HeadlineProps = HeadlineCommonProps & {
|
|
51
52
|
headlineVersion?: HeadlineVersion;
|
|
@@ -37,8 +37,8 @@ export const CookiePopup = JSX<CookiePopupProps>(({ termLink, personalDataPolicy
|
|
|
37
37
|
|
|
38
38
|
return isOpened ? (
|
|
39
39
|
<div className="container z-40 fixed bottom-0 left-0 right-0 pointer-events-none">
|
|
40
|
-
<div className="bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
|
|
41
|
-
<div className="flex-1">
|
|
40
|
+
<div className="bg-white m-5 p-5 sm:m-6 sm:p-6 rounded-md flex sm:items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
|
|
41
|
+
<div className="sm:flex-1">
|
|
42
42
|
<Paragraph size="text-s" font="font-light" color="text-primary-text">
|
|
43
43
|
АО «Россельхозбанк» использует
|
|
44
44
|
<LinkWrapper
|
|
@@ -61,7 +61,7 @@ export const CookiePopup = JSX<CookiePopupProps>(({ termLink, personalDataPolicy
|
|
|
61
61
|
персональных данных».
|
|
62
62
|
</Paragraph>
|
|
63
63
|
</div>
|
|
64
|
-
<div className="w-24 flex justify-end">
|
|
64
|
+
<div className="ml-3 sm:ml-0 w-24 flex justify-end">
|
|
65
65
|
<CloseButton className="bg-main-gray rounded-md" onClick={handleClose} />
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
@@ -6,12 +6,13 @@ export type { IconName };
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Цвет фона иконки
|
|
8
8
|
* @enumNames [
|
|
9
|
+
* "По умолчанию",
|
|
9
10
|
* "Основной",
|
|
10
11
|
* "Второстепенный",
|
|
11
|
-
* "
|
|
12
|
+
* "Прозрачный"
|
|
12
13
|
* ]
|
|
13
14
|
*/
|
|
14
|
-
export type IconBgVersion = 'primary' | 'secondary' | '
|
|
15
|
+
export type IconBgVersion = '' | 'primary' | 'secondary' | 'opacity';
|
|
15
16
|
|
|
16
17
|
export interface IconCompatibilityFields {
|
|
17
18
|
/** @title Альтернативный текст (alt) */
|
|
@@ -6,22 +6,33 @@ import type { IconBgVersion } from './IconProps';
|
|
|
6
6
|
|
|
7
7
|
export interface RoundedIconProps extends Picture {
|
|
8
8
|
iconBgVersion?: IconBgVersion;
|
|
9
|
+
defaultIconSize?: number;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
const iconBgStyles: Record<IconBgVersion, string> = {
|
|
13
|
+
'': 'bg-main-divider group-data-secondary:bg-white/30',
|
|
12
14
|
primary: 'bg-main-divider',
|
|
13
|
-
secondary: 'bg-
|
|
14
|
-
|
|
15
|
+
secondary: 'bg-secondary-light',
|
|
16
|
+
opacity: 'bg-white/30',
|
|
15
17
|
};
|
|
16
18
|
|
|
17
19
|
export const RoundedIcon = JSX<RoundedIconProps>(
|
|
18
|
-
({ iconBgVersion = 'primary', size, icon, ...rest }) => {
|
|
19
|
-
const
|
|
20
|
-
const height = String(size?.height || 24);
|
|
20
|
+
({ className, defaultIconSize = 44, iconBgVersion = 'primary', size, icon, ...rest }) => {
|
|
21
|
+
const widthAndHeight = String(size?.width || defaultIconSize);
|
|
21
22
|
|
|
22
23
|
return icon ? (
|
|
23
|
-
<div
|
|
24
|
-
|
|
24
|
+
<div
|
|
25
|
+
style={{
|
|
26
|
+
width: `${widthAndHeight}px`,
|
|
27
|
+
height: `${widthAndHeight}px`,
|
|
28
|
+
}}
|
|
29
|
+
className={style(
|
|
30
|
+
'rounded-icon object-fit flex justify-center items-center ',
|
|
31
|
+
iconBgStyles[iconBgVersion],
|
|
32
|
+
className,
|
|
33
|
+
)}
|
|
34
|
+
>
|
|
35
|
+
<Icon {...rest} width="54%" height="54%" name={icon} />
|
|
25
36
|
</div>
|
|
26
37
|
) : null;
|
|
27
38
|
},
|
|
@@ -58,7 +58,7 @@ export const Select = JSX<SelectProps>(
|
|
|
58
58
|
<div className={style('relative', isOpen ? 'z-20' : 'z-10')}>
|
|
59
59
|
<div
|
|
60
60
|
className={style(
|
|
61
|
-
'text-l flex justify-between items-center
|
|
61
|
+
'text-l flex justify-between items-center text-primary-text cursor-pointer',
|
|
62
62
|
getBorderStyle(isBorder, valid),
|
|
63
63
|
)}
|
|
64
64
|
onClick={toggle}
|
|
@@ -16,7 +16,6 @@ export interface TopItemProps extends TopItemContent {
|
|
|
16
16
|
|
|
17
17
|
export const TopItem = JSX<TopItemProps>(({ className = '', active, flat, children, ...rest }) => {
|
|
18
18
|
const link = useLink({ isRemote: true });
|
|
19
|
-
console.log('link', link);
|
|
20
19
|
const { href, target, text, onClick } = link(rest);
|
|
21
20
|
|
|
22
21
|
return (
|
package/tailwind.config.cjs
CHANGED
|
@@ -195,14 +195,6 @@ module.exports = {
|
|
|
195
195
|
fontWeight: '400',
|
|
196
196
|
},
|
|
197
197
|
],
|
|
198
|
-
's-light': [
|
|
199
|
-
'0.875rem',
|
|
200
|
-
{
|
|
201
|
-
// 14px 20px
|
|
202
|
-
lineHeight: '1.25rem',
|
|
203
|
-
fontWeight: '300',
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
198
|
xs: [
|
|
207
199
|
'0.75rem',
|
|
208
200
|
{
|
|
@@ -211,14 +203,6 @@ module.exports = {
|
|
|
211
203
|
fontWeight: '400',
|
|
212
204
|
},
|
|
213
205
|
],
|
|
214
|
-
'xs-light': [
|
|
215
|
-
'0.75rem',
|
|
216
|
-
{
|
|
217
|
-
// 12px 18px
|
|
218
|
-
lineHeight: '1.125rem',
|
|
219
|
-
fontWeight: '300',
|
|
220
|
-
},
|
|
221
|
-
],
|
|
222
206
|
},
|
|
223
207
|
colors: {
|
|
224
208
|
main: {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,iCAAiC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"descriptionSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"descriptionSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-h6";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const descriptionSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const labelSize = "text-l";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const benefitImageStyles = "w-56 h-56 min-w-56";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}
|