@redneckz/wildless-cms-uni-blocks 0.3.86 → 0.3.88
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 +79 -73
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +2 -2
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/renderButtonSection.d.ts +2 -1
- package/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
- package/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
- package/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
- package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
- package/dist/components/Calculator/renderProposal.d.ts +2 -1
- package/dist/components/Calculator/renderProposal.js +1 -1
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
- package/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
- package/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
- package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
- package/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
- package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.js +4 -4
- package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.d.ts +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
- package/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
- package/dist/components/ContentPage/normalizePage.d.ts +1 -1
- package/dist/components/ContentPage/normalizePage.js +1 -1
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
- package/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
- package/dist/components/Footer/Contacts.js +1 -1
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +1 -2
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/Sitemap.js +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +1 -1
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
- package/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/dist/components/Header/DropdownMenu.js +1 -1
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/HeaderBurger.d.ts +2 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +3 -0
- package/dist/components/Insurance/Insurance.js +2 -2
- package/dist/components/Insurance/Insurance.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.js +1 -1
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +2 -2
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +8 -8
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.js +3 -1
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/content-page-repository/mapJSON.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +1 -0
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/hooks/useExchangeRates.js.map +1 -1
- package/dist/icons/IconName.js +2 -2
- package/dist/icons/IconName.js.map +1 -1
- package/dist/react/IntersectionObserverTag.js +26 -4
- package/dist/react/IntersectionObserverTag.js.map +1 -1
- package/dist/react/setup-fixture.js +7 -2
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/dist/ui-kit/BlockWrapper.js +3 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
- package/dist/ui-kit/Button/ArrowButton.js +3 -3
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +2 -2
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
- package/dist/ui-kit/Button/LikeButton.js +3 -1
- package/dist/ui-kit/Button/LikeButton.js.map +1 -1
- package/dist/ui-kit/Button/renderArrows.d.ts +2 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.js +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/SVG.d.ts +2 -3
- package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/dist/ui-kit/Tabs/Tabs.js +1 -1
- package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +3 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Bonus/Bonus.fixture.d.ts +2 -1
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +3 -3
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +3 -2
- package/lib/components/Calculator/Calculator.js +2 -2
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/renderButtonSection.d.ts +2 -1
- package/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
- package/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
- package/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
- package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
- package/lib/components/Calculator/renderProposal.d.ts +2 -1
- package/lib/components/Calculator/renderProposal.js +1 -1
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
- package/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
- package/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
- package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
- package/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
- package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/lib/components/Catalog/Catalog.fixture.d.ts +2 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +6 -5
- package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +3 -2
- package/lib/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +3 -2
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +2 -1
- package/lib/components/ContentPage/ContentPage.js +2 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
- package/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
- package/lib/components/ContentPage/normalizePage.d.ts +1 -1
- package/lib/components/ContentPage/normalizePage.js +1 -1
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +2 -1
- package/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
- package/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
- package/lib/components/Footer/Contacts.js +1 -1
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.fixture.d.ts +2 -1
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -2
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/Sitemap.js +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Gallery/Gallery.fixture.d.ts +6 -5
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +3 -2
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +1 -1
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +2 -1
- package/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +3 -2
- package/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
- package/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/lib/components/Header/DropdownMenu.js +1 -1
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.fixture.d.ts +4 -3
- package/lib/components/Header/Header.fixture.mobile.d.ts +3 -2
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/HeaderBurger.d.ts +2 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +15 -14
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +14 -13
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +3 -0
- package/lib/components/Insurance/Insurance.fixture.d.ts +3 -2
- package/lib/components/Insurance/Insurance.js +2 -2
- package/lib/components/Insurance/Insurance.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.fixture.d.ts +2 -1
- package/lib/components/LikeControl/LikeControl.js +1 -1
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +5 -4
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +4 -3
- package/lib/components/LinkDocs/LinkDocs.js +2 -2
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/lib/components/LinkList/LinkList.fixture.d.ts +2 -1
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +3 -2
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +4 -3
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/Navigation/Navigation.fixture.d.ts +2 -1
- package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +2 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +2 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +2 -1
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +2 -1
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +11 -10
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +7 -6
- package/lib/components/ProductBlock/ProductBlock.js +3 -2
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
- package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +3 -2
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +3 -2
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +6 -5
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +2 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.fixture.d.ts +7 -4
- package/lib/components/Recommendation/Recommendation.js +8 -8
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.js +3 -1
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +5 -4
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +9 -8
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +5 -4
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -2
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +4 -3
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -3
- package/lib/components/Tile/Tile.fixture.d.ts +6 -5
- package/lib/content-page-repository/mapJSON.js.map +1 -1
- package/lib/content-page-repository/transformContentPage.js +1 -0
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/cosmos.decorator.d.ts +2 -1
- package/lib/hooks/useExchangeRates.js.map +1 -1
- package/lib/icons/IconName.js +1 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/react/IntersectionObserverTag.js +3 -4
- package/lib/react/IntersectionObserverTag.js.map +1 -1
- package/lib/react/setup-fixture.js +3 -1
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/lib/ui-kit/BlockWrapper.js +3 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
- package/lib/ui-kit/Button/ArrowButton.js +3 -3
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/lib/ui-kit/Button/Button.fixture.d.ts +10 -9
- package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +2 -1
- package/lib/ui-kit/Button/Button.js +2 -2
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
- package/lib/ui-kit/Button/LikeButton.fixture.d.ts +3 -2
- package/lib/ui-kit/Button/LikeButton.js +3 -1
- package/lib/ui-kit/Button/LikeButton.js.map +1 -1
- package/lib/ui-kit/Button/renderArrows.d.ts +2 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +3 -2
- package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.fixture.d.ts +2 -1
- package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +2 -1
- package/lib/ui-kit/Heading/Heading.mobile.js +1 -1
- package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +5 -4
- package/lib/ui-kit/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/List/List.fixture.d.ts +11 -10
- package/lib/ui-kit/Logo/Logo.fixture.d.ts +2 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +2 -1
- package/lib/ui-kit/SVG.d.ts +2 -3
- package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +5 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/lib/ui-kit/Tabs/Tabs.js +1 -1
- package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +3 -2
- package/mobile/bundle/bundle.umd.js +23 -20
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +2 -2
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/renderButtonSection.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderProposal.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderProposal.js +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +4 -4
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
- package/mobile/dist/components/Footer/Contacts.js +1 -1
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +1 -2
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/Sitemap.js +2 -2
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/mobile/dist/components/Header/DropdownMenu.js +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +2 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -0
- package/mobile/dist/components/Insurance/Insurance.js +2 -2
- package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +8 -8
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
- package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
- package/mobile/dist/icons/IconName.js +2 -2
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/react/IntersectionObserverTag.js +26 -4
- package/mobile/dist/react/IntersectionObserverTag.js.map +1 -1
- package/mobile/dist/react/setup-fixture.js +7 -2
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js +3 -3
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
- package/mobile/dist/ui-kit/Button/LikeButton.js +3 -1
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderArrows.d.ts +2 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/SVG.d.ts +2 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -3
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +2 -2
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/renderButtonSection.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderProposal.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderProposal.js +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
- package/mobile/lib/components/Footer/Contacts.js +1 -1
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -2
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/Sitemap.js +2 -2
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/mobile/lib/components/Header/DropdownMenu.js +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +2 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -0
- package/mobile/lib/components/Insurance/Insurance.js +2 -2
- package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +8 -8
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
- package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
- package/mobile/lib/icons/IconName.js +1 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/react/IntersectionObserverTag.js +3 -4
- package/mobile/lib/react/IntersectionObserverTag.js.map +1 -1
- package/mobile/lib/react/setup-fixture.js +3 -1
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js +3 -3
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
- package/mobile/lib/ui-kit/Button/LikeButton.js +3 -1
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderArrows.d.ts +2 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/SVG.d.ts +2 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/src/common.css +7 -7
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.spec.tsx +3 -6
- package/mobile/src/components/Bonus/Bonus.tsx +3 -5
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/Calculator.tsx +2 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/Rate.tsx +1 -1
- package/mobile/src/components/Calculator/renderProposal.tsx +2 -4
- package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
- package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +2 -2
- package/mobile/src/components/Catalog/Catalog.tsx +2 -2
- package/mobile/src/components/Catalog/CatalogCard.tsx +10 -7
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +2 -2
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -2
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -4
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +2 -2
- package/mobile/src/components/ContentPage/normalizePage.ts +3 -3
- package/mobile/src/components/Footer/Contacts.tsx +1 -1
- package/mobile/src/components/Footer/MediaButton.tsx +1 -2
- package/mobile/src/components/Footer/Sitemap.tsx +2 -2
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -3
- package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -2
- package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -1
- package/mobile/src/components/Headline/HeadlineContent.ts +3 -0
- package/mobile/src/components/Insurance/Insurance.tsx +5 -5
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/LikeControl/LikeControl.tsx +2 -2
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -1
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
- package/mobile/src/components/PromoTile/PromoTile.example.json +1 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +2 -1
- package/mobile/src/components/Recommendation/Recommendation.tsx +20 -18
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +20 -15
- package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -3
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
- package/mobile/src/content-page-repository/mapJSON.ts +1 -1
- package/mobile/src/content-page-repository/transformContentPage.ts +1 -0
- package/mobile/src/hooks/useExchangeRates.ts +1 -1
- package/mobile/src/icons/IconName.ts +1 -2
- package/mobile/src/react/IntersectionObserverTag.tsx +3 -8
- package/mobile/src/react/setup-fixture.ts +5 -2
- package/mobile/src/ui-kit/BlockWrapper.tsx +5 -3
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +4 -3
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -3
- package/mobile/src/ui-kit/Button/LikeButton.tsx +3 -1
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
- package/mobile/src/ui-kit/Input/Input.tsx +3 -4
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +4 -4
- package/mobile/src/ui-kit/SVG.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
- package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
- package/package.json +4 -2
- package/src/common.css +7 -7
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.spec.tsx +3 -6
- package/src/components/Bonus/Bonus.fixture.tsx +1 -0
- package/src/components/Bonus/Bonus.tsx +3 -5
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/src/components/Calculator/Calculator.tsx +2 -2
- package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/src/components/Calculator/Rate.tsx +1 -1
- package/src/components/Calculator/renderProposal.tsx +2 -4
- package/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
- package/src/components/Calculator/useCreditCalculatorParams.ts +2 -2
- package/src/components/Catalog/Catalog.tsx +2 -2
- package/src/components/Catalog/CatalogCard.tsx +10 -7
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +1 -1
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
- package/src/components/ContentPage/ContentPage.page.json +2 -2
- package/src/components/ContentPage/ContentPage.tsx +3 -2
- package/src/components/ContentPage/ContentPageContext.tsx +2 -4
- package/src/components/ContentPage/ContentPageHead.tsx +2 -2
- package/src/components/ContentPage/normalizePage.mobile.ts +3 -3
- package/src/components/ContentPage/normalizePage.ts +4 -4
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/MediaButton.tsx +1 -2
- package/src/components/Footer/Sitemap.tsx +2 -2
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +1 -3
- package/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +2 -2
- package/src/components/Header/DropdownMenu.tsx +1 -1
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/HeaderBurger.tsx +2 -1
- package/src/components/Header/HeaderSubMenu.tsx +1 -1
- package/src/components/Headline/Headline.fixture.tsx +4 -4
- package/src/components/Headline/Headline.tsx +3 -2
- package/src/components/Headline/HeadlineContent.ts +3 -0
- package/src/components/Insurance/Insurance.tsx +5 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/LikeControl/LikeControl.tsx +2 -2
- package/src/components/LinkDocs/LinkDocs.tsx +1 -2
- package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.example.json +1 -1
- package/src/components/ProductBlock/ProductBlock.tsx +10 -2
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductTile/ProductTile.tsx +2 -0
- package/src/components/PromoTile/PromoTile.example.json +1 -0
- package/src/components/PromoTile/PromoTile.tsx +2 -1
- package/src/components/Recommendation/Recommendation.fixture.tsx +68 -16
- package/src/components/Recommendation/Recommendation.tsx +20 -18
- package/src/components/Recommendation/RecommendationCard.tsx +20 -15
- package/src/components/Recommendation/RecommendationContent.ts +2 -3
- package/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -0
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
- package/src/content-page-repository/mapJSON.ts +1 -1
- package/src/content-page-repository/transformContentPage.ts +1 -0
- package/src/hooks/useExchangeRates.ts +1 -1
- package/src/react/IntersectionObserverTag.tsx +3 -8
- package/src/react/setup-fixture.ts +5 -2
- package/src/ui-kit/BlockWrapper.tsx +5 -3
- package/src/ui-kit/Button/ArrowButton.tsx +4 -3
- package/src/ui-kit/Button/Button.tsx +2 -2
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/ButtonProps.ts +4 -3
- package/src/ui-kit/Button/LikeButton.tsx +3 -1
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/Heading/Heading.mobile.tsx +1 -1
- package/src/ui-kit/Input/Input.tsx +3 -4
- package/src/ui-kit/InputRange/InputRange.tsx +4 -4
- package/src/ui-kit/SVG.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
- package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
- package/src/ui-kit/Tabs/Tabs.tsx +1 -1
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Blocks Accordion should render block "Accordion" without content 1`] =
|
|
3
|
+
exports[`Blocks Accordion should render block "Accordion" without content 1`] = `
|
|
4
|
+
<section
|
|
5
|
+
class="p-[50px] font-sans bg-white text-primary-text "
|
|
6
|
+
/>
|
|
7
|
+
`;
|
|
4
8
|
|
|
5
|
-
exports[`Blocks BenefitsBlock should render block "BenefitsBlock" without content 1`] =
|
|
9
|
+
exports[`Blocks BenefitsBlock should render block "BenefitsBlock" without content 1`] = `
|
|
10
|
+
<section
|
|
11
|
+
class="font-sans text-primary-text bg-white p-12 flex flex-col items-center "
|
|
12
|
+
/>
|
|
13
|
+
`;
|
|
6
14
|
|
|
7
15
|
exports[`Blocks Bonus should render block "Bonus" without content 1`] = `
|
|
8
|
-
<section
|
|
16
|
+
<section
|
|
17
|
+
class="font-sans bg-white p-[50px] pb-9 "
|
|
18
|
+
>
|
|
9
19
|
<div
|
|
10
20
|
class="container"
|
|
11
21
|
>
|
|
@@ -16,10 +26,16 @@ exports[`Blocks Bonus should render block "Bonus" without content 1`] = `
|
|
|
16
26
|
</section>
|
|
17
27
|
`;
|
|
18
28
|
|
|
19
|
-
exports[`Blocks BonusBenefitsBlock should render block "BonusBenefitsBlock" without content 1`] =
|
|
29
|
+
exports[`Blocks BonusBenefitsBlock should render block "BonusBenefitsBlock" without content 1`] = `
|
|
30
|
+
<section
|
|
31
|
+
class="font-sans text-primary-text bg-white p-50 flex flex-col text-center "
|
|
32
|
+
/>
|
|
33
|
+
`;
|
|
20
34
|
|
|
21
35
|
exports[`Blocks Calculator should render block "Calculator" without content 1`] = `
|
|
22
|
-
<section
|
|
36
|
+
<section
|
|
37
|
+
class="box-border overflow-hidden relative font-sans w-100 bg-white text-primary-text "
|
|
38
|
+
>
|
|
23
39
|
<div>
|
|
24
40
|
<div />
|
|
25
41
|
</div>
|
|
@@ -32,7 +48,9 @@ exports[`Blocks Calculator should render block "Calculator" without content 1`]
|
|
|
32
48
|
`;
|
|
33
49
|
|
|
34
50
|
exports[`Blocks Catalog should render block "Catalog" without content 1`] = `
|
|
35
|
-
<section
|
|
51
|
+
<section
|
|
52
|
+
class="bg-white relative font-sans p-12 overflow-hidden text-center "
|
|
53
|
+
>
|
|
36
54
|
<div
|
|
37
55
|
class="flex duration-1000 gap-3.5"
|
|
38
56
|
role="list"
|
|
@@ -49,7 +67,9 @@ exports[`Blocks Catalog should render block "Catalog" without content 1`] = `
|
|
|
49
67
|
`;
|
|
50
68
|
|
|
51
69
|
exports[`Blocks ComparisonTable should render block "ComparisonTable" without content 1`] = `
|
|
52
|
-
<section
|
|
70
|
+
<section
|
|
71
|
+
class="bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative "
|
|
72
|
+
>
|
|
53
73
|
<h3
|
|
54
74
|
class="font-sans m-0 text-h2 max-w-[47rem] text-center mb-9 mx-auto"
|
|
55
75
|
/>
|
|
@@ -62,7 +82,9 @@ exports[`Blocks ComparisonTable should render block "ComparisonTable" without co
|
|
|
62
82
|
`;
|
|
63
83
|
|
|
64
84
|
exports[`Blocks ExchangeRateTile should render block "ExchangeRateTile" without content 1`] = `
|
|
65
|
-
<section
|
|
85
|
+
<section
|
|
86
|
+
class="bg-white text-primary-text font-sans p-9 box-border "
|
|
87
|
+
>
|
|
66
88
|
<div
|
|
67
89
|
class="font-sans flex flex-col grow h-full items-start "
|
|
68
90
|
>
|
|
@@ -155,7 +177,9 @@ exports[`Blocks ExchangeRateTile should render block "ExchangeRateTile" without
|
|
|
155
177
|
`;
|
|
156
178
|
|
|
157
179
|
exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
158
|
-
<
|
|
180
|
+
<footer
|
|
181
|
+
class="p-9 bg-white "
|
|
182
|
+
>
|
|
159
183
|
<div
|
|
160
184
|
class="flex items-stretch gap-[54px] pb-[30px] xl:gap-8"
|
|
161
185
|
>
|
|
@@ -209,14 +233,14 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
209
233
|
/>
|
|
210
234
|
</div>
|
|
211
235
|
<label
|
|
212
|
-
class="text-secondary-text
|
|
236
|
+
class="text-secondary-text text-l-light"
|
|
213
237
|
for="search-bar-input"
|
|
214
238
|
>
|
|
215
239
|
Поиск по сайту
|
|
216
240
|
</label>
|
|
217
241
|
</div>
|
|
218
242
|
<input
|
|
219
|
-
class="h-12 pl-12 w-full peer text-
|
|
243
|
+
class="h-12 pl-12 w-full peer text-l text-black border border-solid rounded box-border
|
|
220
244
|
outline-none pr-[6%] border-main-divider focus:border-primary-text font-light h-full"
|
|
221
245
|
id="search-bar-input"
|
|
222
246
|
name="search-bar-input"
|
|
@@ -224,7 +248,7 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
224
248
|
value=""
|
|
225
249
|
/>
|
|
226
250
|
<a
|
|
227
|
-
class="text-center font-sans select-none inline-block cursor-pointer no-underline text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md invisible peer-focus:visible absolute top-1 right-1"
|
|
251
|
+
class="text-center font-sans select-none inline-block cursor-pointer no-underline focus:border-primary-focus focus:border text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md invisible peer-focus:visible absolute top-1 right-1"
|
|
228
252
|
role="button"
|
|
229
253
|
>
|
|
230
254
|
<div
|
|
@@ -246,7 +270,7 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
246
270
|
>
|
|
247
271
|
<a
|
|
248
272
|
aria-label="Обратная связь"
|
|
249
|
-
class="text-center font-sans select-none inline-block cursor-pointer no-underline text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md mb-6 w-full"
|
|
273
|
+
class="text-center font-sans select-none inline-block cursor-pointer no-underline focus:border-primary-focus focus:border text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md mb-6 w-full"
|
|
250
274
|
href="/"
|
|
251
275
|
role="link"
|
|
252
276
|
target="_blank"
|
|
@@ -259,7 +283,7 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
259
283
|
class="text-xs text-left"
|
|
260
284
|
/>
|
|
261
285
|
<div
|
|
262
|
-
class="text-left text-
|
|
286
|
+
class="text-left text-l"
|
|
263
287
|
>
|
|
264
288
|
Обратная связь
|
|
265
289
|
</div>
|
|
@@ -272,7 +296,7 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
272
296
|
class="flex gap-2.5 "
|
|
273
297
|
/>
|
|
274
298
|
<span
|
|
275
|
-
class="
|
|
299
|
+
class="text-s-light text-secondary-text"
|
|
276
300
|
>
|
|
277
301
|
Соцсети
|
|
278
302
|
</span>
|
|
@@ -282,7 +306,7 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
282
306
|
class="flex gap-2.5 mt-6"
|
|
283
307
|
/>
|
|
284
308
|
<span
|
|
285
|
-
class="
|
|
309
|
+
class="text-s-light text-secondary-text"
|
|
286
310
|
>
|
|
287
311
|
Мобильное приложение
|
|
288
312
|
</span>
|
|
@@ -308,11 +332,13 @@ exports[`Blocks Footer should render block "Footer" without content 1`] = `
|
|
|
308
332
|
</span>
|
|
309
333
|
</div>
|
|
310
334
|
</div>
|
|
311
|
-
</
|
|
335
|
+
</footer>
|
|
312
336
|
`;
|
|
313
337
|
|
|
314
338
|
exports[`Blocks Gallery should render block "Gallery" without content 1`] = `
|
|
315
|
-
<section
|
|
339
|
+
<section
|
|
340
|
+
class="relative font-sans text-primary-text bg-white p-[42px] overflow-hidden "
|
|
341
|
+
>
|
|
316
342
|
<div>
|
|
317
343
|
<div
|
|
318
344
|
class="absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"
|
|
@@ -337,20 +363,28 @@ exports[`Blocks Gallery should render block "Gallery" without content 1`] = `
|
|
|
337
363
|
`;
|
|
338
364
|
|
|
339
365
|
exports[`Blocks GracePeriod should render block "GracePeriod" without content 1`] = `
|
|
340
|
-
<section
|
|
366
|
+
<section
|
|
367
|
+
class="font-sans bg-white p-[50px] "
|
|
368
|
+
>
|
|
341
369
|
<h3
|
|
342
370
|
class="font-sans m-0 text-h3 text-center"
|
|
343
371
|
/>
|
|
344
372
|
<div
|
|
345
|
-
class="
|
|
373
|
+
class="text-l-light-md text-center mt-3"
|
|
346
374
|
/>
|
|
347
375
|
</section>
|
|
348
376
|
`;
|
|
349
377
|
|
|
350
|
-
exports[`Blocks GroupBlock should render block "GroupBlock" without content 1`] =
|
|
378
|
+
exports[`Blocks GroupBlock should render block "GroupBlock" without content 1`] = `
|
|
379
|
+
<section
|
|
380
|
+
class="box-border "
|
|
381
|
+
/>
|
|
382
|
+
`;
|
|
351
383
|
|
|
352
384
|
exports[`Blocks Header should render block "Header" without content 1`] = `
|
|
353
|
-
<
|
|
385
|
+
<header
|
|
386
|
+
class="pt-6 pb-5 px-20 bg-white "
|
|
387
|
+
>
|
|
354
388
|
<div
|
|
355
389
|
class="container"
|
|
356
390
|
>
|
|
@@ -466,17 +500,25 @@ exports[`Blocks Header should render block "Header" without content 1`] = `
|
|
|
466
500
|
class="mt-6 h-[1px] bg-main-divider"
|
|
467
501
|
/>
|
|
468
502
|
</div>
|
|
469
|
-
</
|
|
503
|
+
</header>
|
|
470
504
|
`;
|
|
471
505
|
|
|
472
|
-
exports[`Blocks Headline should render block "Headline" without content 1`] =
|
|
506
|
+
exports[`Blocks Headline should render block "Headline" without content 1`] = `
|
|
507
|
+
<section
|
|
508
|
+
class="font-sans flex flex-col p-[50px] gap-4 bg-transparent "
|
|
509
|
+
/>
|
|
510
|
+
`;
|
|
473
511
|
|
|
474
512
|
exports[`Blocks Insurance should render block "Insurance" without content 1`] = `
|
|
475
|
-
<section
|
|
476
|
-
|
|
513
|
+
<section
|
|
514
|
+
class="px-[100px] py-[50px] bg-white text-primary-text font-sans "
|
|
515
|
+
>
|
|
516
|
+
<section
|
|
517
|
+
class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
|
|
518
|
+
/>
|
|
477
519
|
<div>
|
|
478
520
|
<div
|
|
479
|
-
class="
|
|
521
|
+
class="mx-auto flex justify-center gap-[122px] mt-[30px]"
|
|
480
522
|
>
|
|
481
523
|
<div
|
|
482
524
|
class="w-[558px] m-auto"
|
|
@@ -487,7 +529,9 @@ exports[`Blocks Insurance should render block "Insurance" without content 1`] =
|
|
|
487
529
|
`;
|
|
488
530
|
|
|
489
531
|
exports[`Blocks InsuranceAmountBlock should render block "InsuranceAmountBlock" without content 1`] = `
|
|
490
|
-
<section
|
|
532
|
+
<section
|
|
533
|
+
class="box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white "
|
|
534
|
+
>
|
|
491
535
|
<div
|
|
492
536
|
class="flex"
|
|
493
537
|
role="list"
|
|
@@ -497,13 +541,19 @@ exports[`Blocks InsuranceAmountBlock should render block "InsuranceAmountBlock"
|
|
|
497
541
|
`;
|
|
498
542
|
|
|
499
543
|
exports[`Blocks LinkDocs should render block "LinkDocs" without content 1`] = `
|
|
500
|
-
<section
|
|
501
|
-
|
|
544
|
+
<section
|
|
545
|
+
class="font-sans text-primary-text p-[50px] bg-white "
|
|
546
|
+
>
|
|
547
|
+
<section
|
|
548
|
+
class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
|
|
549
|
+
/>
|
|
502
550
|
</section>
|
|
503
551
|
`;
|
|
504
552
|
|
|
505
553
|
exports[`Blocks MiniGallery should render block "MiniGallery" without content 1`] = `
|
|
506
|
-
<section
|
|
554
|
+
<section
|
|
555
|
+
class="relative font-sans text-primary-text bg-white p-[42px] overflow-hidden "
|
|
556
|
+
>
|
|
507
557
|
<div>
|
|
508
558
|
<div
|
|
509
559
|
class="absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"
|
|
@@ -528,7 +578,12 @@ exports[`Blocks MiniGallery should render block "MiniGallery" without content 1`
|
|
|
528
578
|
`;
|
|
529
579
|
|
|
530
580
|
exports[`Blocks MobileAppTile should render block "MobileAppTile" without content 1`] = `
|
|
531
|
-
<section
|
|
581
|
+
<section
|
|
582
|
+
class="flex justify-between font-sans p-9 box-border relative
|
|
583
|
+
pr-[9.4rem] min-h-[360px]
|
|
584
|
+
bg-white text-primary-text
|
|
585
|
+
"
|
|
586
|
+
>
|
|
532
587
|
<div
|
|
533
588
|
class="font-sans flex flex-col grow h-full items-start "
|
|
534
589
|
>
|
|
@@ -562,19 +617,31 @@ exports[`Blocks MobileAppTile should render block "MobileAppTile" without conten
|
|
|
562
617
|
`;
|
|
563
618
|
|
|
564
619
|
exports[`Blocks Navigation should render block "Navigation" without content 1`] = `
|
|
565
|
-
<section
|
|
620
|
+
<section
|
|
621
|
+
class="font-sans text-primary-text rounded-[40px] flex items-center justify-between "
|
|
622
|
+
>
|
|
566
623
|
<h2
|
|
567
624
|
class="font-medium text-xl-light m-0"
|
|
568
625
|
/>
|
|
569
626
|
</section>
|
|
570
627
|
`;
|
|
571
628
|
|
|
572
|
-
exports[`Blocks NavigatorTabs should render block "NavigatorTabs" without content 1`] =
|
|
629
|
+
exports[`Blocks NavigatorTabs should render block "NavigatorTabs" without content 1`] = `
|
|
630
|
+
<section
|
|
631
|
+
class="sticky top-0 z-20 box-border flex gap-x-1 h-14 "
|
|
632
|
+
/>
|
|
633
|
+
`;
|
|
573
634
|
|
|
574
|
-
exports[`Blocks OtherProducts should render block "OtherProducts" without content 1`] =
|
|
635
|
+
exports[`Blocks OtherProducts should render block "OtherProducts" without content 1`] = `
|
|
636
|
+
<section
|
|
637
|
+
class="font-sans text-primary-text "
|
|
638
|
+
/>
|
|
639
|
+
`;
|
|
575
640
|
|
|
576
641
|
exports[`Blocks PictureText should render block "PictureText" without content 1`] = `
|
|
577
|
-
<section
|
|
642
|
+
<section
|
|
643
|
+
class="relative font-sans p-14 bg-white text-primary-text "
|
|
644
|
+
>
|
|
578
645
|
<h3
|
|
579
646
|
class="font-sans m-0 text-h2 text-center"
|
|
580
647
|
/>
|
|
@@ -585,10 +652,14 @@ exports[`Blocks PictureText should render block "PictureText" without content 1`
|
|
|
585
652
|
`;
|
|
586
653
|
|
|
587
654
|
exports[`Blocks Placeholder should render block "Placeholder" without content 1`] = `
|
|
588
|
-
<section
|
|
589
|
-
|
|
655
|
+
<section
|
|
656
|
+
class="bg-white text-primary-text font-sans p-9 box-border undefined pr-[9.4rem] min-h-[360px] "
|
|
657
|
+
>
|
|
658
|
+
<section
|
|
659
|
+
class="font-sans flex flex-col p-[50px] gap-4 bg-transparent !p-0 max-w-[600px]"
|
|
660
|
+
>
|
|
590
661
|
<div
|
|
591
|
-
class="text-xl-light text-primary-text text-
|
|
662
|
+
class="text-xl-light text-primary-text text-center"
|
|
592
663
|
>
|
|
593
664
|
Блок в разработке...
|
|
594
665
|
</div>
|
|
@@ -617,14 +688,19 @@ exports[`Blocks Placeholder should render block "Placeholder" without content 1`
|
|
|
617
688
|
`;
|
|
618
689
|
|
|
619
690
|
exports[`Blocks ProductBlock should render block "ProductBlock" without content 1`] = `
|
|
620
|
-
<section
|
|
691
|
+
<section
|
|
692
|
+
class="font-sans overflow-hidden pt-[50px] pl-[50px] pb-[50px] pr-[7.5rem] box-border
|
|
693
|
+
min-h-[454px] max-h-[454px] bg-white text-primary-text "
|
|
694
|
+
>
|
|
621
695
|
<div
|
|
622
|
-
class="flex grow justify-between items-stretch "
|
|
696
|
+
class="flex grow justify-between items-stretch h-full "
|
|
623
697
|
>
|
|
624
698
|
<div
|
|
625
699
|
class="flex flex-col "
|
|
626
700
|
>
|
|
627
|
-
<section
|
|
701
|
+
<section
|
|
702
|
+
class="font-sans flex flex-col p-[50px] gap-4 bg-white !p-0 max-w-[600px]"
|
|
703
|
+
/>
|
|
628
704
|
<div
|
|
629
705
|
class="font-sans flex flex-col grow h-full items-start "
|
|
630
706
|
>
|
|
@@ -645,7 +721,10 @@ exports[`Blocks ProductBlock should render block "ProductBlock" without content
|
|
|
645
721
|
`;
|
|
646
722
|
|
|
647
723
|
exports[`Blocks ProductGallery should render block "ProductGallery" without content 1`] = `
|
|
648
|
-
<section
|
|
724
|
+
<section
|
|
725
|
+
class="box-border pt-[50px] overflow-hidden relative font-sans w-100
|
|
726
|
+
bg-white text-primary-text"
|
|
727
|
+
>
|
|
649
728
|
<div
|
|
650
729
|
class="flex duration-1000 pb-14"
|
|
651
730
|
role="list"
|
|
@@ -658,11 +737,15 @@ exports[`Blocks ProductGallery should render block "ProductGallery" without cont
|
|
|
658
737
|
`;
|
|
659
738
|
|
|
660
739
|
exports[`Blocks ProductTile should render block "ProductTile" without content 1`] = `
|
|
661
|
-
<section
|
|
740
|
+
<section
|
|
741
|
+
class="bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid bg-white text-primary-text pr-[9.4rem] min-h-[360px] "
|
|
742
|
+
>
|
|
662
743
|
<div
|
|
663
744
|
class="z-[1]"
|
|
664
745
|
>
|
|
665
|
-
<section
|
|
746
|
+
<section
|
|
747
|
+
class="font-sans flex flex-col p-[50px] gap-2 bg-white !p-0"
|
|
748
|
+
/>
|
|
666
749
|
<div
|
|
667
750
|
class="flex mt-4"
|
|
668
751
|
/>
|
|
@@ -671,12 +754,16 @@ exports[`Blocks ProductTile should render block "ProductTile" without content 1`
|
|
|
671
754
|
`;
|
|
672
755
|
|
|
673
756
|
exports[`Blocks PromoTile should render block "PromoTile" without content 1`] = `
|
|
674
|
-
<section
|
|
757
|
+
<section
|
|
758
|
+
class="bg-white text-primary-text font-sans p-9 box-border bg-white text-primary-text pr-[9.4rem] min-h-[360px] "
|
|
759
|
+
>
|
|
675
760
|
<div
|
|
676
761
|
class="font-sans flex flex-col grow h-full items-start "
|
|
677
762
|
>
|
|
678
763
|
<div>
|
|
679
|
-
<section
|
|
764
|
+
<section
|
|
765
|
+
class="font-sans flex flex-col p-[50px] gap-4 bg-white !p-0 max-w-[600px]"
|
|
766
|
+
>
|
|
680
767
|
<h2
|
|
681
768
|
class="font-sans m-0 text-h2 whitespace-pre-wrap text-primary-text text-left"
|
|
682
769
|
>
|
|
@@ -695,7 +782,7 @@ exports[`Blocks PromoTile should render block "PromoTile" without content 1`] =
|
|
|
695
782
|
class="mt-1.5"
|
|
696
783
|
>
|
|
697
784
|
<div
|
|
698
|
-
class="text-
|
|
785
|
+
class="text-l"
|
|
699
786
|
/>
|
|
700
787
|
</div>
|
|
701
788
|
</div>
|
|
@@ -706,14 +793,18 @@ exports[`Blocks PromoTile should render block "PromoTile" without content 1`] =
|
|
|
706
793
|
`;
|
|
707
794
|
|
|
708
795
|
exports[`Blocks Recommendation should render block "Recommendation" without content 1`] = `
|
|
709
|
-
<section
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
role="list"
|
|
713
|
-
style="transform: translateX(-0px);"
|
|
714
|
-
/>
|
|
796
|
+
<section
|
|
797
|
+
class="relative font-sans p-9 overflow-hidden text-center bg-white text-primary-text "
|
|
798
|
+
>
|
|
715
799
|
<div>
|
|
716
|
-
<div
|
|
800
|
+
<div
|
|
801
|
+
class="flex duration-1000 gap-3.5"
|
|
802
|
+
role="list"
|
|
803
|
+
style="transform: translateX(-0px);"
|
|
804
|
+
/>
|
|
805
|
+
<div>
|
|
806
|
+
<div />
|
|
807
|
+
</div>
|
|
717
808
|
</div>
|
|
718
809
|
<div
|
|
719
810
|
class="absolute top-0 bottom-0 w-[84px] left-0 bg-opacity-from-white"
|
|
@@ -724,12 +815,22 @@ exports[`Blocks Recommendation should render block "Recommendation" without cont
|
|
|
724
815
|
</section>
|
|
725
816
|
`;
|
|
726
817
|
|
|
727
|
-
exports[`Blocks StepsBlock should render block "StepsBlock" without content 1`] =
|
|
818
|
+
exports[`Blocks StepsBlock should render block "StepsBlock" without content 1`] = `
|
|
819
|
+
<section
|
|
820
|
+
class="box-border font-sans text-primary-text bg-white px-[70px] py-[50px] flex flex-col items-center bg-white text-primary-text "
|
|
821
|
+
/>
|
|
822
|
+
`;
|
|
728
823
|
|
|
729
|
-
exports[`Blocks TariffsTable should render block "TariffsTable" without content 1`] =
|
|
824
|
+
exports[`Blocks TariffsTable should render block "TariffsTable" without content 1`] = `
|
|
825
|
+
<section
|
|
826
|
+
class="bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative "
|
|
827
|
+
/>
|
|
828
|
+
`;
|
|
730
829
|
|
|
731
830
|
exports[`Blocks TextBlock should render block "TextBlock" without content 1`] = `
|
|
732
|
-
<section
|
|
831
|
+
<section
|
|
832
|
+
class="font-sans px-9 py-4 flex bg-white "
|
|
833
|
+
>
|
|
733
834
|
<div
|
|
734
835
|
class="py-0.5"
|
|
735
836
|
/>
|
|
@@ -737,7 +838,9 @@ exports[`Blocks TextBlock should render block "TextBlock" without content 1`] =
|
|
|
737
838
|
`;
|
|
738
839
|
|
|
739
840
|
exports[`Blocks Tile should render block "Tile" without content 1`] = `
|
|
740
|
-
<section
|
|
841
|
+
<section
|
|
842
|
+
class="overflow-hidden font-sans p-9 pr-3 box-border bg-white text-primary-text pr-[9.4rem] min-h-[360px] "
|
|
843
|
+
>
|
|
741
844
|
<div
|
|
742
845
|
class="font-sans flex flex-col grow h-full items-start "
|
|
743
846
|
>
|
|
@@ -17,7 +17,7 @@ export async function mapJSON<T>(
|
|
|
17
17
|
|
|
18
18
|
return Promise.all(values) as any;
|
|
19
19
|
} else if (typeof data === 'object' && (data as any).toString() === '[object Object]') {
|
|
20
|
-
const subKeys = Object.keys(data
|
|
20
|
+
const subKeys = Object.keys(data);
|
|
21
21
|
const values = subKeys.map((k) => mapJSON(data[k], mapper, [k].concat(keyParts)));
|
|
22
22
|
const pairs = (await Promise.all(values)).map((_, i) => ({
|
|
23
23
|
[subKeys[i]]: _,
|
|
@@ -15,6 +15,7 @@ export async function transformContentPage(
|
|
|
15
15
|
): Promise<ContentPageDef> {
|
|
16
16
|
const content = await readFile(pagePath, 'utf8');
|
|
17
17
|
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
18
19
|
return mapJSON<ContentPageDef>(JSON.parse(content), async (value: any, [key]) => {
|
|
19
20
|
const isMarkdown = typeof value === 'string' && key?.endsWith('__md');
|
|
20
21
|
const isPicture = value && isLocalPath(value?.src);
|
|
@@ -12,7 +12,7 @@ export function useExchangeRates(useAsyncData: AsyncDataHook): ExchangeCurrencyI
|
|
|
12
12
|
|
|
13
13
|
const result = data?.hits?.hits?.map((_) => _._source) || [];
|
|
14
14
|
|
|
15
|
-
return result.length ? getCurrencyListByRate(result) : result;
|
|
15
|
+
return result.length ? getCurrencyListByRate(result as RatesData[]) : result;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
async function fetchExchangeRates(): Promise<any | undefined> {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { useCallback, useRef } from 'react';
|
|
1
|
+
import React, { ReactNode, useCallback, useRef } from 'react';
|
|
2
2
|
import type { IntersectionObserverComponent } from '../components/ContentPage/ContentPageContext';
|
|
3
3
|
|
|
4
4
|
export const IntersectionObserverTag: IntersectionObserverComponent = (props) => {
|
|
5
5
|
const {
|
|
6
|
-
|
|
6
|
+
tag: _tag = 'section',
|
|
7
7
|
observerCallback,
|
|
8
8
|
observerOptions,
|
|
9
9
|
className = '',
|
|
10
10
|
anchor = null,
|
|
11
11
|
children,
|
|
12
|
-
...rest
|
|
13
12
|
} = props;
|
|
14
13
|
|
|
15
14
|
const intersectionObserver = useRef<IntersectionObserver>();
|
|
@@ -23,9 +22,5 @@ export const IntersectionObserverTag: IntersectionObserverComponent = (props) =>
|
|
|
23
22
|
[observerCallback, observerOptions],
|
|
24
23
|
);
|
|
25
24
|
|
|
26
|
-
return (
|
|
27
|
-
<Tag ref={ref} className={className} id={anchor} {...rest}>
|
|
28
|
-
{children}
|
|
29
|
-
</Tag>
|
|
30
|
-
);
|
|
25
|
+
return React.createElement(_tag, { ref, className, id: anchor }, children as ReactNode);
|
|
31
26
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DaDataAPI } from '../api/DaDataAPI';
|
|
5
5
|
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
6
6
|
import { IntersectionObserverTag } from './IntersectionObserverTag';
|
|
7
7
|
|
|
8
|
+
const { jsx, jsxs } = runtime as any;
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
8
11
|
setup(jsx, jsxs);
|
|
9
12
|
|
|
10
13
|
const TEST_ORIGIN = 'http://localhost:5001';
|
|
@@ -33,7 +36,7 @@ export const context: ContentPageContext = {
|
|
|
33
36
|
useState,
|
|
34
37
|
useRouter: Router,
|
|
35
38
|
useAsyncData: (key, fetcher) => {
|
|
36
|
-
const [data, setData] = useState();
|
|
39
|
+
const [data, setData] = useState<any>();
|
|
37
40
|
useEffect(() => {
|
|
38
41
|
fetcher(key).then((_) => {
|
|
39
42
|
setData(_);
|
|
@@ -6,16 +6,18 @@ interface BlockWrapperProps {
|
|
|
6
6
|
context: ContentPageContext;
|
|
7
7
|
className?: string;
|
|
8
8
|
anchor?: string;
|
|
9
|
-
|
|
9
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export const BlockWrapper = JSX<BlockWrapperProps>(
|
|
13
|
-
({ anchor, className, context, children,
|
|
13
|
+
({ anchor, className, context, children, tag = 'section' }) => {
|
|
14
14
|
const { IntersectionObserverTag } = context;
|
|
15
15
|
|
|
16
|
+
const Tag: any = tag;
|
|
17
|
+
|
|
16
18
|
return anchor ? (
|
|
17
19
|
<IntersectionObserverTag
|
|
18
|
-
|
|
20
|
+
tag={tag}
|
|
19
21
|
className={className}
|
|
20
22
|
observerCallback={changeHashOnObserve}
|
|
21
23
|
observerOptions={{ threshold: 1 }} // Lower threshold when hash change needed
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { ButtonProps } from './ButtonProps';
|
|
3
|
-
import { Button } from './Button';
|
|
4
2
|
import { Img } from '../Img/Img';
|
|
3
|
+
import { Button } from './Button';
|
|
4
|
+
import type { ButtonProps } from './ButtonProps';
|
|
5
5
|
|
|
6
6
|
export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) => (
|
|
7
7
|
<Button
|
|
8
8
|
rounded
|
|
9
|
-
className={`shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${
|
|
9
|
+
className={`group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${
|
|
10
10
|
disabled
|
|
11
11
|
? 'bg-secondary-light text-secondary-text'
|
|
12
12
|
: 'bg-white text-primary-text hover:text-primary-main'
|
|
@@ -17,6 +17,7 @@ export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) =
|
|
|
17
17
|
<Img
|
|
18
18
|
className="w-4 h-4 min-w-4 min-h-4 rounded-full box-border"
|
|
19
19
|
image={{ icon: 'ArrowLeftIcon', iconVersion: 'black' }}
|
|
20
|
+
imageClassName="group-hover:text-primary-main"
|
|
20
21
|
width="16"
|
|
21
22
|
height="16"
|
|
22
23
|
asSVG
|
|
@@ -6,7 +6,7 @@ import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
|
|
|
6
6
|
const buttonStyleMap: Record<ButtonVersion, string> = {
|
|
7
7
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
8
8
|
secondary:
|
|
9
|
-
'text-primary-main bg-
|
|
9
|
+
'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
10
10
|
link: '',
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -58,7 +58,7 @@ const RegularButton = JSX<ButtonCommonProps>(
|
|
|
58
58
|
}) => {
|
|
59
59
|
return (
|
|
60
60
|
<a
|
|
61
|
-
className={`${buttonStyle} inline-block cursor-pointer no-underline ${
|
|
61
|
+
className={`${buttonStyle} inline-block cursor-pointer no-underline focus:border-primary-focus focus:border ${
|
|
62
62
|
buttonStyleMap[version] || ''
|
|
63
63
|
} ${rounded ? 'rounded-full' : 'rounded-md'} ${className}`}
|
|
64
64
|
href={href}
|
|
@@ -15,7 +15,7 @@ export const ButtonInner = JSX<ButtonInnerProps>((props) => {
|
|
|
15
15
|
{isWithText(props) ? (
|
|
16
16
|
<div>
|
|
17
17
|
<div className="text-xs text-left">{aboveText}</div>
|
|
18
|
-
<div className={`text-left ${aboveText ? 'text-s -mt-0.5' : 'text-
|
|
18
|
+
<div className={`text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`}>{text}</div>
|
|
19
19
|
</div>
|
|
20
20
|
) : null}
|
|
21
21
|
{appendRight ? appendRight : null}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { VNode } from '../../model/VNode';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* @hidden
|
|
@@ -33,9 +34,9 @@ export interface ButtonWithIconProps extends ButtonProps {
|
|
|
33
34
|
/** @title Верхний текст */
|
|
34
35
|
aboveText?: string;
|
|
35
36
|
/** @hidden */
|
|
36
|
-
appendLeft?:
|
|
37
|
+
appendLeft?: VNode;
|
|
37
38
|
/** @hidden */
|
|
38
|
-
appendRight?:
|
|
39
|
+
appendRight?: VNode;
|
|
39
40
|
/** @title Закругленные углы */
|
|
40
41
|
rounded?: boolean;
|
|
41
42
|
/** @hidden */
|
|
@@ -56,7 +57,7 @@ export interface BackwardButtonProps extends ButtonProps {
|
|
|
56
57
|
/** @title Верхний текст */
|
|
57
58
|
aboveText?: string;
|
|
58
59
|
/** @hidden */
|
|
59
|
-
appendLeft?:
|
|
60
|
+
appendLeft?: VNode;
|
|
60
61
|
/** @title Закругленные углы */
|
|
61
62
|
rounded?: boolean;
|
|
62
63
|
/** @hidden */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { SVGPathOptions } from '../SVG';
|
|
2
3
|
|
|
3
4
|
export interface LikeButtonProps {
|
|
4
5
|
className?: string;
|
|
@@ -23,13 +24,14 @@ const renderLikeIcon = () => {
|
|
|
23
24
|
strokeLinecap: 'round',
|
|
24
25
|
strokeLinejoin: 'round',
|
|
25
26
|
strokeWidth: '1.5',
|
|
26
|
-
};
|
|
27
|
+
} as SVGPathOptions;
|
|
27
28
|
|
|
28
29
|
return (
|
|
29
30
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
30
31
|
<path
|
|
31
32
|
{...params}
|
|
32
33
|
strokeMiterlimit="10"
|
|
34
|
+
/* eslint-disable max-len */
|
|
33
35
|
d="M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"
|
|
34
36
|
/>
|
|
35
37
|
<path
|