@redneckz/wildless-cms-uni-blocks 0.11.1 → 0.11.3
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.11.1.js +34 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +90 -64
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Header/Header.mobile.d.ts +2 -2
- package/bundle/components/Header/HeaderContent.d.ts +13 -1
- package/bundle/components/Header/HeaderTop.d.ts +6 -2
- package/bundle/components/PictureText/positionStyle.d.ts +1 -0
- package/bundle/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/bundle/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
- package/bundle/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
- package/bundle/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/cosmos-static/icons/ChevronLeft.svg +1 -0
- package/dist/components/BaseTile/BaseTile.js +2 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/Blocks.js +2 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +10 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.js +4 -0
- package/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
- package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +4 -5
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +9 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/Header/Header.mobile.d.ts +2 -2
- package/dist/components/Header/Header.mobile.js +3 -17
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +13 -1
- package/dist/components/Header/HeaderTop.d.ts +6 -2
- package/dist/components/Header/HeaderTop.js +15 -2
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +5 -11
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/positionStyle.d.ts +1 -0
- package/dist/components/PictureText/positionStyle.js +4 -0
- package/dist/components/PictureText/positionStyle.js.map +1 -0
- package/dist/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/dist/components/PictureText/positionStyle.mobile.js +4 -0
- package/dist/components/PictureText/positionStyle.mobile.js.map +1 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/dist/components/PictureText/styleInsuranceSum.js +4 -0
- package/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.js +4 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
- package/dist/components/PictureText/styleValueBlock.d.ts +2 -0
- package/dist/components/PictureText/styleValueBlock.js +5 -0
- package/dist/components/PictureText/styleValueBlock.js.map +1 -0
- package/dist/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/dist/components/PictureText/styleValueBlock.mobile.js +5 -0
- package/dist/components/PictureText/styleValueBlock.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js +13 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.js +14 -9
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/dist/components/RollupItem/renderRoundedIcon.js +5 -0
- package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +3 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +5 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Heading/headingTag.d.ts +2 -0
- package/dist/ui-kit/Heading/headingTag.js +5 -0
- package/dist/ui-kit/Heading/headingTag.js.map +1 -0
- package/dist/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/dist/ui-kit/Heading/headingTag.mobile.js +13 -0
- package/dist/ui-kit/Heading/headingTag.mobile.js.map +1 -0
- package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BaseTile/BaseTile.js +2 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/Blocks.js +2 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +10 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.js +2 -0
- package/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
- package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +4 -5
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +9 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/Header/Header.fixture.mobile.d.ts +2 -0
- package/lib/components/Header/Header.mobile.d.ts +2 -2
- package/lib/components/Header/Header.mobile.js +4 -18
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +13 -1
- package/lib/components/Header/HeaderTop.d.ts +6 -2
- package/lib/components/Header/HeaderTop.js +15 -2
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
- package/lib/components/PictureText/PictureText.js +5 -11
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/positionStyle.d.ts +1 -0
- package/lib/components/PictureText/positionStyle.js +2 -0
- package/lib/components/PictureText/positionStyle.js.map +1 -0
- package/lib/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/lib/components/PictureText/positionStyle.mobile.js +2 -0
- package/lib/components/PictureText/positionStyle.mobile.js.map +1 -0
- package/lib/components/PictureText/renderBenefit.d.ts +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/lib/components/PictureText/styleInsuranceSum.js +2 -0
- package/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.js +2 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
- package/lib/components/PictureText/styleValueBlock.d.ts +2 -0
- package/lib/components/PictureText/styleValueBlock.js +3 -0
- package/lib/components/PictureText/styleValueBlock.js.map +1 -0
- package/lib/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/lib/components/PictureText/styleValueBlock.mobile.js +3 -0
- package/lib/components/PictureText/styleValueBlock.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +7 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js +11 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +14 -9
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js +2 -0
- package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +3 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +5 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Heading/headingTag.d.ts +2 -0
- package/lib/ui-kit/Heading/headingTag.js +2 -0
- package/lib/ui-kit/Heading/headingTag.js.map +1 -0
- package/lib/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/lib/ui-kit/Heading/headingTag.mobile.js +10 -0
- package/lib/ui-kit/Heading/headingTag.mobile.js.map +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +532 -655
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Header/Header.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/bundle/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/Blocks.js +10 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
- package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +4 -5
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/Header/Header.d.ts +2 -2
- package/mobile/dist/components/Header/Header.js +3 -17
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/dist/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/dist/components/Header/HeaderTop.js +15 -2
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +5 -11
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/dist/components/PictureText/positionStyle.js +4 -0
- package/mobile/dist/components/PictureText/positionStyle.js.map +1 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.js +4 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/mobile/dist/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/dist/components/PictureText/styleValueBlock.js +5 -0
- package/mobile/dist/components/PictureText/styleValueBlock.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +4 -17
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +3 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +12 -11
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/dist/ui-kit/Heading/headingTag.js +13 -0
- package/mobile/dist/ui-kit/Heading/headingTag.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/Blocks.js +10 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
- package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +4 -5
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/Header/Header.d.ts +2 -2
- package/mobile/lib/components/Header/Header.js +4 -18
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/lib/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/lib/components/Header/HeaderTop.js +15 -2
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +5 -11
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/lib/components/PictureText/positionStyle.js +2 -0
- package/mobile/lib/components/PictureText/positionStyle.js.map +1 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.js +2 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/mobile/lib/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/lib/components/PictureText/styleValueBlock.js +3 -0
- package/mobile/lib/components/PictureText/styleValueBlock.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -18
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +3 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +12 -11
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/lib/ui-kit/Heading/headingTag.js +10 -0
- package/mobile/lib/ui-kit/Heading/headingTag.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +6 -3
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +10 -0
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/{src/components/ButtonBlock/ButtonBlock.tsx → mobile/src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +9 -3
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
- package/mobile/src/components/Footer/Contacts.tsx +20 -12
- package/mobile/src/components/Footer/FooterContent.ts +10 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/Header/Header.tsx +19 -50
- package/mobile/src/components/Header/HeaderContent.ts +15 -1
- package/mobile/src/components/Header/HeaderTop.tsx +62 -25
- package/mobile/src/components/Headline/headlineVersionStyles.ts +6 -6
- package/mobile/src/components/PictureText/PictureText.tsx +13 -27
- package/mobile/src/components/PictureText/positionStyle.tsx +1 -0
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
- package/mobile/src/components/PictureText/styleInsuranceSum.tsx +1 -0
- package/mobile/src/components/PictureText/styleValueBlock.tsx +2 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +18 -59
- package/mobile/src/components/RollupItem/RollupItem.tsx +25 -18
- package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/icons/ChevronLeft.svg +3 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
- package/mobile/src/ui-kit/Heading/Heading.tsx +17 -16
- package/mobile/src/ui-kit/Heading/headingTag.ts +12 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
- package/package.json +1 -1
- package/src/components/BaseTile/BaseTile.tsx +6 -3
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +10 -0
- package/src/components/Blocks.ts +2 -2
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
- package/{mobile/src/components/ButtonBlock/ButtonBlock.tsx → src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
- package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
- package/src/components/CardTransfer/CardTransfer.tsx +9 -3
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
- package/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
- package/src/components/CarouselCard/titleSize.tsx +1 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
- package/src/components/Footer/Contacts.tsx +20 -12
- package/src/components/Footer/FooterContent.ts +10 -1
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/Header/Header.fixture.mobile.tsx +4 -0
- package/src/components/Header/Header.mobile.tsx +19 -50
- package/src/components/Header/HeaderContent.ts +15 -1
- package/src/components/Header/HeaderTop.tsx +62 -25
- package/src/components/Headline/headlineVersionStyles.ts +6 -6
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
- package/src/components/PictureText/PictureText.tsx +13 -27
- package/src/components/PictureText/positionStyle.mobile.tsx +1 -0
- package/src/components/PictureText/positionStyle.tsx +1 -0
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
- package/src/components/PictureText/styleInsuranceSum.mobile.tsx +1 -0
- package/src/components/PictureText/styleInsuranceSum.tsx +1 -0
- package/src/components/PictureText/styleValueBlock.mobile.tsx +2 -0
- package/src/components/PictureText/styleValueBlock.tsx +2 -0
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +142 -0
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +34 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
- package/src/components/RollupItem/RollupItem.tsx +25 -18
- package/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
- package/src/components/RollupItem/renderRoundedIcon.tsx +4 -0
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/icons/ChevronLeft.svg +3 -0
- package/src/icons/IconName.ts +5 -1
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +6 -6
- package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
- package/src/ui-kit/Heading/Heading.tsx +8 -3
- package/src/ui-kit/Heading/headingTag.mobile.ts +12 -0
- package/src/ui-kit/Heading/headingTag.ts +3 -0
- package/src/ui-kit/Icon/IconProps.ts +9 -4
- package/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
- package/tailwind.config.cjs +10 -4
- package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/bundle/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/dist/ui-kit/Heading/Heading.mobile.js +0 -18
- package/dist/ui-kit/Heading/Heading.mobile.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/lib/ui-kit/Heading/Heading.mobile.js +0 -16
- package/lib/ui-kit/Heading/Heading.mobile.js.map +0 -1
- package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
- package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/ui-kit/Heading/Heading.mobile.tsx +0 -22
- /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ButtonsBlockContent } from './ButtonsBlockContent';
|
|
3
|
+
interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselCardContent } from './CarouselCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getCardWidth(className?: string, carouselVersion?: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleSize = "L";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleSize = "XS";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ContactGroup } from './FooterContent';
|
|
2
2
|
export interface ContactsProps {
|
|
3
3
|
className?: string;
|
|
4
|
-
items?:
|
|
4
|
+
items?: ContactGroup[];
|
|
5
5
|
hasButton?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const Contacts: import("@redneckz/uni-jsx").UNIComponent<ContactsProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
5
|
/**
|
|
6
6
|
* @title Тип контакта
|
|
7
7
|
* @enumNames [
|
|
@@ -18,6 +18,14 @@ export declare type ContactInfo = DescriptionProps & {
|
|
|
18
18
|
text?: string;
|
|
19
19
|
type?: ContactType;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @title Группа контактов
|
|
23
|
+
*/
|
|
24
|
+
export declare type ContactGroup = {
|
|
25
|
+
/** @title Имя */
|
|
26
|
+
title?: string;
|
|
27
|
+
items?: ContactInfo[];
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* @title Пункт подменю
|
|
23
31
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { LinkCommonProps, LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { SitemapData } from '../../services/sitemap/SitemapData';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ContactGroup, SubMenuItem } from './FooterContent';
|
|
5
5
|
export interface FooterDataProps extends SitemapData {
|
|
6
6
|
documents?: LinkProps[];
|
|
7
7
|
relatedEnterprises?: LinkProps[];
|
|
8
|
-
contacts?:
|
|
8
|
+
contacts?: ContactGroup[];
|
|
9
9
|
socialMedia?: LinkCommonProps[];
|
|
10
10
|
mobileApps?: LinkCommonProps[];
|
|
11
11
|
horizontalNavigationTitle?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { HeaderContent } from './HeaderContent';
|
|
3
|
-
export interface
|
|
3
|
+
export interface HeaderMobileProps extends HeaderContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Header: import("@redneckz/uni-jsx").UNIComponent<
|
|
5
|
+
export declare const Header: import("@redneckz/uni-jsx").UNIComponent<HeaderMobileProps, any, any>;
|
|
@@ -21,10 +21,22 @@ export declare type Logo = ImageContent & {
|
|
|
21
21
|
/** @title Текст логотипа */
|
|
22
22
|
title?: string;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @title Мобильный тип шапки
|
|
26
|
+
* @enumNames ["Не выбрано", "Название", "Кнопка возврата"]
|
|
27
|
+
*/
|
|
28
|
+
export declare type MobileHeaderType = 'none' | 'withTitle' | 'backwardButton';
|
|
29
|
+
export interface MobileHeaderProps {
|
|
30
|
+
mobileHeaderType?: MobileHeaderType;
|
|
31
|
+
/** @title Название (мобильная версия) */
|
|
32
|
+
mobileTitle?: string;
|
|
33
|
+
/** @title Кнопка возврата (мобильная версия) */
|
|
34
|
+
mobileBackwardButtonTitle?: string;
|
|
35
|
+
}
|
|
24
36
|
/**
|
|
25
37
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
26
38
|
*/
|
|
27
|
-
export interface HeaderContent {
|
|
39
|
+
export interface HeaderContent extends MobileHeaderProps {
|
|
28
40
|
/** @hidden */
|
|
29
41
|
showSubMenu?: boolean;
|
|
30
42
|
/** @hidden */
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LogoType } from '../../model/LogoType';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
+
import type { MobileHeaderProps, MobileHeaderType } from './HeaderContent';
|
|
5
|
+
export interface HeaderTopProps extends MobileHeaderProps {
|
|
5
6
|
bgColor?: BgColorVersion;
|
|
6
7
|
logo?: LogoType;
|
|
8
|
+
internetBankUrl?: string;
|
|
9
|
+
version?: BlockVersion;
|
|
10
|
+
mobileHeaderType?: MobileHeaderType;
|
|
7
11
|
}
|
|
8
12
|
export declare const HeaderTop: import("@redneckz/uni-jsx").UNIComponent<HeaderTopProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const positionStyle = "justify-center items-center gap-32";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const positionStyle = "justify-end flex-col-reverse gap-4";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleInsuranceSum = "bg-main-divider rounded-md px-5 py-4 gap-6";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleInsuranceSum = "flex-col gap-2";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
3
|
+
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ProductGallery: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryProps, any, any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
6
7
|
*/
|
|
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
9
10
|
isExpanded?: boolean;
|
|
10
11
|
/** @title Кнопка сверху */
|
|
11
12
|
isFoldButtonOnTop?: boolean;
|
|
12
|
-
labelIcon?:
|
|
13
|
+
labelIcon?: Picture;
|
|
14
|
+
labelIconBgVersion?: IconBgVersion;
|
|
13
15
|
};
|
|
@@ -27,6 +27,7 @@ export declare enum IconMap {
|
|
|
27
27
|
CardWithGemIcon = "CardWithGemIcon",
|
|
28
28
|
CarIcon = "CarIcon",
|
|
29
29
|
ChartSquareIcon = "ChartSquareIcon",
|
|
30
|
+
ChevronLeft = "ChevronLeft",
|
|
30
31
|
CinemaIcon = "CinemaIcon",
|
|
31
32
|
ClientIcon = "ClientIcon",
|
|
32
33
|
ClockIcon = "ClockIcon",
|
|
@@ -139,6 +140,7 @@ export declare enum IconTitleMap {
|
|
|
139
140
|
CardWithGemIcon = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438",
|
|
140
141
|
CarIcon = "\u041C\u0430\u0448\u0438\u043D\u0430",
|
|
141
142
|
ChartSquareIcon = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
|
|
143
|
+
ChevronLeft = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043F\u0440\u0430\u0432\u043E'",
|
|
142
144
|
CinemaIcon = "\u041A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440",
|
|
143
145
|
ClientIcon = "\u041A\u043B\u0438\u0435\u043D\u0442",
|
|
144
146
|
ClockIcon = "\u0427\u0430\u0441\u044B",
|
|
@@ -228,7 +230,7 @@ export declare enum IconTitleMap {
|
|
|
228
230
|
* @title Иконка
|
|
229
231
|
* @enumNames [
|
|
230
232
|
* "",
|
|
231
|
-
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Сумка', 'Банк', 'BriefcaseIcon', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Клиент', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
233
|
+
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Сумка', 'Банк', 'BriefcaseIcon', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Стрелка \'Вправо\'', 'Кинотеатр', 'Клиент', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
232
234
|
* ]
|
|
233
235
|
*/
|
|
234
|
-
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BagIcon' | 'BankIcon' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClientIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
236
|
+
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BagIcon' | 'BankIcon' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'ChevronLeft' | 'CinemaIcon' | 'ClientIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const borderRadius = "rounded-md";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-h6";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-l";
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { IconName } from '../../icons/IconName';
|
|
2
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
3
|
export type { IconName };
|
|
4
|
+
/**
|
|
5
|
+
* @title Цвет фона иконки
|
|
6
|
+
* @enumNames [
|
|
7
|
+
* "Основной",
|
|
8
|
+
* "Второстепенный",
|
|
9
|
+
* "Второстепенный светлый"
|
|
10
|
+
* ]
|
|
11
|
+
*/
|
|
4
12
|
export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
5
13
|
export interface IconCompatibilityFields {
|
|
6
14
|
/** @title Альтернативный текст (alt) */
|
|
@@ -18,6 +26,3 @@ export declare type IconProps = IconCompatibilityFields & {
|
|
|
18
26
|
name?: IconName;
|
|
19
27
|
iconVersion?: IconVersion;
|
|
20
28
|
};
|
|
21
|
-
export interface RoundedIconProps extends IconProps {
|
|
22
|
-
iconBgVersion?: IconBgVersion;
|
|
23
|
-
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IconBgVersion } from './IconProps';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
export interface RoundedIconProps extends Picture {
|
|
4
|
+
iconBgVersion?: IconBgVersion;
|
|
5
|
+
}
|
|
2
6
|
export declare const RoundedIcon: import("@redneckz/uni-jsx").UNIComponent<RoundedIconProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.707 6.293a1 1 0 0 1 0 1.414L10.414 12l4.293 4.293a1 1 0 0 1-1.414 1.414l-5-5a1 1 0 0 1 0-1.414l5-5a1 1 0 0 1 1.414 0Z" fill="currentColor"/></svg>
|
|
@@ -3,5 +3,6 @@ exports.BaseTile = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const style_1 = require("../../utils/style");
|
|
6
|
-
exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, title = '', insetTitle = '', buttons, leftImage, rightImage, backImage, children, }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative flex flex-col font-sans', className), children: [backImage ? (0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title, (0, jsx_runtime_1.jsxs)("div", { className: "grow relative flex flex-wrap
|
|
6
|
+
exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, title = '', insetTitle = '', buttons, leftImage, rightImage, backImage, children, }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative flex flex-col font-sans', className), children: [backImage ? (0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title, (0, jsx_runtime_1.jsxs)("div", { className: "grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8", children: [renderImageContainer(leftImage), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col gap-8', leftImage ? '' : 'grow'), children: [insetTitle, (0, jsx_runtime_1.jsx)("div", { className: "grow", children: children }), buttons] }), renderImageContainer(rightImage, { className: '-order-1 sm:order-1' })] })] })));
|
|
7
|
+
const renderImageContainer = (image, { className } = {}) => image ? (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex-none', className), children: image }) : null;
|
|
7
8
|
//# sourceMappingURL=BaseTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,6CAA0C;AAW7B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,KAAK,GAAG,EAAE,EACV,UAAU,GAAG,EAAE,EACf,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,QAAQ,GACT,EAAE,EAAE,CAAC,CACJ,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,kCAAkC,EAAE,SAAS,CAAC,aACjE,SAAS,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,+BAA+B,YAAE,SAAS,GAAO,CAAC,CAAC,CAAC,IAAI,EACnF,KAAK,EACN,iCAAK,SAAS,EAAC,iFAAiF,aAC7F,SAAS,
|
|
1
|
+
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,6CAA0C;AAW7B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,KAAK,GAAG,EAAE,EACV,UAAU,GAAG,EAAE,EACf,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,QAAQ,GACT,EAAE,EAAE,CAAC,CACJ,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,kCAAkC,EAAE,SAAS,CAAC,aACjE,SAAS,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,+BAA+B,YAAE,SAAS,GAAO,CAAC,CAAC,CAAC,IAAI,EACnF,KAAK,EACN,iCAAK,SAAS,EAAC,iFAAiF,aAC7F,oBAAoB,CAAC,SAAS,CAAC,EAChC,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAClE,UAAU,EACX,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EACrC,OAAO,IACJ,EACL,oBAAoB,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC,IACnE,IACF,CACP,CACF,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,KAAY,EAAE,EAAE,SAAS,KAA6B,EAAE,EAAE,EAAE,CACxF,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,WAAW,EAAE,SAAS,CAAC,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
8
8
|
exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-default flex flex-col items-center ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
|
|
9
9
|
const renderStep = (benefit, i) => {
|
|
10
10
|
const description = benefit.description;
|
|
11
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5 h-full", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
|
|
12
12
|
};
|
|
13
13
|
const renderDescription = (description) => {
|
|
14
14
|
const benefitType = description?.benefitType || null;
|
|
@@ -5,7 +5,7 @@ const BenefitsBlock_1 = require("./BenefitsBlock/BenefitsBlock");
|
|
|
5
5
|
const Bonus_1 = require("./Bonus/Bonus");
|
|
6
6
|
const BonusBenefitsBlock_1 = require("./BonusBenefitsBlock/BonusBenefitsBlock");
|
|
7
7
|
const BusinessBlock_1 = require("./BusinessBlock/BusinessBlock");
|
|
8
|
-
const
|
|
8
|
+
const ButtonsBlock_1 = require("./ButtonsBlock/ButtonsBlock");
|
|
9
9
|
const Calculator_1 = require("./Calculator/Calculator");
|
|
10
10
|
const CardTransfer_1 = require("./CardTransfer/CardTransfer");
|
|
11
11
|
const Carousel_1 = require("./Carousel/Carousel");
|
|
@@ -64,7 +64,7 @@ exports.Blocks = {
|
|
|
64
64
|
Bonus: Bonus_1.Bonus,
|
|
65
65
|
BonusBenefitsBlock: BonusBenefitsBlock_1.BonusBenefitsBlock,
|
|
66
66
|
BusinessBlock: BusinessBlock_1.BusinessBlock,
|
|
67
|
-
|
|
67
|
+
ButtonsBlock: ButtonsBlock_1.ButtonsBlock,
|
|
68
68
|
Calculator: Calculator_1.Calculator,
|
|
69
69
|
CardTransfer: CardTransfer_1.CardTransfer,
|
|
70
70
|
Carousel: Carousel_1.Carousel,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,+FAA4F;AAC5F,8DAA2D;AAC3D,mFAAgF;AAChF,6EAA0E;AAC1E,4FAAyF;AACzF,iEAA8D;AAC9D,mFAAgF;AAChF,sFAAmF;AACnF,wGAAqG;AACrG,sFAAmF;AACnF,mFAAgF;AAChF,uEAAoE;AACpE,iEAA8D;AAC9D,6EAA0E;AAC1E,wDAAqD;AACrD,gFAA6E;AAC7E,0EAAuE;AACvE,4CAAyC;AACzC,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,iEAA8D;AAC9D,gFAA6E;AAC7E,qDAAkD;AAClD,mFAAgF;AAChF,oEAAiE;AACjE,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,kGAA+F;AAC/F,iEAA8D;AAC9D,wDAAqD;AACrD,6EAA0E;AAC1E,wDAAqD;AACrD,yFAAsF;AACtF,sCAAmC;AACnC,8DAA2D;AAC3D,qDAAkD;AAClD,sCAAmC;AACnC,oEAAiE;AACjE,yCAAsC;AAEzB,QAAA,MAAM,GAAmB;IACpC,eAAe,EAAf,iCAAe;IACf,aAAa,EAAb,6BAAa;IACb,KAAK,EAAL,aAAK;IACL,kBAAkB,EAAlB,uCAAkB;IAClB,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,QAAQ,EAAR,mBAAQ;IACR,uBAAuB,EAAvB,iDAAuB;IACvB,YAAY,EAAZ,2BAAY;IACZ,mBAAmB,EAAnB,yCAAmB;IACnB,iBAAiB,EAAjB,qCAAiB;IACjB,sBAAsB,EAAtB,+CAAsB;IACtB,aAAa,EAAb,6BAAa;IACb,mBAAmB,EAAnB,yCAAmB;IACnB,oBAAoB,EAApB,2CAAoB;IACpB,0BAA0B,EAA1B,uDAA0B;IAC1B,oBAAoB,EAApB,2CAAoB;IACpB,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,gBAAgB,EAAhB,mCAAgB;IAChB,QAAQ,EAAR,mBAAQ;IACR,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;IACd,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,kBAAkB,EAAlB,uCAAkB;IAClB,SAAS,EAAT,qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,wBAAwB,EAAxB,mDAAwB;IACxB,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,qBAAqB,EAArB,6CAAqB;IACrB,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,cAAc,EAAd,+BAAc;IACd,KAAK,EAAL,aAAK;IACL,kBAAkB,EAAlB,uCAAkB;CACnB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.Blocks = void 0;
|
|
3
|
+
const ButtonsBlock_1 = require("./ButtonsBlock/ButtonsBlock");
|
|
4
|
+
const CardTransfer_1 = require("./CardTransfer/CardTransfer");
|
|
3
5
|
const Carousel_1 = require("./Carousel/Carousel");
|
|
6
|
+
const CarouselProgramsCard_1 = require("./CarouselProgramsCard/CarouselProgramsCard");
|
|
4
7
|
const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
|
|
5
8
|
const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
|
|
6
9
|
const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
|
|
@@ -10,8 +13,10 @@ const Headline_1 = require("./Headline/Headline");
|
|
|
10
13
|
const ImgBlock_1 = require("./ImgBlock/ImgBlock");
|
|
11
14
|
const LinkDocs_1 = require("./LinkDocs/LinkDocs");
|
|
12
15
|
const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
|
|
16
|
+
const PictureText_1 = require("./PictureText/PictureText");
|
|
13
17
|
const Placeholder_1 = require("./Placeholder/Placeholder");
|
|
14
18
|
const ProductBlock_1 = require("./ProductBlock/ProductBlock");
|
|
19
|
+
const ProductGallery_1 = require("./ProductGallery/ProductGallery");
|
|
15
20
|
const RichTextBlock_1 = require("./RichTextBlock/RichTextBlock");
|
|
16
21
|
const RollupItem_1 = require("./RollupItem/RollupItem");
|
|
17
22
|
const StepsBlock_1 = require("./StepsBlock/StepsBlock");
|
|
@@ -19,6 +24,8 @@ const TariffsTable_1 = require("./TariffsTable/TariffsTable");
|
|
|
19
24
|
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
20
25
|
const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
|
|
21
26
|
exports.Blocks = {
|
|
27
|
+
ButtonsBlock: ButtonsBlock_1.ButtonsBlock,
|
|
28
|
+
CardTransfer: CardTransfer_1.CardTransfer,
|
|
22
29
|
Carousel: Carousel_1.Carousel,
|
|
23
30
|
CarouselTariffsCard: CarouselTariffsCard_1.CarouselTariffsCard,
|
|
24
31
|
ComparisonTable: ComparisonTable_1.ComparisonTable,
|
|
@@ -28,6 +35,7 @@ exports.Blocks = {
|
|
|
28
35
|
ImgBlock: ImgBlock_1.ImgBlock,
|
|
29
36
|
LinkDocs: LinkDocs_1.LinkDocs,
|
|
30
37
|
MobileAppTile: MobileAppTile_1.MobileAppTile,
|
|
38
|
+
PictureText: PictureText_1.PictureText,
|
|
31
39
|
Placeholder: Placeholder_1.Placeholder,
|
|
32
40
|
ProductBlock: ProductBlock_1.ProductBlock,
|
|
33
41
|
StepsBlock: StepsBlock_1.StepsBlock,
|
|
@@ -37,5 +45,7 @@ exports.Blocks = {
|
|
|
37
45
|
RollupItem: RollupItem_1.RollupItem,
|
|
38
46
|
VerticalLayout: VerticalLayout_1.VerticalLayout,
|
|
39
47
|
CarouselRecommendationCard: CarouselRecommendationCard_1.CarouselRecommendationCard,
|
|
48
|
+
CarouselProgramsCard: CarouselProgramsCard_1.CarouselProgramsCard,
|
|
49
|
+
ProductGallery: ProductGallery_1.ProductGallery,
|
|
40
50
|
};
|
|
41
51
|
//# sourceMappingURL=Blocks.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,kDAA+C;AAC/C,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAClD,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,QAAQ,EAAR,mBAAQ;IACR,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,0BAA0B,EAA1B,uDAA0B;
|
|
1
|
+
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,8DAA2D;AAC3D,8DAA2D;AAC3D,kDAA+C;AAC/C,sFAAmF;AACnF,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAClD,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,YAAY,EAAZ,2BAAY;IACZ,YAAY,EAAZ,2BAAY;IACZ,QAAQ,EAAR,mBAAQ;IACR,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,0BAA0B,EAA1B,uDAA0B;IAC1B,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;CACf,CAAC"}
|
|
@@ -20,5 +20,5 @@ const renderBonusItemContent = (bonusItemContent) => ((0, jsx_runtime_1.jsx)("di
|
|
|
20
20
|
? renderBonusCount(bonusItemContent)
|
|
21
21
|
: renderBonusImage(bonusItemContent) }));
|
|
22
22
|
const renderBonusCount = (_) => ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? ((0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? ((0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
|
|
23
|
-
const renderBonusImage = (_) => _.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-12 h-12 min-w-12 p-3 rounded-
|
|
23
|
+
const renderBonusImage = (_) => _.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-12 h-12 min-w-12 p-3 rounded-icon`, image: _.image }) : null;
|
|
24
24
|
//# sourceMappingURL=Bonus.js.map
|
|
@@ -11,6 +11,6 @@ exports.BusinessCard = (0, uni_jsx_1.JSX)((props) => {
|
|
|
11
11
|
});
|
|
12
12
|
const renderItem = (item, key) => {
|
|
13
13
|
const { icon, text } = item;
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=BusinessCard.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ButtonsBlockContent } from './ButtonsBlockContent';
|
|
3
|
+
interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.
|
|
2
|
+
exports.ButtonsBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
7
|
const style_1 = require("../../utils/style");
|
|
8
|
-
exports.
|
|
9
|
-
//# sourceMappingURL=
|
|
8
|
+
exports.ButtonsBlock = (0, uni_jsx_1.JSX)(({ buttons, className, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('!bg-transparent', className), ...rest, children: (0, renderButtonsSection_1.renderButtonsSection)(buttons) })));
|
|
9
|
+
//# sourceMappingURL=ButtonsBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonsBlock.js","sourceRoot":"","sources":["../../../src/components/ButtonsBlock/ButtonsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAK7B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACtF,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,iBAAiB,EAAE,SAAS,CAAC,KAAM,IAAI,YACnE,IAAA,2CAAoB,EAAC,OAAO,CAAC,GACjB,CAChB,CAAC,CAAC"}
|
package/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=ButtonsBlockContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonsBlockContent.js","sourceRoot":"","sources":["../../../src/components/ButtonsBlock/ButtonsBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -25,6 +25,6 @@ exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TIT
|
|
|
25
25
|
? (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ version: button?.version })
|
|
26
26
|
: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className: 'text-white', version: button?.version });
|
|
27
27
|
const link = (0, useLink_1.useLink)();
|
|
28
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('p-default flex flex-col items-center', className), ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('p-default flex flex-col items-center', className), ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: (0, style_1.style)('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
|
|
29
29
|
});
|
|
30
30
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,iDAA8C;AAE9C,4DAAyD;AACzD,2FAAwF;AACxF,yFAAsF;AACtF,4EAAyE;AACzE,0DAAuD;AACvD,6CAA0C;AAG1C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,kBAAkB,GAAG;IACzB,CAAC,UAAU,CAAC,EAAE,IAAI;CACnB,CAAC;AAIW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,kBAAkB,CAAC,CAAC;IAE5D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,CAAC;IAE/B,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,sCAAsC,EAAE,SAAS,CAAC,KAAM,IAAI,aACxF,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,iDAA8C;AAE9C,4DAAyD;AACzD,2FAAwF;AACxF,yFAAsF;AACtF,4EAAyE;AACzE,0DAAuD;AACvD,6CAA0C;AAG1C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,kBAAkB,GAAG;IACzB,CAAC,UAAU,CAAC,EAAE,IAAI;CACnB,CAAC;AAIW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,kBAAkB,CAAC,CAAC;IAE5D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,CAAC;IAE/B,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,sCAAsC,EAAE,SAAS,CAAC,KAAM,IAAI,aACxF,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,SAAS,EAAC,wCAAwC,EAClD,WAAW,EAAC,IAAI,EAChB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,kCAAM,SAAS,EAAC,yBAAyB,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACtE,uBAAC,6BAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,CAAC,UAAU,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,KACR,KAAK,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GACxD,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,IAAA,aAAK,EAAC,yBAAyB,EAAE,WAAW,CAAC,EACxD,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselCardContent } from './CarouselCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.CarouselCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const Headline_1 = require("../Headline/Headline");
|
|
4
5
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
6
|
+
const getCardWidth_1 = require("./getCardWidth");
|
|
5
7
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
const style_1 = require("../../utils/style");
|
|
9
|
+
const titleSize_1 = require("./titleSize");
|
|
10
|
+
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full sm:hidden';
|
|
11
|
+
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => ((0, jsx_runtime_1.jsx)("section", { className: (0, style_1.style)('flex pb-9 pl-12 sm:p-5 border-box h-full sm:max-w-[375px]', (0, getCardWidth_1.getCardWidth)(className, carouselVersion), className), children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: titleSize_1.titleSize, align: "text-left", version: version }), (0, renderButtonsSection_1.renderButtonsSection)([button], {
|
|
12
|
+
className: 'mt-14 sm:justify-center',
|
|
13
|
+
isVertical: true,
|
|
14
|
+
})] })] }) })));
|
|
13
15
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AACA,mDAAgD;AAChD,+CAAwC;AAExC,iDAA8C;AAC9C,mFAAgF;AAChF,6CAA0C;AAC1C,2CAAwC;AAIxC,MAAM,aAAa,GAAG,kEAAkE,CAAC;AAE5E,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAC5F,oCACE,SAAS,EAAE,IAAA,aAAK,EACd,2DAA2D,EAC3D,IAAA,2BAAY,EAAC,SAAS,EAAE,eAAe,CAAC,EACxC,SAAS,CACV,YAED,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,2EAA2E,aACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,qBAAS,EAC1B,KAAK,EAAC,WAAW,EACjB,OAAO,EAAE,OAAO,GAChB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE;wBAC9B,SAAS,EAAE,yBAAyB;wBACpC,UAAU,EAAE,IAAI;qBACjB,CAAC,IACE,IACF,GACE,CACX,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getCardWidth(className?: string, carouselVersion?: string): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getCardWidth = void 0;
|
|
3
|
+
const getColSpan_1 = require("../../utils/getColSpan");
|
|
4
|
+
const CARD_WIDTH_MAP = {
|
|
5
|
+
normal: 'min-w-[970px]',
|
|
6
|
+
small: 'min-w-[355px]',
|
|
7
|
+
};
|
|
8
|
+
function getCardWidth(className = '', carouselVersion = 'normal') {
|
|
9
|
+
const colSpan = (0, getColSpan_1.getColSpan)(className);
|
|
10
|
+
if (colSpan <= 4) {
|
|
11
|
+
return 'w-[375px]';
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
return CARD_WIDTH_MAP[carouselVersion];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.getCardWidth = getCardWidth;
|
|
18
|
+
//# sourceMappingURL=getCardWidth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCardWidth.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/getCardWidth.tsx"],"names":[],"mappings":";;AACA,uDAAoD;AAEpD,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,eAAe;CACvB,CAAC;AAEF,SAAgB,YAAY,CAAC,SAAS,GAAG,EAAE,EAAE,eAAe,GAAG,QAAQ;IACrE,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,WAAW,CAAC;KACpB;SAAM;QACL,OAAO,cAAc,CAAC,eAAe,CAAW,CAAC;KAClD;AACH,CAAC;AAPD,oCAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleSize = "L";
|