@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":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,MAAM,UAAU,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAgD;IAEhD,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,YAAY,EAAE,IAAI,CAAC,IAAI;QACvB,OAAO,EAAE,gBAAgB,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,MAAM,UAAU,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAgD;IAEhD,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,YAAY,EAAE,IAAI,CAAC,IAAI;QACvB,OAAO,EAAE,gBAAgB,CAAC,CAAC,EAAmC,EAAE,EAAE;YAChE,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzC,MAAM,aAAa,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,EAAE,cAAc,EAAE,CAAC;gBACrB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconName.js","sourceRoot":"","sources":["../../src/icons/I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большой", "Очень большой", "Большой", "Средний", "Маленький"]
|
|
4
|
+
*/
|
|
5
|
+
export declare type HeadlineVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S';
|
|
6
|
+
export declare type TitleProp = {
|
|
7
|
+
/** @title Заголовок */
|
|
8
|
+
title?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type DescriptionProp = {
|
|
11
|
+
/** @title Описание */
|
|
12
|
+
description?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare type HeadlineCommonProps = TitleProp & DescriptionProp;
|
|
15
|
+
export declare type HeadlineProps = HeadlineCommonProps & {
|
|
16
|
+
headlineVersion?: HeadlineVersion;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadlineType.js","sourceRoot":"","sources":["../../src/model/HeadlineType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type VNode =
|
|
1
|
+
export declare type VNode = any;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useCallback, useRef } from 'react';
|
|
1
|
+
import React, { useCallback, useRef } from 'react';
|
|
3
2
|
export const IntersectionObserverTag = (props) => {
|
|
4
|
-
const {
|
|
3
|
+
const { tag: _tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
|
|
5
4
|
const intersectionObserver = useRef();
|
|
6
5
|
const ref = useCallback((tag) => {
|
|
7
6
|
if (tag && !intersectionObserver.current) {
|
|
@@ -9,6 +8,6 @@ export const IntersectionObserverTag = (props) => {
|
|
|
9
8
|
intersectionObserver.current.observe(tag);
|
|
10
9
|
}
|
|
11
10
|
}, [observerCallback, observerOptions]);
|
|
12
|
-
return (
|
|
11
|
+
return React.createElement(_tag, { ref, className, id: anchor }, children);
|
|
13
12
|
};
|
|
14
13
|
//# sourceMappingURL=IntersectionObserverTag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntersectionObserverTag.js","sourceRoot":"","sources":["../../src/react/IntersectionObserverTag.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntersectionObserverTag.js","sourceRoot":"","sources":["../../src/react/IntersectionObserverTag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG9D,MAAM,CAAC,MAAM,uBAAuB,GAAkC,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EACJ,GAAG,EAAE,IAAI,GAAG,SAAS,EACrB,gBAAgB,EAChB,eAAe,EACf,SAAS,GAAG,EAAE,EACd,MAAM,GAAG,IAAI,EACb,QAAQ,GACT,GAAG,KAAK,CAAC;IAEV,MAAM,oBAAoB,GAAG,MAAM,EAAwB,CAAC;IAC5D,MAAM,GAAG,GAAG,WAAW,CACrB,CAAC,GAAmC,EAAE,EAAE;QACtC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE;YACxC,oBAAoB,CAAC,OAAO,GAAG,IAAI,oBAAoB,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC;YAC3F,oBAAoB,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;SAC3C;IACH,CAAC,EACD,CAAC,gBAAgB,EAAE,eAAe,CAAC,CACpC,CAAC;IAEF,OAAO,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,QAAqB,CAAC,CAAC;AAC1F,CAAC,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DaDataAPI } from '../api/DaDataAPI.js';
|
|
5
5
|
import { IntersectionObserverTag } from './IntersectionObserverTag.js';
|
|
6
|
+
const { jsx, jsxs } = runtime;
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
6
8
|
setup(jsx, jsxs);
|
|
7
9
|
const TEST_ORIGIN = 'http://localhost:5001';
|
|
8
10
|
const DaData = DaDataAPI('https://10.80.4.9');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAAc,CAAC;AAErC,iEAAiE;AACjE,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAEjB,MAAM,WAAW,GAAG,uBAAuB,CAAC;AAE5C,MAAM,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAC;AAE9C,MAAM,MAAM,GAAG,GAAG,EAAE;IAClB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAS,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,UAA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C,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;CACH,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Router } from '../../components/ContentPage/ContentPageContext';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T |
|
|
3
|
+
export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T | undefined;
|
|
@@ -4,6 +4,6 @@ export const findActiveSubItem = (router) => (items = []) => {
|
|
|
4
4
|
const possibleActiveSubItems = items?.filter(isSubItemActive(router));
|
|
5
5
|
return possibleActiveSubItems?.length
|
|
6
6
|
? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
|
|
7
|
-
:
|
|
7
|
+
: undefined;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=findActiveSubItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findActiveSubItem.js","sourceRoot":"","sources":["../../../src/services/sitemap/findActiveSubItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAC5B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAsB,QAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"findActiveSubItem.js","sourceRoot":"","sources":["../../../src/services/sitemap/findActiveSubItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAC5B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAsB,QAAa,EAAE,EAAiB,EAAE;IACtD,MAAM,sBAAsB,GAAG,KAAK,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAEtE,OAAO,sBAAsB,EAAE,MAAM;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAI,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,qCAAqC;QACpG,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC,CAAC"}
|
package/mobile/lib/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ interface BlockWrapperProps {
|
|
|
3
3
|
context: ContentPageContext;
|
|
4
4
|
className?: string;
|
|
5
5
|
anchor?: string;
|
|
6
|
-
|
|
6
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockWrapper: (props: import("@redneckz/uni-jsx").PropsWithChildren<BlockWrapperProps, any>, context?: any) => any;
|
|
9
9
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { changeHashOnObserve } from '../utils/changeHashOnObserve.js';
|
|
4
|
-
export const BlockWrapper = JSX(({ anchor, className, context, children,
|
|
4
|
+
export const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section' }) => {
|
|
5
5
|
const { IntersectionObserverTag } = context;
|
|
6
|
-
|
|
6
|
+
const Tag = tag;
|
|
7
|
+
return anchor ? (_jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: changeHashOnObserve, observerOptions: { threshold: 1 }, anchor: anchor, children: children })) : (_jsx(Tag, { className: className, children: children }));
|
|
7
8
|
});
|
|
8
9
|
//# sourceMappingURL=BlockWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,O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AS,EAAE,CAAC,EAAE,EACjC,MAAM,EAAE,MAAM,YAEb,QAAQ,GACe,CAC3B,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IAAC,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAO,CAC5C,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
2
3
|
import type { BlockDef } from './BlocksListProps';
|
|
3
4
|
declare type EmbeddableBlocksProps = {
|
|
@@ -5,5 +6,5 @@ declare type EmbeddableBlocksProps = {
|
|
|
5
6
|
context: ContentPageContext;
|
|
6
7
|
className?: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const renderBlocksList: ({ blocks, context, className }: EmbeddableBlocksProps) =>
|
|
9
|
+
export declare const renderBlocksList: ({ blocks, context, className }: EmbeddableBlocksProps) => (JSX.Element | null)[] | null;
|
|
9
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LinkProps } from '../model/LinkProps';
|
|
2
2
|
export interface BreadcrumbProps extends LinkProps {
|
|
3
3
|
className?: string;
|
|
4
|
-
onClick?: (
|
|
4
|
+
onClick?: () => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const Breadcrumb: (props: import("@redneckz/uni-jsx").PropsWithChildren<BreadcrumbProps, 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 { Button } from './Button.js';
|
|
4
3
|
import { Img } from '../Img/Img.js';
|
|
5
|
-
|
|
4
|
+
import { Button } from './Button.js';
|
|
5
|
+
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
|
|
6
6
|
? 'bg-secondary-light text-secondary-text'
|
|
7
|
-
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, width: "16", height: "16", asSVG: true }) })));
|
|
7
|
+
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
|
|
8
8
|
//# sourceMappingURL=ArrowButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChF,KAAC,MAAM,IACL,OAAO,QACP,SAAS,EAAE,2GACT,QAAQ;QACN,CAAC,CAAC,wCAAwC;QAC1C,CAAC,CAAC,oDACN,IAAI,SAAS,IAAI,EAAE,EAAE,EACrB,QAAQ,EAAE,QAAQ,KACd,IAAI,YAER,KAAC,GAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,EACtD,cAAc,EAAC,+BAA+B,EAC9C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACK,CACV,CAAC,CAAC"}
|
|
@@ -17,7 +17,7 @@ const styleButton = 'w-full text-center font-sans select-none';
|
|
|
17
17
|
export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
|
|
18
18
|
const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
|
|
19
19
|
if (disabled) {
|
|
20
|
-
return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex:
|
|
20
|
+
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 }));
|
|
21
21
|
}
|
|
22
22
|
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 }));
|
|
23
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAA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C,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,14 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
export const ButtonInner = JSX((props) => {
|
|
4
4
|
const { text, aboveText, appendLeft, appendRight } = props;
|
|
5
|
-
return (_jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (_jsxs("div", { children: [_jsx("div", { className: "text-
|
|
5
|
+
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] }));
|
|
6
6
|
});
|
|
7
7
|
const getButtonStyle = (props) => {
|
|
8
8
|
const { version, aboveText, rounded } = props;
|
|
9
9
|
if (version === 'link') {
|
|
10
10
|
return '';
|
|
11
11
|
}
|
|
12
|
-
const withTextStyle = `
|
|
12
|
+
const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-9'}`;
|
|
13
13
|
return [
|
|
14
14
|
'flex items-center justify-center',
|
|
15
15
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE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,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,kCAAkC;QAClC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { VNode } from '../../model/VNode';
|
|
4
5
|
/**
|
|
5
6
|
* @hidden
|
|
6
7
|
*/
|
|
@@ -9,7 +10,9 @@ export interface ButtonAdditionalProps {
|
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
rel?: string;
|
|
11
12
|
ariaLabel?: string;
|
|
12
|
-
onClick?: (ev
|
|
13
|
+
onClick?: (ev?: {
|
|
14
|
+
preventDefault: () => void;
|
|
15
|
+
}) => void;
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
15
18
|
* @title Кнопка
|
|
@@ -30,9 +33,9 @@ export interface ButtonWithIconProps extends ButtonProps {
|
|
|
30
33
|
/** @title Верхний текст */
|
|
31
34
|
aboveText?: string;
|
|
32
35
|
/** @hidden */
|
|
33
|
-
appendLeft?:
|
|
36
|
+
appendLeft?: VNode;
|
|
34
37
|
/** @hidden */
|
|
35
|
-
appendRight?:
|
|
38
|
+
appendRight?: VNode;
|
|
36
39
|
/** @title Закругленные углы */
|
|
37
40
|
rounded?: boolean;
|
|
38
41
|
/** @hidden */
|
|
@@ -51,7 +54,7 @@ export interface BackwardButtonProps extends ButtonProps {
|
|
|
51
54
|
/** @title Верхний текст */
|
|
52
55
|
aboveText?: string;
|
|
53
56
|
/** @hidden */
|
|
54
|
-
appendLeft?:
|
|
57
|
+
appendLeft?: VNode;
|
|
55
58
|
/** @title Закругленные углы */
|
|
56
59
|
rounded?: boolean;
|
|
57
60
|
/** @hidden */
|
|
@@ -6,7 +6,7 @@ import { Button } from './Button.js';
|
|
|
6
6
|
export const ButtonSection = JSX(({ context, className = '', buttons }) => {
|
|
7
7
|
const { handlerDecorator } = context;
|
|
8
8
|
const router = context.useRouter();
|
|
9
|
-
return buttons?.length ? (_jsx("div", { className: className, children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null;
|
|
9
|
+
return buttons && buttons?.length ? (_jsx("div", { className: className, children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null;
|
|
10
10
|
});
|
|
11
11
|
function renderButton({ icon, iconRight, ...button }, i) {
|
|
12
12
|
if (!button?.text) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE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,MAAM,IAEL,UAAU,EAAE,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAC7D,WAAW,EAAE,KAAC,GAAG,IAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,KAC/D,MAAM,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,OAAqB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface LikeButtonProps {
|
|
2
2
|
className?: string;
|
|
3
|
-
onClick?: (
|
|
3
|
+
onClick?: () => void;
|
|
4
4
|
ariaLabel?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const LikeButton: (props: import("@redneckz/uni-jsx").PropsWithChildren<LikeButtonProps, any>, context?: any) => any;
|
|
@@ -8,6 +8,8 @@ const renderLikeIcon = () => {
|
|
|
8
8
|
strokeLinejoin: 'round',
|
|
9
9
|
strokeWidth: '1.5',
|
|
10
10
|
};
|
|
11
|
-
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [_jsx("path", { ...params, strokeMiterlimit: "10",
|
|
11
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [_jsx("path", { ...params, strokeMiterlimit: "10",
|
|
12
|
+
/* eslint-disable max-len */
|
|
13
|
+
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" })] }));
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=LikeButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AASxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACpF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,+CAA+C,SAAS,IAAI,EAAE,EAAE,EAC3E,OAAO,EAAE,OAAO,gBACJ,SAAS,YAEpB,cAAc,EAAE,GACV,CACV,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,GAAG,EAAE;IAC1B,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,OAAO;QACtB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,KAAK;KACD,CAAC;IAEpB,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACrE,kBACM,MAAM,EACV,gBAAgB,EAAC,IAAI;gBACrB,4BAA4B;gBAC5B,CAAC,EAAC,wLAAwL,GAC1L,EACF,kBACM,MAAM,EACV,CAAC,EAAC,oGAAoG,GACtG,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
declare type renderArrowsProps = {
|
|
3
|
-
handler:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type renderArrowsProps = {
|
|
3
|
+
handler: [() => void, () => void];
|
|
4
4
|
isShown: [boolean, boolean];
|
|
5
5
|
btnClass: [string, string];
|
|
6
6
|
className?: string;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function renderArrows({ handler, isShown, btnClass, className, isDisabled, }: renderArrowsProps):
|
|
10
|
-
export {};
|
|
9
|
+
export declare function renderArrows({ handler, isShown, btnClass, className, isDisabled, }: renderArrowsProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderArrows.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderArrows.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"renderArrows.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderArrows.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5C,MAAM,UAAU,YAAY,CAAC,EAC3B,OAAO,EACP,OAAO,EACP,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,UAAU,GAAG,KAAK,GACA;IAClB,OAAO,CACL,0BACG,OAAO,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAC1B,KAAC,WAAW,IACV,SAAS,EAAE,iBAAiB,QAAQ,CAAC,CAAC,CAAC,IAAI,SAAS,EAAE,EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EACnB,SAAS,EAAC,6FAAkB,wBACT,aAAa,EAChC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,GACrB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAC1B,KAAC,WAAW,IACV,SAAS,EAAE,4BAA4B,QAAQ,CAAC,CAAC,CAAC,IAAI,SAAS,EAAE,EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EACnB,SAAS,EAAC,mGAAmB,wBACV,cAAc,EACjC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,GACrB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -14,5 +14,5 @@ export const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) =>
|
|
|
14
14
|
${checked ? 'border-black' : 'border-main-stroke'}
|
|
15
15
|
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
|
|
16
16
|
onChange(e.target.checked);
|
|
17
|
-
}, checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-
|
|
17
|
+
}, checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-l cursor-pointer", children: text }) : null] }) })));
|
|
18
18
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,MAAM,WAAW,GAAG;IA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AAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB;wCACjB,EAChC,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;oBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,CAAC;gBACxC,CAAC,EACD,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,sCAAsC,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IAC7E,GACJ,CACP,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface DescriptionProps extends
|
|
1
|
+
import type { DescriptionProp } from '../../model/HeadlineType';
|
|
2
|
+
export interface DescriptionProps extends DescriptionProp {
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const Description: (props: import("@redneckz/uni-jsx").PropsWithChildren<DescriptionProps, any>, context?: any) => any;
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
export const Description = JSX((props) => {
|
|
4
4
|
const { className = '', description } = props;
|
|
5
|
-
return _jsx("div", { className:
|
|
5
|
+
return _jsx("div", { className: `${className}`, children: description });
|
|
6
6
|
});
|
|
7
7
|
//# sourceMappingURL=Description.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,cAAK,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,cAAK,SAAS,EAAE,GAAG,SAAS,EAAE,YAAG,WAAW,GAAO,CAAC;AAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export const Foldable = JSX(({ blocks = [], context, hiddenBlocksNum = 0, foldBu
|
|
|
10
10
|
initialState: isUnfolded,
|
|
11
11
|
});
|
|
12
12
|
const buttonClassName = foldButtonClasses ||
|
|
13
|
-
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-
|
|
13
|
+
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-l flex justify-center cursor-pointer';
|
|
14
14
|
const getFoldButtonLabel = isActive ? 'Скрыть' : foldButtonLabel;
|
|
15
15
|
return blocks ? (_jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive, containerClasses }), hiddenBlocksNum ? (_jsxs("button", { className: buttonClassName, "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [_jsx("span", { className: "pr-3", children: getFoldButtonLabel }), icon ? _jsx(Icon, { name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true }) : null] })) : null] })) : null;
|
|
16
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAuB/E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,MAAM,GAAG,EAAE,EACX,OAAO,EACP,eAAe,GAAG,CAAC,EACnB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAClB,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACxD,OAAO;QACP,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,MAAM,eAAe,GACnB,iBAAiB;QACjB,
|
|
1
|
+
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAuB/E,MAAM,CAAC,MAAM,Q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,EAAE,gBAAgB,EAAsB,EAChE,EAAE;IACF,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACpE,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;IAEjD,OAAO,MAAM,CACX,0BACG,aAAa,EACd,cAAK,SAAS,EAAE,GAAG,uBAAuB,IAAI,gBAAgB,EAAE,YAAG,YAAY,GAAO,IAClF,EACN,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -6,6 +6,6 @@ export interface ActiveHandler {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const useActiveHandler: ({ context, initialState }: ActiveHandler) => {
|
|
8
8
|
icon: "ArrowDownIcon" | "ArrowUpIcon";
|
|
9
|
-
handleToggle: (e:
|
|
9
|
+
handleToggle: (e: any) => void;
|
|
10
10
|
isActive: boolean;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAAG,qDAAqD,CAAC;AAO7F,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,OAAO,EAAE,YAAY,GAAG,KAAK,EAAiB,EAAE,EAAE;IACnF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC;IAElE,MAAM,YAAY,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAAG,qDAAqD,CAAC;AAO7F,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,OAAO,EAAE,YAAY,GAAG,KAAK,EAAiB,EAAE,EAAE;IACnF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC;IAElE,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,aAAa,GAAG,CAAC,CAAC,aAA4B,CAAC;QAErD,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,aAAa,CAAC,eAA8B,CAAC;QAClE,MAAM,YAAY,GAAG,YAAY,CAAC,sBAAsB,CACtD,uBAAuB,CACxB,CAAC,CAAC,CAAgB,CAAC;QAEpB,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AAC1C,CAAC,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface HeadingProps extends HeadingContent, HeadingTypeContent {
|
|
3
|
-
className?: string;
|
|
4
|
-
as?: HeadingType;
|
|
5
|
-
}
|
|
1
|
+
import type { HeadingProps } from './HeadingProps';
|
|
6
2
|
export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
const HeadingClass = {
|
|
4
|
+
h0: 'text-m-title',
|
|
4
5
|
h1: 'text-m-title',
|
|
5
6
|
h2: 'text-m-title',
|
|
6
|
-
h3: 'text-
|
|
7
|
+
h3: 'text-h6',
|
|
7
8
|
h4: 'text-m-title-xs',
|
|
8
9
|
h5: 'text-m-title-xs',
|
|
9
10
|
h6: 'text-m-title-xs',
|
|
10
11
|
};
|
|
11
12
|
export const Heading = JSX((props) => {
|
|
12
|
-
const { className, headingType, title, as } = props;
|
|
13
|
-
if (!headingType) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
const Tag = as || headingType;
|
|
13
|
+
const { className, headingType = 'h3', title, as: Tag = 'h3' } = props;
|
|
17
14
|
return (_jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
|
|
18
15
|
});
|
|
19
16
|
//# sourceMappingURL=Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,YAAY,GAAgC;IAChD,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,WAAW,GAAG,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEvE,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,6BAA6B,YAAY,CAAC,WAAW,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACxF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TitleProp } from '../../model/HeadlineType';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @title Размер заголовка
|
|
5
|
+
* @enumNames [
|
|
6
|
+
* "h0", "h1", "h2", "h3", "h4", "h5", "h6"
|
|
7
|
+
* ]
|
|
8
|
+
*/
|
|
9
|
+
export declare type HeadingType = 'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare type HeadingTagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
14
|
+
export interface HeadingCommonProps extends TitleProp {
|
|
15
|
+
as?: HeadingTagType;
|
|
16
|
+
headingType?: HeadingType;
|
|
17
|
+
}
|
|
18
|
+
export interface HeadingProps extends HeadingCommonProps {
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadingProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/HeadingProps.ts"],"names":[],"mappings":""}
|
|
@@ -5,6 +5,6 @@ export const Input = JSX(({ className = '', id, name, type = 'text', placeholder
|
|
|
5
5
|
const validInputValue = e.target.validity.valid ? e.target.value : value;
|
|
6
6
|
onChange(validInputValue);
|
|
7
7
|
};
|
|
8
|
-
return (_jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange:
|
|
8
|
+
return (_jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange: handleChange }));
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/ui-kit/Input/Input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/ui-kit/Input/Input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CACtB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrF,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAC,MAAM,CAAC,KAAgB,CAAC,CAAC,CAAC,KAAK,CAAC;QACrF,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,OAAO,CACL,gBACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,GACtB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -23,7 +23,7 @@ export const InputRange = JSX(({ className, title, items = [], min = 1, max = 10
|
|
|
23
23
|
onChange(max);
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? _jsx("span", { className: "text-
|
|
26
|
+
return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? _jsx("span", { className: "text-l text-secondary-text pl-4", children: title }) : null, _jsx("input", { className: `m-0 mt-[5px] font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
27
27
|
outline-none p-0 pl-4 box-border text-primary-text`, value: addSpacesBetweenNumbers(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), _jsx("div", { className: "absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]", children: _jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), _jsx("div", { className: "flex justify-between my-3", children: items.map((item, i) => (_jsx("span", { className: "text-sm leading-[14px] text-secondary-text pl-4", children: item }, String(i)))) })] }));
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=InputRange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,IAAI,GAAG,CAAC,EAAE,KAAK,GAAG,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE;IACxF,MAAM,YAAY,GAAG,CAAC,CAAS,EAAE,EAAE;QACjC,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,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