@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
|
@@ -4,17 +4,17 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
7
|
-
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
7
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
9
8
|
const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
|
|
10
9
|
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
11
10
|
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
11
|
+
const Headline_1 = require("../Headline/Headline");
|
|
12
12
|
const promoTileStyleMap = {
|
|
13
13
|
primary: 'bg-white text-primary-text',
|
|
14
14
|
secondary: 'bg-primary-main text-white',
|
|
15
15
|
};
|
|
16
16
|
exports.PromoTile = (0, uni_jsx_1.JSX)(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: title ? ((0, jsx_runtime_1.jsx)(
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: title ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className), bgColorHeadline: version }) })) : null, buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: (0, jsx_runtime_1.jsxs)("div", { className: "mt-1.5", children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-sm mb-2", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-base", children: description })] }) }) }));
|
|
18
18
|
});
|
|
19
19
|
function formatDate(date) {
|
|
20
20
|
const dateObj = new Date(date);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AAEzD,qEAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AAEzD,qEAAkE;AAClE,mDAAgD;AAChD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AAEtE,mDAAgD;AAIhD,MAAM,iBAAiB,GAAiC;IACtD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,GAAG,yBAAyB,EACjC,IAA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;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { DescriptionProp } from '../../model/HeadlineType';
|
|
4
|
+
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
5
|
/**
|
|
6
6
|
* @title Акции
|
|
7
7
|
*/
|
|
8
|
-
export declare type PromoTileContent =
|
|
8
|
+
export declare type PromoTileContent = HeadingCommonProps & DescriptionProp & ButtonContent & {
|
|
9
9
|
/** @title Дата публикации */
|
|
10
10
|
date?: string;
|
|
11
11
|
version?: BlockVersion;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import type {
|
|
4
|
-
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
3
|
+
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
-
|
|
6
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
7
|
+
export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent, ImageContent {
|
|
8
8
|
/**
|
|
9
9
|
* @title Соц сети
|
|
10
10
|
* @minItems 3
|
|
@@ -14,7 +14,7 @@ export interface RecommendationCardTypes extends HeadingContent, DescriptionCont
|
|
|
14
14
|
/**
|
|
15
15
|
* @title Рекомендации
|
|
16
16
|
*/
|
|
17
|
-
export interface RecommendationContent extends
|
|
17
|
+
export interface RecommendationContent extends HeadingCommonProps {
|
|
18
18
|
/** @title Карточки */
|
|
19
19
|
recommendations?: RecommendationCardTypes[];
|
|
20
20
|
version?: BlockVersion;
|
|
@@ -17,13 +17,13 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
|
|
|
17
17
|
exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className, title, description, showLines = true, steps, size = 'normal', version = 'primary', }) => {
|
|
18
18
|
const styleMap = (0, StepsBlockStyleMaps_1.getStyleMap)(version);
|
|
19
19
|
return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans bg-white px-4 py-6 flex flex-col
|
|
20
|
-
${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("p", { className: `text-m
|
|
20
|
+
${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("p", { className: `text-m text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStepTitle(size, version, showLines)) }) })) : null] }));
|
|
21
21
|
});
|
|
22
22
|
const renderStepTitle = (size, version, showLines) => (step, i, steps) => {
|
|
23
23
|
const isLastStep = steps.length - 1 === i;
|
|
24
24
|
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
|
|
25
25
|
const styleMap = (0, StepsBlockStyleMaps_1.getStyleMap)(version);
|
|
26
|
-
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row text-center relative", children: [(0, jsx_runtime_1.jsxs)("div", { className: "overflow-hidden", children: [renderIconArea(size, version), isLastStep ? null : ((0, jsx_runtime_1.jsx)("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), (0, jsx_runtime_1.jsxs)("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? ((0, jsx_runtime_1.jsx)("div", { className: "font-medium text-m-title-xs m-0 text-left mb-1", children: step.label })) : null, step.description ? ((0, jsx_runtime_1.jsx)("div", { className: `
|
|
26
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row text-center relative", children: [(0, jsx_runtime_1.jsxs)("div", { className: "overflow-hidden", children: [renderIconArea(size, version), isLastStep ? null : ((0, jsx_runtime_1.jsx)("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), (0, jsx_runtime_1.jsxs)("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? ((0, jsx_runtime_1.jsx)("div", { className: "font-medium text-m-title-xs m-0 text-left mb-1", children: step.label })) : null, step.description ? ((0, jsx_runtime_1.jsx)("div", { className: `text-s ${styleMap.description} text-left`, children: step.description })) : null] })] }) }, String(i)));
|
|
27
27
|
};
|
|
28
28
|
const renderIconArea = (size, version) => (step, i) => {
|
|
29
29
|
const styleMap = (0, StepsBlockStyleMaps_1.getStyleMap)(version);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,0DAAuD;AACvD,8CAA2C;AAE3C,6EAA0E;AAC1E,+DAAoD;AAIpD,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,6CAA6C;IACrD,KAAK,EAA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CAAM,SAAS,EAAE,gCAAgC,QAAQ,CAAC,KAAK,IAAI,YAAY,EAAE,YAC9E,IAAA,6CAAqB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACnC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,SAAG,CACnE,CAAC,CAAC,CAAC,CACF,2CAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -5,13 +5,15 @@ const STEPS_BLOCK_STYLE_MAPS = {
|
|
|
5
5
|
background: 'bg-white',
|
|
6
6
|
title: 'text-primary-text',
|
|
7
7
|
description: 'text-secondary-text',
|
|
8
|
-
|
|
8
|
+
iconText: 'text-secondary-text',
|
|
9
|
+
iconBackground: 'bg-main-divider',
|
|
9
10
|
iconConnector: 'bg-secondary-light',
|
|
10
11
|
},
|
|
11
12
|
secondary: {
|
|
12
13
|
background: 'bg-primary-main',
|
|
13
14
|
title: 'text-white',
|
|
14
15
|
description: 'text-white/80',
|
|
16
|
+
iconText: 'text-white',
|
|
15
17
|
iconBackground: 'bg-white/30',
|
|
16
18
|
iconConnector: 'bg-white',
|
|
17
19
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":";;AAWA,MAAM,sBAAsB,GAAoC;IAC9D,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,oBAAoB;KACpC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;KAC1B;CACF,CAAC;AAEK,MAAM,WAAW,GAAG,CAAC,OAAqB,EAAa,EAAE,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;AAApF,QAAA,WAAW,eAAyE"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
5
|
-
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
6
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
8
6
|
import type { CellData } from '../ComparisonTable/ComparisonTableContent';
|
|
7
|
+
import type { HeadlineCommonProps, TitleProp } from '../../model/HeadlineType';
|
|
9
8
|
/**
|
|
10
9
|
* @title Ряд
|
|
11
10
|
*/
|
|
@@ -36,13 +35,13 @@ export declare type TariffsTableCellData = CellData & ImageContent & ButtonConte
|
|
|
36
35
|
/**
|
|
37
36
|
* @title Параметр
|
|
38
37
|
*/
|
|
39
|
-
export declare type TariffsTableRowHeader =
|
|
38
|
+
export declare type TariffsTableRowHeader = TitleProp & {
|
|
40
39
|
icon?: Picture;
|
|
41
40
|
};
|
|
42
41
|
/**
|
|
43
42
|
* @title Таблица тарифов
|
|
44
43
|
*/
|
|
45
|
-
export declare type TariffsTableContent =
|
|
44
|
+
export declare type TariffsTableContent = HeadlineCommonProps & {
|
|
46
45
|
/** @title Колонки */
|
|
47
46
|
columns?: TariffsTableColumn[];
|
|
48
47
|
/** @title Параметры */
|
|
@@ -17,11 +17,11 @@ const tileStyleMap = {
|
|
|
17
17
|
};
|
|
18
18
|
exports.Tile = (0, uni_jsx_1.JSX)((props) => {
|
|
19
19
|
const { context, title, headingType = 'h3', description, items, children, buttons, image, isDotted = true, className = '', version = 'primary', ...rest } = props;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${tileStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[600px] text-h4
|
|
21
|
+
${version === 'primary' ? 'text-primary-text' : ''}` })) : null, buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'w-[158px]' })), className: "flex mt-9 gap-3" })) : null, image: image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto ml-7", image: image }) : null, children: [description ? ((0, jsx_runtime_1.jsx)(Description_1.Description, { className: "max-w-[600px] text-xl-light mt-2", description: description })) : null, children, renderList(items, version, isDotted)] }) }));
|
|
22
22
|
});
|
|
23
23
|
function renderList(items, version, isDotted) {
|
|
24
24
|
const listVersion = version === 'primary' ? 'tile' : 'tile-white';
|
|
25
|
-
return items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { items: items, isDotted: isDotted, itemClassName: "text-
|
|
25
|
+
return items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { items: items, isDotted: isDotted, itemClassName: "text-h6 font-light mt-2", version: listVersion })) : null;
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=Tile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,qEAAkE;AAClE,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,mEAAgE;AAChE,yEAAsE;AAMtE,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EACJ,OAAO,EACP,KAAK,EACL,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,GAAG,KAAK,CAAC;IAEV,OAAO,CACL,uBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,iDAAiD,SAAS,IACnE,YAAY,CAAC,OAAO,CACtB,IAAI,IAAA,yCAAmB,EAAC,SAAS,CAAC,IAAI,IAAA,mCAAgB,EAAC,SAAS,CAAC,GAAG,KAChE,IAAI,YAER,wBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE;gBACT,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAA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
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { DescriptionProp } from '../../model/HeadlineType';
|
|
4
|
+
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
7
|
/**
|
|
8
8
|
* @title Плитка
|
|
9
9
|
*/
|
|
10
|
-
export declare type TileContent =
|
|
10
|
+
export declare type TileContent = HeadingCommonProps & DescriptionProp & ListContent & ButtonContent & ImageContent & {
|
|
11
11
|
/**
|
|
12
12
|
* @title Буллиты
|
|
13
13
|
* @default true
|
|
@@ -8,7 +8,9 @@ export declare function useLink({ router, handlerDecorator, }: {
|
|
|
8
8
|
}>): {
|
|
9
9
|
href: string | undefined;
|
|
10
10
|
'aria-label': string | undefined;
|
|
11
|
-
onClick: (ev
|
|
11
|
+
onClick: (ev?: {
|
|
12
|
+
preventDefault: () => void;
|
|
13
|
+
}) => void;
|
|
12
14
|
text?: string | undefined;
|
|
13
15
|
target?: import("../model/LinkProps").Target | undefined;
|
|
14
16
|
className?: string | undefined;
|
|
@@ -13,7 +13,7 @@ function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link)
|
|
|
13
13
|
const isLocalHref = href && !(0, url_1.isURL)(href);
|
|
14
14
|
const isLocalTarget = !link.target || link.target === '_self';
|
|
15
15
|
if (isLocalHref && isLocalTarget) {
|
|
16
|
-
ev
|
|
16
|
+
ev?.preventDefault();
|
|
17
17
|
router.push(href);
|
|
18
18
|
}
|
|
19
19
|
}, link),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":";;AAEA,oDAAiD;AACjD,sCAAqC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,SAAgB,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAgD;IAEhD,MAAM,IAAI,GAAG,IAAA,uBAAU,EAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,YAAY,EAAE,IAAI,CAAC,IAAI;QACvB,OAAO,EAAE,gBAAgB,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":";;AAEA,oDAAiD;AACjD,sCAAqC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,SAAgB,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAgD;IAEhD,MAAM,IAAI,GAAG,IAAA,uBAAU,EAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,YAAY,EAAE,IAAI,CAAC,IAAI;QACvB,OAAO,EAAE,gBAAgB,CAAC,CAAC,EAAmC,EAAE,EAAE;YAChE,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,IAAA,WAAK,EAAC,IAAI,CAAC,CAAC;YACzC,MAAM,aAAa,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,EAAE,cAAc,EAAE,CAAC;gBACrB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC;AAtBD,0BAsBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Размер заголовка
|
|
3
|
+
* @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький"]
|
|
4
|
+
*/
|
|
5
|
+
export declare type HeadlineVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S';
|
|
6
|
+
export declare type TitleProp = {
|
|
7
|
+
/** @title Заголовок */
|
|
8
|
+
title?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type DescriptionProp = {
|
|
11
|
+
/** @title Описание */
|
|
12
|
+
description?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare type HeadlineCommonProps = TitleProp & DescriptionProp;
|
|
15
|
+
export declare type HeadlineProps = HeadlineCommonProps & {
|
|
16
|
+
headlineVersion?: HeadlineVersion;
|
|
17
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=HeadlineType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadlineType.js","sourceRoot":"","sources":["../../src/model/HeadlineType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type VNode =
|
|
1
|
+
export declare type VNode = any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Router } from '../../components/ContentPage/ContentPageContext';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T |
|
|
3
|
+
export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T | undefined;
|
|
@@ -6,7 +6,7 @@ const findActiveSubItem = (router) => (items = []) => {
|
|
|
6
6
|
const possibleActiveSubItems = items?.filter((0, isSubItemActive_1.isSubItemActive)(router));
|
|
7
7
|
return possibleActiveSubItems?.length
|
|
8
8
|
? (0, maxBy_1.maxBy)((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
|
|
9
|
-
:
|
|
9
|
+
: undefined;
|
|
10
10
|
};
|
|
11
11
|
exports.findActiveSubItem = findActiveSubItem;
|
|
12
12
|
//# sourceMappingURL=findActiveSubItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findActiveSubItem.js","sourceRoot":"","sources":["../../../src/services/sitemap/findActiveSubItem.ts"],"names":[],"mappings":";;AAEA,6CAA0C;AAC1C,uDAAoD;AAE7C,MAAM,iBAAiB,GAC5B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAsB,QAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"findActiveSubItem.js","sourceRoot":"","sources":["../../../src/services/sitemap/findActiveSubItem.ts"],"names":[],"mappings":";;AAEA,6CAA0C;AAC1C,uDAAoD;AAE7C,MAAM,iBAAiB,GAC5B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAsB,QAAa,EAAE,EAAiB,EAAE;IACtD,MAAM,sBAAsB,GAAG,KAAK,EAAE,MAAM,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IAEtE,OAAO,sBAAsB,EAAE,MAAM;QACnC,CAAC,CAAC,IAAA,aAAK,EAAC,CAAC,CAAI,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,qCAAqC;QACpG,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC,CAAC;AARS,QAAA,iBAAiB,qBAQ1B"}
|
package/mobile/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LinkProps } from '../model/LinkProps';
|
|
2
2
|
export interface BreadcrumbProps extends LinkProps {
|
|
3
3
|
className?: string;
|
|
4
|
-
onClick?: (
|
|
4
|
+
onClick?: () => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const Breadcrumb: (props: import("@redneckz/uni-jsx").PropsWithChildren<BreadcrumbProps, any>, context?: any) => any;
|
|
@@ -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,IAA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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-base'}`, 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,C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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"}
|
|
@@ -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,SAA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,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;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
handler: FuncReturnVoid<MouseEvent>[];
|
|
1
|
+
export declare type renderArrowsProps = {
|
|
2
|
+
handler: [() => void, () => void];
|
|
4
3
|
isShown: [boolean, boolean];
|
|
5
4
|
btnClass: [string, string];
|
|
6
5
|
className?: string;
|
|
7
6
|
isDisabled?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export declare function renderArrows({ handler, isShown, btnClass, className, isDisabled, }: renderArrowsProps): any;
|
|
10
|
-
export {};
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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,6 +3,7 @@ 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
9
|
h3: 'text-m-title-md',
|
|
@@ -11,11 +12,7 @@ const HeadingClass = {
|
|
|
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,iBAAiB;IACrB,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":""}
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
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
|
}
|