@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
|
@@ -19,7 +19,7 @@ const styleButton = 'w-full text-center font-sans select-none';
|
|
|
19
19
|
exports.Button = (0, uni_jsx_1.JSX)(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
|
|
20
20
|
const buttonInner = children ?? ((0, jsx_runtime_1.jsx)(ButtonInner_1.ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
|
|
21
21
|
if (disabled) {
|
|
22
|
-
return ((0, jsx_runtime_1.jsx)("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex:
|
|
22
|
+
return ((0, jsx_runtime_1.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 }));
|
|
23
23
|
}
|
|
24
24
|
return ((0, jsx_runtime_1.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 }));
|
|
25
25
|
});
|
|
@@ -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,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";;;AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,+CAAwC;AAExC,+CAA4C;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;IAC5F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAIlD,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,uBAAC,yBAAW,IACV,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,8BACE,SAAS,EAAE,GAAG,WAAW,6CACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,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"}
|
|
@@ -4,14 +4,14 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
exports.ButtonInner = (0, uni_jsx_1.JSX)((props) => {
|
|
6
6
|
const { text, aboveText, appendLeft, appendRight } = props;
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-xs text-left", children: aboveText }), (0, jsx_runtime_1.jsx)("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
|
|
8
8
|
});
|
|
9
9
|
const getButtonStyle = (props) => {
|
|
10
10
|
const { version, aboveText, rounded } = props;
|
|
11
11
|
if (version === 'link') {
|
|
12
12
|
return '';
|
|
13
13
|
}
|
|
14
|
-
const withTextStyle = `
|
|
14
|
+
const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-9'}`;
|
|
15
15
|
return [
|
|
16
16
|
'flex items-center justify-center',
|
|
17
17
|
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,+CAAwC;AAQ3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE3D,OAAO,CACL,iCAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,4CACE,gCAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE3D,OAAO,CACL,iCAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,4CACE,gCAAK,SAAS,EAAC,mBAAmB,YAAE,SAAS,GAAO,EACpD,gCAAK,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,IAC7B,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,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 */
|
|
@@ -8,7 +8,7 @@ const Button_1 = require("./Button");
|
|
|
8
8
|
exports.ButtonSection = (0, uni_jsx_1.JSX)(({ context, className = '', buttons }) => {
|
|
9
9
|
const { handlerDecorator } = context;
|
|
10
10
|
const router = context.useRouter();
|
|
11
|
-
return buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, children: buttons.map((button, index) => renderButton((0, useLink_1.useLink)({ router, handlerDecorator }, button), index)) })) : null;
|
|
11
|
+
return buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, children: buttons.map((button, index) => renderButton((0, useLink_1.useLink)({ router, handlerDecorator }, button), index)) })) : null;
|
|
12
12
|
});
|
|
13
13
|
function renderButton({ icon, iconRight, ...button }, i) {
|
|
14
14
|
if (!button?.text) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,oCAAiC;AACjC,qCAAkC;AAKrB,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAEnC,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,oCAAiC;AACjC,qCAAkC;AAKrB,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAEnC,OAAO,OAAO,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAClC,gCAAK,SAAS,EAAE,SAAS,YACtB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAC7B,YAAY,CAAC,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CACnE,GACG,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,SAAS,YAAY,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,EAAuB,EAAE,CAAS;IAClF,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE;QACjB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,eAAM,IAEL,UAAU,EAAE,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAC7D,WAAW,EAAE,uBAAC,SAAG,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,uBAAC,eAAM,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;
|
|
@@ -10,6 +10,8 @@ const renderLikeIcon = () => {
|
|
|
10
10
|
strokeLinejoin: 'round',
|
|
11
11
|
strokeWidth: '1.5',
|
|
12
12
|
};
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [(0, jsx_runtime_1.jsx)("path", { ...params, strokeMiterlimit: "10",
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [(0, jsx_runtime_1.jsx)("path", { ...params, strokeMiterlimit: "10",
|
|
14
|
+
/* eslint-disable max-len */
|
|
15
|
+
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" }), (0, jsx_runtime_1.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" })] }));
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=LikeButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/LikeButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/LikeButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAS3B,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACpF,mCACE,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,iCAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACrE,oCACM,MAAM,EACV,gBAAgB,EAAC,IAAI;gBACrB,4BAA4B;gBAC5B,CAAC,EAAC,wLAAwL,GAC1L,EACF,oCACM,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,+CAA4C;
|
|
1
|
+
{"version":3,"file":"renderArrows.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderArrows.tsx"],"names":[],"mappings":";;;AAAA,+CAA4C;AAU5C,SAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,OAAO,EACP,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,UAAU,GAAG,KAAK,GACA;IAClB,OAAO,CACL,4CACG,OAAO,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAC1B,uBAAC,yBAAW,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,uBAAC,yBAAW,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;AA7BD,oCA6BC"}
|
|
@@ -16,5 +16,5 @@ exports.Checkbox = (0, uni_jsx_1.JSX)(({ className, text, checked, isRadio, onCh
|
|
|
16
16
|
${checked ? 'border-black' : 'border-main-stroke'}
|
|
17
17
|
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
|
|
18
18
|
onChange(e.target.checked);
|
|
19
|
-
}, checked: checked }), isRadio ? ((0, jsx_runtime_1.jsx)("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : ((0, jsx_runtime_1.jsx)(SVG_1.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 ? (0, jsx_runtime_1.jsx)("span", { className: "font-sans ml-3 text-
|
|
19
|
+
}, checked: checked }), isRadio ? ((0, jsx_runtime_1.jsx)("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : ((0, jsx_runtime_1.jsx)(SVG_1.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 ? (0, jsx_runtime_1.jsx)("span", { className: "font-sans ml-3 text-l cursor-pointer", children: text }) : null] }) })));
|
|
20
20
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9F,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,2CAA2C,aAC1D,kCACE,SAAS,EAAE;UACT,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;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,
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9F,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,2CAA2C,aAC1D,kCACE,SAAS,EAAE;UACT,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;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,gCAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,uBAAC,SAAG,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,iCAAM,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;
|
|
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
exports.Description = (0, uni_jsx_1.JSX)((props) => {
|
|
6
6
|
const { className = '', description } = props;
|
|
7
|
-
return (0, jsx_runtime_1.jsx)("div", { className:
|
|
7
|
+
return (0, jsx_runtime_1.jsx)("div", { className: `${className}`, children: description });
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=Description.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAO3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,gCAAK,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAO3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,gCAAK,SAAS,EAAE,GAAG,SAAS,EAAE,YAAG,WAAW,GAAO,CAAC;AAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -12,7 +12,7 @@ exports.Foldable = (0, uni_jsx_1.JSX)(({ blocks = [], context, hiddenBlocksNum =
|
|
|
12
12
|
initialState: isUnfolded,
|
|
13
13
|
});
|
|
14
14
|
const buttonClassName = foldButtonClasses ||
|
|
15
|
-
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-
|
|
15
|
+
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-l flex justify-center cursor-pointer';
|
|
16
16
|
const getFoldButtonLabel = isActive ? 'Скрыть' : foldButtonLabel;
|
|
17
17
|
return blocks ? ((0, jsx_runtime_1.jsxs)("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive, containerClasses }), hiddenBlocksNum ? ((0, jsx_runtime_1.jsxs)("button", { className: buttonClassName, "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: "pr-3", children: getFoldButtonLabel }), icon ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true }) : null] })) : null] })) : null;
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,6CAA0C;AAC1C,uCAAoC;AACpC,yDAA+E;AAuBlE,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,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,IAAA,aAAK,EAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAA,mCAAgB,EAAC;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,+CAAwC;AAIxC,6CAA0C;AAC1C,uCAAoC;AACpC,yDAA+E;AAuBlE,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,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,IAAA,aAAK,EAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAA,mCAAgB,EAAC;QACxD,OAAO;QACP,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,MAAM,eAAe,GACnB,iBAAiB;QACjB,2HAA2H,CAAC;IAC9H,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;IAEjE,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,4CACG,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC,EAC1E,eAAe,CAAC,CAAC,CAAC,CACjB,oCACE,SAAS,EAAE,eAAe,gBACd,mBAAmB,EAC/B,OAAO,EAAE,YAAY,aAErB,iCAAM,SAAS,EAAC,MAAM,YAAE,kBAAkB,GAAQ,EACjD,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7E,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,MAAsB,EACtB,MAAc,EACd,EAAE,YAAY,EAAE,QAAQ,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,4CACG,aAAa,EACd,gCAAK,SAAS,EAAE,GAAG,0CAAuB,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,QAAA,uBAAuB,GAAG,qDAAqD,CAAC;AAOtF,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,QAAA,uBAAuB,GAAG,qDAAqD,CAAC;AAOtF,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,+BAAuB,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;AAvBW,QAAA,gBAAgB,oBAuB3B"}
|
|
@@ -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;
|
|
@@ -3,19 +3,16 @@ exports.Heading = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const HeadingClass = {
|
|
6
|
+
h0: 'text-m-title',
|
|
6
7
|
h1: 'text-m-title',
|
|
7
8
|
h2: 'text-m-title',
|
|
8
|
-
h3: 'text-
|
|
9
|
+
h3: 'text-h6',
|
|
9
10
|
h4: 'text-m-title-xs',
|
|
10
11
|
h5: 'text-m-title-xs',
|
|
11
12
|
h6: 'text-m-title-xs',
|
|
12
13
|
};
|
|
13
14
|
exports.Heading = (0, uni_jsx_1.JSX)((props) => {
|
|
14
|
-
const { className, headingType, title, as } = props;
|
|
15
|
-
if (!headingType) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
const Tag = as || headingType;
|
|
15
|
+
const { className, headingType = 'h3', title, as: Tag = 'h3' } = props;
|
|
19
16
|
return ((0, jsx_runtime_1.jsx)(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
|
|
20
17
|
});
|
|
21
18
|
//# sourceMappingURL=Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;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;AAEW,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,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,uBAAC,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
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=HeadingProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadingProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/HeadingProps.ts"],"names":[],"mappings":""}
|
|
@@ -7,6 +7,6 @@ exports.Input = (0, uni_jsx_1.JSX)(({ className = '', id, name, type = 'text', p
|
|
|
7
7
|
const validInputValue = e.target.validity.valid ? e.target.value : value;
|
|
8
8
|
onChange(validInputValue);
|
|
9
9
|
};
|
|
10
|
-
return ((0, jsx_runtime_1.jsx)("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange:
|
|
10
|
+
return ((0, jsx_runtime_1.jsx)("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange: handleChange }));
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/ui-kit/Input/Input.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/ui-kit/Input/Input.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,KAAK,GAAG,IAAA,aAAG,EACtB,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,kCACE,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"}
|
|
@@ -25,7 +25,7 @@ exports.InputRange = (0, uni_jsx_1.JSX)(({ className, title, items = [], min = 1
|
|
|
25
25
|
onChange(max);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-l text-secondary-text pl-4", children: title }) : null, (0, jsx_runtime_1.jsx)("input", { className: `m-0 mt-[5px] font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
29
29
|
outline-none p-0 pl-4 box-border text-primary-text`, value: (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), (0, jsx_runtime_1.jsx)("div", { className: "absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]", children: (0, jsx_runtime_1.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 }) })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between my-3", children: items.map((item, i) => ((0, jsx_runtime_1.jsx)("span", { className: "text-sm leading-[14px] text-secondary-text pl-4", children: item }, String(i)))) })] }));
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=InputRange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAGjE,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,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,EAAE,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC3B,CAAC,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;KAC5E,CAAC;IACF,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,mCAAO,SAAS,EAAC,gBAAgB,aAC9B,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAGjE,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,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,EAAE,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC3B,CAAC,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;KAC5E,CAAC;IACF,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,mCAAO,SAAS,EAAC,gBAAgB,aAC9B,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,iCAAiC,YAAE,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChF,kCACE,SAAS,EAAE;2EACoD,EAC/D,KAAK,EAAE,IAAA,iDAAuB,EAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,MAAM,EAAE,UAAU,GAClB,EACF,gCAAK,SAAS,EAAC,sDAAsD,YACnE,kCACE,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,KAAK,EAAE,UAAU,GACjB,GACE,IACA,EACR,gCAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,iCAAsB,SAAS,EAAC,iDAAiD,YAC9E,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FuncReturnVoid } from '../../types';
|
|
2
1
|
export interface InputRangeProps {
|
|
3
2
|
className?: string;
|
|
4
3
|
items?: string[];
|
|
@@ -7,5 +6,5 @@ export interface InputRangeProps {
|
|
|
7
6
|
step?: number;
|
|
8
7
|
value?: number;
|
|
9
8
|
title?: string;
|
|
10
|
-
onChange?:
|
|
9
|
+
onChange?: (value: number) => void;
|
|
11
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
interface SVGPathOptions {
|
|
1
|
+
export interface SVGPathOptions {
|
|
2
2
|
fill?: string;
|
|
3
3
|
stroke?: string;
|
|
4
|
-
strokeLinecap?:
|
|
5
|
-
strokeLinejoin?:
|
|
4
|
+
strokeLinecap?: 'inherit' | 'butt' | 'round' | 'square';
|
|
5
|
+
strokeLinejoin?: 'inherit' | 'round' | 'miter' | 'bevel';
|
|
6
6
|
strokeWidth?: string;
|
|
7
7
|
strokeMiterlimit?: string;
|
|
8
8
|
}
|
|
9
|
-
interface SVGPath extends SVGPathOptions {
|
|
9
|
+
export interface SVGPath extends SVGPathOptions {
|
|
10
10
|
d: string;
|
|
11
11
|
}
|
|
12
12
|
export interface SVGProps extends SVGPathOptions {
|
|
@@ -17,4 +17,3 @@ export interface SVGProps extends SVGPathOptions {
|
|
|
17
17
|
height?: string;
|
|
18
18
|
}
|
|
19
19
|
export declare const SVG: (props: import("@redneckz/uni-jsx").PropsWithChildren<SVGProps, any>, context?: any) => any;
|
|
20
|
-
export {};
|
|
@@ -7,17 +7,17 @@ const Img_1 = require("../Img/Img");
|
|
|
7
7
|
exports.SearchBarInner = (0, uni_jsx_1.JSX)(({ className, context, isMobile = false }) => {
|
|
8
8
|
const { term, setTerm } = context.useSearch();
|
|
9
9
|
const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
|
|
10
|
-
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : '
|
|
10
|
+
const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
|
|
11
11
|
const SearchBarInputClassName = isMobile
|
|
12
12
|
? ' placeholder-transparent font-normal'
|
|
13
13
|
: 'font-light h-full';
|
|
14
|
-
const inputPlaceholder = isMobile ? 'some search' :
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)("form", { className: `font-sans relative ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [(0, jsx_runtime_1.jsx)("div", { className: LoupeIconClassName, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : ((0, jsx_runtime_1.jsx)("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), (0, jsx_runtime_1.jsx)("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-
|
|
14
|
+
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)("form", { className: `font-sans relative ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [(0, jsx_runtime_1.jsx)("div", { className: LoupeIconClassName, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : ((0, jsx_runtime_1.jsx)("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), (0, jsx_runtime_1.jsx)("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded box-border
|
|
16
16
|
outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? ((0, jsx_runtime_1.jsx)("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
17
17
|
e.preventDefault();
|
|
18
18
|
setTerm('');
|
|
19
|
-
}, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: "CloseIcon", width: "24", height: "24" }) })) : ((0, jsx_runtime_1.jsx)(Button_1.Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (
|
|
20
|
-
|
|
19
|
+
}, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: "CloseIcon", width: "24", height: "24" }) })) : ((0, jsx_runtime_1.jsx)(Button_1.Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (ev) => {
|
|
20
|
+
ev?.preventDefault();
|
|
21
21
|
console.log('click');
|
|
22
22
|
}, children: (0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
|
|
23
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,oCAAiC;AAMpB,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,oCAAiC;AAMpB,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,cAAc,CAAC;IAClF,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,mBAAmB,CAAC;IACxB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9D,OAAO,CACL,kCAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,iCAAK,SAAS,EAAC,yGAAyG,aACtH,gCAAK,SAAS,EAAE,kBAAkB,YAChC,uBAAC,SAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,kCACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,uBAAuB,uBAAuB,EAAE,2FAGrD,CACT,IACG,EACN,kCACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAE;mFAC8D,uBAAuB,EAAE,EAClG,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EAClD,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,mCACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,uBAAC,SAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,uBAAC,eAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,gCAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,CACV,IACI,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAU3B,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,mCACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAU3B,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,mCACE,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,YAElD,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -17,7 +17,7 @@ exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className, context, children, g
|
|
|
17
17
|
children,
|
|
18
18
|
};
|
|
19
19
|
const handleScroll = (e) => {
|
|
20
|
-
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e
|
|
20
|
+
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children: childrenCollection, } = e?.currentTarget;
|
|
21
21
|
// horizontal PADDING / 2 to compensate padding-margin combo of child container
|
|
22
22
|
// without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
|
|
23
23
|
const itemWidth = childrenCollection[0].offsetWidth - padding / 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAA8D;AAE9D,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAA8D;AAE9D,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,EACJ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAAE,kBAAkB,GAC7B,GAAG,CAAC,EAAE,aAA4B,CAAC;QAEpC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,kBAAkB,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAA,6BAAa,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,KAAK,KAAK,WAAW,IAAI,aAAa,EAAE;YAC1C,aAAa,EAAE,CAAC;SACjB;QACD,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,uBAAC,2CAAoB,OAAK,SAAS,GAAI,IACnC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -20,7 +20,7 @@ exports.SwipeListControlDots = (0, uni_jsx_1.JSX)(({ children, activeIndex, inde
|
|
|
20
20
|
});
|
|
21
21
|
const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
|
|
22
22
|
if (currentIdx < activeIndex || currentIdx > activeIndex + 1) {
|
|
23
|
-
return
|
|
23
|
+
return;
|
|
24
24
|
}
|
|
25
25
|
const leftIndexMod = 1 - indexFraction;
|
|
26
26
|
const rightIndexMod = indexFraction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQzB,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQzB,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;QACzC,IAAI,GAAG,KAAK,WAAW,EAAE;YACvB,OAAO;SACR;QAED,MAAM,gBAAgB,GAAI,CAAC,CAAC,aAA6B,CAAC,aAAa;YACrE,EAAE,sBAAsB,CAAC;QAE3B,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5F,CAAC,CAAC;IAEF,OAAO,QAAQ,IAAI,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACpC,gCAAK,SAAS,EAAC,+BAA+B,YAC3C,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAW,EAAE,EAAE,CAAC,CACjC,gCAEE,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,EACzB,SAAS,EAAE,GAAG,UAAU,EAAE,EAC1B,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,yBAH/C,MAAM,CAAC,GAAG,CAAC,CAKhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACe,EAAE;IACtC,IAAI,UAAU,GAAG,WAAW,IAAI,UAAU,GAAG,WAAW,GAAG,CAAC,EAAE;QAC5D,OAAO;KACR;IAED,MAAM,YAAY,GAAG,CAAC,GAAG,aAAa,CAAC;IACvC,MAAM,aAAa,GAAG,aAAa,CAAC;IAEpC,OAAO,UAAU,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
|
|
@@ -5,6 +5,6 @@ import { SwipeContainer } from './SwipeListControlProps';
|
|
|
5
5
|
export interface SwipeListControlListProps extends SwipeContainer {
|
|
6
6
|
className?: string;
|
|
7
7
|
activeIndex: number;
|
|
8
|
-
onScroll?: (e:
|
|
8
|
+
onScroll?: (e: any) => void;
|
|
9
9
|
}
|
|
10
10
|
export declare const SwipeListControlList: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlListProps, any>, context?: any) => any;
|
|
@@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.SwipeListControlList = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const constants_1 = require("./constants");
|
|
5
6
|
const SwipeListControlItem_1 = require("./SwipeListControlItem");
|
|
6
7
|
const getContainerStyle_1 = require("./utils/getContainerStyle");
|
|
7
|
-
const constants_1 = require("./constants");
|
|
8
8
|
exports.SwipeListControlList = (0, uni_jsx_1.JSX)(({ className = '', children, activeIndex, onScroll, gap = constants_1.DEFAULT_GAP, padding = constants_1.DEFAULT_PADDING, }) => {
|
|
9
9
|
return ((0, jsx_runtime_1.jsx)("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...(0, getContainerStyle_1.getContainerStyle)(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => ((0, jsx_runtime_1.jsx)(SwipeListControlItem_1.SwipeListControlItem, { style: (0, getContainerStyle_1.getContainerStyle)(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : ((0, jsx_runtime_1.jsx)(SwipeListControlItem_1.SwipeListControlItem, { children: children })) }));
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2CAA2D;AAC3D,iEAA8D;AAE9D,iEAA8D;AAWjD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,gCACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,IAAA,qCAAiB,EAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,uBAAC,2CAAoB,IAEnB,KAAK,EAAE,IAAA,qCAAiB,EAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,2CAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { FuncReturnVoid } from '../../types';
|
|
2
1
|
export interface TableArrowScrollControlProps {
|
|
3
2
|
isScrollAvailable?: boolean;
|
|
4
|
-
handleNextClick:
|
|
5
|
-
handlePrevClick:
|
|
3
|
+
handleNextClick: () => void;
|
|
4
|
+
handlePrevClick: () => void;
|
|
6
5
|
showNextButton: boolean;
|
|
7
6
|
showPrevButton: boolean;
|
|
8
7
|
}
|
|
@@ -11,7 +11,7 @@ exports.Tabs = (0, uni_jsx_1.JSX)(({ tabs, currentTabIndex, onTabClick }) => {
|
|
|
11
11
|
const tabDescriptionStyle = (isActive = false) => `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`;
|
|
12
12
|
const renderTab = (currentTabIndex, onTabClick) => (tab, index) => {
|
|
13
13
|
const isActive = currentTabIndex === index;
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected":
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": isActive, children: [tab?.icon ? renderIcon(tab, isActive) : null, (0, jsx_runtime_1.jsxs)("div", { children: [tab?.title ? (0, jsx_runtime_1.jsx)("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? ((0, jsx_runtime_1.jsx)("span", { className: tabDescriptionStyle(isActive), children: tab?.description })) : null] })] }, String(index)));
|
|
15
15
|
};
|
|
16
16
|
const renderIcon = (tab, isActive) => ((0, jsx_runtime_1.jsx)("div", { className: "h-full mt-1", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
|
|
17
17
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oCAAiC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE7D,QAAA,IAAI,GAAG,IAAA,aAAG,EAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,gCAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,YACvE,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,QAAQ,GAAG,KAAK,EAAE,EAAE,CAC/C,sBAAsB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAEhE,MAAM,SAAS,GACb,CAAC,eAAuB,EAAE,UAA2B,EAAE,EAAE,CAAC,CAAC,GAAQ,EAAE,KAAa,EAAE,EAAE;IACpF,MAAM,QAAQ,GAAG,eAAe,KAAK,KAAK,CAAC;IAE3C,OAAO,CACL,iCAEE,SAAS,EAAE,gEACT,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAChC,EAAE,EACF,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,mBACjB,
|
|
1
|
+
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oCAAiC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE7D,QAAA,IAAI,GAAG,IAAA,aAAG,EAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,gCAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,YACvE,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,QAAQ,GAAG,KAAK,EAAE,EAAE,CAC/C,sBAAsB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAEhE,MAAM,SAAS,GACb,CAAC,eAAuB,EAAE,UAA2B,EAAE,EAAE,CAAC,CAAC,GAAQ,EAAE,KAAa,EAAE,EAAE;IACpF,MAAM,QAAQ,GAAG,eAAe,KAAK,KAAK,CAAC;IAE3C,OAAO,CACL,iCAEE,SAAS,EAAE,gEACT,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAChC,EAAE,EACF,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,mBACjB,QAAQ,aAEtB,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAC7C,4CACG,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,+BAAI,SAAS,EAAC,2BAA2B,YAAE,GAAG,EAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC/E,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAClB,iCAAM,SAAS,EAAE,mBAAmB,CAAC,QAAQ,CAAC,YAAG,GAAG,EAAE,WAAW,GAAQ,CAC1E,CAAC,CAAC,CAAC,IAAI,IACJ,KAdD,MAAM,CAAC,KAAK,CAAC,CAed,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,GAAQ,EAAE,QAAiB,EAAE,EAAE,CAAC,CAClD,gCAAK,SAAS,EAAC,aAAa,YAC1B,uBAAC,SAAG,IACF,SAAS,EAAE,gBAAgB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,KAAK,EAAE,GAAG,EAAE,IAAI,IAAI,UAAU,EAC9B,KAAK,EAAE,CAAC,QAAQ,GAChB,GACE,CACP,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import { FuncReturnVoid } from '../../types';
|
|
3
2
|
/**
|
|
4
3
|
* @title Вкладка
|
|
5
4
|
*/
|
|
@@ -10,7 +9,7 @@ export interface Tab {
|
|
|
10
9
|
description?: string;
|
|
11
10
|
icon?: Picture;
|
|
12
11
|
}
|
|
13
|
-
export declare type TabClickHandler =
|
|
12
|
+
export declare type TabClickHandler = (tabIndex: number) => void;
|
|
14
13
|
export interface TabsProps {
|
|
15
14
|
tabs?: Tab[];
|
|
16
15
|
currentTabIndex: number;
|
|
@@ -2,3 +2,4 @@ export declare const isURL: (href?: string) => boolean | undefined;
|
|
|
2
2
|
export declare const withoutQuery: (href?: string) => string;
|
|
3
3
|
export declare const getOrigin: (href?: string) => string | undefined;
|
|
4
4
|
export declare const getHash: (href?: string) => string | undefined;
|
|
5
|
+
export declare const isHash: (href?: string) => boolean | undefined;
|