@redneckz/wildless-cms-uni-blocks 0.3.85 → 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 +188 -147
- 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/Accordion/useActiveHandler.d.ts +1 -1
- package/dist/components/Accordion/useActiveHandler.js +4 -4
- package/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +1 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +7 -26
- package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -1
- package/dist/components/BaseTile/getTileHeadingType.js +3 -3
- package/dist/components/BaseTile/getTileHeadingType.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +2 -3
- 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/Catalog/CatalogContent.d.ts +3 -4
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.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 +3 -4
- 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/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.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/HorizontalNavigationLink.d.ts +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/Footer/TextInformationLink.d.ts +1 -1
- package/dist/components/Footer/TextInformationLink.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/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/dist/components/GroupBlock/GroupBlock.js +1 -1
- package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
- package/dist/components/GroupBlock/GroupBlockTabs.js +9 -7
- package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.d.ts +3 -2
- package/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/dist/components/Header/DropdownMenu.d.ts +1 -0
- package/dist/components/Header/DropdownMenu.js +6 -3
- 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/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Headline/Headline.js +4 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.js +1 -1
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +5 -4
- package/dist/components/Headline/constants.d.ts +9 -0
- package/dist/components/Headline/constants.js +33 -1
- package/dist/components/Headline/constants.js.map +1 -1
- package/dist/components/Insurance/Insurance.js +6 -6
- package/dist/components/Insurance/Insurance.js.map +1 -1
- package/dist/components/Insurance/InsuranceContent.d.ts +2 -5
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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 +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -6
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
- package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +2 -2
- package/dist/components/Placeholder/Placeholder.js +2 -4
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlock.js +3 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -5
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -9
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +4 -5
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +4 -5
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +2 -3
- package/dist/components/PromoTile/PromoTile.js +2 -2
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +3 -3
- 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 +3 -4
- package/dist/components/StepsBlock/StepsBlock.js +3 -3
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/dist/components/Tile/Tile.js +3 -3
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +3 -3
- 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/hooks/useLink.d.ts +3 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/icons/IconName.js +2 -2
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/HeadlineType.d.ts +17 -0
- package/dist/{ui-kit/Heading/HeadingContent.js → model/HeadlineType.js} +1 -1
- package/dist/model/HeadlineType.js.map +1 -0
- package/dist/model/VNode.d.ts +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/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/dist/services/sitemap/findActiveSubItem.js +1 -1
- package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
- package/dist/types.d.ts +0 -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/Breadcrumb.d.ts +1 -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.d.ts +0 -1
- package/dist/ui-kit/Button/Button.js +6 -6
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.js +1 -1
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +2 -2
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +7 -4
- package/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- 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 +4 -5
- package/dist/ui-kit/Button/renderArrows.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Description/Description.d.ts +2 -2
- package/dist/ui-kit/Description/Description.js +1 -1
- package/dist/ui-kit/Description/Description.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/Foldable/useActiveHandler.d.ts +1 -1
- package/dist/ui-kit/Foldable/useActiveHandler.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.d.ts +1 -5
- package/dist/ui-kit/Heading/Heading.js +8 -11
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -5
- package/dist/ui-kit/Heading/Heading.mobile.js +3 -6
- package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/dist/ui-kit/Heading/HeadingProps.d.ts +20 -0
- package/{mobile/dist/ui-kit/Heading/HeadingContent.js → dist/ui-kit/Heading/HeadingProps.js} +1 -1
- package/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/dist/ui-kit/SVG.d.ts +4 -5
- package/dist/ui-kit/SearchBar/SearchBarInner.js +5 -5
- 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/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- package/dist/ui-kit/Tabs/Tabs.js +1 -1
- package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/dist/ui-kit/Tabs/TabsProps.d.ts +1 -2
- package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/dist/utils/url.d.ts +1 -0
- package/dist/utils/url.js +3 -1
- package/dist/utils/url.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/Accordion/useActiveHandler.d.ts +1 -1
- package/lib/components/Accordion/useActiveHandler.js +4 -4
- package/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +1 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +7 -26
- package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -1
- package/lib/components/BaseTile/getTileHeadingType.js +3 -3
- package/lib/components/BaseTile/getTileHeadingType.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/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- 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/Bonus/BonusContent.d.ts +2 -3
- 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/Catalog/CatalogContent.d.ts +3 -4
- 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/ComparisonTable.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- 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 +3 -4
- 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/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.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/HorizontalNavigationLink.d.ts +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/Footer/TextInformationLink.d.ts +1 -1
- package/lib/components/Footer/TextInformationLink.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/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +3 -2
- package/lib/components/GroupBlock/GroupBlock.js +1 -1
- package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
- package/lib/components/GroupBlock/GroupBlockTabs.js +9 -7
- package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.d.ts +3 -2
- package/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/lib/components/Header/DropdownMenu.d.ts +1 -0
- package/lib/components/Header/DropdownMenu.js +6 -3
- 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/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +15 -9
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +14 -13
- package/lib/components/Headline/Headline.js +5 -3
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.js +1 -1
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +5 -4
- package/lib/components/Headline/constants.d.ts +9 -0
- package/lib/components/Headline/constants.js +32 -0
- package/lib/components/Headline/constants.js.map +1 -1
- package/lib/components/Insurance/Insurance.fixture.d.ts +3 -2
- package/lib/components/Insurance/Insurance.js +6 -6
- package/lib/components/Insurance/Insurance.js.map +1 -1
- package/lib/components/Insurance/InsuranceContent.d.ts +2 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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 +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -6
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- 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.js +3 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/lib/components/Navigation/Navigation.fixture.d.ts +2 -1
- package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
- package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
- package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +2 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +2 -1
- package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +2 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +2 -2
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +2 -1
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -1
- package/lib/components/Placeholder/Placeholder.js +2 -4
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
- 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/ProductBlockContent.d.ts +4 -5
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -9
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +4 -5
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -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/ProductGallery/ProductGalleryBlock.d.ts +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +6 -5
- package/lib/components/ProductTile/ProductTile.js +4 -5
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +2 -3
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +2 -1
- package/lib/components/PromoTile/PromoTile.js +2 -2
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +3 -3
- 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 +3 -4
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +5 -4
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +9 -8
- package/lib/components/StepsBlock/StepsBlock.js +3 -3
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- 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/TariffsTable/TariffsTableContent.d.ts +3 -4
- 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/components/Tile/Tile.js +3 -3
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +3 -3
- 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/hooks/useLink.d.ts +3 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/icons/IconName.js +1 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/HeadlineType.d.ts +17 -0
- package/lib/model/HeadlineType.js +2 -0
- package/lib/model/HeadlineType.js.map +1 -0
- package/lib/model/VNode.d.ts +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/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/lib/services/sitemap/findActiveSubItem.js +1 -1
- package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
- package/lib/types.d.ts +0 -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/Breadcrumb.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.d.ts +0 -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 +4 -4
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.js +1 -1
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +2 -2
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +7 -4
- package/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- 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 +4 -5
- package/lib/ui-kit/Button/renderArrows.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Description/Description.d.ts +2 -2
- package/lib/ui-kit/Description/Description.js +1 -1
- package/lib/ui-kit/Description/Description.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/Foldable/useActiveHandler.d.ts +1 -1
- package/lib/ui-kit/Foldable/useActiveHandler.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.d.ts +1 -5
- 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.js +8 -11
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -5
- package/lib/ui-kit/Heading/Heading.mobile.js +3 -6
- package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/lib/ui-kit/Heading/HeadingProps.d.ts +20 -0
- package/lib/ui-kit/Heading/HeadingProps.js +2 -0
- package/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
- 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/InputRange/InputRangeProps.d.ts +1 -2
- 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 +4 -5
- package/lib/ui-kit/SearchBar/SearchBarInner.js +5 -5
- 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/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- package/lib/ui-kit/Tabs/Tabs.js +1 -1
- package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/Tabs/TabsProps.d.ts +1 -2
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +3 -2
- package/lib/utils/url.d.ts +1 -0
- package/lib/utils/url.js +1 -0
- package/lib/utils/url.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +58 -59
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.js +4 -4
- package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +7 -26
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.js +3 -3
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +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/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -3
- 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/Catalog/CatalogContent.d.ts +3 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- 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 +3 -4
- 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/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.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/HorizontalNavigationLink.d.ts +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/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.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/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/dist/components/GroupBlock/GroupBlock.js +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +9 -7
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +3 -2
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -0
- package/mobile/dist/components/Header/DropdownMenu.js +6 -3
- 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/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +5 -4
- package/mobile/dist/components/Headline/constants.d.ts +9 -0
- package/mobile/dist/components/Headline/constants.js +33 -1
- package/mobile/dist/components/Headline/constants.js.map +1 -1
- package/mobile/dist/components/Insurance/Insurance.js +6 -6
- package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
- package/mobile/dist/components/Insurance/InsuranceContent.d.ts +2 -5
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -6
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -2
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -4
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -5
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +4 -5
- 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/renderBackwardButton.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +4 -5
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -3
- package/mobile/dist/components/PromoTile/PromoTile.js +2 -2
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +3 -3
- 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 +3 -4
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/mobile/dist/components/Tile/Tile.js +3 -3
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +3 -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/hooks/useLink.d.ts +3 -1
- package/mobile/dist/hooks/useLink.js +1 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/icons/IconName.js +2 -2
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/HeadlineType.d.ts +17 -0
- package/{dist/ui-kit/Description/DescriptionContent.js → mobile/dist/model/HeadlineType.js} +1 -1
- package/mobile/dist/model/HeadlineType.js.map +1 -0
- package/mobile/dist/model/VNode.d.ts +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/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/mobile/dist/services/sitemap/findActiveSubItem.js +1 -1
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
- package/mobile/dist/types.d.ts +0 -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/Breadcrumb.d.ts +1 -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/Button.js +1 -1
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +7 -4
- package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- 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 +4 -5
- package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -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/Description/Description.d.ts +2 -2
- package/mobile/dist/ui-kit/Description/Description.js +1 -1
- package/mobile/dist/ui-kit/Description/Description.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/Foldable/useActiveHandler.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -5
- package/mobile/dist/ui-kit/Heading/Heading.js +3 -6
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +20 -0
- package/mobile/dist/ui-kit/{Description/DescriptionContent.js → Heading/HeadingProps.js} +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/mobile/dist/ui-kit/SVG.d.ts +4 -5
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +5 -5
- 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/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +1 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/dist/utils/url.d.ts +1 -0
- package/mobile/dist/utils/url.js +3 -1
- package/mobile/dist/utils/url.js.map +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.js +4 -4
- package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +7 -26
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.js +3 -3
- package/mobile/lib/components/BaseTile/getTileHeadingType.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/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -3
- 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/Catalog/CatalogContent.d.ts +3 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- 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 +3 -4
- 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/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.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/HorizontalNavigationLink.d.ts +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/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.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/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/lib/components/GroupBlock/GroupBlock.js +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +9 -7
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +3 -2
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -0
- package/mobile/lib/components/Header/DropdownMenu.js +6 -3
- 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/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +5 -4
- package/mobile/lib/components/Headline/constants.d.ts +9 -0
- package/mobile/lib/components/Headline/constants.js +32 -0
- package/mobile/lib/components/Headline/constants.js.map +1 -1
- package/mobile/lib/components/Insurance/Insurance.js +6 -6
- package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
- package/mobile/lib/components/Insurance/InsuranceContent.d.ts +2 -5
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -6
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -2
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -4
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -5
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +4 -5
- 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/renderBackwardButton.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +4 -5
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -3
- package/mobile/lib/components/PromoTile/PromoTile.js +2 -2
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +3 -3
- 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 +3 -4
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/mobile/lib/components/Tile/Tile.js +3 -3
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +3 -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/hooks/useLink.d.ts +3 -1
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/icons/IconName.js +1 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/HeadlineType.d.ts +17 -0
- package/mobile/lib/model/HeadlineType.js +2 -0
- package/mobile/lib/model/HeadlineType.js.map +1 -0
- package/mobile/lib/model/VNode.d.ts +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/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/mobile/lib/services/sitemap/findActiveSubItem.js +1 -1
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
- package/mobile/lib/types.d.ts +0 -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/Breadcrumb.d.ts +1 -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/Button.js +1 -1
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +7 -4
- package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- 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 +4 -5
- package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -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/Description/Description.d.ts +2 -2
- package/mobile/lib/ui-kit/Description/Description.js +1 -1
- package/mobile/lib/ui-kit/Description/Description.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/Foldable/useActiveHandler.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -5
- package/mobile/lib/ui-kit/Heading/Heading.js +3 -6
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +20 -0
- package/mobile/lib/ui-kit/Heading/HeadingProps.js +2 -0
- package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/mobile/lib/ui-kit/SVG.d.ts +4 -5
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +5 -5
- 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/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +1 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/lib/utils/url.d.ts +1 -0
- package/mobile/lib/utils/url.js +1 -0
- package/mobile/lib/utils/url.js.map +1 -1
- package/mobile/src/common.css +7 -7
- package/mobile/src/components/Accordion/useActiveHandler.ts +5 -5
- package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTileProps.ts +7 -30
- package/mobile/src/components/BaseTile/getTileHeadingType.ts +3 -3
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -9
- package/mobile/src/components/Blocks.spec.tsx +71 -0
- package/mobile/src/components/Bonus/Bonus.tsx +3 -5
- package/mobile/src/components/Bonus/BonusContent.ts +5 -7
- 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 +5 -5
- 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 +2 -2
- 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/Catalog/CatalogContent.ts +6 -8
- package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +6 -6
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
- 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 +3 -6
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +2 -2
- package/mobile/src/components/ContentPage/normalizePage.ts +3 -3
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
- package/mobile/src/components/Footer/Contacts.tsx +1 -1
- package/mobile/src/components/Footer/HorizontalNavigationLink.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/Footer/TextInformationLink.tsx +2 -4
- 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/GracePeriod/GracePeriodContent.ts +2 -2
- package/mobile/src/components/GroupBlock/GroupBlock.tsx +5 -3
- package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +23 -24
- package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +3 -3
- package/mobile/src/components/Header/DropdownMenu.tsx +23 -10
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/mobile/src/components/Headline/Headline.example.json +1 -0
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/Headline/HeadlineContent.ts +5 -5
- package/mobile/src/components/Headline/constants.ts +42 -0
- package/mobile/src/components/Insurance/Insurance.tsx +19 -14
- package/mobile/src/components/Insurance/InsuranceContent.ts +2 -5
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +7 -7
- package/mobile/src/components/LikeControl/LikeControl.tsx +2 -2
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +1 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -6
- package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -3
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -4
- package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +2 -2
- package/mobile/src/components/PictureText/PictureTextContent.ts +2 -2
- package/mobile/src/components/Placeholder/Placeholder.tsx +8 -19
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -3
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -7
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +12 -22
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -6
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +5 -5
- package/mobile/src/components/ProductTile/ProductTile.example.json +1 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +12 -15
- package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -5
- package/mobile/src/components/PromoTile/PromoTile.example.json +1 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +12 -7
- package/mobile/src/components/PromoTile/PromoTileContent.ts +4 -4
- 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 +3 -8
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -4
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +4 -1
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +12 -14
- package/mobile/src/components/Tile/Tile.tsx +7 -11
- package/mobile/src/components/Tile/TileContent.ts +4 -5
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +858 -0
- 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/hooks/useLink.ts +2 -2
- package/mobile/src/icons/IconName.ts +1 -2
- package/mobile/src/model/HeadlineType.ts +21 -0
- package/mobile/src/model/VNode.ts +1 -1
- package/mobile/src/react/IntersectionObserverTag.tsx +3 -8
- package/mobile/src/react/setup-fixture.ts +5 -2
- package/mobile/src/services/sitemap/findActiveSubItem.ts +2 -2
- package/mobile/src/types.ts +0 -2
- package/mobile/src/ui-kit/BlockWrapper.tsx +5 -3
- package/mobile/src/ui-kit/Breadcrumb.tsx +1 -1
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +4 -3
- package/mobile/src/ui-kit/Button/Button.tsx +2 -2
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
- package/mobile/src/ui-kit/Button/ButtonProps.ts +5 -4
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Button/LikeButton.tsx +4 -2
- package/mobile/src/ui-kit/Button/renderArrows.tsx +2 -3
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/mobile/src/ui-kit/Description/Description.tsx +3 -3
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
- package/mobile/src/ui-kit/Heading/Heading.tsx +4 -14
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +24 -0
- 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/InputRange/InputRangeProps.ts +1 -3
- package/mobile/src/ui-kit/SVG.tsx +4 -4
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +6 -6
- 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/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
- package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
- package/mobile/src/ui-kit/Tabs/TabsProps.ts +1 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/mobile/src/utils/url.ts +2 -0
- package/package.json +5 -1
- package/src/common.css +7 -7
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Accordion/useActiveHandler.ts +5 -5
- package/src/components/BaseTile/BaseTile.tsx +1 -1
- package/src/components/BaseTile/BaseTileProps.ts +7 -30
- package/src/components/BaseTile/getTileHeadingType.ts +3 -3
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -9
- package/src/components/Blocks.spec.tsx +71 -0
- package/src/components/Bonus/Bonus.fixture.tsx +1 -0
- package/src/components/Bonus/Bonus.tsx +3 -5
- package/src/components/Bonus/BonusContent.ts +5 -7
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/src/components/Calculator/Calculator.tsx +5 -5
- package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/src/components/Calculator/Rate.tsx +2 -2
- 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/Catalog/CatalogContent.ts +6 -8
- package/src/components/ComparisonTable/ComparisonTable.tsx +4 -6
- package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +6 -6
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.tsx +0 -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 +3 -6
- 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/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/HorizontalNavigationLink.tsx +1 -1
- 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/Footer/TextInformationLink.tsx +2 -4
- 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/GracePeriod/GracePeriodContent.ts +2 -2
- package/src/components/GroupBlock/GroupBlock.tsx +5 -3
- package/src/components/GroupBlock/GroupBlockTabs.tsx +23 -24
- package/src/components/GroupBlock/GroupBlocksItem.tsx +3 -3
- package/src/components/Header/DropdownMenu.tsx +23 -10
- package/src/components/Header/Header.tsx +2 -2
- package/src/components/Header/HeaderBurger.tsx +2 -1
- package/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/src/components/Headline/Headline.example.json +1 -0
- package/src/components/Headline/Headline.fixture.tsx +29 -4
- package/src/components/Headline/Headline.mobile.tsx +1 -1
- package/src/components/Headline/Headline.tsx +15 -8
- package/src/components/Headline/HeadlineContent.ts +5 -5
- package/src/components/Headline/constants.ts +42 -0
- package/src/components/Insurance/Insurance.tsx +19 -14
- package/src/components/Insurance/InsuranceContent.ts +2 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +7 -7
- package/src/components/LikeControl/LikeControl.tsx +2 -2
- package/src/components/LinkDocs/LinkDocs.example.json +1 -0
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
- package/src/components/LinkDocs/LinkDocs.tsx +3 -3
- package/src/components/LinkDocs/LinkDocsContent.ts +3 -6
- package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -3
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
- package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -4
- package/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
- package/src/components/OtherProducts/OtherProductsItem.tsx +2 -2
- package/src/components/PictureText/PictureTextContent.ts +2 -2
- package/src/components/Placeholder/Placeholder.tsx +8 -19
- package/src/components/Placeholder/PlaceholderContent.ts +2 -3
- package/src/components/ProductBlock/ProductBlock.example.json +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +5 -5
- package/src/components/ProductBlock/ProductBlock.tsx +10 -2
- package/src/components/ProductBlock/ProductBlockContent.ts +4 -7
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +12 -22
- package/src/components/ProductBlock/ProductBlockInner.tsx +14 -28
- package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -6
- package/src/components/ProductBlock/renderBenefit.tsx +2 -4
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +8 -8
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +5 -5
- package/src/components/ProductTile/ProductTile.example.json +1 -1
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -6
- package/src/components/ProductTile/ProductTile.tsx +12 -15
- package/src/components/ProductTile/ProductTileContent.ts +2 -5
- package/src/components/PromoTile/PromoTile.example.json +1 -0
- package/src/components/PromoTile/PromoTile.tsx +12 -7
- package/src/components/PromoTile/PromoTileContent.ts +4 -4
- 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 +3 -8
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -4
- package/src/components/StepsBlock/StepsBlock.tsx +14 -13
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +4 -1
- package/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableContent.ts +12 -14
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -0
- package/src/components/Tile/Tile.tsx +7 -11
- package/src/components/Tile/TileContent.ts +4 -5
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +858 -0
- 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/hooks/useLink.ts +2 -2
- package/src/model/HeadlineType.ts +21 -0
- package/src/model/VNode.ts +1 -1
- package/src/react/IntersectionObserverTag.tsx +3 -8
- package/src/react/setup-fixture.ts +5 -2
- package/src/services/sitemap/findActiveSubItem.ts +2 -2
- package/src/types.ts +0 -2
- package/src/ui-kit/BlockWrapper.tsx +5 -3
- package/src/ui-kit/Breadcrumb.tsx +1 -1
- package/src/ui-kit/Button/ArrowButton.tsx +4 -3
- package/src/ui-kit/Button/Button.mobile.tsx +2 -2
- package/src/ui-kit/Button/Button.tsx +4 -4
- package/src/ui-kit/Button/ButtonInner.tsx +3 -3
- package/src/ui-kit/Button/ButtonProps.ts +5 -4
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Button/LikeButton.tsx +4 -2
- package/src/ui-kit/Button/renderArrows.tsx +2 -3
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/Description/Description.tsx +3 -3
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/Heading/Heading.mobile.tsx +4 -14
- package/src/ui-kit/Heading/Heading.tsx +9 -19
- package/src/ui-kit/Heading/HeadingProps.ts +24 -0
- package/src/ui-kit/Input/Input.tsx +3 -4
- package/src/ui-kit/InputRange/InputRange.tsx +4 -4
- package/src/ui-kit/InputRange/InputRangeProps.ts +1 -3
- package/src/ui-kit/SVG.tsx +4 -4
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +6 -6
- 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/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
- package/src/ui-kit/Tabs/Tabs.tsx +1 -1
- package/src/ui-kit/Tabs/TabsProps.ts +1 -2
- package/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/src/utils/url.ts +2 -0
- package/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/lib/ui-kit/Description/DescriptionContent.js +0 -2
- package/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/lib/ui-kit/Heading/HeadingContent.js +0 -2
- package/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/mobile/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/mobile/lib/ui-kit/Description/DescriptionContent.js +0 -2
- package/mobile/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/mobile/lib/ui-kit/Heading/HeadingContent.js +0 -2
- package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/src/ui-kit/Description/DescriptionContent.ts +0 -4
- package/mobile/src/ui-kit/Heading/HeadingContent.ts +0 -17
- package/src/ui-kit/Description/DescriptionContent.ts +0 -4
- package/src/ui-kit/Heading/HeadingContent.ts +0 -17
|
@@ -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"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { FuncReturnVoid } from '../../types';
|
|
2
1
|
export interface TableArrowScrollControlProps {
|
|
3
2
|
isScrollAvailable?: boolean;
|
|
4
|
-
handleNextClick:
|
|
5
|
-
handlePrevClick:
|
|
3
|
+
handleNextClick: () => void;
|
|
4
|
+
handlePrevClick: () => void;
|
|
6
5
|
showNextButton: boolean;
|
|
7
6
|
showPrevButton: boolean;
|
|
8
7
|
}
|
package/lib/ui-kit/Tabs/Tabs.js
CHANGED
|
@@ -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"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import { FuncReturnVoid } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* @title Вкладка
|
|
5
4
|
*/
|
|
@@ -10,7 +9,7 @@ export interface Tab {
|
|
|
10
9
|
description?: string;
|
|
11
10
|
icon?: Picture;
|
|
12
11
|
}
|
|
13
|
-
export declare type TabClickHandler =
|
|
12
|
+
export declare type TabClickHandler = (tabIndex: number) => void;
|
|
14
13
|
export interface TabsProps {
|
|
15
14
|
tabs?: Tab[];
|
|
16
15
|
currentTabIndex: number;
|
package/lib/utils/url.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export declare const isURL: (href?: string) => boolean | undefined;
|
|
|
2
2
|
export declare const withoutQuery: (href?: string) => string;
|
|
3
3
|
export declare const getOrigin: (href?: string) => string | undefined;
|
|
4
4
|
export declare const getHash: (href?: string) => string | undefined;
|
|
5
|
+
export declare const isHash: (href?: string) => boolean | undefined;
|
package/lib/utils/url.js
CHANGED
package/lib/utils/url.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,GAAG,GAAG,IAAI,CAAC;IACjB,MAAM,cAAc,GAAG,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEzE,OAAO,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/E,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,GAAG,GAAG,IAAI,CAAC;IACjB,MAAM,cAAc,GAAG,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEzE,OAAO,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -187,24 +187,21 @@
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
const HeadingClass = {
|
|
190
|
+
h0: 'text-m-title',
|
|
190
191
|
h1: 'text-m-title',
|
|
191
192
|
h2: 'text-m-title',
|
|
192
|
-
h3: 'text-
|
|
193
|
+
h3: 'text-h6',
|
|
193
194
|
h4: 'text-m-title-xs',
|
|
194
195
|
h5: 'text-m-title-xs',
|
|
195
196
|
h6: 'text-m-title-xs',
|
|
196
197
|
};
|
|
197
198
|
const Heading = JSX((props) => {
|
|
198
|
-
const { className, headingType, title, as } = props;
|
|
199
|
-
if (!headingType) {
|
|
200
|
-
return null;
|
|
201
|
-
}
|
|
202
|
-
const Tag = as || headingType;
|
|
199
|
+
const { className, headingType = 'h3', title, as: Tag = 'h3' } = props;
|
|
203
200
|
return (jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
|
|
204
201
|
});
|
|
205
202
|
|
|
206
203
|
// Generated. Do not touch
|
|
207
|
-
/* eslint-disable max-lines */
|
|
204
|
+
/* eslint-disable max-len, max-lines */
|
|
208
205
|
var IconMap;
|
|
209
206
|
(function (IconMap) {
|
|
210
207
|
IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
|
|
@@ -492,7 +489,7 @@
|
|
|
492
489
|
|
|
493
490
|
const Headline = JSX(({ bgColorHeadline = 'transparent', className = '', title, description, image, align = 'left', }) => {
|
|
494
491
|
const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
|
|
495
|
-
return (jsxs("section", { className: `px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx("p", { className: `font-normal text-m
|
|
492
|
+
return (jsxs("section", { className: `px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx("p", { className: `font-normal text-m ${STYLE_MAPS.description} ${ALIGN_TEXT[align]} `, children: description })) : null, image?.src && (jsx("div", { className: "mt-2.5 mx-auto flex justify-center", children: jsx(Img, { image: image }) }))] }));
|
|
496
493
|
});
|
|
497
494
|
|
|
498
495
|
// column-gap between children of SwipeListControl container
|
|
@@ -523,7 +520,7 @@
|
|
|
523
520
|
});
|
|
524
521
|
const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
|
|
525
522
|
if (currentIdx < activeIndex || currentIdx > activeIndex + 1) {
|
|
526
|
-
return
|
|
523
|
+
return;
|
|
527
524
|
}
|
|
528
525
|
const leftIndexMod = 1 - indexFraction;
|
|
529
526
|
const rightIndexMod = indexFraction;
|
|
@@ -612,7 +609,7 @@
|
|
|
612
609
|
children,
|
|
613
610
|
};
|
|
614
611
|
const handleScroll = (e) => {
|
|
615
|
-
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e
|
|
612
|
+
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e?.currentTarget;
|
|
616
613
|
// horizontal PADDING / 2 to compensate padding-margin combo of child container
|
|
617
614
|
// without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
|
|
618
615
|
const itemWidth = childrenCollection[0].offsetWidth - padding / 2;
|
|
@@ -655,19 +652,19 @@
|
|
|
655
652
|
const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
|
|
656
653
|
|
|
657
654
|
const LinkDocsHorizontalList = JSX(({ context, hasBorder = true, documents, icon }) => {
|
|
658
|
-
return (jsx(SwipeListControl, { context: context, className: "text-
|
|
655
|
+
return (jsx(SwipeListControl, { context: context, className: "text-s text-primary-main mt-5", children: documents?.length
|
|
659
656
|
? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
|
|
660
657
|
: null }));
|
|
661
658
|
});
|
|
662
659
|
|
|
663
660
|
const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
|
|
664
|
-
return (jsx("div", { className: `text-
|
|
661
|
+
return (jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
|
|
665
662
|
? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
|
|
666
663
|
: null }));
|
|
667
664
|
});
|
|
668
665
|
|
|
669
666
|
const LinkDocs = JSX(({ className = '', context, title, description, icon = { icon: 'DocIconMonoColor' }, documents, orientation = 'vertical', hasBorder = true, }) => {
|
|
670
|
-
return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, context: context, align: "center"
|
|
667
|
+
return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, context: context, align: "center" }), orientation === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
|
|
671
668
|
});
|
|
672
669
|
|
|
673
670
|
const isURL = (href) => href?.includes('//');
|
|
@@ -689,13 +686,15 @@
|
|
|
689
686
|
const hashIndex = href.indexOf('#');
|
|
690
687
|
return hashIndex !== -1 ? href.substring(hashIndex, href.length) : undefined;
|
|
691
688
|
};
|
|
689
|
+
const isHash = (href) => href?.startsWith('#');
|
|
692
690
|
|
|
693
691
|
var url = /*#__PURE__*/Object.freeze({
|
|
694
692
|
__proto__: null,
|
|
695
693
|
isURL: isURL,
|
|
696
694
|
withoutQuery: withoutQuery,
|
|
697
695
|
getOrigin: getOrigin,
|
|
698
|
-
getHash: getHash
|
|
696
|
+
getHash: getHash,
|
|
697
|
+
isHash: isHash
|
|
699
698
|
});
|
|
700
699
|
|
|
701
700
|
const MOBILE_URL_PATH = '/mobile';
|
|
@@ -728,7 +727,7 @@
|
|
|
728
727
|
const isLocalHref = href && !isURL(href);
|
|
729
728
|
const isLocalTarget = !link.target || link.target === '_self';
|
|
730
729
|
if (isLocalHref && isLocalTarget) {
|
|
731
|
-
ev
|
|
730
|
+
ev?.preventDefault();
|
|
732
731
|
router.push(href);
|
|
733
732
|
}
|
|
734
733
|
}, link),
|
|
@@ -737,14 +736,14 @@
|
|
|
737
736
|
|
|
738
737
|
const ButtonInner = JSX((props) => {
|
|
739
738
|
const { text, aboveText, appendLeft, appendRight } = props;
|
|
740
|
-
return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-
|
|
739
|
+
return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
|
|
741
740
|
});
|
|
742
741
|
const getButtonStyle = (props) => {
|
|
743
742
|
const { version, aboveText, rounded } = props;
|
|
744
743
|
if (version === 'link') {
|
|
745
744
|
return '';
|
|
746
745
|
}
|
|
747
|
-
const withTextStyle = `
|
|
746
|
+
const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-9'}`;
|
|
748
747
|
return [
|
|
749
748
|
'flex items-center justify-center',
|
|
750
749
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
@@ -767,7 +766,7 @@
|
|
|
767
766
|
const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
|
|
768
767
|
const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
|
|
769
768
|
if (disabled) {
|
|
770
|
-
return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex:
|
|
769
|
+
return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
|
|
771
770
|
}
|
|
772
771
|
return (jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
|
|
773
772
|
});
|
|
@@ -775,7 +774,7 @@
|
|
|
775
774
|
const ButtonSection = JSX(({ context, className = '', buttons }) => {
|
|
776
775
|
const { handlerDecorator } = context;
|
|
777
776
|
const router = context.useRouter();
|
|
778
|
-
return buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton$3(useLink({ router, handlerDecorator }, button), index)) })) : null;
|
|
777
|
+
return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton$3(useLink({ router, handlerDecorator }, button), index)) })) : null;
|
|
779
778
|
});
|
|
780
779
|
function renderButton$3({ icon, iconRight, ...button }, i) {
|
|
781
780
|
if (!button?.text) {
|
|
@@ -784,11 +783,6 @@
|
|
|
784
783
|
return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), appendRight: jsx(Img, { image: iconRight, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
|
|
785
784
|
}
|
|
786
785
|
|
|
787
|
-
const Description = JSX((props) => {
|
|
788
|
-
const { className = '', description } = props;
|
|
789
|
-
return jsx("div", { className: `font-normal text-base ${className}`, children: description });
|
|
790
|
-
});
|
|
791
|
-
|
|
792
786
|
const LIST_STYLE_CLASSES = {
|
|
793
787
|
primary: 'rounded-full inline-block mr-3 mt-2',
|
|
794
788
|
secondary: 'rounded-full inline-block mr-3 mt-2',
|
|
@@ -831,7 +825,7 @@
|
|
|
831
825
|
: null }));
|
|
832
826
|
});
|
|
833
827
|
|
|
834
|
-
const BaseTile = JSX(({ className = '', title, children, buttons, image }) => {
|
|
828
|
+
const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
|
|
835
829
|
return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { children: children }), buttons ? jsx("div", { children: buttons }) : null] }), image] })] }));
|
|
836
830
|
});
|
|
837
831
|
|
|
@@ -845,7 +839,7 @@
|
|
|
845
839
|
};
|
|
846
840
|
function renderBenefit({ benefit, version = 'primary' }, i) {
|
|
847
841
|
const isIconWhite = version === 'secondary';
|
|
848
|
-
return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon ? (jsx(Img, { className: renderBenefitIconBgStyle(version), image: { ...benefit?.icon, iconVersion: isIconWhite ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true })) : null, jsx("div", { className: `
|
|
842
|
+
return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon ? (jsx(Img, { className: renderBenefitIconBgStyle(version), image: { ...benefit?.icon, iconVersion: isIconWhite ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true })) : null, jsx("div", { className: `text-l m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `text-s ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
|
|
849
843
|
}
|
|
850
844
|
function renderBenefitIconBgStyle(version) {
|
|
851
845
|
let bgColorStyle = 'text-primary-main';
|
|
@@ -855,8 +849,8 @@
|
|
|
855
849
|
return `w-6 h-6 rounded-full box-border ${bgColorStyle}`;
|
|
856
850
|
}
|
|
857
851
|
|
|
858
|
-
const ProductBlockInner = JSX(({ className = '', context, title,
|
|
859
|
-
return (jsxs("div", { className: `w-full ${className}`, children: [jsxs("div", { children: [label ? renderLabel(label, version) : null,
|
|
852
|
+
const ProductBlockInner = JSX(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, }) => {
|
|
853
|
+
return (jsxs("div", { className: `w-full ${className}`, children: [jsxs("div", { children: [label ? renderLabel(label, version) : null, jsx(Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, bgColorHeadline: version, headlineVersion: headlineVersion }), jsxs(BaseTile, { context: context, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map((benefit, i) => renderBenefit({ benefit, version, benefitsVersion }, i)) })) : null, items?.length ? (jsx(List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage$1(image)] }));
|
|
860
854
|
});
|
|
861
855
|
function renderImage$1(image) {
|
|
862
856
|
return image?.src ? (jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
|
|
@@ -865,7 +859,7 @@
|
|
|
865
859
|
primary: 'text-primary-main border-secondary-hover',
|
|
866
860
|
secondary: 'text-white/80',
|
|
867
861
|
};
|
|
868
|
-
const renderLabel = (label, version) => (jsx("div", { className: `
|
|
862
|
+
const renderLabel = (label, version) => (jsx("div", { className: `px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${labelStyleMap[version]}`, children: label }));
|
|
869
863
|
|
|
870
864
|
const productBlockStyleMap = {
|
|
871
865
|
primary: 'bg-white text-primary-text',
|
|
@@ -941,9 +935,10 @@
|
|
|
941
935
|
if (entry.isIntersecting) ;
|
|
942
936
|
};
|
|
943
937
|
|
|
944
|
-
const BlockWrapper = JSX(({ anchor, className, context, children,
|
|
938
|
+
const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section' }) => {
|
|
945
939
|
const { IntersectionObserverTag } = context;
|
|
946
|
-
|
|
940
|
+
const Tag = tag;
|
|
941
|
+
return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: changeHashOnObserve, observerOptions: { threshold: 1 }, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
|
|
947
942
|
});
|
|
948
943
|
|
|
949
944
|
const LinkList = JSX(({ className = '', documents, ...rest }) => {
|
|
@@ -987,15 +982,15 @@
|
|
|
987
982
|
const [isActive, setIsActive] = context.useState(initialState);
|
|
988
983
|
const hasContent = blocks?.length;
|
|
989
984
|
const icon = isActive ? 'MinusIcon' : 'PlusIcon';
|
|
990
|
-
const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
|
|
991
985
|
const handleToggle = (e) => {
|
|
992
|
-
|
|
986
|
+
const currentTarget = e.currentTarget;
|
|
987
|
+
if (!currentTarget) {
|
|
993
988
|
return;
|
|
994
989
|
}
|
|
995
990
|
setIsActive(!isActive);
|
|
996
|
-
const contentBlock =
|
|
991
|
+
const contentBlock = currentTarget.nextSibling;
|
|
997
992
|
contentBlock.style.maxHeight = contentBlock.style.maxHeight
|
|
998
|
-
?
|
|
993
|
+
? ''
|
|
999
994
|
: `${contentBlock.scrollHeight}px`;
|
|
1000
995
|
};
|
|
1001
996
|
return { isActive, hasContent, icon, handleToggle };
|
|
@@ -1023,7 +1018,7 @@
|
|
|
1023
1018
|
|
|
1024
1019
|
const headingStyle = (isFillGradient = false) => (isFillGradient ? 'text-white' : '');
|
|
1025
1020
|
const subtitleStyle = (isFillGradient = false) => `text-m-sm mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
|
|
1026
|
-
const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader",
|
|
1021
|
+
const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader", children: [icon ? (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && (jsx("div", { className: "mb-3.5", children: jsx(Img, { image: image }) })), title ? (jsx(Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? jsx("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
|
|
1027
1022
|
|
|
1028
1023
|
const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => {
|
|
1029
1024
|
const cellWrapperClasses = `box-border flex flex-col`;
|
|
@@ -1221,7 +1216,7 @@
|
|
|
1221
1216
|
const validInputValue = e.target.validity.valid ? e.target.value : value;
|
|
1222
1217
|
onChange(validInputValue);
|
|
1223
1218
|
};
|
|
1224
|
-
return (jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange:
|
|
1219
|
+
return (jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange: handleChange }));
|
|
1225
1220
|
});
|
|
1226
1221
|
|
|
1227
1222
|
const Select = JSX(({ className = '', id, name, children, value, onChange }) => {
|
|
@@ -1328,7 +1323,7 @@
|
|
|
1328
1323
|
});
|
|
1329
1324
|
|
|
1330
1325
|
const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
|
|
1331
|
-
return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3 font-sans", children: [jsx("div", { className: "text-
|
|
1326
|
+
return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3 font-sans", children: [jsx("div", { className: "text-s font-medium mb-[3px]", children: title }), jsx("div", { className: "text-s text-secondary-text", children: description })] })] })) : null }));
|
|
1332
1327
|
});
|
|
1333
1328
|
|
|
1334
1329
|
const Contacts = JSX(({ className = '', items, hasButton, context }) => {
|
|
@@ -1342,7 +1337,7 @@
|
|
|
1342
1337
|
});
|
|
1343
1338
|
const renderContact = (item, index) => {
|
|
1344
1339
|
const { type, text, description } = item;
|
|
1345
|
-
return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 font-sans
|
|
1340
|
+
return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 font-sans text-s-light text-secondary-text", children: description })] }, String(index)));
|
|
1346
1341
|
};
|
|
1347
1342
|
const renderText = (type, text = '') => {
|
|
1348
1343
|
switch (type) {
|
|
@@ -1400,8 +1395,7 @@
|
|
|
1400
1395
|
? 'bg-secondary-light hover:bg-secondary-hover'
|
|
1401
1396
|
: 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
|
|
1402
1397
|
const isPrimary = version === 'primary';
|
|
1403
|
-
|
|
1404
|
-
return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: imageClassName, width: "24", height: "24", asSVG: true })) : null }));
|
|
1398
|
+
return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
|
|
1405
1399
|
});
|
|
1406
1400
|
|
|
1407
1401
|
const SocialMedia = JSX(({ className, media, version, context }) => {
|
|
@@ -1433,17 +1427,17 @@
|
|
|
1433
1427
|
const SearchBarInner = JSX(({ className, context, isMobile = false }) => {
|
|
1434
1428
|
const { term, setTerm } = context.useSearch();
|
|
1435
1429
|
const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
|
|
1436
|
-
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : '
|
|
1430
|
+
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
|
|
1437
1431
|
const SearchBarInputClassName = isMobile
|
|
1438
1432
|
? ' placeholder-transparent font-normal'
|
|
1439
1433
|
: 'font-light h-full';
|
|
1440
|
-
const inputPlaceholder = isMobile ? 'some search' :
|
|
1441
|
-
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-
|
|
1434
|
+
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
1435
|
+
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
|
|
1442
1436
|
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) => {
|
|
1443
1437
|
e.preventDefault();
|
|
1444
1438
|
setTerm('');
|
|
1445
|
-
}, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (
|
|
1446
|
-
|
|
1439
|
+
}, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (ev) => {
|
|
1440
|
+
ev?.preventDefault();
|
|
1447
1441
|
console.log('click');
|
|
1448
1442
|
}, children: jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
|
|
1449
1443
|
});
|
|
@@ -1484,7 +1478,7 @@
|
|
|
1484
1478
|
const possibleActiveSubItems = items?.filter(isSubItemActive(router));
|
|
1485
1479
|
return possibleActiveSubItems?.length
|
|
1486
1480
|
? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
|
|
1487
|
-
:
|
|
1481
|
+
: undefined;
|
|
1488
1482
|
};
|
|
1489
1483
|
|
|
1490
1484
|
const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
|
|
@@ -1556,13 +1550,13 @@
|
|
|
1556
1550
|
function getTileHeadingType(className = '') {
|
|
1557
1551
|
const colSpan = getColSpan(className);
|
|
1558
1552
|
if (colSpan <= 4) {
|
|
1559
|
-
return '
|
|
1553
|
+
return 'S';
|
|
1560
1554
|
}
|
|
1561
1555
|
else if (colSpan <= 8) {
|
|
1562
|
-
return '
|
|
1556
|
+
return 'M';
|
|
1563
1557
|
}
|
|
1564
1558
|
else {
|
|
1565
|
-
return '
|
|
1559
|
+
return 'L';
|
|
1566
1560
|
}
|
|
1567
1561
|
}
|
|
1568
1562
|
|
|
@@ -1594,7 +1588,7 @@
|
|
|
1594
1588
|
|
|
1595
1589
|
const GOLDEN_RATIO = 1.618;
|
|
1596
1590
|
const Placeholder = JSX(({ className, context, title, description = 'Блок в разработке...', ...rest }) => {
|
|
1597
|
-
return (
|
|
1591
|
+
return (jsxs(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsx(Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className) }), jsx("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() })] }));
|
|
1598
1592
|
});
|
|
1599
1593
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
1600
1594
|
.map((_) => Math.floor(_))
|
|
@@ -1606,9 +1600,9 @@
|
|
|
1606
1600
|
primary: 'bg-white text-primary-text',
|
|
1607
1601
|
secondary: 'bg-primary-main text-white',
|
|
1608
1602
|
};
|
|
1609
|
-
const ProductGalleryBlock = JSX(({ block,
|
|
1603
|
+
const ProductGalleryBlock = JSX(({ block, context, className = '' }) => {
|
|
1610
1604
|
const version = block?.version ?? 'primary';
|
|
1611
|
-
return (jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${productGalleryStyleMap[version]} ${className}`, role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context,
|
|
1605
|
+
return (jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${productGalleryStyleMap[version]} ${className}`, role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, ...block }) }) }));
|
|
1612
1606
|
});
|
|
1613
1607
|
|
|
1614
1608
|
const ProductGallery = JSX(({ className, context, slides = [] }) => {
|
|
@@ -1623,13 +1617,15 @@
|
|
|
1623
1617
|
background: 'bg-white',
|
|
1624
1618
|
title: 'text-primary-text',
|
|
1625
1619
|
description: 'text-secondary-text',
|
|
1626
|
-
|
|
1620
|
+
iconText: 'text-secondary-text',
|
|
1621
|
+
iconBackground: 'bg-main-divider',
|
|
1627
1622
|
iconConnector: 'bg-secondary-light',
|
|
1628
1623
|
},
|
|
1629
1624
|
secondary: {
|
|
1630
1625
|
background: 'bg-primary-main',
|
|
1631
1626
|
title: 'text-white',
|
|
1632
1627
|
description: 'text-white/80',
|
|
1628
|
+
iconText: 'text-white',
|
|
1633
1629
|
iconBackground: 'bg-white/30',
|
|
1634
1630
|
iconConnector: 'bg-white',
|
|
1635
1631
|
},
|
|
@@ -1647,13 +1643,13 @@
|
|
|
1647
1643
|
const StepsBlock = JSX(({ className, title, description, showLines = true, steps, size = 'normal', version = 'primary', }) => {
|
|
1648
1644
|
const styleMap = getStyleMap(version);
|
|
1649
1645
|
return (jsxs("section", { className: `box-border font-sans bg-white px-4 py-6 flex flex-col
|
|
1650
|
-
${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? (jsx("p", { className: `text-m
|
|
1646
|
+
${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? (jsx("p", { className: `text-m text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStepTitle(size, version, showLines)) }) })) : null] }));
|
|
1651
1647
|
});
|
|
1652
1648
|
const renderStepTitle = (size, version, showLines) => (step, i, steps) => {
|
|
1653
1649
|
const isLastStep = steps.length - 1 === i;
|
|
1654
1650
|
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
|
|
1655
1651
|
const styleMap = getStyleMap(version);
|
|
1656
|
-
return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(size, version), isLastStep ? null : (jsx("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left mb-1", children: step.label })) : null, step.description ? (jsx("div", { className: `
|
|
1652
|
+
return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(size, version), isLastStep ? null : (jsx("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left mb-1", children: step.label })) : null, step.description ? (jsx("div", { className: `text-s ${styleMap.description} text-left`, children: step.description })) : null] })] }) }, String(i)));
|
|
1657
1653
|
};
|
|
1658
1654
|
const renderIconArea = (size, version) => (step, i) => {
|
|
1659
1655
|
const styleMap = getStyleMap(version);
|
|
@@ -1722,16 +1718,19 @@
|
|
|
1722
1718
|
strokeLinejoin: 'round',
|
|
1723
1719
|
strokeWidth: '1.5',
|
|
1724
1720
|
};
|
|
1725
|
-
return (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsx("path", { ...params, strokeMiterlimit: "10",
|
|
1721
|
+
return (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsx("path", { ...params, strokeMiterlimit: "10",
|
|
1722
|
+
/* eslint-disable max-len */
|
|
1723
|
+
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" }), jsx("path", { ...params, d: "M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z" })] }));
|
|
1726
1724
|
};
|
|
1727
1725
|
|
|
1728
1726
|
const LikeControl = JSX(({ className, context, ...rest }) => {
|
|
1729
1727
|
const likeService = context.useLikeService();
|
|
1730
|
-
return (jsxs(BlockWrapper, {
|
|
1728
|
+
return (jsxs(BlockWrapper, { tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
|
|
1731
1729
|
});
|
|
1732
1730
|
|
|
1733
1731
|
const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
|
|
1734
|
-
const ContentPage = JSX(({ className = '', context, blocksRegistry, data
|
|
1732
|
+
const ContentPage = JSX(({ className = '', context, blocksRegistry, data = {}, blockDecorator = defaultBlockDecorator, }) => {
|
|
1733
|
+
const { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' } = data;
|
|
1735
1734
|
const { header } = slots;
|
|
1736
1735
|
return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, likeControl ? (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") })) : null] }));
|
|
1737
1736
|
});
|