@redneckz/wildless-cms-uni-blocks 0.3.86 → 0.3.87
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 +78 -72
- 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 +3 -3
- 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 +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 +3 -3
- 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 +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 +1 -1
- 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 +1 -1
- 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,4 +1,4 @@
|
|
|
1
|
-
interface SVGPathOptions {
|
|
1
|
+
export interface SVGPathOptions {
|
|
2
2
|
fill?: string;
|
|
3
3
|
stroke?: string;
|
|
4
4
|
strokeLinecap?: 'inherit' | 'butt' | 'round' | 'square';
|
|
@@ -6,7 +6,7 @@ interface SVGPathOptions {
|
|
|
6
6
|
strokeWidth?: string;
|
|
7
7
|
strokeMiterlimit?: string;
|
|
8
8
|
}
|
|
9
|
-
interface SVGPath extends SVGPathOptions {
|
|
9
|
+
export interface SVGPath extends SVGPathOptions {
|
|
10
10
|
d: string;
|
|
11
11
|
}
|
|
12
12
|
export interface SVGProps extends SVGPathOptions {
|
|
@@ -17,4 +17,3 @@ export interface SVGProps extends SVGPathOptions {
|
|
|
17
17
|
height?: string;
|
|
18
18
|
}
|
|
19
19
|
export declare const SVG: (props: import("@redneckz/uni-jsx").PropsWithChildren<SVGProps, any>, context?: any) => any;
|
|
20
|
-
export {};
|
|
@@ -5,12 +5,12 @@ import { Img } from '../Img/Img.js';
|
|
|
5
5
|
export const SearchBarInner = JSX(({ className, context, isMobile = false }) => {
|
|
6
6
|
const { term, setTerm } = context.useSearch();
|
|
7
7
|
const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
|
|
8
|
-
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : '
|
|
8
|
+
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
|
|
9
9
|
const SearchBarInputClassName = isMobile
|
|
10
10
|
? ' placeholder-transparent font-normal'
|
|
11
11
|
: 'font-light h-full';
|
|
12
12
|
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
13
|
-
return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-
|
|
13
|
+
return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded box-border
|
|
14
14
|
outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
15
15
|
e.preventDefault();
|
|
16
16
|
setTerm('');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,cAAc,CAAC;IAClF,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,mBAAmB,CAAC;IACxB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9D,OAAO,CACL,gBAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAE,kBAAkB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,uBAAuB,uBAAuB,EAAE,2FAGrD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAE;mFAC8D,uBAAuB,EAAE,EAClG,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EAClD,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,CACV,IACI,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAUxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,iBACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAUxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,iBACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,YAElD,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -15,7 +15,7 @@ export const SwipeListControl = JSX(({ className, context, children, gap = DEFAU
|
|
|
15
15
|
children,
|
|
16
16
|
};
|
|
17
17
|
const handleScroll = (e) => {
|
|
18
|
-
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e
|
|
18
|
+
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e?.currentTarget;
|
|
19
19
|
// horizontal PADDING / 2 to compensate padding-margin combo of child container
|
|
20
20
|
// without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
|
|
21
21
|
const itemWidth = childrenCollection[0].offsetWidth - padding / 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,EACJ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAAE,kBAAkB,GAC7B,GAAG,CAAC,EAAE,aAA4B,CAAC;QAEpC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,kBAAkB,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,YAAY,GAAG,eAAe,CAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,aAAa,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,KAAK,KAAK,WAAW,IAAI,aAAa,EAAE;YAC1C,aAAa,EAAE,CAAC;SACjB;QACD,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,KAAC,oBAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,KAAC,oBAAoB,OAAK,SAAS,GAAI,IACnC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -18,7 +18,7 @@ export const SwipeListControlDots = JSX(({ children, activeIndex, indexFraction,
|
|
|
18
18
|
});
|
|
19
19
|
const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
|
|
20
20
|
if (currentIdx < activeIndex || currentIdx > activeIndex + 1) {
|
|
21
|
-
return
|
|
21
|
+
return;
|
|
22
22
|
}
|
|
23
23
|
const leftIndexMod = 1 - indexFraction;
|
|
24
24
|
const rightIndexMod = indexFraction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;QACzC,IAAI,GAAG,KAAK,WAAW,EAAE;YACvB,OAAO;SACR;QAED,MAAM,gBAAgB,GAAI,CAAC,CAAC,aAA6B,CAAC,aAAa;YACrE,EAAE,sBAAsB,CAAC;QAE3B,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5F,CAAC,CAAC;IAEF,OAAO,QAAQ,IAAI,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACpC,cAAK,SAAS,EAAC,+BAA+B,YAC3C,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAW,EAAE,EAAE,CAAC,CACjC,cAEE,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,EACzB,SAAS,EAAE,GAAG,UAAU,EAAE,EAC1B,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,yBAH/C,MAAM,CAAC,GAAG,CAAC,CAKhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACe,EAAE;IACtC,IAAI,UAAU,GAAG,WAAW,IAAI,UAAU,GAAG,WAAW,GAAG,CAAC,EAAE;QAC5D,OAAO;KACR;IAED,MAAM,YAAY,GAAG,CAAC,GAAG,aAAa,CAAC;IACvC,MAAM,aAAa,GAAG,aAAa,CAAC;IAEpC,OAAO,UAAU,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
|
|
@@ -5,6 +5,6 @@ import { SwipeContainer } from './SwipeListControlProps';
|
|
|
5
5
|
export interface SwipeListControlListProps extends SwipeContainer {
|
|
6
6
|
className?: string;
|
|
7
7
|
activeIndex: number;
|
|
8
|
-
onScroll?: (e:
|
|
8
|
+
onScroll?: (e: any) => void;
|
|
9
9
|
}
|
|
10
10
|
export declare const SwipeListControlList: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlListProps, any>, context?: any) => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { DEFAULT_GAP, DEFAULT_PADDING } from './constants.js';
|
|
3
4
|
import { SwipeListControlItem } from './SwipeListControlItem.js';
|
|
4
5
|
import { getContainerStyle } from './utils/getContainerStyle.js';
|
|
5
|
-
import { DEFAULT_GAP, DEFAULT_PADDING } from './constants.js';
|
|
6
6
|
export const SwipeListControlList = JSX(({ className = '', children, activeIndex, onScroll, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, }) => {
|
|
7
7
|
return (_jsx("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...getContainerStyle(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => (_jsx(SwipeListControlItem, { style: getContainerStyle(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : (_jsx(SwipeListControlItem, { children: children })) }));
|
|
8
8
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAW9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,KAAC,oBAAoB,IAEnB,KAAK,EAAE,iBAAiB,CAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -9,7 +9,7 @@ export const Tabs = JSX(({ tabs, currentTabIndex, onTabClick }) => {
|
|
|
9
9
|
const tabDescriptionStyle = (isActive = false) => `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`;
|
|
10
10
|
const renderTab = (currentTabIndex, onTabClick) => (tab, index) => {
|
|
11
11
|
const isActive = currentTabIndex === index;
|
|
12
|
-
return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected":
|
|
12
|
+
return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": isActive, children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (_jsx("span", { className: tabDescriptionStyle(isActive), children: tab?.description })) : null] })] }, String(index)));
|
|
13
13
|
};
|
|
14
14
|
const renderIcon = (tab, isActive) => (_jsx("div", { className: "h-full mt-1", children: _jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
|
|
15
15
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE1E,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,cAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,YACvE,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,QAAQ,GAAG,KAAK,EAAE,EAAE,CAC/C,sBAAsB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAEhE,MAAM,SAAS,GACb,CAAC,eAAuB,EAAE,UAA2B,EAAE,EAAE,CAAC,CAAC,GAAQ,EAAE,KAAa,EAAE,EAAE;IACpF,MAAM,QAAQ,GAAG,eAAe,KAAK,KAAK,CAAC;IAE3C,OAAO,CACL,eAEE,SAAS,EAAE,gEACT,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAChC,EAAE,EACF,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,mBACjB,
|
|
1
|
+
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE1E,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,cAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,YACvE,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,QAAQ,GAAG,KAAK,EAAE,EAAE,CAC/C,sBAAsB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAEhE,MAAM,SAAS,GACb,CAAC,eAAuB,EAAE,UAA2B,EAAE,EAAE,CAAC,CAAC,GAAQ,EAAE,KAAa,EAAE,EAAE;IACpF,MAAM,QAAQ,GAAG,eAAe,KAAK,KAAK,CAAC;IAE3C,OAAO,CACL,eAEE,SAAS,EAAE,gEACT,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAChC,EAAE,EACF,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,mBACjB,QAAQ,aAEtB,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAC7C,0BACG,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,2BAA2B,YAAE,GAAG,EAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC/E,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,mBAAmB,CAAC,QAAQ,CAAC,YAAG,GAAG,EAAE,WAAW,GAAQ,CAC1E,CAAC,CAAC,CAAC,IAAI,IACJ,KAdD,MAAM,CAAC,KAAK,CAAC,CAed,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,GAAQ,EAAE,QAAiB,EAAE,EAAE,CAAC,CAClD,cAAK,SAAS,EAAC,aAAa,YAC1B,KAAC,GAAG,IACF,SAAS,EAAE,gBAAgB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,KAAK,EAAE,GAAG,EAAE,IAAI,IAAI,UAAU,EAC9B,KAAK,EAAE,CAAC,QAAQ,GAChB,GACE,CACP,CAAC"}
|
package/mobile/src/common.css
CHANGED
|
@@ -10,8 +10,8 @@ html {
|
|
|
10
10
|
--color-primary-main: 66, 171, 68;
|
|
11
11
|
--color-primary-hover: 36, 131, 65;
|
|
12
12
|
--color-primary-active: 36, 95, 52;
|
|
13
|
-
--color-secondary-hover:
|
|
14
|
-
--color-secondary-active:
|
|
13
|
+
--color-secondary-hover: 36, 131, 65;
|
|
14
|
+
--color-secondary-active: 36, 95, 52;
|
|
15
15
|
--color-gradient-from: 141, 189, 76;
|
|
16
16
|
--color-gradient-to: 69, 172, 69;
|
|
17
17
|
}
|
|
@@ -20,18 +20,18 @@ html {
|
|
|
20
20
|
--color-primary-main: 131, 184, 62;
|
|
21
21
|
--color-primary-hover: 92, 146, 29;
|
|
22
22
|
--color-primary-active: 60, 94, 16;
|
|
23
|
-
--color-secondary-hover:
|
|
24
|
-
--color-secondary-active:
|
|
23
|
+
--color-secondary-hover: 92, 146, 29;
|
|
24
|
+
--color-secondary-active: 60, 94, 16;
|
|
25
25
|
--color-gradient-from: 141, 189, 76; /* TODO: change color to theme bc */
|
|
26
26
|
--color-gradient-to: 69, 172, 69; /* TODO: change color to theme bc */
|
|
27
27
|
}
|
|
28
28
|
/* Ecosystem own | Yellow */
|
|
29
29
|
[data-theme='eo'] {
|
|
30
|
-
--color-primary-main:
|
|
30
|
+
--color-primary-main: 221, 182, 61;
|
|
31
31
|
--color-primary-hover: 187, 151, 39;
|
|
32
32
|
--color-primary-active: 126, 99, 12;
|
|
33
|
-
--color-secondary-hover:
|
|
34
|
-
--color-secondary-active:
|
|
33
|
+
--color-secondary-hover: 187, 151, 39;
|
|
34
|
+
--color-secondary-active: 126, 99, 12;
|
|
35
35
|
--color-gradient-from: 141, 189, 76; /* TODO: change color to theme eo */
|
|
36
36
|
--color-gradient-to: 69, 172, 69; /* TODO: change color to theme eo */
|
|
37
37
|
}
|
|
@@ -65,7 +65,7 @@ const renderDescription = (description?: DescriptionType) => {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
return description ? (
|
|
68
|
-
<div className="
|
|
68
|
+
<div className="text-l-light text-secondary-text mt-2">
|
|
69
69
|
{benefitType === 'list'
|
|
70
70
|
? renderListBenefit(description as ListBenefitDef)
|
|
71
71
|
: renderTextBenefit(description as TextBenefitDef)}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import
|
|
4
|
+
import runtime from 'react/jsx-runtime';
|
|
5
5
|
import { Blocks } from './Blocks';
|
|
6
6
|
import type { ContentPageContext } from './ContentPage/ContentPageContext';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const { jsx, jsxs } = runtime as any;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
__esModule: true,
|
|
12
|
-
BlockWrapper: ({ children }) => <section>{children}</section>,
|
|
13
|
-
}));
|
|
10
|
+
setup(jsx, jsxs);
|
|
14
11
|
|
|
15
12
|
const emptyFn = () => {
|
|
16
13
|
/* For sure */
|
|
@@ -14,7 +14,7 @@ export const Bonus = JSX<BonusProps>((props) => {
|
|
|
14
14
|
<div className="container">
|
|
15
15
|
{title ? <Heading headingType="h3" className="text-center" title={title} /> : null}
|
|
16
16
|
{description ? (
|
|
17
|
-
<div className="text-
|
|
17
|
+
<div className="text-xl-light text-center mt-[10px]">{description}</div>
|
|
18
18
|
) : null}
|
|
19
19
|
<div className="flex flex-wrap w-full mt-9">
|
|
20
20
|
{bonusItems
|
|
@@ -26,10 +26,8 @@ export const Bonus = JSX<BonusProps>((props) => {
|
|
|
26
26
|
>
|
|
27
27
|
<div className="flex justify-between w-full">
|
|
28
28
|
<div className="mr-4">
|
|
29
|
-
<div className="text-
|
|
30
|
-
<div className="text-
|
|
31
|
-
{_.description}
|
|
32
|
-
</div>
|
|
29
|
+
<div className="text-h4">{_.title}</div>
|
|
30
|
+
<div className="text-xl-light mt-[14px] max-w-[488px]">{_.description}</div>
|
|
33
31
|
</div>
|
|
34
32
|
{_.bonusCount ? (
|
|
35
33
|
<div className="relative -bottom-3 h-auto flex items-end mt-14 shrink-0">
|
|
@@ -39,7 +39,7 @@ const renderBonusBenefit = (bonusBenefit: BonusBenefit, i: number) => {
|
|
|
39
39
|
/>
|
|
40
40
|
) : null}
|
|
41
41
|
<div>
|
|
42
|
-
{bonusBenefit?.label ? <span className="
|
|
42
|
+
{bonusBenefit?.label ? <span className="text-h6 m-0">{bonusBenefit.label}</span> : null}
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
);
|
|
@@ -6,12 +6,12 @@ import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants';
|
|
|
6
6
|
import { Rate } from './Rate';
|
|
7
7
|
import { renderButtonSection } from './renderButtonSection';
|
|
8
8
|
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
9
|
-
import {
|
|
9
|
+
import { useBonusCalculatorParams } from './useBonusCalculatorParams';
|
|
10
10
|
|
|
11
11
|
export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {}
|
|
12
12
|
|
|
13
13
|
export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
|
|
14
|
-
({ context, className = '', sourceBookDir, buttons }) => {
|
|
14
|
+
({ context, className = '', sourceBookDir = '', buttons }) => {
|
|
15
15
|
const [travelExpenseValue, setTravelExpenseValue] = context.useState(DEFAULT_TRAVEL_MIN_SUM);
|
|
16
16
|
const [restExpenseValue, setRestExpenseValue] = context.useState(DEFAULT_REST_MIN_SUM);
|
|
17
17
|
const userInputParams = {
|
|
@@ -19,7 +19,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
|
|
|
19
19
|
restExpenseValue,
|
|
20
20
|
};
|
|
21
21
|
const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } =
|
|
22
|
-
|
|
22
|
+
useBonusCalculatorParams(context, userInputParams, sourceBookDir);
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<section className={className}>
|
|
@@ -75,8 +75,8 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
|
|
|
75
75
|
const btnClassName = isActiveBtn
|
|
76
76
|
? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
|
|
77
77
|
: `h-[77px] w-[322px] min-w-[322px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
|
|
78
|
-
const btnTitleClassName = isActiveBtn ? 'text-
|
|
79
|
-
const btnDescClassName = isActiveBtn ? 'text-
|
|
78
|
+
const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
|
|
79
|
+
const btnDescClassName = isActiveBtn ? 'text-l text-white' : `text-m-md`;
|
|
80
80
|
const iconClassName = isActiveBtn ? '' : `text-primary-main`;
|
|
81
81
|
|
|
82
82
|
return (
|
|
@@ -13,9 +13,9 @@ export const CalculatorValueBlock = JSX<CalculatorValueBlockProps>(
|
|
|
13
13
|
({ title, value, postfix = '', prefix, className = '' }) => {
|
|
14
14
|
return (
|
|
15
15
|
<div className={`mb-5 ${className}`}>
|
|
16
|
-
{title ? <div className="text-
|
|
16
|
+
{title ? <div className="text-l-light">{title}</div> : null}
|
|
17
17
|
{value ? (
|
|
18
|
-
<div className="text-
|
|
18
|
+
<div className="text-h3">
|
|
19
19
|
{prefix} {addSpacesBetweenNumbers(Math.round(value))} {postfix}
|
|
20
20
|
</div>
|
|
21
21
|
) : null}
|
|
@@ -9,7 +9,7 @@ import { renderButtonSection } from './renderButtonSection';
|
|
|
9
9
|
import { renderMonthsInput } from './renderMonthsInput';
|
|
10
10
|
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
|
|
11
11
|
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
12
|
-
import {
|
|
12
|
+
import { useCreditCalculatorParams } from './useCreditCalculatorParams';
|
|
13
13
|
|
|
14
14
|
export const ANNUITY = 'annuity';
|
|
15
15
|
export const DIFFERENTIAL = 'differential';
|
|
@@ -43,7 +43,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
|
|
|
43
43
|
moneyValue,
|
|
44
44
|
monthsValue,
|
|
45
45
|
};
|
|
46
|
-
const calculatorParams =
|
|
46
|
+
const calculatorParams = useCreditCalculatorParams(context, userInputParams, sourceBookDir);
|
|
47
47
|
|
|
48
48
|
return (
|
|
49
49
|
<section className={className}>
|
|
@@ -9,7 +9,7 @@ export interface RateProps {
|
|
|
9
9
|
|
|
10
10
|
export const Rate = JSX<RateProps>(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (
|
|
11
11
|
<div>
|
|
12
|
-
<div className="text-
|
|
12
|
+
<div className="text-l-light ml-3">{title}</div>
|
|
13
13
|
<div className="flex justify-start">
|
|
14
14
|
<span
|
|
15
15
|
className={`block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`}
|
|
@@ -4,10 +4,8 @@ import { Button } from '../../ui-kit/Button/Button';
|
|
|
4
4
|
export function renderProposal(monthlyPayment: number) {
|
|
5
5
|
return (
|
|
6
6
|
<div className="box-border ">
|
|
7
|
-
<div className="text-
|
|
8
|
-
<div className="text-
|
|
9
|
-
{addSpacesBetweenNumbers(Math.round(monthlyPayment))} ₽
|
|
10
|
-
</div>
|
|
7
|
+
<div className="text-l-light">Ежемесячный платёж</div>
|
|
8
|
+
<div className="text-h3 mb-3">{addSpacesBetweenNumbers(Math.round(monthlyPayment))} ₽</div>
|
|
11
9
|
<Button className="mt-[50px] w-full" text="Отправить заявку" version="primary" href="#" />
|
|
12
10
|
</div>
|
|
13
11
|
);
|
|
@@ -28,10 +28,10 @@ export interface BonusCalculatorParams
|
|
|
28
28
|
yearBonus: number;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export const
|
|
31
|
+
export const useBonusCalculatorParams = (
|
|
32
32
|
context: ContentPageContext,
|
|
33
33
|
userInputParams: BonusCalculatorUserInputParams,
|
|
34
|
-
sourceBookDir,
|
|
34
|
+
sourceBookDir: string,
|
|
35
35
|
) => {
|
|
36
36
|
const { travelExpenseValue, restExpenseValue } = userInputParams;
|
|
37
37
|
const bonusCalculatorSourceBookParams =
|
|
@@ -35,7 +35,7 @@ export type CreditCalculatorData = {
|
|
|
35
35
|
rows: CreditCalculatorSourceBookParams[];
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
export const
|
|
38
|
+
export const useCreditCalculatorParams = (
|
|
39
39
|
context: ContentPageContext,
|
|
40
40
|
userInputParams: CreditCalculatorUserInputParams,
|
|
41
41
|
sourceBookDir?: string,
|
|
@@ -21,10 +21,10 @@ export const Catalog = JSX<CatalogProps>(
|
|
|
21
21
|
return (
|
|
22
22
|
<BlockWrapper
|
|
23
23
|
context={context}
|
|
24
|
-
className={`bg-white relative font-sans p-
|
|
24
|
+
className={`bg-white relative font-sans p-12 overflow-hidden text-center ${className}`}
|
|
25
25
|
{...rest}
|
|
26
26
|
>
|
|
27
|
-
{title ? <Heading headingType="
|
|
27
|
+
{title ? <Heading headingType="h3" className="mb-6" title={title} /> : null}
|
|
28
28
|
{description ? <Description className="mb-6" description={description} /> : null}
|
|
29
29
|
<div
|
|
30
30
|
className="flex duration-1000 gap-3.5"
|
|
@@ -22,18 +22,21 @@ export const CatalogCard = JSX<CatalogCardProps>(
|
|
|
22
22
|
className={`border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
|
|
23
23
|
role="listitem"
|
|
24
24
|
>
|
|
25
|
-
{image?.src ? <Img className="mb-5" image={image} /> : null}
|
|
25
|
+
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
26
26
|
{title ? (
|
|
27
|
-
<Heading headingType="h6" as="
|
|
27
|
+
<Heading headingType="h6" as="h4" className="text-left mb-1.5" title={title} />
|
|
28
|
+
) : null}
|
|
29
|
+
{description ? (
|
|
30
|
+
<div className="text-m-md text-left mb-4 font-light">{description}</div>
|
|
28
31
|
) : null}
|
|
29
|
-
{description ? <div className="text-m-md text-left mb-4">{description}</div> : null}
|
|
30
32
|
{colors?.length ? (
|
|
31
|
-
<div className="flex mb-4 text-m-md text-secondary-text">
|
|
32
|
-
|
|
33
|
+
<div className="flex mb-4 text-m-md text-secondary-text font-light">
|
|
34
|
+
<div className="mr-1.5">Доступные цвета: </div>
|
|
35
|
+
{colors.map(renderColorOption)}
|
|
33
36
|
</div>
|
|
34
37
|
) : null}
|
|
35
|
-
{price ? <div className="text-
|
|
36
|
-
{button?.text ? <Button className="mt-
|
|
38
|
+
{price ? <div className="text-h3 text-left">{price} ₽</div> : null}
|
|
39
|
+
{button?.text ? <Button className="mt-5 w-full" {...button} /> : null}
|
|
37
40
|
</section>
|
|
38
41
|
);
|
|
39
42
|
},
|
|
@@ -19,7 +19,7 @@ const subtitleStyle = (isFillGradient = false): string =>
|
|
|
19
19
|
|
|
20
20
|
export const HeaderCell = JSX<HeaderCellProps>(
|
|
21
21
|
({ icon, image, title, subtitle, isFillGradient }) => (
|
|
22
|
-
<div role="columnheader"
|
|
22
|
+
<div role="columnheader">
|
|
23
23
|
{icon ? (
|
|
24
24
|
<Img
|
|
25
25
|
className="h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4"
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"content": {
|
|
488
488
|
"title": "Потребительский кредит наличными",
|
|
489
489
|
"description": "Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт.",
|
|
490
|
-
"
|
|
490
|
+
"headlineVersion": "XL",
|
|
491
491
|
"backwardButton": {
|
|
492
492
|
"href": "https://rshb.ru",
|
|
493
493
|
"text": "Кнопка возврата",
|
|
@@ -2355,4 +2355,4 @@
|
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
2357
|
]
|
|
2358
|
-
}
|
|
2358
|
+
}
|
|
@@ -26,7 +26,7 @@ export type BlocksRegistry = Record<string, JSXBlock>;
|
|
|
26
26
|
|
|
27
27
|
export interface ContentPageProps extends UniBlockProps {
|
|
28
28
|
blocksRegistry: BlocksRegistry;
|
|
29
|
-
data
|
|
29
|
+
data?: ContentPageDef;
|
|
30
30
|
blockDecorator?: BlockDecorator;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -45,9 +45,10 @@ export const ContentPage = JSX<ContentPageProps>(
|
|
|
45
45
|
className = '',
|
|
46
46
|
context,
|
|
47
47
|
blocksRegistry,
|
|
48
|
-
data
|
|
48
|
+
data = {},
|
|
49
49
|
blockDecorator = defaultBlockDecorator,
|
|
50
50
|
}) => {
|
|
51
|
+
const { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' } = data;
|
|
51
52
|
const { header } = slots;
|
|
52
53
|
|
|
53
54
|
return (
|
|
@@ -36,7 +36,7 @@ export type SetStateHook = <State>(
|
|
|
36
36
|
) => [State, (action: SetStateAction<State>) => void];
|
|
37
37
|
|
|
38
38
|
export interface IntersectionObserverTagProps {
|
|
39
|
-
|
|
39
|
+
tag: keyof HTMLElementTagNameMap;
|
|
40
40
|
className?: string;
|
|
41
41
|
anchor?: string;
|
|
42
42
|
children?: VNode;
|
|
@@ -44,9 +44,7 @@ export interface IntersectionObserverTagProps {
|
|
|
44
44
|
observerOptions?: IntersectionObserverInit;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export type IntersectionObserverComponent = (
|
|
48
|
-
props: IntersectionObserverTagProps & Record<string, any>,
|
|
49
|
-
) => VNode;
|
|
47
|
+
export type IntersectionObserverComponent = (props: IntersectionObserverTagProps) => VNode;
|
|
50
48
|
|
|
51
49
|
export interface ContentPageContext {
|
|
52
50
|
useRouter: () => Router;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { VNode as _VNode } from '../../model/VNode';
|
|
2
3
|
import type { ContentPageMeta } from '../../types';
|
|
3
|
-
|
|
4
4
|
export interface ContentPageHeadProps {
|
|
5
|
-
HeadComponent: <Props, Context, VNode>(props: Props, context?: Context) => VNode;
|
|
5
|
+
HeadComponent: <Props, Context, VNode = _VNode>(props: Props, context?: Context) => VNode;
|
|
6
6
|
data: ContentPageMeta;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BlockDef, ContentPageDef } from '../../types';
|
|
1
|
+
import type { BlockDef, ContentPageDef, Slot } from '../../types';
|
|
2
2
|
import { Blocks } from '../Blocks';
|
|
3
3
|
import { isBlockInRegistry } from './isBlockInRegistry';
|
|
4
4
|
import { normalizeBlock } from './normalizeBlock';
|
|
@@ -7,7 +7,7 @@ export function normalizePage(
|
|
|
7
7
|
contentPage: ContentPageDef | undefined | null,
|
|
8
8
|
): ContentPageDef | undefined {
|
|
9
9
|
if (!contentPage) {
|
|
10
|
-
return
|
|
10
|
+
return;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const { blocks, slots } = contentPage;
|
|
@@ -22,7 +22,7 @@ export function normalizePage(
|
|
|
22
22
|
...res,
|
|
23
23
|
[key]: {
|
|
24
24
|
...slots[key],
|
|
25
|
-
blocks: getMobileBlocks(slots[key].blocks),
|
|
25
|
+
blocks: getMobileBlocks((slots[key] as Slot).blocks),
|
|
26
26
|
},
|
|
27
27
|
}),
|
|
28
28
|
{},
|
|
@@ -40,7 +40,7 @@ const renderContact = (item: ContactInfo, index: number) => {
|
|
|
40
40
|
return (
|
|
41
41
|
<div className="mb-4" key={String(index)}>
|
|
42
42
|
<div>{renderText(type, text)}</div>
|
|
43
|
-
<div className="mt-1 font-sans
|
|
43
|
+
<div className="mt-1 font-sans text-s-light text-secondary-text">{description}</div>
|
|
44
44
|
</div>
|
|
45
45
|
);
|
|
46
46
|
};
|
|
@@ -54,7 +54,6 @@ export const MediaButton = JSX<MediaButtonProps>(({ href, version = 'primary' })
|
|
|
54
54
|
: 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
|
|
55
55
|
|
|
56
56
|
const isPrimary = version === 'primary';
|
|
57
|
-
const imageClassName = isPrimary ? 'group-hover:text-white' : '';
|
|
58
57
|
|
|
59
58
|
return (
|
|
60
59
|
<a
|
|
@@ -67,7 +66,7 @@ export const MediaButton = JSX<MediaButtonProps>(({ href, version = 'primary' })
|
|
|
67
66
|
rel="noopener noreferrer"
|
|
68
67
|
>
|
|
69
68
|
{icon ? (
|
|
70
|
-
<Img image={icon} imageClassName=
|
|
69
|
+
<Img image={icon} imageClassName="group-hover:text-white" width="24" height="24" asSVG />
|
|
71
70
|
) : null}
|
|
72
71
|
</a>
|
|
73
72
|
);
|
|
@@ -31,7 +31,7 @@ const renderColumn = (c: TopMenuItem, index: number, { router, handlerDecorator
|
|
|
31
31
|
return (
|
|
32
32
|
<div key={String(index)} className="flex flex-col w-1/5 last:w-1/4 gap-[14px]">
|
|
33
33
|
<a
|
|
34
|
-
className="block font-sans leading-5 text-
|
|
34
|
+
className="block font-sans leading-5 text-l text-primary-text no-underline"
|
|
35
35
|
href={href}
|
|
36
36
|
target={target || '_self'}
|
|
37
37
|
>
|
|
@@ -50,7 +50,7 @@ interface ColumnItemProps extends LinkProps {
|
|
|
50
50
|
|
|
51
51
|
const ColumnItem = JSX<ColumnItemProps>(({ text, href, target, index }) => (
|
|
52
52
|
<a
|
|
53
|
-
className="block font-sans
|
|
53
|
+
className="block font-sans text-l-light text-secondary-text hover:text-primary-main no-underline"
|
|
54
54
|
href={href}
|
|
55
55
|
target={target || '_self'}
|
|
56
56
|
>
|
|
@@ -18,9 +18,7 @@ export const GalleryCardInner = JSX<GalleryCard>(
|
|
|
18
18
|
</div>
|
|
19
19
|
) : null}
|
|
20
20
|
{title ? renderCardTitle(title, titleStyleClasses) : null}
|
|
21
|
-
{description ?
|
|
22
|
-
<div className={`font-light text-m-md-new ${title ? 'mt-2' : ''}`}>{description}</div>
|
|
23
|
-
) : null}
|
|
21
|
+
{description ? <div className={`text-m${title ? 'mt-2' : ''}`}>{description}</div> : null}
|
|
24
22
|
{items?.length ? renderItems(items, isDotted, version) : null}
|
|
25
23
|
</div>
|
|
26
24
|
{button?.text ? renderButton(button) : null}
|
|
@@ -25,7 +25,7 @@ export const GalleryContainer = JSX<GalleryContainerProps>(
|
|
|
25
25
|
<div className="flex flex-col items-center mb-8">
|
|
26
26
|
{title ? <Heading headingType="h2" className="text-center" title={title} /> : null}
|
|
27
27
|
{description ? (
|
|
28
|
-
<div className="
|
|
28
|
+
<div className="text-xl-light max-w-[600px] mt-2.5">{description}</div>
|
|
29
29
|
) : null}
|
|
30
30
|
</div>
|
|
31
31
|
<div
|
|
@@ -13,7 +13,7 @@ export const GracePeriod = JSX<GracePeriodProps>(
|
|
|
13
13
|
return (
|
|
14
14
|
<BlockWrapper className={`font-sans bg-white p-[50px] ${className}`} {...rest}>
|
|
15
15
|
<Heading headingType="h3" className="text-center" title={title} />
|
|
16
|
-
<div className="
|
|
16
|
+
<div className="text-l-light-md text-center mt-3">{description}</div>
|
|
17
17
|
{calendar ? renderCalendar(calendar) : null}
|
|
18
18
|
</BlockWrapper>
|
|
19
19
|
);
|
|
@@ -38,7 +38,7 @@ const renderCalendar = (calendar) => {
|
|
|
38
38
|
|
|
39
39
|
return (
|
|
40
40
|
<div className="w-full flex flex-col justify-center mt-[54px]">
|
|
41
|
-
<div className="flex w-full mb-3 font-light text-
|
|
41
|
+
<div className="flex w-full mb-3 font-light text-h6 text-center">
|
|
42
42
|
{mappedCalendar.map((_) => renderMonthNames(_, colSize))}
|
|
43
43
|
</div>
|
|
44
44
|
<div className="flex w-full">
|