@redneckz/wildless-cms-uni-blocks 0.3.85 → 0.3.86
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 +124 -89
- package/bundle/bundle.umd.min.js +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/BenefitsBlockContent.d.ts +2 -2
- package/dist/components/Bonus/BonusContent.d.ts +2 -3
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.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/ContentPage/ContentPageContext.d.ts +1 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/dist/components/Footer/TextInformationLink.d.ts +1 -1
- package/dist/components/Footer/TextInformationLink.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 +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -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/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 +2 -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 +5 -5
- 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/LinkDocs/LinkDocs.js +2 -2
- 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/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/ProductBlockContent.d.ts +4 -5
- package/dist/components/ProductBlock/ProductBlockInner.js +3 -8
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +3 -4
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.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/RecommendationContent.d.ts +4 -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/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/hooks/useLink.d.ts +3 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.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/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/Breadcrumb.d.ts +1 -1
- package/dist/ui-kit/Button/Button.d.ts +0 -1
- package/dist/ui-kit/Button/Button.js +4 -4
- 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 +3 -1
- 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/renderArrows.d.ts +2 -4
- package/dist/ui-kit/Button/renderArrows.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/useActiveHandler.d.ts +1 -1
- package/dist/ui-kit/Foldable/useActiveHandler.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 +2 -5
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/dist/ui-kit/SVG.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- 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/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/BenefitsBlockContent.d.ts +2 -2
- package/lib/components/Bonus/BonusContent.d.ts +2 -3
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Catalog/CatalogContent.d.ts +3 -4
- 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/ContentPage/ContentPageContext.d.ts +1 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/lib/components/Footer/TextInformationLink.d.ts +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -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 +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -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.js +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 +5 -0
- 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 +2 -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.js +5 -5
- package/lib/components/Insurance/Insurance.js.map +1 -1
- package/lib/components/Insurance/InsuranceContent.d.ts +2 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +2 -2
- 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/MobileAppTile/MobileAppTile.js +3 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- 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/OtherProducts/OtherProductsItem.js +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +2 -2
- 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/ProductBlockContent.d.ts +4 -5
- package/lib/components/ProductBlock/ProductBlockInner.js +3 -8
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +3 -4
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.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.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.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/RecommendationContent.d.ts +4 -4
- 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/TariffsTableContent.d.ts +3 -4
- 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/hooks/useLink.d.ts +3 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.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/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/Breadcrumb.d.ts +1 -1
- package/lib/ui-kit/Button/Button.d.ts +0 -1
- package/lib/ui-kit/Button/Button.js +2 -2
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/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 +3 -1
- 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/renderArrows.d.ts +2 -4
- package/lib/ui-kit/Button/renderArrows.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/useActiveHandler.d.ts +1 -1
- package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.d.ts +1 -5
- 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 +2 -5
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/lib/ui-kit/SVG.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- package/lib/ui-kit/Tabs/TabsProps.d.ts +1 -2
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- 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 +37 -41
- 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/BenefitsBlockContent.d.ts +2 -2
- package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -3
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.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/ContentPage/ContentPageContext.d.ts +1 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +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/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 +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -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/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 +2 -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 +5 -5
- 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/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/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 +3 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -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.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/RecommendationContent.d.ts +4 -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/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/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/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/Breadcrumb.d.ts +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 +3 -1
- 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/renderArrows.d.ts +2 -4
- package/mobile/dist/ui-kit/Button/renderArrows.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/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 +2 -5
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/mobile/dist/ui-kit/SVG.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- 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/BenefitsBlockContent.d.ts +2 -2
- package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -3
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.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/ContentPage/ContentPageContext.d.ts +1 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +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/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 +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -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/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 +2 -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 +5 -5
- 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/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/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 +3 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -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.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/RecommendationContent.d.ts +4 -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/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/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/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/Breadcrumb.d.ts +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 +3 -1
- 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/renderArrows.d.ts +2 -4
- package/mobile/lib/ui-kit/Button/renderArrows.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/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 +2 -5
- 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/InputRange/InputRangeProps.d.ts +1 -2
- package/mobile/lib/ui-kit/SVG.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
- 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/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/BenefitsBlockContent.ts +8 -9
- package/mobile/src/components/Blocks.spec.tsx +74 -0
- package/mobile/src/components/Bonus/BonusContent.ts +5 -7
- package/mobile/src/components/Calculator/Calculator.tsx +3 -3
- package/mobile/src/components/Calculator/Rate.tsx +1 -1
- 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/ContentPage/ContentPageContext.tsx +1 -2
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
- package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +1 -1
- package/mobile/src/components/Footer/TextInformationLink.tsx +2 -4
- 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/HeaderSubMenu.tsx +2 -1
- 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 +2 -5
- package/mobile/src/components/Headline/constants.ts +42 -0
- package/mobile/src/components/Insurance/Insurance.tsx +15 -10
- package/mobile/src/components/Insurance/InsuranceContent.ts +2 -5
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +5 -5
- 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/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/ProductBlockContent.ts +4 -7
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +10 -21
- 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 +10 -15
- package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -5
- package/mobile/src/components/PromoTile/PromoTile.tsx +10 -6
- package/mobile/src/components/PromoTile/PromoTileContent.ts +4 -4
- package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -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 +755 -0
- package/mobile/src/hooks/useLink.ts +2 -2
- package/mobile/src/model/HeadlineType.ts +21 -0
- package/mobile/src/model/VNode.ts +1 -1
- package/mobile/src/services/sitemap/findActiveSubItem.ts +2 -2
- package/mobile/src/types.ts +0 -2
- package/mobile/src/ui-kit/Breadcrumb.tsx +1 -1
- 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 +1 -1
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Button/LikeButton.tsx +1 -1
- package/mobile/src/ui-kit/Button/renderArrows.tsx +2 -3
- package/mobile/src/ui-kit/Description/Description.tsx +3 -3
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
- package/mobile/src/ui-kit/Heading/Heading.tsx +3 -13
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +24 -0
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -3
- package/mobile/src/ui-kit/SVG.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
- 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 +3 -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/BenefitsBlockContent.ts +8 -9
- package/src/components/Blocks.spec.tsx +74 -0
- package/src/components/Bonus/BonusContent.ts +5 -7
- package/src/components/Calculator/Calculator.tsx +3 -3
- package/src/components/Calculator/Rate.tsx +1 -1
- 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.tsx +0 -1
- package/src/components/ContentPage/ContentPageContext.tsx +1 -2
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
- package/src/components/Footer/HorizontalNavigationLink.tsx +1 -1
- package/src/components/Footer/TextInformationLink.tsx +2 -4
- 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 +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +2 -1
- package/src/components/Headline/Headline.example.json +1 -0
- package/src/components/Headline/Headline.fixture.tsx +25 -0
- package/src/components/Headline/Headline.mobile.tsx +1 -1
- package/src/components/Headline/Headline.tsx +13 -7
- package/src/components/Headline/HeadlineContent.ts +2 -5
- package/src/components/Headline/constants.ts +42 -0
- package/src/components/Insurance/Insurance.tsx +15 -10
- package/src/components/Insurance/InsuranceContent.ts +2 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +5 -5
- package/src/components/LinkDocs/LinkDocs.example.json +1 -0
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
- package/src/components/LinkDocs/LinkDocs.tsx +4 -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.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.fixture.tsx +5 -5
- package/src/components/ProductBlock/ProductBlockContent.ts +4 -7
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +10 -21
- package/src/components/ProductBlock/ProductBlockInner.tsx +11 -26
- 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/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 +10 -15
- package/src/components/ProductTile/ProductTileContent.ts +2 -5
- package/src/components/PromoTile/PromoTile.tsx +10 -6
- package/src/components/PromoTile/PromoTileContent.ts +4 -4
- package/src/components/Recommendation/RecommendationContent.ts +4 -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/TariffsTableContent.ts +12 -14
- package/src/components/Tile/Tile.tsx +7 -11
- package/src/components/Tile/TileContent.ts +4 -5
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +755 -0
- package/src/hooks/useLink.ts +2 -2
- package/src/model/HeadlineType.ts +21 -0
- package/src/model/VNode.ts +1 -1
- package/src/services/sitemap/findActiveSubItem.ts +2 -2
- package/src/types.ts +0 -2
- package/src/ui-kit/Breadcrumb.tsx +1 -1
- package/src/ui-kit/Button/Button.mobile.tsx +2 -2
- package/src/ui-kit/Button/Button.tsx +2 -2
- package/src/ui-kit/Button/ButtonInner.tsx +3 -3
- package/src/ui-kit/Button/ButtonProps.ts +1 -1
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Button/LikeButton.tsx +1 -1
- package/src/ui-kit/Button/renderArrows.tsx +2 -3
- package/src/ui-kit/Description/Description.tsx +3 -3
- package/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
- package/src/ui-kit/Heading/Heading.mobile.tsx +3 -13
- package/src/ui-kit/Heading/Heading.tsx +9 -19
- package/src/ui-kit/Heading/HeadingProps.ts +24 -0
- package/src/ui-kit/InputRange/InputRangeProps.ts +1 -3
- package/src/ui-kit/SVG.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
- package/src/ui-kit/Tabs/TabsProps.ts +1 -2
- package/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/src/utils/url.ts +2 -0
- package/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/lib/ui-kit/Description/DescriptionContent.js +0 -2
- package/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/lib/ui-kit/Heading/HeadingContent.js +0 -2
- package/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/mobile/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
- package/mobile/lib/ui-kit/Description/DescriptionContent.js +0 -2
- package/mobile/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
- package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
- package/mobile/lib/ui-kit/Heading/HeadingContent.js +0 -2
- package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
- package/mobile/src/ui-kit/Description/DescriptionContent.ts +0 -4
- package/mobile/src/ui-kit/Heading/HeadingContent.ts +0 -17
- package/src/ui-kit/Description/DescriptionContent.ts +0 -4
- package/src/ui-kit/Heading/HeadingContent.ts +0 -17
|
@@ -1,56 +1,55 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { TabsItemProps } from './GroupBlock';
|
|
3
3
|
|
|
4
|
-
export type TabClickHandler = (tag) => void;
|
|
5
|
-
|
|
6
4
|
export interface GroupBlockTabsProps {
|
|
7
|
-
onTabClick: TabClickHandler;
|
|
8
|
-
currentTag?: string;
|
|
9
5
|
className?: string;
|
|
6
|
+
currentTag?: string;
|
|
10
7
|
tabs?: TabsItemProps[];
|
|
11
8
|
isShowCounter?: boolean;
|
|
9
|
+
onTabClick: (tag?: string) => void;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
export const GroupBlockTabs = JSX<GroupBlockTabsProps>((props) => {
|
|
15
|
-
const {
|
|
13
|
+
const { className = '', tabs, currentTag, isShowCounter = false, onTabClick } = props;
|
|
16
14
|
|
|
17
15
|
return (
|
|
18
|
-
<div className={`
|
|
19
|
-
{tabs?.map(renderTab(
|
|
16
|
+
<div className={`box-border flex gap-x-1 h-14 ${className}`} role="tablist">
|
|
17
|
+
{tabs?.map(renderTab({ currentTag, isShowCounter, onTabClick }))}
|
|
20
18
|
</div>
|
|
21
19
|
);
|
|
22
20
|
});
|
|
23
21
|
|
|
24
|
-
const badgeStyle = 'min-w-[22px] w-[22px] h-[22px] rounded-full text-
|
|
22
|
+
const badgeStyle = 'min-w-[22px] w-[22px] h-[22px] rounded-full text-xs ml-2';
|
|
25
23
|
|
|
26
24
|
const renderTab =
|
|
27
|
-
(
|
|
25
|
+
({ currentTag, isShowCounter, onTabClick }: GroupBlockTabsProps) =>
|
|
28
26
|
(tab: TabsItemProps, i: number) => {
|
|
29
27
|
const isActive = currentTag === tab.tag;
|
|
28
|
+
|
|
30
29
|
const tabBg = isActive ? 'bg-primary-main' : 'group bg-white';
|
|
31
|
-
|
|
30
|
+
|
|
31
|
+
const tabText = `text-m ${
|
|
32
|
+
isActive ? 'text-white' : 'text-secondary-text group-hover:text-primary-main'
|
|
33
|
+
}`;
|
|
32
34
|
const counterBlockStyle = `${badgeStyle}
|
|
33
|
-
${
|
|
35
|
+
${
|
|
36
|
+
isActive
|
|
37
|
+
? 'bg-white/30 text-white'
|
|
38
|
+
: 'bg-main-divider text-secondary-text group-hover:text-primary-main'
|
|
39
|
+
}`;
|
|
34
40
|
|
|
35
41
|
return (
|
|
36
42
|
<div
|
|
37
43
|
key={String(i)}
|
|
38
|
-
className={`flex
|
|
44
|
+
className={`flex-1 flex items-center justify-center cursor-pointer ${tabBg}`}
|
|
39
45
|
role="tab"
|
|
40
46
|
onClick={() => onTabClick(tab.tag)}
|
|
41
|
-
aria-selected={
|
|
42
|
-
tag={tab?.tag}
|
|
47
|
+
aria-selected={isActive}
|
|
43
48
|
>
|
|
44
|
-
<div className=
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
className={`flex items-center justify-center ml-8 text-s-bold ${counterBlockStyle}`}
|
|
49
|
-
>
|
|
50
|
-
<span>{tab.count}</span>
|
|
51
|
-
</div>
|
|
52
|
-
) : null}
|
|
53
|
-
</div>
|
|
49
|
+
{tab?.title ? <div className={tabText}>{tab.title}</div> : null}
|
|
50
|
+
{isShowCounter ? (
|
|
51
|
+
<div className={`flex items-center justify-center ${counterBlockStyle}`}>{tab.count}</div>
|
|
52
|
+
) : null}
|
|
54
53
|
</div>
|
|
55
54
|
);
|
|
56
55
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { JSXBlock } from '../ContentPage/ContentPage';
|
|
3
|
-
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
2
|
import type { UniBlockProps } from '../../types';
|
|
5
3
|
import { style2className } from '../../utils/style2className';
|
|
4
|
+
import type { JSXBlock } from '../ContentPage/ContentPage';
|
|
5
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
6
6
|
import type { GroupBlockDef } from './BlocksTypeProps';
|
|
7
7
|
import { EmbeddableGroupBlocks } from './EmbeddableGroupBlocks';
|
|
8
8
|
import { GroupBlockContent } from './GroupBlockContent';
|
|
@@ -11,7 +11,7 @@ export interface GroupBlocksProps extends GroupBlockContent, UniBlockProps {}
|
|
|
11
11
|
|
|
12
12
|
export const GroupBlocksItem = JSX<GroupBlocksProps>(({ groupBlocks, context }) => {
|
|
13
13
|
return (
|
|
14
|
-
<div className="grid grid-cols-12 gap-
|
|
14
|
+
<div className="grid grid-cols-12 gap-1 box-border">
|
|
15
15
|
{groupBlocks?.length ? groupBlocks.map(renderBlock(context)) : null}
|
|
16
16
|
</div>
|
|
17
17
|
);
|
|
@@ -20,13 +20,13 @@ interface DropdownMenuProps extends UniBlockProps {
|
|
|
20
20
|
menuItems: LinkProps[];
|
|
21
21
|
bgColor?: BgColorVersion;
|
|
22
22
|
context: ContentPageContext;
|
|
23
|
+
activeSubItem?: LinkProps;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
export const DropdownMenu = JSX<DropdownMenuProps>((props) => {
|
|
26
|
-
const { menuVisible, toggleMenu, menuItems, bgColor, context } = props;
|
|
27
|
+
const { menuVisible, toggleMenu, menuItems, bgColor, context, activeSubItem } = props;
|
|
27
28
|
|
|
28
29
|
const { useRouter, handlerDecorator } = context;
|
|
29
|
-
|
|
30
30
|
const router = useRouter();
|
|
31
31
|
|
|
32
32
|
return (
|
|
@@ -46,26 +46,39 @@ export const DropdownMenu = JSX<DropdownMenuProps>((props) => {
|
|
|
46
46
|
className={`flex flex-col rounded-md bg-white p-6 pb-2 ${menuVisible ? '' : 'hidden'}`}
|
|
47
47
|
aria-hidden={!menuVisible}
|
|
48
48
|
>
|
|
49
|
-
{renderDotsSubMenuItems(menuItems, router, handlerDecorator)}
|
|
49
|
+
{renderDotsSubMenuItems({ menuItems, router, handlerDecorator, activeSubItem })}
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
);
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
menuItems: LinkProps[]
|
|
57
|
-
router: Router
|
|
58
|
-
handlerDecorator: HandlerDecorator | undefined
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
type DotsSubMenuItemsProps = {
|
|
56
|
+
menuItems: LinkProps[];
|
|
57
|
+
router: Router;
|
|
58
|
+
handlerDecorator: HandlerDecorator | undefined;
|
|
59
|
+
activeSubItem?: LinkProps;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const renderDotsSubMenuItems = ({
|
|
63
|
+
menuItems,
|
|
64
|
+
router,
|
|
65
|
+
handlerDecorator,
|
|
66
|
+
activeSubItem,
|
|
67
|
+
}: DotsSubMenuItemsProps) => {
|
|
68
|
+
const isActive = (item) => item === activeSubItem;
|
|
69
|
+
|
|
70
|
+
return menuItems?.map((_) => (
|
|
61
71
|
<a
|
|
62
72
|
key={_.href}
|
|
63
73
|
{...useLink({ router, handlerDecorator }, _)}
|
|
64
|
-
className=
|
|
74
|
+
className={`text-base font-light pb-4 hover:text-primary-main ${
|
|
75
|
+
isActive(_) ? 'text-primary-main' : ''
|
|
76
|
+
}`}
|
|
65
77
|
>
|
|
66
78
|
{_.text}
|
|
67
79
|
</a>
|
|
68
80
|
));
|
|
81
|
+
};
|
|
69
82
|
|
|
70
83
|
const renderDot = (bgColor: BgColorVersion, i: number) => (
|
|
71
84
|
<div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
|
|
@@ -40,7 +40,7 @@ export const HeaderSubMenu = JSX<HeaderSubMenuProps>(({ context, subItems = [],
|
|
|
40
40
|
|
|
41
41
|
return (
|
|
42
42
|
<nav className="relative mt-5">
|
|
43
|
-
<div className="overflow-hidden whitespace-nowrap mr-52">
|
|
43
|
+
<div className="overflow-hidden whitespace-nowrap mr-52 pb-3">
|
|
44
44
|
{subItems.map((_, i) => (
|
|
45
45
|
<IntersectionObserverTag
|
|
46
46
|
Tag="span"
|
|
@@ -60,6 +60,7 @@ export const HeaderSubMenu = JSX<HeaderSubMenuProps>(({ context, subItems = [],
|
|
|
60
60
|
{dropDownMenuItems.length ? (
|
|
61
61
|
<DropdownMenu
|
|
62
62
|
context={context}
|
|
63
|
+
activeSubItem={activeSubItem}
|
|
63
64
|
menuVisible={menuVisible}
|
|
64
65
|
toggleMenu={toggleMenu}
|
|
65
66
|
menuItems={dropDownMenuItems}
|
|
@@ -30,7 +30,7 @@ export const Headline = JSX<HeadlineProps>(
|
|
|
30
30
|
) : null}
|
|
31
31
|
{description ? (
|
|
32
32
|
<p
|
|
33
|
-
className={`font-normal text-m
|
|
33
|
+
className={`font-normal text-m ${STYLE_MAPS.description} ${ALIGN_TEXT[align]} `}
|
|
34
34
|
>
|
|
35
35
|
{description}
|
|
36
36
|
</p>
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
2
|
-
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
|
-
import type { HeadingContent, HeadingType } from '../../ui-kit/Heading/HeadingContent';
|
|
4
2
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
3
|
import type { AlignType } from '../../model/AlignType';
|
|
4
|
+
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* @title Заголовок
|
|
9
8
|
*/
|
|
10
|
-
export type HeadlineContent =
|
|
11
|
-
DescriptionContent &
|
|
9
|
+
export type HeadlineContent = HeadlineProps &
|
|
12
10
|
ImageContent & {
|
|
13
11
|
align?: AlignType;
|
|
14
12
|
bgColorHeadline?: BlockVersionWithTransparent;
|
|
15
|
-
headingType?: HeadingType;
|
|
16
13
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { AlignType } from '../../model/AlignType';
|
|
2
2
|
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
3
|
+
import type { HeadlineVersion } from '../../model/HeadlineType';
|
|
4
|
+
import type { HeadingTagType, HeadingType } from '../../ui-kit/Heading/HeadingProps';
|
|
3
5
|
|
|
4
6
|
export const ALIGN_TEXT: Record<AlignType, string> = {
|
|
5
7
|
left: 'text-left',
|
|
@@ -13,6 +15,13 @@ type StyleType = {
|
|
|
13
15
|
description: string;
|
|
14
16
|
};
|
|
15
17
|
|
|
18
|
+
type VersionStyleType = {
|
|
19
|
+
descriptionFont: string;
|
|
20
|
+
gap: string;
|
|
21
|
+
headingType: HeadingType;
|
|
22
|
+
as: HeadingTagType;
|
|
23
|
+
};
|
|
24
|
+
|
|
16
25
|
export const HEADLINE_BLOCK_STYLE_MAPS: Record<BlockVersionWithTransparent, StyleType> = {
|
|
17
26
|
transparent: {
|
|
18
27
|
background: 'bg-transparent',
|
|
@@ -30,3 +39,36 @@ export const HEADLINE_BLOCK_STYLE_MAPS: Record<BlockVersionWithTransparent, Styl
|
|
|
30
39
|
description: 'text-white/80',
|
|
31
40
|
},
|
|
32
41
|
};
|
|
42
|
+
|
|
43
|
+
export const HEADLINE_VERSION: Record<HeadlineVersion, VersionStyleType> = {
|
|
44
|
+
XXL: {
|
|
45
|
+
descriptionFont: 'text-h4-alt',
|
|
46
|
+
gap: 'gap-[18px]',
|
|
47
|
+
headingType: 'h0', // 56
|
|
48
|
+
as: 'h1',
|
|
49
|
+
},
|
|
50
|
+
XL: {
|
|
51
|
+
descriptionFont: 'text-xl-light',
|
|
52
|
+
gap: 'gap-4',
|
|
53
|
+
headingType: 'h1', // 50
|
|
54
|
+
as: 'h1',
|
|
55
|
+
},
|
|
56
|
+
L: {
|
|
57
|
+
descriptionFont: 'text-xl-light',
|
|
58
|
+
gap: 'gap-4',
|
|
59
|
+
headingType: 'h2', // 40
|
|
60
|
+
as: 'h2',
|
|
61
|
+
},
|
|
62
|
+
M: {
|
|
63
|
+
descriptionFont: 'text-xl-light',
|
|
64
|
+
gap: 'gap-3',
|
|
65
|
+
headingType: 'h3', // 32
|
|
66
|
+
as: 'h3',
|
|
67
|
+
},
|
|
68
|
+
S: {
|
|
69
|
+
descriptionFont: 'text-xl-light',
|
|
70
|
+
gap: 'gap-2',
|
|
71
|
+
headingType: 'h4',
|
|
72
|
+
as: 'h4',
|
|
73
|
+
},
|
|
74
|
+
};
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
3
|
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
5
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
|
|
7
6
|
import type { InsuranceBenefit, InsuranceContent } from './InsuranceContent';
|
|
7
|
+
import { Headline } from '../Headline/Headline';
|
|
8
8
|
|
|
9
9
|
export interface InsuranceProps extends InsuranceContent, UniBlockProps {}
|
|
10
10
|
|
|
11
11
|
export const Insurance = JSX<InsuranceProps>(
|
|
12
|
-
({ className = '', title, description, image, benefits, sum, monthLimit, ...rest }) => {
|
|
12
|
+
({ context, className = '', title, description, image, benefits, sum, monthLimit, ...rest }) => {
|
|
13
13
|
return (
|
|
14
14
|
<BlockWrapper
|
|
15
15
|
className={`px-[100px] py-[50px] bg-white text-primary-text font-sans ${className}`}
|
|
16
|
+
context={context}
|
|
16
17
|
{...rest}
|
|
17
18
|
>
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
<Headline
|
|
20
|
+
context={context}
|
|
21
|
+
className="!p-0"
|
|
22
|
+
title={title}
|
|
23
|
+
description={description}
|
|
24
|
+
headlineVersion="M"
|
|
25
|
+
align="center"
|
|
26
|
+
/>
|
|
20
27
|
<div>
|
|
21
28
|
<div className="mt-5 mx-auto flex justify-center gap-[122px] mt-[30px]">
|
|
22
29
|
{image?.src ? <Img image={image} /> : null}
|
|
@@ -44,11 +51,9 @@ function renderBenefit(benefit: InsuranceBenefit, i: number) {
|
|
|
44
51
|
/>
|
|
45
52
|
) : null}
|
|
46
53
|
<div>
|
|
47
|
-
{benefit?.label ? <div className="text-
|
|
54
|
+
{benefit?.label ? <div className="text-h6">{benefit.label}</div> : null}
|
|
48
55
|
{benefit?.description ? (
|
|
49
|
-
<div className="mt-0.5
|
|
50
|
-
{benefit.description}
|
|
51
|
-
</div>
|
|
56
|
+
<div className="mt-0.5 text-secondary-text text-m">{benefit.description}</div>
|
|
52
57
|
) : null}
|
|
53
58
|
</div>
|
|
54
59
|
</div>
|
|
@@ -71,8 +76,8 @@ function renderValueBlock(title, sum, isAnotherBlock) {
|
|
|
71
76
|
|
|
72
77
|
return (
|
|
73
78
|
<div className={`flex justify-between items-center gap-2 w-full ${widthStyle}`}>
|
|
74
|
-
<span className="text-secondary-text text-
|
|
75
|
-
<span className="text-primary-main text-
|
|
79
|
+
<span className="text-secondary-text text-l-light">{title}</span>
|
|
80
|
+
<span className="text-primary-main text-h6">{addSpacesBetweenNumbers(sum)} ₽</span>
|
|
76
81
|
</div>
|
|
77
82
|
);
|
|
78
83
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @title Преимущество
|
|
@@ -14,11 +15,7 @@ export interface InsuranceBenefit {
|
|
|
14
15
|
/**
|
|
15
16
|
* @title Страховка
|
|
16
17
|
*/
|
|
17
|
-
export type InsuranceContent = {
|
|
18
|
-
/** @title Заголовок */
|
|
19
|
-
title?: string;
|
|
20
|
-
/** @title Описание */
|
|
21
|
-
description?: string;
|
|
18
|
+
export type InsuranceContent = HeadlineCommonProps & {
|
|
22
19
|
image?: Picture;
|
|
23
20
|
/** @title Ежемесячный лимит */
|
|
24
21
|
monthLimit?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
import { Button } from '../../ui-kit/Button/Button';
|
|
3
4
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
4
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
6
6
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
|
|
7
7
|
import type { CardItem, InsuranceAmountBlockTabs } from './InsuranceAmountBlockContent';
|
|
8
8
|
|
|
@@ -13,14 +13,14 @@ type InsuranceGalleryProps = {
|
|
|
13
13
|
cards: CardItem[];
|
|
14
14
|
activeSlideIndex: number;
|
|
15
15
|
isLastShift: boolean;
|
|
16
|
-
setActiveSlideIndex:
|
|
16
|
+
setActiveSlideIndex: (index: number) => void;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
type InsuranceSlideProps = {
|
|
20
20
|
slide: CardItem;
|
|
21
21
|
i: number;
|
|
22
22
|
activeSlideIndex: number;
|
|
23
|
-
onClick:
|
|
23
|
+
onClick: () => void;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
|
|
@@ -40,7 +40,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
|
|
|
40
40
|
const activeHref = cards[activeSlideIndex]?.href;
|
|
41
41
|
|
|
42
42
|
return (
|
|
43
|
-
<section className={`min-w-full text-center ${className}`}>
|
|
43
|
+
<section role="listitem" className={`min-w-full text-center ${className}`}>
|
|
44
44
|
<div className="relative mt-7 overflow-hidden">
|
|
45
45
|
{galleryLength
|
|
46
46
|
? renderGallery({
|
|
@@ -2,6 +2,7 @@ import type { LinkProps } from '../../model/LinkProps';
|
|
|
2
2
|
import type { AlignType } from '../../model/AlignType';
|
|
3
3
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
5
|
+
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @title Отображение списка
|
|
@@ -23,11 +24,7 @@ export interface LinkDocsItem extends LinkProps {
|
|
|
23
24
|
/**
|
|
24
25
|
* @title Список документов
|
|
25
26
|
*/
|
|
26
|
-
export
|
|
27
|
-
/** @title Заголовок */
|
|
28
|
-
title?: string;
|
|
29
|
-
/** @title Описание */
|
|
30
|
-
description?: string;
|
|
27
|
+
export type LinkDocsContent = HeadlineProps & {
|
|
31
28
|
/**
|
|
32
29
|
* @title Иконка
|
|
33
30
|
* @default {
|
|
@@ -47,4 +44,4 @@ export interface LinkDocsContent {
|
|
|
47
44
|
/** @title Рамка элементов (моб.) */ // TODO: мобильный проп
|
|
48
45
|
hasBorder?: boolean;
|
|
49
46
|
align?: AlignType;
|
|
50
|
-
}
|
|
47
|
+
};
|
|
@@ -11,7 +11,7 @@ export interface LinkDocsHorizontalListProps extends LinkDocsVerticalListProps {
|
|
|
11
11
|
export const LinkDocsHorizontalList = JSX<LinkDocsHorizontalListProps>(
|
|
12
12
|
({ context, hasBorder = true, documents, icon }) => {
|
|
13
13
|
return (
|
|
14
|
-
<SwipeListControl context={context} className="text-
|
|
14
|
+
<SwipeListControl context={context} className="text-s text-primary-main mt-5">
|
|
15
15
|
{documents?.length
|
|
16
16
|
? documents.map((doc, i) => (
|
|
17
17
|
<LinkDocsListItem
|
|
@@ -13,9 +13,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
|
|
|
13
13
|
({ hasBorder = true, documents, icon }) => {
|
|
14
14
|
return (
|
|
15
15
|
<div
|
|
16
|
-
className={`text-
|
|
17
|
-
hasBorder ? 'gap-3.5' : 'gap-2'
|
|
18
|
-
}`}
|
|
16
|
+
className={`text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`}
|
|
19
17
|
role="list"
|
|
20
18
|
>
|
|
21
19
|
{documents?.length
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
4
|
-
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
5
3
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
4
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
5
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* @title QR код
|
|
@@ -18,8 +17,7 @@ export interface QRCode {
|
|
|
18
17
|
/**
|
|
19
18
|
* @title Мобильное приложение
|
|
20
19
|
*/
|
|
21
|
-
export type MobileAppTileContent =
|
|
22
|
-
DescriptionContent &
|
|
20
|
+
export type MobileAppTileContent = HeadlineCommonProps &
|
|
23
21
|
ButtonContent &
|
|
24
22
|
ListContent &
|
|
25
23
|
ImageContent & {
|
|
@@ -4,10 +4,10 @@ import type { LinkProps } from '../../model/LinkProps';
|
|
|
4
4
|
export interface NavigatorTabItemProps extends LinkProps {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
className?: string;
|
|
7
|
-
onClick?: (
|
|
7
|
+
onClick?: () => void;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
const TEXT_CLASSES = 'font-sans
|
|
10
|
+
const TEXT_CLASSES = 'font-sans text-m';
|
|
11
11
|
const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
|
|
12
12
|
|
|
13
13
|
export const NavigatorTabItem = JSX<NavigatorTabItemProps>(
|
|
@@ -27,7 +27,7 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
27
27
|
context={context}
|
|
28
28
|
foldButtonLabel={label}
|
|
29
29
|
containerClasses="grid grid-cols-12 gap-1 border-box"
|
|
30
|
-
render={(children
|
|
30
|
+
render={(children) => <Wrapper>{children}</Wrapper>}
|
|
31
31
|
/>
|
|
32
32
|
) : null}
|
|
33
33
|
</div>
|
|
@@ -35,6 +35,6 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
35
35
|
},
|
|
36
36
|
);
|
|
37
37
|
|
|
38
|
-
const Wrapper = JSX
|
|
38
|
+
const Wrapper = JSX(({ children }) => {
|
|
39
39
|
return <div className="box-border">{children}</div>;
|
|
40
40
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TitleProp } from '../../model/HeadlineType';
|
|
3
3
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
5
5
|
|
|
6
|
-
export type TitleWithImageContent =
|
|
6
|
+
export type TitleWithImageContent = TitleProp & ImageContent;
|
|
7
7
|
|
|
8
8
|
export interface PictureTextBenefit {
|
|
9
9
|
/** @title Иконка */
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { PlaceholderContent } from '../../components/Placeholder/PlaceholderContent';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
+
import { Headline } from '../Headline/Headline';
|
|
4
5
|
import type { UniBlockProps } from '../../types';
|
|
5
|
-
import { Description } from '../../ui-kit/Description/Description';
|
|
6
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
|
-
import { BaseTile } from '../BaseTile/BaseTile';
|
|
8
6
|
import { getTileHeadingType } from '../BaseTile/getTileHeadingType';
|
|
9
7
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
|
|
10
8
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
|
|
@@ -25,23 +23,14 @@ export const Placeholder = JSX<PlaceholderProps>(
|
|
|
25
23
|
)} ${getTileMinHeight(className)} `}
|
|
26
24
|
{...rest}
|
|
27
25
|
>
|
|
28
|
-
<
|
|
26
|
+
<Headline
|
|
29
27
|
context={context}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/>
|
|
37
|
-
) : null
|
|
38
|
-
}
|
|
39
|
-
>
|
|
40
|
-
{description ? (
|
|
41
|
-
<Description className="mt-4 max-w-[600px]" description={description} />
|
|
42
|
-
) : null}
|
|
43
|
-
<figure className="m-0 min-w-[600px]">{renderShimmer()}</figure>
|
|
44
|
-
</BaseTile>
|
|
28
|
+
className="!p-0 max-w-[600px]"
|
|
29
|
+
title={title}
|
|
30
|
+
description={description}
|
|
31
|
+
headlineVersion={getTileHeadingType(className)}
|
|
32
|
+
/>
|
|
33
|
+
<figure className="m-0 min-w-[600px]">{renderShimmer()}</figure>
|
|
45
34
|
</BlockWrapper>
|
|
46
35
|
);
|
|
47
36
|
},
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
1
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* @hidden
|
|
6
5
|
*/
|
|
7
|
-
export type PlaceholderContent =
|
|
6
|
+
export type PlaceholderContent = HeadlineCommonProps;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
|
-
import {
|
|
5
|
-
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
6
|
-
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
7
|
-
import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
|
+
import type { ButtonContent, BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
8
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
9
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
+
import type { Picture } from '../../model/Picture';
|
|
8
|
+
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
10
9
|
|
|
11
10
|
export interface ProductBlockBenefit {
|
|
12
11
|
icon?: Picture;
|
|
@@ -22,9 +21,7 @@ export type BenefitItemProps = {
|
|
|
22
21
|
benefitsVersion?: IconVersion;
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
export type ProductBlockInnerContent =
|
|
26
|
-
HeadingTypeContent &
|
|
27
|
-
DescriptionContent &
|
|
24
|
+
export type ProductBlockInnerContent = HeadlineProps &
|
|
28
25
|
ListContent &
|
|
29
26
|
ButtonContent &
|
|
30
27
|
ImageContent & {
|