@redneckz/wildless-cms-uni-blocks 0.2.114 → 0.3.0
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 +395 -323
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.js +2 -2
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +2 -2
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/dist/components/Accordion/AccordionBlocks.js +8 -0
- package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +30 -18
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +2 -6
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
- package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
- package/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/dist/components/BaseTile/getTileMinHeight.js +17 -0
- package/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/dist/components/BaseTile/getTileRightPadding.js +17 -0
- package/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/dist/components/Blocks.mobile.d.ts +1 -0
- package/dist/components/Blocks.mobile.js +2 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +3 -3
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -4
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
- package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
- package/dist/components/ContentPage/normalizeBlock.js +9 -0
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
- package/dist/components/ContentPage/normalizePage.d.ts +2 -0
- package/dist/components/ContentPage/normalizePage.js +25 -0
- package/dist/components/ContentPage/normalizePage.js.map +1 -0
- package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
- package/{mobile/dist/components/ContentPage/toMobilePage.js → dist/components/ContentPage/normalizePage.mobile.js} +10 -17
- package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/dist/components/Footer/MediaButton.js +2 -2
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +19 -8
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +2 -4
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +5 -6
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +8 -3
- package/dist/components/Gallery/GalleryInner.js +1 -1
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Gallery/constants.js +2 -2
- package/dist/components/Gallery/constants.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.js +3 -3
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +7 -3
- package/dist/components/LinkDocs/LinkDocs.js +6 -25
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
- package/dist/components/LinkDocs/LinkDocs.mobile.js +11 -0
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
- package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/dist/components/LinkDocs/LinkDocsList.js +9 -0
- package/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +7 -0
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
- package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
- package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
- package/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
- package/dist/components/PictureText/PictureText.js +5 -5
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
- package/dist/components/Placeholder/Placeholder.mobile.d.ts +6 -0
- package/dist/components/Placeholder/Placeholder.mobile.js +15 -0
- package/dist/components/Placeholder/Placeholder.mobile.js.map +1 -0
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -11
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
- package/dist/components/ProductBlock/ProductBlockInner.mobile.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/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js +3 -2
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
- package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/dist/components/ProductTile/ProductTile.js +14 -4
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/dist/components/PromoTile/PromoTile.js +12 -3
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -2
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -1
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/dist/components/Tile/Tile.js +10 -27
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +9 -2
- package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/dist/content-page-repository/ContentPageRepository.js +0 -10
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/icons/IconName.d.ts +82 -0
- package/dist/icons/IconName.js +78 -0
- package/dist/icons/IconName.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +1 -1
- package/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
- package/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
- package/dist/services/sitemap/isTopItemActive.js +4 -1
- package/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/dist/setup-fixture.d.ts +3 -0
- package/dist/setup-fixture.js +72 -0
- package/dist/setup-fixture.js.map +1 -0
- package/dist/types.d.ts +5 -5
- package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/dist/ui-kit/BlockItem/BlockItem.js +9 -10
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +0 -2
- package/dist/ui-kit/Button/Button.js +24 -13
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/dist/ui-kit/Button/Button.mobile.js +6 -8
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/dist/ui-kit/Button/ButtonInner.js +16 -0
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
- package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/dist/ui-kit/Button/ButtonSection.js +18 -0
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
- package/dist/ui-kit/Description/Description.d.ts +2 -0
- package/dist/ui-kit/Description/Description.js +9 -0
- package/dist/ui-kit/Description/Description.js.map +1 -0
- package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/dist/ui-kit/Description/DescriptionProps.js +2 -0
- package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/dist/ui-kit/Heading/Heading.d.ts +5 -0
- package/dist/ui-kit/Heading/Heading.js +21 -0
- package/dist/ui-kit/Heading/Heading.js.map +1 -0
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +5 -0
- package/dist/ui-kit/Heading/Heading.mobile.js +21 -0
- package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -0
- package/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
- package/dist/ui-kit/Heading/HeadingContent.js +2 -0
- package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/dist/ui-kit/Icon/Icon.js +6 -2
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +6 -148
- package/dist/ui-kit/Icon/IconProps.js +0 -76
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/{mobile/dist/ui-kit → dist/ui-kit/Img}/Img.d.ts +1 -1
- package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
- package/dist/ui-kit/Img/Img.js.map +1 -0
- package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
- package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
- package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
- package/dist/ui-kit/{Title/TitleProps.js → Img/ImgProps.js} +1 -1
- package/dist/ui-kit/Img/ImgProps.js.map +1 -0
- package/dist/ui-kit/List/List.d.ts +2 -0
- package/dist/ui-kit/List/List.js +12 -0
- package/dist/ui-kit/List/List.js.map +1 -0
- package/dist/ui-kit/List/ListContent.d.ts +4 -0
- package/dist/ui-kit/List/ListContent.js +2 -0
- package/dist/ui-kit/List/ListContent.js.map +1 -0
- package/dist/ui-kit/List/ListItem.d.ts +11 -0
- package/dist/ui-kit/List/ListItem.js +23 -0
- package/dist/ui-kit/List/ListItem.js.map +1 -0
- package/dist/ui-kit/List/ListProps.d.ts +14 -0
- package/{mobile/dist/ui-kit/Title/TitleProps.js → dist/ui-kit/List/ListProps.js} +1 -1
- package/dist/ui-kit/List/ListProps.js.map +1 -0
- package/dist/ui-kit/Logo/Logo.js +1 -1
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/constants.js +12 -0
- package/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
- package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
- package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
- package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
- package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +2 -2
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +2 -2
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/lib/components/Accordion/AccordionBlocks.js +8 -0
- package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +30 -18
- package/lib/components/Accordion/AccordionItem.js +1 -1
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +2 -6
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
- package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
- package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/lib/components/BaseTile/getTileMinHeight.js +14 -0
- package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/lib/components/BaseTile/getTileRightPadding.js +14 -0
- package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/lib/components/Blocks.mobile.d.ts +1 -0
- package/lib/components/Blocks.mobile.js +2 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +3 -3
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -4
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
- package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
- package/lib/components/ContentPage/normalizeBlock.js +6 -0
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
- package/lib/components/ContentPage/normalizePage.d.ts +2 -0
- package/lib/components/ContentPage/normalizePage.js +22 -0
- package/lib/components/ContentPage/normalizePage.js.map +1 -0
- package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
- package/{mobile/lib/components/ContentPage/toMobilePage.js → lib/components/ContentPage/normalizePage.mobile.js} +8 -15
- package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/lib/components/Footer/MediaButton.js +2 -2
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
- package/lib/components/Gallery/Gallery.mobile.js +19 -8
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +2 -4
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +6 -7
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +8 -3
- package/lib/components/Gallery/GalleryInner.js +1 -1
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/Gallery/constants.js +2 -2
- package/lib/components/Gallery/constants.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +0 -4
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.js +3 -3
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +7 -3
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +2 -7
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +6 -0
- package/lib/components/LinkDocs/LinkDocs.js +6 -25
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
- package/lib/components/LinkDocs/LinkDocs.mobile.js +9 -0
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
- package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/lib/components/LinkDocs/LinkDocsList.js +7 -0
- package/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +5 -0
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
- package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
- package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
- package/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
- package/lib/components/PictureText/PictureText.js +5 -5
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
- package/lib/components/Placeholder/Placeholder.mobile.d.ts +6 -0
- package/lib/components/Placeholder/Placeholder.mobile.js +13 -0
- package/lib/components/Placeholder/Placeholder.mobile.js.map +1 -0
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -11
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
- package/lib/components/ProductBlock/ProductBlockInner.mobile.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/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js +3 -2
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
- package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
- package/lib/components/ProductTile/ProductTile.js +14 -4
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/lib/components/PromoTile/PromoTile.js +12 -3
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -2
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -1
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/lib/components/Tile/Tile.fixture.d.ts +2 -0
- package/lib/components/Tile/Tile.js +11 -28
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +9 -2
- package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/lib/content-page-repository/ContentPageRepository.js +0 -10
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/icons/IconName.d.ts +82 -0
- package/lib/icons/IconName.js +76 -0
- package/lib/icons/IconName.js.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +1 -1
- package/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
- package/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
- package/lib/services/sitemap/isTopItemActive.js +4 -1
- package/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/lib/setup-fixture.js +70 -0
- package/lib/setup-fixture.js.map +1 -0
- package/lib/types.d.ts +5 -5
- package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/lib/ui-kit/BlockItem/BlockItem.js +9 -10
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +0 -2
- package/lib/ui-kit/Button/Button.js +23 -12
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/lib/ui-kit/Button/Button.mobile.js +6 -8
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/lib/ui-kit/Button/ButtonInner.js +14 -0
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
- package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/lib/ui-kit/Button/ButtonSection.js +16 -0
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
- package/lib/ui-kit/Description/Description.d.ts +2 -0
- package/lib/ui-kit/Description/Description.js +7 -0
- package/lib/ui-kit/Description/Description.js.map +1 -0
- package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/lib/ui-kit/Description/DescriptionProps.js +2 -0
- package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/lib/ui-kit/Heading/Heading.d.ts +5 -0
- package/lib/ui-kit/Heading/Heading.fixture.d.ts +4 -0
- package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +4 -0
- package/lib/ui-kit/Heading/Heading.js +19 -0
- package/lib/ui-kit/Heading/Heading.js.map +1 -0
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +5 -0
- package/lib/ui-kit/Heading/Heading.mobile.js +19 -0
- package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -0
- package/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
- package/lib/ui-kit/Heading/HeadingContent.js +2 -0
- package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
- package/lib/ui-kit/Icon/Icon.js +6 -2
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +6 -148
- package/lib/ui-kit/Icon/IconProps.js +1 -75
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
- package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
- package/lib/ui-kit/Img/Img.js.map +1 -0
- package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
- package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
- package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
- package/lib/ui-kit/Img/ImgProps.js +2 -0
- package/lib/ui-kit/Img/ImgProps.js.map +1 -0
- package/lib/ui-kit/List/List.d.ts +2 -0
- package/lib/ui-kit/List/List.js +10 -0
- package/lib/ui-kit/List/List.js.map +1 -0
- package/lib/ui-kit/List/ListContent.d.ts +4 -0
- package/lib/ui-kit/List/ListContent.js +2 -0
- package/lib/ui-kit/List/ListContent.js.map +1 -0
- package/lib/ui-kit/List/ListItem.d.ts +11 -0
- package/lib/ui-kit/List/ListItem.js +21 -0
- package/lib/ui-kit/List/ListItem.js.map +1 -0
- package/lib/ui-kit/List/ListProps.d.ts +14 -0
- package/lib/ui-kit/List/ListProps.js +2 -0
- package/lib/ui-kit/List/ListProps.js.map +1 -0
- package/lib/ui-kit/Logo/Logo.js +1 -1
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +4 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/constants.js +10 -0
- package/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
- package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +7 -0
- package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
- package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
- package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +472 -212
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +2 -2
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/mobile/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/mobile/dist/components/Blocks.d.ts +1 -0
- package/mobile/dist/components/Blocks.js +2 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +3 -3
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -4
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
- package/{dist/components/ContentPage/toMobilePage.js → mobile/dist/components/ContentPage/normalizePage.js} +10 -17
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/mobile/dist/components/Footer/MediaButton.js +2 -2
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +19 -8
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +5 -6
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
- package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/Gallery/constants.js +2 -2
- package/mobile/dist/components/Gallery/constants.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +3 -3
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +7 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js +5 -36
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/mobile/dist/components/LinkDocs/LinkDocsList.js +9 -0
- package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
- package/mobile/dist/components/PictureText/PictureText.js +5 -5
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
- 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 +10 -11
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
- package/mobile/dist/components/ProductBlock/ProductBlockInner.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/ProductGallery.js +3 -2
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/mobile/dist/components/Tile/Tile.js +10 -27
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +82 -0
- package/mobile/dist/icons/IconName.js +78 -0
- package/mobile/dist/icons/IconName.js.map +1 -0
- package/mobile/dist/index.d.ts +1 -1
- package/mobile/dist/index.js +3 -3
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +1 -1
- package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
- package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js +4 -1
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/dist/setup-fixture.d.ts +3 -0
- package/mobile/dist/setup-fixture.js +72 -0
- package/mobile/dist/setup-fixture.js.map +1 -0
- package/mobile/dist/types.d.ts +5 -5
- package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +9 -10
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/Button.js +6 -8
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
- package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
- package/mobile/dist/ui-kit/Description/Description.js +9 -0
- package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +5 -0
- package/mobile/dist/ui-kit/Heading/Heading.js +21 -0
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -0
- package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
- package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
- package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -148
- package/mobile/dist/ui-kit/Icon/IconProps.js +0 -76
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/{dist/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
- package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
- package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.d.ts +2 -0
- package/mobile/dist/ui-kit/List/List.js +12 -0
- package/mobile/dist/ui-kit/List/List.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
- package/mobile/dist/ui-kit/List/ListContent.js +2 -0
- package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
- package/mobile/dist/ui-kit/List/ListItem.js +23 -0
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
- package/mobile/dist/ui-kit/List/ListProps.js +2 -0
- package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
- package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/constants.js +12 -0
- package/mobile/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
- package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +2 -2
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/mobile/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
- package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/mobile/lib/components/Blocks.d.ts +1 -0
- package/mobile/lib/components/Blocks.js +2 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +3 -3
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -4
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
- package/{lib/components/ContentPage/toMobilePage.js → mobile/lib/components/ContentPage/normalizePage.js} +8 -15
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/mobile/lib/components/Footer/MediaButton.js +2 -2
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +19 -8
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +6 -7
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
- package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/Gallery/constants.js +2 -2
- package/mobile/lib/components/Gallery/constants.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +3 -3
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +7 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js +5 -36
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/mobile/lib/components/LinkDocs/LinkDocsList.js +7 -0
- package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
- package/mobile/lib/components/PictureText/PictureText.js +5 -5
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
- 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 +10 -11
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
- package/mobile/lib/components/ProductBlock/ProductBlockInner.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/ProductGallery.js +3 -2
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/mobile/lib/components/Tile/Tile.js +11 -28
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +82 -0
- package/mobile/lib/icons/IconName.js +76 -0
- package/mobile/lib/icons/IconName.js.map +1 -0
- package/mobile/lib/index.d.ts +1 -1
- package/mobile/lib/index.js +1 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +1 -1
- package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
- package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js +4 -1
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/lib/setup-fixture.d.ts +3 -0
- package/mobile/lib/setup-fixture.js +70 -0
- package/mobile/lib/setup-fixture.js.map +1 -0
- package/mobile/lib/types.d.ts +5 -5
- package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +9 -10
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/Button.js +6 -8
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
- package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
- package/mobile/lib/ui-kit/Description/Description.js +7 -0
- package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +5 -0
- package/mobile/lib/ui-kit/Heading/Heading.js +19 -0
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -0
- package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
- package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
- package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -148
- package/mobile/lib/ui-kit/Icon/IconProps.js +1 -75
- package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
- package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
- package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.d.ts +2 -0
- package/mobile/lib/ui-kit/List/List.js +10 -0
- package/mobile/lib/ui-kit/List/List.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
- package/mobile/lib/ui-kit/List/ListContent.js +2 -0
- package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
- package/mobile/lib/ui-kit/List/ListItem.js +21 -0
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
- package/mobile/lib/ui-kit/List/ListProps.js +2 -0
- package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
- package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/constants.js +10 -0
- package/mobile/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
- package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
- package/mobile/src/components/Accordion/Accordion.tsx +2 -6
- package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
- package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +11 -42
- package/mobile/src/components/BaseTile/BaseTileProps.ts +9 -11
- package/{src/components/BaseTile/getTitleSizeByClassName.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +5 -4
- package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
- package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
- package/mobile/src/components/Blocks.ts +2 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -7
- package/mobile/src/components/ContentPage/ContentPage.page.json +1630 -87
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
- package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
- package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
- package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
- package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +7 -14
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/mobile/src/components/Footer/MediaButton.tsx +2 -1
- package/mobile/src/components/Gallery/Gallery.tsx +58 -39
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -11
- package/mobile/src/components/Gallery/GalleryContainer.tsx +9 -10
- package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
- package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
- package/mobile/src/components/Gallery/constants.ts +2 -2
- package/mobile/src/components/Header/Header.tsx +1 -1
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
- package/mobile/src/components/Header/HeaderTop.tsx +1 -1
- package/mobile/src/components/Headline/Headline.tsx +3 -7
- package/mobile/src/components/Headline/HeadlineContent.ts +11 -6
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +32 -70
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +29 -7
- package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +33 -0
- package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +12 -0
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
- package/mobile/src/components/PictureText/PictureText.tsx +5 -4
- package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
- package/mobile/src/components/Placeholder/Placeholder.tsx +10 -5
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -18
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -2
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -1
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
- package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
- package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
- package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -7
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -2
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
- package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
- package/mobile/src/components/Tile/Tile.tsx +46 -27
- package/mobile/src/components/Tile/TileContent.ts +13 -2
- package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
- package/mobile/src/icons/ActualBalanceIcon.svg +1 -3
- package/mobile/src/icons/AppleIcon.svg +1 -1
- package/mobile/src/icons/AtmIcon.svg +6 -6
- package/mobile/src/icons/BankIcon.svg +10 -10
- package/mobile/src/icons/BurgerIcon.svg +1 -1
- package/mobile/src/icons/BurgerIconWhite.svg +1 -1
- package/mobile/src/icons/Calendar2Icon.svg +1 -1
- package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
- package/mobile/src/icons/CalendarIcon.svg +2 -2
- package/mobile/src/icons/CalendarTickIcon.svg +1 -1
- package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
- package/mobile/src/icons/CardIcon.svg +1 -1
- package/mobile/src/icons/CardPosIcon.svg +1 -1
- package/mobile/src/icons/CardTickIcon.svg +1 -1
- package/mobile/src/icons/CardWithGemIcon.svg +1 -1
- package/mobile/src/icons/ChartSquareIcon.svg +1 -1
- package/mobile/src/icons/ClockIcon.svg +1 -3
- package/mobile/src/icons/CloseIcon.svg +1 -1
- package/mobile/src/icons/ComfortableCompIcon.svg +1 -3
- package/mobile/src/icons/CreditCardsIcon.svg +1 -1
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
- package/mobile/src/icons/DocIcon.svg +3 -3
- package/mobile/src/icons/DocIconMonoColor.svg +5 -0
- package/mobile/src/icons/DocumentTextIcon.svg +3 -3
- package/mobile/src/icons/DollarIcon.svg +1 -1
- package/mobile/src/icons/EarthIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/mobile/src/icons/EuroIcon.svg +1 -1
- package/mobile/src/icons/GeolocationIcon.svg +3 -3
- package/mobile/src/icons/GlassIcon.svg +1 -1
- package/mobile/src/icons/GlobalIcon.svg +1 -1
- package/mobile/src/icons/GridIcon.svg +1 -1
- package/mobile/src/icons/GridIconWhite.svg +1 -1
- package/mobile/src/icons/IconName.ts +16 -0
- package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
- package/mobile/src/icons/InterestIcon.svg +1 -1
- package/mobile/src/icons/JCBIcon.svg +1 -1
- package/mobile/src/icons/LoupeIcon.svg +1 -1
- package/mobile/src/icons/MasterCardIcon.svg +1 -1
- package/mobile/src/icons/MinusIcon.svg +1 -1
- package/mobile/src/icons/MirIcon.svg +1 -1
- package/mobile/src/icons/MoneyIcon.svg +1 -1
- package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
- package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
- package/mobile/src/icons/NewDocIcon.svg +1 -3
- package/mobile/src/icons/OfficeIcon.svg +1 -1
- package/mobile/src/icons/OkIcon.svg +1 -1
- package/mobile/src/icons/PassSendIcon.svg +1 -3
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
- package/mobile/src/icons/PercentageSquareIcon.svg +2 -2
- package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
- package/mobile/src/icons/PersonalCardIcon.svg +1 -1
- package/mobile/src/icons/PlayMarketIcon.svg +1 -1
- package/mobile/src/icons/PlusIcon.svg +1 -1
- package/mobile/src/icons/Profile2UserIcon.svg +1 -1
- package/mobile/src/icons/ProfileIcon.svg +1 -1
- package/mobile/src/icons/RoundRubleIcon.svg +1 -1
- package/mobile/src/icons/SafeIcon.svg +1 -1
- package/mobile/src/icons/ShieldTickIcon.svg +1 -1
- package/mobile/src/icons/SignDocsIcon.svg +1 -3
- package/mobile/src/icons/SmallClockIcon.svg +1 -1
- package/mobile/src/icons/TelegramIcon.svg +2 -1
- package/mobile/src/icons/UnionPayIcon.svg +1 -1
- package/mobile/src/icons/UserTickIcon.svg +1 -1
- package/mobile/src/icons/VKIcon.svg +2 -1
- package/mobile/src/icons/VisaIcon.svg +1 -1
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
- package/mobile/src/icons/WalletAddIcon.svg +1 -1
- package/mobile/src/icons/WalletIcon.svg +1 -1
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/mobile/src/index.ts +1 -1
- package/mobile/src/model/ButtonVersion.ts +1 -1
- package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
- package/mobile/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
- package/mobile/src/services/sitemap/isTopItemActive.spec.ts +59 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +4 -1
- package/mobile/src/types.ts +6 -5
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
- package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +11 -24
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
- package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
- package/mobile/src/ui-kit/Description/Description.tsx +8 -0
- package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
- package/mobile/src/ui-kit/Heading/Heading.tsx +29 -0
- package/mobile/src/ui-kit/Heading/HeadingContent.ts +17 -0
- package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
- package/mobile/src/ui-kit/Icon/IconProps.ts +7 -148
- package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
- package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
- package/mobile/src/ui-kit/List/List.tsx +24 -0
- package/mobile/src/ui-kit/List/ListContent.ts +4 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
- package/mobile/src/ui-kit/List/ListProps.ts +16 -0
- package/mobile/src/ui-kit/Logo/Logo.tsx +1 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
- package/mobile/src/ui-kit/SwipeListControl/constants.ts +10 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
- package/package.json +14 -15
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +10 -10
- package/src/components/Accordion/Accordion.fixture.tsx +54 -10
- package/src/components/Accordion/Accordion.mobile.tsx +2 -6
- package/src/components/Accordion/Accordion.tsx +2 -2
- package/src/components/Accordion/AccordionBlocks.tsx +8 -0
- package/src/components/Accordion/AccordionContent.ts +49 -21
- package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/BaseTile/BaseTile.tsx +10 -34
- package/src/components/BaseTile/BaseTileProps.ts +9 -11
- package/{mobile/src/components/BaseTile/getTitleSizeByClassName.ts → src/components/BaseTile/getTileHeadingType.ts} +5 -4
- package/src/components/BaseTile/getTileMinHeight.ts +12 -0
- package/src/components/BaseTile/getTileRightPadding.ts +12 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
- package/src/components/Blocks.mobile.ts +2 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -7
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
- package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
- package/src/components/ContentPage/ContentPage.page.json +15 -81
- package/src/components/ContentPage/ContentPage.tsx +2 -8
- package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
- package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
- package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
- package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
- package/src/components/ContentPage/normalizeBlock.ts +7 -0
- package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +7 -14
- package/src/components/ContentPage/normalizePage.ts +29 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/src/components/Footer/Footer.fixture.tsx +0 -126
- package/src/components/Footer/MediaButton.tsx +2 -1
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
- package/src/components/Gallery/Gallery.fixture.tsx +5 -4
- package/src/components/Gallery/Gallery.mobile.tsx +58 -39
- package/src/components/Gallery/GalleryCardInner.tsx +6 -11
- package/src/components/Gallery/GalleryContainer.tsx +9 -10
- package/src/components/Gallery/GalleryContent.ts +9 -3
- package/src/components/Gallery/GalleryInner.tsx +1 -1
- package/src/components/Gallery/constants.ts +2 -2
- package/src/components/Header/Header.mobile.tsx +1 -1
- package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
- package/src/components/Header/HeaderTop.tsx +1 -1
- package/src/components/Headline/Headline.fixture.tsx +0 -54
- package/src/components/Headline/Headline.mobile.tsx +3 -7
- package/src/components/Headline/Headline.tsx +2 -4
- package/src/components/Headline/HeadlineContent.ts +11 -6
- package/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +36 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +17 -48
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +44 -0
- package/src/components/LinkDocs/LinkDocs.tsx +35 -52
- package/src/components/LinkDocs/LinkDocsContent.ts +29 -7
- package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
- package/src/components/LinkDocs/LinkDocsList.tsx +33 -0
- package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +12 -0
- package/src/components/LinkDocs/LinkDocsListItem.tsx +14 -0
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
- package/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
- package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
- package/src/components/PictureText/PictureText.tsx +5 -4
- package/src/components/PictureText/PictureTextContent.ts +5 -2
- package/src/components/Placeholder/Placeholder.mobile.tsx +35 -0
- package/src/components/Placeholder/PlaceholderContent.ts +3 -3
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +21 -18
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
- package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +3 -2
- package/src/components/ProductBlock/renderBenefit.tsx +3 -2
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -1
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -1
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +3 -1
- package/src/components/ProductGallery/ProductGallery.tsx +3 -2
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +6 -6
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
- package/src/components/ProductTile/ProductTile.tsx +63 -15
- package/src/components/ProductTile/ProductTileContent.ts +17 -9
- package/src/components/PromoTile/PromoTile.fixture.tsx +0 -1
- package/src/components/PromoTile/PromoTile.tsx +41 -14
- package/src/components/PromoTile/PromoTileContent.ts +11 -5
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -7
- package/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/src/components/TariffsTable/TariffsTable.tsx +6 -2
- package/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
- package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
- package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/TextBlock/TextBlockContent.ts +4 -1
- package/src/components/Tile/Tile.fixture.tsx +19 -2
- package/src/components/Tile/Tile.tsx +46 -27
- package/src/components/Tile/TileContent.ts +13 -2
- package/src/content-page-repository/ContentPageRepository.ts +0 -12
- package/src/icons/ActualBalanceIcon.svg +1 -3
- package/src/icons/AppleIcon.svg +1 -1
- package/src/icons/AtmIcon.svg +6 -6
- package/src/icons/BankIcon.svg +10 -10
- package/src/icons/BurgerIcon.svg +1 -1
- package/src/icons/BurgerIconWhite.svg +1 -1
- package/src/icons/Calendar2Icon.svg +1 -1
- package/src/icons/CalendarCircleIcon.svg +1 -1
- package/src/icons/CalendarIcon.svg +2 -2
- package/src/icons/CalendarTickIcon.svg +1 -1
- package/src/icons/CalendarWhiteIcon.svg +1 -1
- package/src/icons/CardIcon.svg +1 -1
- package/src/icons/CardPosIcon.svg +1 -1
- package/src/icons/CardTickIcon.svg +1 -1
- package/src/icons/CardWithGemIcon.svg +1 -1
- package/src/icons/ChartSquareIcon.svg +1 -1
- package/src/icons/ClockIcon.svg +1 -3
- package/src/icons/CloseIcon.svg +1 -1
- package/src/icons/ComfortableCompIcon.svg +1 -3
- package/src/icons/CreditCardsIcon.svg +1 -1
- package/src/icons/DiscountShapeIcon.svg +1 -1
- package/src/icons/DocIcon.svg +3 -3
- package/src/icons/DocIconMonoColor.svg +5 -0
- package/src/icons/DocumentTextIcon.svg +3 -3
- package/src/icons/DollarIcon.svg +1 -1
- package/src/icons/EarthIcon.svg +1 -1
- package/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/src/icons/EmptyWalletIcon.svg +2 -2
- package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/src/icons/EuroIcon.svg +1 -1
- package/src/icons/GeolocationIcon.svg +3 -3
- package/src/icons/GlassIcon.svg +1 -1
- package/src/icons/GlobalIcon.svg +1 -1
- package/src/icons/GridIcon.svg +1 -1
- package/src/icons/GridIconWhite.svg +1 -1
- package/src/icons/IconName.ts +16 -0
- package/src/icons/InterestGrowthIcon.svg +1 -1
- package/src/icons/InterestIcon.svg +1 -1
- package/src/icons/JCBIcon.svg +1 -1
- package/src/icons/LoupeIcon.svg +1 -1
- package/src/icons/MasterCardIcon.svg +1 -1
- package/src/icons/MinusIcon.svg +1 -1
- package/src/icons/MirIcon.svg +1 -1
- package/src/icons/MoneyIcon.svg +1 -1
- package/src/icons/MoneyInsuranceIcon.svg +1 -1
- package/src/icons/MonitorMobileIcon.svg +1 -1
- package/src/icons/NewDocIcon.svg +1 -3
- package/src/icons/OfficeIcon.svg +1 -1
- package/src/icons/OkIcon.svg +1 -1
- package/src/icons/PassSendIcon.svg +1 -3
- package/src/icons/PercentageRoundIcon.svg +1 -1
- package/src/icons/PercentageSquareIcon.svg +2 -2
- package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
- package/src/icons/PersonalCardIcon.svg +1 -1
- package/src/icons/PlayMarketIcon.svg +1 -1
- package/src/icons/PlusIcon.svg +1 -1
- package/src/icons/Profile2UserIcon.svg +1 -1
- package/src/icons/ProfileIcon.svg +1 -1
- package/src/icons/RoundRubleIcon.svg +1 -1
- package/src/icons/SafeIcon.svg +1 -1
- package/src/icons/ShieldTickIcon.svg +1 -1
- package/src/icons/SignDocsIcon.svg +1 -3
- package/src/icons/SmallClockIcon.svg +1 -1
- package/src/icons/TelegramIcon.svg +2 -1
- package/src/icons/UnionPayIcon.svg +1 -1
- package/src/icons/UserTickIcon.svg +1 -1
- package/src/icons/VKIcon.svg +2 -1
- package/src/icons/VisaIcon.svg +1 -1
- package/src/icons/WalletAdd2Icon.svg +1 -1
- package/src/icons/WalletAddIcon.svg +1 -1
- package/src/icons/WalletIcon.svg +1 -1
- package/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/src/index.ts +1 -1
- package/src/model/ButtonVersion.ts +1 -1
- package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
- package/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
- package/src/services/sitemap/isTopItemActive.spec.ts +59 -0
- package/src/services/sitemap/isTopItemActive.ts +4 -1
- package/src/types.ts +6 -5
- package/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
- package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
- package/src/ui-kit/Button/Button.fixture.tsx +4 -5
- package/src/ui-kit/Button/Button.mobile.tsx +11 -24
- package/src/ui-kit/Button/Button.tsx +55 -51
- package/src/ui-kit/Button/ButtonInner.tsx +37 -0
- package/src/ui-kit/Button/ButtonProps.ts +11 -0
- package/src/ui-kit/Button/ButtonSection.tsx +34 -0
- package/src/ui-kit/Description/Description.tsx +8 -0
- package/src/ui-kit/Description/DescriptionProps.ts +8 -0
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +29 -0
- package/src/ui-kit/Heading/Heading.fixture.tsx +28 -0
- package/src/ui-kit/Heading/Heading.mobile.tsx +29 -0
- package/src/ui-kit/Heading/Heading.tsx +29 -0
- package/src/ui-kit/Heading/HeadingContent.ts +17 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +20 -12
- package/src/ui-kit/Icon/Icon.tsx +16 -3
- package/src/ui-kit/Icon/IconProps.ts +7 -148
- package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
- package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
- package/src/ui-kit/Img/ImgProps.ts +9 -0
- package/src/ui-kit/List/List.tsx +24 -0
- package/src/ui-kit/List/ListContent.ts +4 -0
- package/src/ui-kit/List/ListItem.tsx +43 -0
- package/src/ui-kit/List/ListProps.ts +16 -0
- package/src/ui-kit/Logo/Logo.mobile.tsx +1 -0
- package/src/ui-kit/Logo/Logo.tsx +1 -0
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +16 -0
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
- package/src/ui-kit/SwipeListControl/constants.ts +10 -0
- package/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
- package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
- package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
- package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
- package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
- package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
- package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
- package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
- package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/dist/components/BaseTile/BaseTileInner.js +0 -14
- package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
- package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
- package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
- package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
- package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
- package/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
- package/dist/components/BaseTile/renderButton.d.ts +0 -2
- package/dist/components/BaseTile/renderButton.js +0 -12
- package/dist/components/BaseTile/renderButton.js.map +0 -1
- package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
- package/dist/components/BaseTile/renderButton.mobile.js +0 -13
- package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
- package/dist/components/BaseTile/renderItems.d.ts +0 -2
- package/dist/components/BaseTile/renderItems.js +0 -9
- package/dist/components/BaseTile/renderItems.js.map +0 -1
- package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
- package/dist/components/BaseTile/renderItems.mobile.js +0 -9
- package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
- package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
- package/dist/components/ContentPage/toMobilePage.js.map +0 -1
- package/dist/ui-kit/Img.js.map +0 -1
- package/dist/ui-kit/Img.mobile.js.map +0 -1
- package/dist/ui-kit/Title/Title.d.ts +0 -3
- package/dist/ui-kit/Title/Title.js +0 -18
- package/dist/ui-kit/Title/Title.js.map +0 -1
- package/dist/ui-kit/Title/Title.mobile.d.ts +0 -3
- package/dist/ui-kit/Title/Title.mobile.js +0 -18
- package/dist/ui-kit/Title/Title.mobile.js.map +0 -1
- package/dist/ui-kit/Title/TitleProps.d.ts +0 -4
- package/dist/ui-kit/Title/TitleProps.js.map +0 -1
- package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
- package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
- package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
- package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/lib/components/BaseTile/BaseTileInner.js +0 -12
- package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
- package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
- package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
- package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
- package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
- package/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
- package/lib/components/BaseTile/renderButton.d.ts +0 -2
- package/lib/components/BaseTile/renderButton.js +0 -9
- package/lib/components/BaseTile/renderButton.js.map +0 -1
- package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
- package/lib/components/BaseTile/renderButton.mobile.js +0 -10
- package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
- package/lib/components/BaseTile/renderItems.d.ts +0 -2
- package/lib/components/BaseTile/renderItems.js +0 -6
- package/lib/components/BaseTile/renderItems.js.map +0 -1
- package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
- package/lib/components/BaseTile/renderItems.mobile.js +0 -6
- package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
- package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
- package/lib/components/ContentPage/toMobilePage.js.map +0 -1
- package/lib/ui-kit/Img.js.map +0 -1
- package/lib/ui-kit/Img.mobile.js.map +0 -1
- package/lib/ui-kit/Title/Title.d.ts +0 -3
- package/lib/ui-kit/Title/Title.js +0 -16
- package/lib/ui-kit/Title/Title.js.map +0 -1
- package/lib/ui-kit/Title/Title.mobile.d.ts +0 -3
- package/lib/ui-kit/Title/Title.mobile.js +0 -16
- package/lib/ui-kit/Title/Title.mobile.js.map +0 -1
- package/lib/ui-kit/Title/TitleProps.d.ts +0 -4
- package/lib/ui-kit/Title/TitleProps.js +0 -2
- package/lib/ui-kit/Title/TitleProps.js.map +0 -1
- package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
- package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
- package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
- package/mobile/dist/components/BaseTile/renderButton.js +0 -13
- package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
- package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
- package/mobile/dist/components/BaseTile/renderItems.js +0 -9
- package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
- package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
- package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
- package/mobile/dist/ui-kit/Img.js.map +0 -1
- package/mobile/dist/ui-kit/Title/Title.d.ts +0 -3
- package/mobile/dist/ui-kit/Title/Title.js +0 -18
- package/mobile/dist/ui-kit/Title/Title.js.map +0 -1
- package/mobile/dist/ui-kit/Title/TitleProps.d.ts +0 -4
- package/mobile/dist/ui-kit/Title/TitleProps.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
- package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
- package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
- package/mobile/lib/components/BaseTile/renderButton.js +0 -10
- package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
- package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
- package/mobile/lib/components/BaseTile/renderItems.js +0 -6
- package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
- package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
- package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
- package/mobile/lib/ui-kit/Img.js.map +0 -1
- package/mobile/lib/ui-kit/Title/Title.d.ts +0 -3
- package/mobile/lib/ui-kit/Title/Title.js +0 -16
- package/mobile/lib/ui-kit/Title/Title.js.map +0 -1
- package/mobile/lib/ui-kit/Title/TitleProps.d.ts +0 -4
- package/mobile/lib/ui-kit/Title/TitleProps.js +0 -2
- package/mobile/lib/ui-kit/Title/TitleProps.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
- package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
- package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
- package/mobile/src/ui-kit/Title/Title.tsx +0 -22
- package/mobile/src/ui-kit/Title/TitleProps.ts +0 -5
- package/src/components/BaseTile/BaseTile.mobile.tsx +0 -53
- package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
- package/src/components/BaseTile/BaseTileInner.tsx +0 -37
- package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
- package/src/components/BaseTile/renderButton.tsx +0 -13
- package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
- package/src/components/BaseTile/renderItems.tsx +0 -12
- package/src/components/ContentPage/ContentPage.page.mobile.json +0 -452
- package/src/ui-kit/Title/Title.mobile.tsx +0 -22
- package/src/ui-kit/Title/Title.tsx +0 -22
- package/src/ui-kit/Title/TitleProps.ts +0 -5
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.BaseTileInner = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const useLink_1 = require("../../hooks/useLink");
|
|
6
|
-
const Img_1 = require("../../ui-kit/Img");
|
|
7
|
-
const renderButton_1 = require("./renderButton");
|
|
8
|
-
const renderItems_1 = require("./renderItems");
|
|
9
|
-
exports.BaseTileInner = (0, uni_jsx_1.JSX)(({ context, description, children, buttons, image, items, version = 'primary' }) => {
|
|
10
|
-
const router = context.useRouter();
|
|
11
|
-
const { handlerDecorator } = context;
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [description && (0, jsx_runtime_1.jsx)("div", { className: `font-normal text-base mt-3`, children: description }), children, items?.length && (0, renderItems_1.renderItems)(items, version), buttons?.length && ((0, jsx_runtime_1.jsx)("div", { className: "mt-[18px]", children: buttons.map((button, index) => (0, renderButton_1.renderButton)((0, useLink_1.useLink)({ router, handlerDecorator }, button), index)) })), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto ml-7", image: image })] }));
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=BaseTileInner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTileInner.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTileInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,0CAAuC;AAEvC,iDAA8C;AAC9C,+CAA4C;AAI/B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,4CACG,WAAW,IAAI,gCAAK,SAAS,EAAE,4BAA4B,YAAG,WAAW,GAAO,EAChF,QAAQ,EACR,KAAK,EAAE,MAAM,IAAI,IAAA,yBAAW,EAAC,KAAK,EAAE,OAAO,CAAC,EAC5C,OAAO,EAAE,MAAM,IAAI,CAClB,gCAAK,SAAS,EAAC,WAAW,YACvB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAC7B,IAAA,2BAAY,EAAC,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CACnE,GACG,CACP,EACA,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getTitleSizeByClassName(className?: string): "L" | "M" | "S";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTitleSizeByClassName.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTitleSizeByClassName.ts"],"names":[],"mappings":";;AAAA,uDAAoD;AACpD,SAAgB,uBAAuB,CAAC,SAAS,GAAG,EAAE;IACpD,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,GAAG,CAAC;KACZ;AACH,CAAC;AATD,0DASC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderButton = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
-
const PADDING_TOP_CLASSES = 'first:mt-0 mt-3';
|
|
7
|
-
function renderButton({ icon, ...button }, i) {
|
|
8
|
-
if (!button?.text)
|
|
9
|
-
return;
|
|
10
|
-
return icon ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: PADDING_TOP_CLASSES, appendLeft: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24" }), ...button }, String(i))) : ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: PADDING_TOP_CLASSES, ...button }, String(i)));
|
|
11
|
-
}
|
|
12
|
-
exports.renderButton = renderButton;
|
|
13
|
-
//# sourceMappingURL=renderButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderButton.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderButton.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AACpD,iDAA8C;AAG9C,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAE9C,SAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAsB,EAAE,CAAS;IAC7E,IAAI,CAAC,MAAM,EAAE,IAAI;QAAE,OAAO;IAE1B,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,eAAM,IACL,SAAS,EAAE,mBAAmB,EAE9B,UAAU,EAAE,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,KACnD,MAAM,IAFL,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,eAAM,IAAC,SAAS,EAAE,mBAAmB,KAAsB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvE,CAAC;AACJ,CAAC;AAbD,oCAaC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderItems = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const BlockItem_1 = require("../../ui-kit/BlockItem/BlockItem");
|
|
5
|
-
function renderItems(items = [], version) {
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: "mt-3", role: "list", children: items.map((_, i) => ((0, jsx_runtime_1.jsx)(BlockItem_1.BlockItem, { className: "mt-1.5 first:mt-0", text: _, version: version }, String(i)))) }));
|
|
7
|
-
}
|
|
8
|
-
exports.renderItems = renderItems;
|
|
9
|
-
//# sourceMappingURL=renderItems.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderItems.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderItems.tsx"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,SAAgB,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IACtE,OAAO,CACL,oCAAS,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,uBAAC,qBAAS,IAAiB,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAAlE,MAAM,CAAC,CAAC,CAAC,CAA6D,CACvF,CAAC,GACM,CACX,CAAC;AACJ,CAAC;AARD,kCAQC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toMobilePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/toMobilePage.ts"],"names":[],"mappings":";;AAEA,SAAgB,YAAY,CAAC,WAA2B;IACtD,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAnBD,oCAmBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AAC5E,CAAC;AAED,SAAS,aAAa,CAAC,KAAe;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,MAAM,EAAE;QACV,OAAO;YACL,GAAG,KAAK;YACR,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK;SACzD,CAAC;KACH;SAAM;QACL,OAAO,KAAK,CAAC;KACd;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../src/ui-kit/Img.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,GAAG,GAAG,IAAA,aAAG,EAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,EAAE;IACnF,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAChD,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KACpD,CAAC;IAEF,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5C,mCAAgC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,IAA9D,GAAG,KAAK,IAAI,GAAG,EAAE,CAAiD,CAChF,CAAC;gBACJ,CAAC,CAAC,IAAI,EACR,gCACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,UAAU,KAAK,CAAC,SAAS,IAAI,EAAE,EAAE,EAC5C,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,KAAK,EAAE,KAAK,KACR,IAAI,GACR,IACM,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAgB,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC;AAFD,4CAEC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.Title = exports.SizeTableClass = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
exports.SizeTableClass = {
|
|
6
|
-
XL: 'text-m-title',
|
|
7
|
-
L: 'text-m-title',
|
|
8
|
-
M: 'text-m-title-md',
|
|
9
|
-
S: 'text-m-title-xs',
|
|
10
|
-
'2XS': 'text-m-title-xs',
|
|
11
|
-
'3XS': 'text-m-title-xs',
|
|
12
|
-
};
|
|
13
|
-
exports.Title = (0, uni_jsx_1.JSX)(({ size = 'L', className, children, ...rest }) => {
|
|
14
|
-
const Tag = size === 'XL' || size === 'L' ? 'h1' : 'h2';
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)(Tag, { className: getClasses(exports.SizeTableClass[size], className), ...rest, children: children }));
|
|
16
|
-
});
|
|
17
|
-
const getClasses = (...classes) => classes.filter(Boolean).join(' ');
|
|
18
|
-
//# sourceMappingURL=Title.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../src/ui-kit/Title/Title.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,cAAc,GAA8B;IACvD,EAAE,EAAE,cAAc;IAClB,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,iBAAiB;IACpB,CAAC,EAAE,iBAAiB;IACpB,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;CACzB,CAAC;AAEW,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,MAAM,GAAG,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACxD,OAAO,CACL,uBAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,sBAAc,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,KAAM,IAAI,YAClE,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,GAAG,OAA+B,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TitleProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Title/TitleProps.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import type { BaseTileMainProps } from './BaseTileProps';
|
|
3
|
-
export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const BaseTileInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileInnerProps, any>, context?: any) => any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
-
import { Img } from '../../ui-kit/Img.js';
|
|
5
|
-
import { renderButton } from './renderButton.js';
|
|
6
|
-
import { renderItems } from './renderItems.js';
|
|
7
|
-
export const BaseTileInner = JSX(({ context, description, children, buttons, image, items, version = 'primary' }) => {
|
|
8
|
-
const router = context.useRouter();
|
|
9
|
-
const { handlerDecorator } = context;
|
|
10
|
-
return (_jsxs("div", { children: [description && _jsx("div", { className: `font-normal text-base mt-3`, children: description }), children, items?.length && renderItems(items, version), buttons?.length && (_jsx("div", { className: "mt-[18px]", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })), image?.src && _jsx(Img, { className: "mt-auto ml-7", image: image })] }));
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=BaseTileInner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTileInner.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTileInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,0BACG,WAAW,IAAI,cAAK,SAAS,EAAE,4BAA4B,YAAG,WAAW,GAAO,EAChF,QAAQ,EACR,KAAK,EAAE,MAAM,IAAI,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,EAC5C,OAAO,EAAE,MAAM,IAAI,CAClB,cAAK,SAAS,EAAC,WAAW,YACvB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAC7B,YAAY,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CACnE,GACG,CACP,EACA,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getTitleSizeByClassName(className?: string): "L" | "M" | "S";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTitleSizeByClassName.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTitleSizeByClassName.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,MAAM,UAAU,uBAAuB,CAAC,SAAS,GAAG,EAAE;IACpD,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,GAAG,CAAC;KACZ;SAAM;QACL,OAAO,GAAG,CAAC;KACZ;AACH,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Button } from '../../ui-kit/Button/Button.js';
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
-
const PADDING_TOP_CLASSES = 'first:mt-0 mt-3';
|
|
5
|
-
export function renderButton({ icon, ...button }, i) {
|
|
6
|
-
if (!button?.text)
|
|
7
|
-
return;
|
|
8
|
-
return icon ? (_jsx(Button, { className: PADDING_TOP_CLASSES, appendLeft: _jsx(Icon, { name: icon, width: "24", height: "24" }), ...button }, String(i))) : (_jsx(Button, { className: PADDING_TOP_CLASSES, ...button }, String(i)));
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=renderButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderButton.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAE9C,MAAM,UAAU,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAsB,EAAE,CAAS;IAC7E,IAAI,CAAC,MAAM,EAAE,IAAI;QAAE,OAAO;IAE1B,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IACL,SAAS,EAAE,mBAAmB,EAE9B,UAAU,EAAE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,KACnD,MAAM,IAFL,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,KAAsB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvE,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
|
|
3
|
-
export function renderItems(items = [], version) {
|
|
4
|
-
return (_jsx("section", { className: "mt-3", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { className: "mt-1.5 first:mt-0", text: _, version: version }, String(i)))) }));
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=renderItems.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderItems.js","sourceRoot":"","sources":["../../../src/components/BaseTile/renderItems.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,UAAU,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IACtE,OAAO,CACL,kBAAS,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,SAAS,IAAiB,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAAlE,MAAM,CAAC,CAAC,CAAC,CAA6D,CACvF,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toMobilePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/toMobilePage.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,YAAY,CAAC,WAA2B;IACtD,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AAC5E,CAAC;AAED,SAAS,aAAa,CAAC,KAAe;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,MAAM,EAAE;QACV,OAAO;YACL,GAAG,KAAK;YACR,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK;SACzD,CAAC;KACH;SAAM;QACL,OAAO,KAAK,CAAC;KACd;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../src/ui-kit/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,EAAE;IACnF,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAChD,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KACpD,CAAC;IAEF,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5C,iBAAgC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,IAA9D,GAAG,KAAK,IAAI,GAAG,EAAE,CAAiD,CAChF,CAAC;gBACJ,CAAC,CAAC,IAAI,EACR,cACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,UAAU,KAAK,CAAC,SAAS,IAAI,EAAE,EAAE,EAC5C,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,KAAK,EAAE,KAAK,KACR,IAAI,GACR,IACM,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
export const SizeTableClass = {
|
|
4
|
-
XL: 'text-m-title',
|
|
5
|
-
L: 'text-m-title',
|
|
6
|
-
M: 'text-m-title-md',
|
|
7
|
-
S: 'text-m-title-xs',
|
|
8
|
-
'2XS': 'text-m-title-xs',
|
|
9
|
-
'3XS': 'text-m-title-xs',
|
|
10
|
-
};
|
|
11
|
-
export const Title = JSX(({ size = 'L', className, children, ...rest }) => {
|
|
12
|
-
const Tag = size === 'XL' || size === 'L' ? 'h1' : 'h2';
|
|
13
|
-
return (_jsx(Tag, { className: getClasses(SizeTableClass[size], className), ...rest, children: children }));
|
|
14
|
-
});
|
|
15
|
-
const getClasses = (...classes) => classes.filter(Boolean).join(' ');
|
|
16
|
-
//# sourceMappingURL=Title.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../src/ui-kit/Title/Title.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,cAAc,GAA8B;IACvD,EAAE,EAAE,cAAc;IAClB,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,iBAAiB;IACpB,CAAC,EAAE,iBAAiB;IACpB,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,MAAM,GAAG,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACxD,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,KAAM,IAAI,YAClE,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,GAAG,OAA+B,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TitleProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Title/TitleProps.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useLink } from '../../hooks/useLink';
|
|
3
|
-
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Img } from '../../ui-kit/Img';
|
|
5
|
-
import type { BaseTileMainProps } from './BaseTileProps';
|
|
6
|
-
import { renderButton } from './renderButton';
|
|
7
|
-
import { renderItems } from './renderItems';
|
|
8
|
-
|
|
9
|
-
export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {}
|
|
10
|
-
|
|
11
|
-
export const BaseTileInner = JSX<BaseTileInnerProps>(
|
|
12
|
-
({ context, description, children, buttons, image, items, version = 'primary' }) => {
|
|
13
|
-
const router = context.useRouter();
|
|
14
|
-
const { handlerDecorator } = context;
|
|
15
|
-
return (
|
|
16
|
-
<div>
|
|
17
|
-
{description && <div className={`font-normal text-base mt-3`}>{description}</div>}
|
|
18
|
-
{children}
|
|
19
|
-
{items?.length && renderItems(items, version)}
|
|
20
|
-
{buttons?.length && (
|
|
21
|
-
<div className="mt-[18px]">
|
|
22
|
-
{buttons.map((button, index) =>
|
|
23
|
-
renderButton(useLink({ router, handlerDecorator }, button), index),
|
|
24
|
-
)}
|
|
25
|
-
</div>
|
|
26
|
-
)}
|
|
27
|
-
{image?.src && <Img className="mt-auto ml-7" image={image} />}
|
|
28
|
-
</div>
|
|
29
|
-
);
|
|
30
|
-
},
|
|
31
|
-
);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
2
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
3
|
-
import type { BaseTileIconButton } from './BaseTileProps';
|
|
4
|
-
|
|
5
|
-
const PADDING_TOP_CLASSES = 'first:mt-0 mt-3';
|
|
6
|
-
|
|
7
|
-
export function renderButton({ icon, ...button }: BaseTileIconButton, i: number) {
|
|
8
|
-
if (!button?.text) return;
|
|
9
|
-
|
|
10
|
-
return icon ? (
|
|
11
|
-
<Button
|
|
12
|
-
className={PADDING_TOP_CLASSES}
|
|
13
|
-
key={String(i)}
|
|
14
|
-
appendLeft={<Icon name={icon} width="24" height="24" />}
|
|
15
|
-
{...button}
|
|
16
|
-
/>
|
|
17
|
-
) : (
|
|
18
|
-
<Button className={PADDING_TOP_CLASSES} key={String(i)} {...button} />
|
|
19
|
-
);
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem';
|
|
3
|
-
|
|
4
|
-
export function renderItems(items: string[] = [], version?: BlockVersion) {
|
|
5
|
-
return (
|
|
6
|
-
<section className="mt-3" role="list">
|
|
7
|
-
{items.map((_, i) => (
|
|
8
|
-
<BlockItem key={String(i)} className="mt-1.5 first:mt-0" text={_} version={version} />
|
|
9
|
-
))}
|
|
10
|
-
</section>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { TitleSize, TitleProps } from './TitleProps';
|
|
3
|
-
|
|
4
|
-
export const SizeTableClass: Record<TitleSize, string> = {
|
|
5
|
-
XL: 'text-m-title',
|
|
6
|
-
L: 'text-m-title',
|
|
7
|
-
M: 'text-m-title-md',
|
|
8
|
-
S: 'text-m-title-xs',
|
|
9
|
-
'2XS': 'text-m-title-xs',
|
|
10
|
-
'3XS': 'text-m-title-xs',
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const Title = JSX<TitleProps>(({ size = 'L', className, children, ...rest }) => {
|
|
14
|
-
const Tag = size === 'XL' || size === 'L' ? 'h1' : 'h2';
|
|
15
|
-
return (
|
|
16
|
-
<Tag className={getClasses(SizeTableClass[size], className)} {...rest}>
|
|
17
|
-
{children}
|
|
18
|
-
</Tag>
|
|
19
|
-
);
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
const getClasses = (...classes: (string | undefined)[]) => classes.filter(Boolean).join(' ');
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../types';
|
|
3
|
-
import { Title } from '../../ui-kit/Title/Title';
|
|
4
|
-
import { BaseTileInner } from './BaseTileInner';
|
|
5
|
-
import type { AlignType, BaseTileCommonProps } from './BaseTileProps';
|
|
6
|
-
import { getTitleSizeByClassName } from './getTitleSizeByClassName';
|
|
7
|
-
|
|
8
|
-
const alignBlock: Record<AlignType, string> = {
|
|
9
|
-
left: 'items-start',
|
|
10
|
-
center: 'items-center',
|
|
11
|
-
right: 'items-end',
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {}
|
|
15
|
-
|
|
16
|
-
const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
|
|
17
|
-
|
|
18
|
-
export const BaseTile = JSX<BaseTileProps>(
|
|
19
|
-
({
|
|
20
|
-
className,
|
|
21
|
-
context,
|
|
22
|
-
title,
|
|
23
|
-
titleSize,
|
|
24
|
-
description,
|
|
25
|
-
children,
|
|
26
|
-
buttons,
|
|
27
|
-
image,
|
|
28
|
-
items,
|
|
29
|
-
version = 'primary',
|
|
30
|
-
align = 'left',
|
|
31
|
-
}) => {
|
|
32
|
-
return (
|
|
33
|
-
<div className={`font-sans flex flex-col grow h-full ${alignBlock[align]}`}>
|
|
34
|
-
{title && (
|
|
35
|
-
<Title
|
|
36
|
-
size={titleSize || getTitleSizeByClassName(className)}
|
|
37
|
-
className={`${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`}
|
|
38
|
-
>
|
|
39
|
-
{title}
|
|
40
|
-
</Title>
|
|
41
|
-
)}
|
|
42
|
-
<BaseTileInner
|
|
43
|
-
context={context}
|
|
44
|
-
buttons={buttons}
|
|
45
|
-
image={image}
|
|
46
|
-
children={children}
|
|
47
|
-
description={description}
|
|
48
|
-
items={items}
|
|
49
|
-
/>
|
|
50
|
-
</div>
|
|
51
|
-
);
|
|
52
|
-
},
|
|
53
|
-
);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useLink } from '../../hooks/useLink';
|
|
3
|
-
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Img } from '../../ui-kit/Img';
|
|
5
|
-
import type { BaseTileMainProps } from './BaseTileProps';
|
|
6
|
-
import { renderButton } from './renderButton';
|
|
7
|
-
import { renderItems } from './renderItems';
|
|
8
|
-
|
|
9
|
-
export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {}
|
|
10
|
-
|
|
11
|
-
export const BaseTileInner = JSX<BaseTileInnerProps>(
|
|
12
|
-
({ context, description, children, buttons, image, items, version = 'primary' }) => {
|
|
13
|
-
const router = context.useRouter();
|
|
14
|
-
const { handlerDecorator } = context;
|
|
15
|
-
return (
|
|
16
|
-
<div>
|
|
17
|
-
{description && <div className={`font-normal text-base mt-3`}>{description}</div>}
|
|
18
|
-
{children}
|
|
19
|
-
{items?.length && renderItems(items, version)}
|
|
20
|
-
{buttons?.length && (
|
|
21
|
-
<div className="mt-[18px]">
|
|
22
|
-
{buttons.map((button, index) =>
|
|
23
|
-
renderButton(useLink({ router, handlerDecorator }, button), index),
|
|
24
|
-
)}
|
|
25
|
-
</div>
|
|
26
|
-
)}
|
|
27
|
-
{image?.src && <Img className="mt-auto ml-7" image={image} />}
|
|
28
|
-
</div>
|
|
29
|
-
);
|
|
30
|
-
},
|
|
31
|
-
);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useLink } from '../../hooks/useLink';
|
|
3
|
-
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Img } from '../../ui-kit/Img';
|
|
5
|
-
import type { BaseTileMainProps } from './BaseTileProps';
|
|
6
|
-
import { renderButton } from './renderButton';
|
|
7
|
-
import { renderItems } from './renderItems';
|
|
8
|
-
|
|
9
|
-
export interface BaseTileInnerProps extends BaseTileMainProps, UniBlockProps {}
|
|
10
|
-
|
|
11
|
-
export const BaseTileInner = JSX<BaseTileInnerProps>(
|
|
12
|
-
({ context, description, children, buttons, image, items, version = 'primary' }) => {
|
|
13
|
-
const router = context.useRouter();
|
|
14
|
-
const { handlerDecorator } = context;
|
|
15
|
-
return (
|
|
16
|
-
<div className={`flex grow w-full justify-between}`}>
|
|
17
|
-
<div className={`flex flex-col justify-between items-start}`}>
|
|
18
|
-
<div>
|
|
19
|
-
{description && (
|
|
20
|
-
<div className={`font-normal text-base mt-4 max-w-[600px]`}>{description}</div>
|
|
21
|
-
)}
|
|
22
|
-
{children}
|
|
23
|
-
{items?.length && renderItems(items, version)}
|
|
24
|
-
</div>
|
|
25
|
-
{buttons?.length && (
|
|
26
|
-
<div className="flex mt-9 gap-3">
|
|
27
|
-
{buttons.map((button, index) =>
|
|
28
|
-
renderButton(useLink({ router, handlerDecorator }, button), index),
|
|
29
|
-
)}
|
|
30
|
-
</div>
|
|
31
|
-
)}
|
|
32
|
-
</div>
|
|
33
|
-
{image?.src && <Img className="mt-auto ml-7" image={image} />}
|
|
34
|
-
</div>
|
|
35
|
-
);
|
|
36
|
-
},
|
|
37
|
-
);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
2
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
3
|
-
import type { BaseTileIconButton } from './BaseTileProps';
|
|
4
|
-
|
|
5
|
-
const PADDING_TOP_CLASSES = 'first:mt-0 mt-3';
|
|
6
|
-
|
|
7
|
-
export function renderButton({ icon, ...button }: BaseTileIconButton, i: number) {
|
|
8
|
-
if (!button?.text) return;
|
|
9
|
-
|
|
10
|
-
return icon ? (
|
|
11
|
-
<Button
|
|
12
|
-
className={PADDING_TOP_CLASSES}
|
|
13
|
-
key={String(i)}
|
|
14
|
-
appendLeft={<Icon name={icon} width="24" height="24" />}
|
|
15
|
-
{...button}
|
|
16
|
-
/>
|
|
17
|
-
) : (
|
|
18
|
-
<Button className={PADDING_TOP_CLASSES} key={String(i)} {...button} />
|
|
19
|
-
);
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Button } from '../../ui-kit/Button/Button';
|
|
2
|
-
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
3
|
-
import type { BaseTileIconButton } from './BaseTileProps';
|
|
4
|
-
|
|
5
|
-
export function renderButton({ icon, ...button }: BaseTileIconButton, i: number) {
|
|
6
|
-
if (!button?.text) return;
|
|
7
|
-
|
|
8
|
-
return icon ? (
|
|
9
|
-
<Button key={String(i)} appendLeft={<Icon name={icon} width="24" height="24" />} {...button} />
|
|
10
|
-
) : (
|
|
11
|
-
<Button key={String(i)} {...button} />
|
|
12
|
-
);
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem';
|
|
3
|
-
|
|
4
|
-
export function renderItems(items: string[] = [], version?: BlockVersion) {
|
|
5
|
-
return (
|
|
6
|
-
<section className="mt-3" role="list">
|
|
7
|
-
{items.map((_, i) => (
|
|
8
|
-
<BlockItem key={String(i)} className="mt-1.5 first:mt-0" text={_} version={version} />
|
|
9
|
-
))}
|
|
10
|
-
</section>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem';
|
|
3
|
-
|
|
4
|
-
export function renderItems(items: string[] = [], version?: BlockVersion) {
|
|
5
|
-
return (
|
|
6
|
-
<section className="max-w-[600px] mt-5" role="list">
|
|
7
|
-
{items.map((_, i) => (
|
|
8
|
-
<BlockItem key={String(i)} className="mt-2.5 first:mt-0" text={_} version={version} />
|
|
9
|
-
))}
|
|
10
|
-
</section>
|
|
11
|
-
);
|
|
12
|
-
}
|