@redneckz/wildless-cms-uni-blocks 0.2.113 → 0.2.116
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 +70 -63
- 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/BaseTile/BaseTile.js +4 -5
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.mobile.js +4 -4
- package/dist/components/BaseTile/BaseTile.mobile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileInner.js +1 -1
- package/dist/components/BaseTile/BaseTileInner.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +4 -6
- package/dist/components/BaseTile/getHeadingType.d.ts +1 -0
- package/dist/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +7 -7
- package/dist/components/BaseTile/getHeadingType.js.map +1 -0
- package/dist/components/BaseTile/renderButton.js +1 -1
- package/dist/components/BaseTile/renderButton.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- 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 +2 -2
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +2 -2
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +2 -2
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +2 -2
- package/dist/components/Gallery/GalleryContainer.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/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 +2 -2
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +6 -2
- 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 +28 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- 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/ProductBlock/ProductBlockContent.d.ts +1 -8
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -2
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +10 -6
- 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 +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +1 -1
- package/dist/icons/IconName.d.ts +81 -0
- package/dist/icons/IconName.js +77 -0
- package/dist/icons/IconName.js.map +1 -0
- 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/ui-kit/BlockItem/BlockItem.js +2 -2
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.d.ts +2 -0
- package/dist/ui-kit/Heading/Heading.js +18 -0
- package/dist/ui-kit/Heading/Heading.js.map +1 -0
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -0
- package/dist/ui-kit/Heading/Heading.mobile.js +18 -0
- package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -0
- package/dist/ui-kit/Heading/HeadingProps.d.ts +13 -0
- package/dist/ui-kit/{Title/TitleProps.js → Heading/HeadingProps.js} +1 -1
- package/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
- package/dist/ui-kit/Icon/IconProps.d.ts +2 -150
- package/dist/ui-kit/Icon/IconProps.js +0 -76
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- 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/BaseTile/BaseTile.js +4 -5
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.mobile.js +4 -4
- package/lib/components/BaseTile/BaseTile.mobile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileInner.js +1 -1
- package/lib/components/BaseTile/BaseTileInner.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +4 -6
- package/lib/components/BaseTile/getHeadingType.d.ts +1 -0
- package/lib/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +5 -5
- package/lib/components/BaseTile/getHeadingType.js.map +1 -0
- package/lib/components/BaseTile/renderButton.js +1 -1
- package/lib/components/BaseTile/renderButton.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- 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 +2 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +2 -2
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +2 -2
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +2 -2
- package/lib/components/Gallery/GalleryContainer.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/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 +2 -2
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +6 -2
- 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 +26 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- 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/ProductBlock/ProductBlockContent.d.ts +1 -8
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -2
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +10 -6
- 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 +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +1 -1
- package/lib/icons/IconName.d.ts +81 -0
- package/lib/icons/IconName.js +75 -0
- package/lib/icons/IconName.js.map +1 -0
- 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/ui-kit/BlockItem/BlockItem.js +2 -2
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.d.ts +2 -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 +16 -0
- package/lib/ui-kit/Heading/Heading.js.map +1 -0
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -0
- package/lib/ui-kit/Heading/Heading.mobile.js +16 -0
- package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -0
- package/lib/ui-kit/Heading/HeadingProps.d.ts +13 -0
- package/lib/ui-kit/Heading/HeadingProps.js +2 -0
- package/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +2 -150
- package/lib/ui-kit/Icon/IconProps.js +1 -75
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- 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 +193 -70
- 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/BaseTile/BaseTile.js +4 -4
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +4 -6
- package/mobile/dist/components/BaseTile/getHeadingType.d.ts +1 -0
- package/mobile/dist/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +7 -7
- package/mobile/dist/components/BaseTile/getHeadingType.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/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 +2 -2
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- 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 +2 -2
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/dist/components/Gallery/GalleryContainer.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/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -2
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +6 -2
- 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 +28 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- 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/ProductBlock/ProductBlockContent.d.ts +1 -8
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- 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 +2 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js +10 -6
- 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 +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +1 -1
- package/mobile/dist/icons/IconName.d.ts +81 -0
- package/mobile/dist/icons/IconName.js +77 -0
- package/mobile/dist/icons/IconName.js.map +1 -0
- 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/ui-kit/BlockItem/BlockItem.js +2 -2
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -0
- package/mobile/dist/ui-kit/Heading/Heading.js +18 -0
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -0
- package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +13 -0
- package/mobile/dist/ui-kit/{Title/TitleProps.js → Heading/HeadingProps.js} +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -150
- package/mobile/dist/ui-kit/Icon/IconProps.js +0 -76
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
- 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/BaseTile/BaseTile.js +4 -4
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +4 -6
- package/mobile/lib/components/BaseTile/getHeadingType.d.ts +1 -0
- package/mobile/lib/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +5 -5
- package/mobile/lib/components/BaseTile/getHeadingType.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/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 +2 -2
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- 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 +2 -2
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/lib/components/Gallery/GalleryContainer.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/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +6 -2
- 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 +26 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- 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/ProductBlock/ProductBlockContent.d.ts +1 -8
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- 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 +2 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js +10 -6
- 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 +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +1 -1
- package/mobile/lib/icons/IconName.d.ts +81 -0
- package/mobile/lib/icons/IconName.js +75 -0
- package/mobile/lib/icons/IconName.js.map +1 -0
- 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/ui-kit/BlockItem/BlockItem.js +2 -2
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -0
- package/mobile/lib/ui-kit/Heading/Heading.js +16 -0
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -0
- package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +13 -0
- package/mobile/lib/ui-kit/Heading/HeadingProps.js +2 -0
- package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -150
- 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/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/BaseTile/BaseTile.tsx +7 -8
- package/mobile/src/components/BaseTile/BaseTileProps.ts +5 -5
- package/mobile/src/components/BaseTile/{getTitleSizeByClassName.ts → getHeadingType.ts} +5 -4
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +2 -2
- package/mobile/src/components/Blocks.ts +2 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -6
- package/mobile/src/components/ContentPage/ContentPage.page.json +56 -0
- package/mobile/src/components/Footer/MediaButton.tsx +2 -1
- package/mobile/src/components/Gallery/Gallery.tsx +2 -2
- package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
- package/mobile/src/components/Header/Header.tsx +1 -1
- package/mobile/src/components/Header/HeaderTop.tsx +1 -1
- package/mobile/src/components/Headline/Headline.tsx +2 -6
- package/mobile/src/components/Headline/HeadlineContent.ts +7 -4
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +28 -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 +27 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +10 -3
- package/mobile/src/components/PictureText/PictureText.tsx +2 -2
- package/mobile/src/components/Placeholder/Placeholder.tsx +10 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -9
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -2
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -1
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
- package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +40 -23
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/mobile/src/components/Tile/TileContent.ts +1 -1
- package/mobile/src/icons/ActualBalanceIcon.svg +1 -1
- package/mobile/src/icons/AppleIcon.svg +1 -1
- package/mobile/src/icons/AtmIcon.svg +1 -1
- package/mobile/src/icons/BankIcon.svg +1 -1
- 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 +1 -1
- 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 -1
- package/mobile/src/icons/CloseIcon.svg +1 -1
- package/mobile/src/icons/ComfortableCompIcon.svg +1 -1
- package/mobile/src/icons/CreditCardsIcon.svg +1 -1
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
- package/mobile/src/icons/DocIcon.svg +2 -2
- package/mobile/src/icons/DocumentTextIcon.svg +1 -1
- 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 +1 -1
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/mobile/src/icons/EuroIcon.svg +1 -1
- package/mobile/src/icons/GeolocationIcon.svg +1 -1
- 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 -1
- package/mobile/src/icons/OfficeIcon.svg +1 -1
- package/mobile/src/icons/OkIcon.svg +1 -1
- package/mobile/src/icons/PassSendIcon.svg +1 -1
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
- package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
- 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 -1
- package/mobile/src/icons/SmallClockIcon.svg +1 -1
- package/mobile/src/icons/TelegramIcon.svg +1 -1
- package/mobile/src/icons/UnionPayIcon.svg +1 -1
- package/mobile/src/icons/UserTickIcon.svg +1 -1
- package/mobile/src/icons/VKIcon.svg +1 -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/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/ui-kit/BlockItem/BlockItem.tsx +2 -2
- package/mobile/src/ui-kit/Heading/Heading.tsx +20 -0
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +14 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +2 -150
- 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 +2 -2
- package/src/components/Accordion/Accordion.fixture.tsx +2 -2
- package/src/components/Accordion/Accordion.mobile.tsx +2 -6
- package/src/components/Accordion/Accordion.tsx +2 -2
- package/src/components/BaseTile/BaseTile.mobile.tsx +7 -8
- package/src/components/BaseTile/BaseTile.tsx +11 -9
- package/src/components/BaseTile/BaseTileInner.tsx +5 -5
- package/src/components/BaseTile/BaseTileProps.ts +5 -5
- package/src/components/BaseTile/{getTitleSizeByClassName.ts → getHeadingType.ts} +5 -4
- package/src/components/BaseTile/renderButton.tsx +5 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +2 -2
- package/src/components/Blocks.mobile.ts +2 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/src/components/ComparisonTable/HeaderCell.tsx +2 -6
- package/src/components/ContentPage/ContentPage.page.json +14 -80
- package/src/components/ContentPage/ContentPage.page.mobile.json +56 -0
- package/src/components/Footer/Footer.fixture.tsx +0 -126
- package/src/components/Footer/MediaButton.tsx +2 -1
- package/src/components/Gallery/Gallery.mobile.tsx +2 -2
- package/src/components/Gallery/GalleryContainer.tsx +2 -2
- package/src/components/Header/Header.mobile.tsx +1 -1
- package/src/components/Header/HeaderTop.tsx +1 -1
- package/src/components/Headline/Headline.fixture.tsx +0 -54
- package/src/components/Headline/Headline.mobile.tsx +2 -6
- package/src/components/Headline/Headline.tsx +2 -6
- package/src/components/Headline/HeadlineContent.ts +7 -4
- 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 +40 -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 +27 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +10 -3
- package/src/components/PictureText/PictureText.tsx +2 -2
- package/src/components/Placeholder/Placeholder.mobile.tsx +35 -0
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +1 -9
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -2
- package/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -2
- package/src/components/ProductBlock/renderBenefit.tsx +2 -2
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -1
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +0 -1
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +3 -1
- package/src/components/ProductGallery/ProductGallery.tsx +1 -0
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +4 -4
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
- package/src/components/ProductTile/ProductTileContent.ts +2 -2
- package/src/components/PromoTile/PromoTile.fixture.tsx +0 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +40 -23
- package/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/src/components/TariffsTable/TariffsTable.tsx +2 -2
- package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/src/components/Tile/Tile.fixture.tsx +24 -21
- package/src/components/Tile/TileContent.ts +1 -1
- package/src/icons/ActualBalanceIcon.svg +1 -1
- package/src/icons/AppleIcon.svg +1 -1
- package/src/icons/AtmIcon.svg +1 -1
- package/src/icons/BankIcon.svg +1 -1
- 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 +1 -1
- 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 -1
- package/src/icons/CloseIcon.svg +1 -1
- package/src/icons/ComfortableCompIcon.svg +1 -1
- package/src/icons/CreditCardsIcon.svg +1 -1
- package/src/icons/DiscountShapeIcon.svg +1 -1
- package/src/icons/DocIcon.svg +2 -2
- package/src/icons/DocumentTextIcon.svg +1 -1
- 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 +1 -1
- package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/src/icons/EuroIcon.svg +1 -1
- package/src/icons/GeolocationIcon.svg +1 -1
- 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 -1
- package/src/icons/OfficeIcon.svg +1 -1
- package/src/icons/OkIcon.svg +1 -1
- package/src/icons/PassSendIcon.svg +1 -1
- package/src/icons/PercentageRoundIcon.svg +1 -1
- package/src/icons/PercentageSquareIcon.svg +1 -1
- 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 -1
- package/src/icons/SmallClockIcon.svg +1 -1
- package/src/icons/TelegramIcon.svg +1 -1
- package/src/icons/UnionPayIcon.svg +1 -1
- package/src/icons/UserTickIcon.svg +1 -1
- package/src/icons/VKIcon.svg +1 -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/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/ui-kit/BlockItem/BlockItem.tsx +2 -2
- package/src/ui-kit/Button/Button.fixture.tsx +2 -3
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +28 -0
- package/src/ui-kit/Heading/Heading.fixture.tsx +28 -0
- package/src/ui-kit/Heading/Heading.mobile.tsx +20 -0
- package/src/ui-kit/Heading/Heading.tsx +20 -0
- package/src/ui-kit/Heading/HeadingProps.ts +14 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +7 -10
- package/src/ui-kit/Icon/IconProps.ts +2 -150
- 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/getTitleSizeByClassName.d.ts +0 -1
- package/dist/components/BaseTile/getTitleSizeByClassName.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/getTitleSizeByClassName.d.ts +0 -1
- package/lib/components/BaseTile/getTitleSizeByClassName.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/getTitleSizeByClassName.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.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/getTitleSizeByClassName.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.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/ui-kit/Title/Title.tsx +0 -22
- package/mobile/src/ui-kit/Title/TitleProps.ts +0 -5
- 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
|
@@ -2,19 +2,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.StepsBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
5
6
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
-
const Title_1 = require("../../ui-kit/Title/Title");
|
|
7
7
|
exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className, title, description, steps, size = 'normal' }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && (
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && (0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: "h3", className: "text-center", text: title }), description && (0, jsx_runtime_1.jsx)("p", { className: `text-m-md text-center ${title && 'mt-2'}`, children: description }), steps?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i) => renderStepTitle({ step, size, i, length: steps.length })) }) })) : null] }));
|
|
9
9
|
});
|
|
10
|
-
const renderStepTitle = (
|
|
11
|
-
const
|
|
10
|
+
const renderStepTitle = (params) => {
|
|
11
|
+
const { step, size, i, length } = params;
|
|
12
|
+
const isLastStep = length - 1 === i;
|
|
13
|
+
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row text-center relative", children: [(0, jsx_runtime_1.jsxs)("div", { children: [renderIconArea(step, size, i), !isLastStep && (0, jsx_runtime_1.jsx)("div", { className: `min-h-8 h-full w-[2px] bg-secondary-light ${margin}` })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-center relative", children: [step.label && ((0, jsx_runtime_1.jsx)("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })), step.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm text-secondary-text text-left ${step.label ? 'mt-1' : ''}`, children: step.description }))] })] }, String(i)) }, String(i)));
|
|
15
|
+
};
|
|
16
|
+
const renderIconArea = (step, size, i) => {
|
|
12
17
|
const iconAreaSize = size === 'normal'
|
|
13
18
|
? 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]'
|
|
14
19
|
: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]';
|
|
15
20
|
const iconSize = size === 'normal' ? '38' : '27';
|
|
16
|
-
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
|
|
17
21
|
const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
|
|
18
|
-
return ((0, jsx_runtime_1.
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `${iconAreaSize} bg-secondary-light rounded-full z-10 mr-3 flex justify-center content-center`, children: (0, jsx_runtime_1.jsx)("span", { className: `font-medium text-secondary-text self-center ${iconTextSize}`, children: (step.icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: step.icon, width: iconSize, height: iconSize })) || i + 1 }) }));
|
|
19
23
|
};
|
|
20
24
|
//# sourceMappingURL=StepsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
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,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useComparisonTableScroll_1 = require("../../hooks/useComparisonTableScroll");
|
|
6
6
|
const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
|
|
7
|
-
const
|
|
7
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
8
|
const constants_1 = require("./constants");
|
|
9
9
|
const TariffsTableRow_1 = require("./TariffsTableRow");
|
|
10
10
|
exports.TariffsTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHeaders, columns }) => {
|
|
@@ -20,6 +20,6 @@ exports.TariffsTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHeade
|
|
|
20
20
|
activeCardIndex,
|
|
21
21
|
setActiveCardIndex,
|
|
22
22
|
});
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(
|
|
23
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", text: title }), (0, jsx_runtime_1.jsxs)("div", { role: "table", children: [rowData?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TariffsTableRow_1.TariffsTableRow, { row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex }, String(i)))), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-7 right-7 z-10", children: [(0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null, isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] })] }));
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=TariffsTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mFAAgF;AAEhF,iEAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mFAAgF;AAEhF,iEAA8D;AAC9D,0DAAuD;AACvD,2CAAqD;AAErD,uDAAoD;AAIvC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IACrD,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElE,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAC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AC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,EACP,iBAAiB,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -11,6 +11,6 @@ exports.TariffsTableCell = (0, uni_jsx_1.JSX)(({ cell, isLastRow }) => {
|
|
|
11
11
|
return ((0, jsx_runtime_1.jsx)("div", { className: cellWrapperClasses, role: "cell", children: (0, jsx_runtime_1.jsx)("div", { children: cell.map((item, i) => renderCellInner(item, i)) }) }));
|
|
12
12
|
});
|
|
13
13
|
const renderCellInner = ({ label, description, list, image, buttons }, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && ((0, jsx_runtime_1.jsx)("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label && (0, jsx_runtime_1.jsx)("div", { className: "text-xl font-medium m-0", children: label }), description && (0, jsx_runtime_1.jsx)("div", { className: "text-sm text-secondary-text", children: description }), list?.items?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col justify-between items-start", children: (0, jsx_runtime_1.jsx)("div", { role: "list", children: list.items.map((text, idx) => ((0, jsx_runtime_1.jsx)(BlockItem_1.BlockItem, { text: text, version: list.version ?? 'secondary', isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }), buttons?.length
|
|
14
|
-
? buttons.map(({ icon, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `${idx > 0 ? 'ml-3' : ''} w-12 h-12`, appendLeft: icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24px", height: "24px" }), ...buttonProps }, String(idx))))
|
|
14
|
+
? buttons.map(({ icon, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `${idx > 0 ? 'ml-3' : ''} w-12 h-12`, appendLeft: icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps }, String(idx))))
|
|
15
15
|
: null] }, String(i)));
|
|
16
16
|
//# sourceMappingURL=TariffsTableCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gEAA6D;AAC7D,uDAAoD;AACpD,iDAA8C;AAC9C,0CAAuC;AAQ1B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,kBAAkB,GAAG,+GACzB,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAC1C,EAAE,CAAC;IAEH,OAAO,CACL,gCAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,0CAAM,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,GAAO,GACxD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CACtB,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAwB,EAClE,CAAS,EACT,EAAE,CAAC,CACH,iCAAqB,SAAS,EAAC,sBAAsB,aAClD,CAAC,GAAG,CAAC,IAAI,CACR,gCAAK,SAAS,EAAC,oEAAoE,GAAG,CACvF,EACA,KAAK,IAAI,gCAAK,SAAS,EAAC,yBAAyB,YAAE,KAAK,GAAO,EAC/D,WAAW,IAAI,gCAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,EAC/E,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC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AAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,EAE/C,UAAU,EAAE,IAAI,IAAI,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,SAAG,KACrE,WAAW,IAFV,MAAM,CAAC,GAAG,CAAC,CAGhB,CACH,CAAC;YACJ,CAAC,CAAC,IAAI,KA9BA,MAAM,CAAC,CAAC,CAAC,CA+Bb,CACP,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare enum IconMap {
|
|
2
|
+
ActualBalanceIcon = "ActualBalanceIcon",
|
|
3
|
+
AppleIcon = "AppleIcon",
|
|
4
|
+
AtmIcon = "AtmIcon",
|
|
5
|
+
BankIcon = "BankIcon",
|
|
6
|
+
BurgerIcon = "BurgerIcon",
|
|
7
|
+
BurgerIconWhite = "BurgerIconWhite",
|
|
8
|
+
Calendar2Icon = "Calendar2Icon",
|
|
9
|
+
CalendarCircleIcon = "CalendarCircleIcon",
|
|
10
|
+
CalendarIcon = "CalendarIcon",
|
|
11
|
+
CalendarTickIcon = "CalendarTickIcon",
|
|
12
|
+
CalendarWhiteIcon = "CalendarWhiteIcon",
|
|
13
|
+
CardIcon = "CardIcon",
|
|
14
|
+
CardPosIcon = "CardPosIcon",
|
|
15
|
+
CardTickIcon = "CardTickIcon",
|
|
16
|
+
CardWithGemIcon = "CardWithGemIcon",
|
|
17
|
+
ChartSquareIcon = "ChartSquareIcon",
|
|
18
|
+
ClockIcon = "ClockIcon",
|
|
19
|
+
CloseIcon = "CloseIcon",
|
|
20
|
+
ComfortableCompIcon = "ComfortableCompIcon",
|
|
21
|
+
CreditCardsIcon = "CreditCardsIcon",
|
|
22
|
+
DiscountShapeIcon = "DiscountShapeIcon",
|
|
23
|
+
DocIcon = "DocIcon",
|
|
24
|
+
DocumentTextIcon = "DocumentTextIcon",
|
|
25
|
+
DollarIcon = "DollarIcon",
|
|
26
|
+
EarthIcon = "EarthIcon",
|
|
27
|
+
EmptyWalletChangeIcon = "EmptyWalletChangeIcon",
|
|
28
|
+
EmptyWalletIcon = "EmptyWalletIcon",
|
|
29
|
+
EmptyWalletWhiteIcon = "EmptyWalletWhiteIcon",
|
|
30
|
+
EuroIcon = "EuroIcon",
|
|
31
|
+
GeolocationIcon = "GeolocationIcon",
|
|
32
|
+
GlassIcon = "GlassIcon",
|
|
33
|
+
GlobalIcon = "GlobalIcon",
|
|
34
|
+
GridIcon = "GridIcon",
|
|
35
|
+
GridIconWhite = "GridIconWhite",
|
|
36
|
+
InterestGrowthIcon = "InterestGrowthIcon",
|
|
37
|
+
InterestIcon = "InterestIcon",
|
|
38
|
+
JCBIcon = "JCBIcon",
|
|
39
|
+
LoupeIcon = "LoupeIcon",
|
|
40
|
+
MasterCardIcon = "MasterCardIcon",
|
|
41
|
+
MinusIcon = "MinusIcon",
|
|
42
|
+
MirIcon = "MirIcon",
|
|
43
|
+
MoneyIcon = "MoneyIcon",
|
|
44
|
+
MoneyInsuranceIcon = "MoneyInsuranceIcon",
|
|
45
|
+
MonitorMobileIcon = "MonitorMobileIcon",
|
|
46
|
+
NewDocIcon = "NewDocIcon",
|
|
47
|
+
OfficeIcon = "OfficeIcon",
|
|
48
|
+
OkIcon = "OkIcon",
|
|
49
|
+
PassSendIcon = "PassSendIcon",
|
|
50
|
+
PercentageRoundIcon = "PercentageRoundIcon",
|
|
51
|
+
PercentageSquareIcon = "PercentageSquareIcon",
|
|
52
|
+
PercentageSquareWhiteIcon = "PercentageSquareWhiteIcon",
|
|
53
|
+
PersonalCardIcon = "PersonalCardIcon",
|
|
54
|
+
PlayMarketIcon = "PlayMarketIcon",
|
|
55
|
+
PlusIcon = "PlusIcon",
|
|
56
|
+
Profile2UserIcon = "Profile2UserIcon",
|
|
57
|
+
ProfileIcon = "ProfileIcon",
|
|
58
|
+
RoundRubleIcon = "RoundRubleIcon",
|
|
59
|
+
SafeIcon = "SafeIcon",
|
|
60
|
+
ShieldTickIcon = "ShieldTickIcon",
|
|
61
|
+
SignDocsIcon = "SignDocsIcon",
|
|
62
|
+
SmallClockIcon = "SmallClockIcon",
|
|
63
|
+
TelegramIcon = "TelegramIcon",
|
|
64
|
+
UnionPayIcon = "UnionPayIcon",
|
|
65
|
+
UserTickIcon = "UserTickIcon",
|
|
66
|
+
VisaIcon = "VisaIcon",
|
|
67
|
+
VKIcon = "VKIcon",
|
|
68
|
+
WalletAdd2Icon = "WalletAdd2Icon",
|
|
69
|
+
WalletAddIcon = "WalletAddIcon",
|
|
70
|
+
WalletIcon = "WalletIcon",
|
|
71
|
+
WalletWithMoneyIcon = "WalletWithMoneyIcon"
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @title Иконка
|
|
76
|
+
* @enumNames [
|
|
77
|
+
* "",
|
|
78
|
+
* "Деньги", "Лого «Apple»", "Банкомат", "Банк", "Бургер", "Бургер (белый)", "Календарь 2", "Скруглённый календарь", "Календарь", "Календарь с галочкой", "Календарь белый", "Кред. карта", "Кред. карта под наклоном", "Кред. карта с галочкой", "Карта с драгоценностями", "Деньги внутри кошелька", "Часы", "Крестик", "Кресло", "Кредитные карты", "Скидка", "Документ", "Документ с текстом", "Доллар", "Земля", "Пустой кошелёк с возвратом", "Пустой кошелёк", "Пустой кошелёк (белый)", "Евро", "Геолокация", "Зеркало", "Глобус", "Сетка", "Сетка (белая)", "Диаграмма роста", "Скидка", "JCB", "Лупа", "MasterCard", "Минус", "МИР", "Деньги", "Денежное страхование", "Монитор и мобильный", "Новый документ", "Офис", "Лого «Одноклассники»", "Бизнес", "Проценты (круг.)", "Проценты", "Проценты белые", "Персональная карта", "Лого «PlayMarket»", "Плюс", "Профиль, 2 персоны", "Профиль", "Рубль (круг.)", "Сейф", "Безопасность", "Подписанные документы", "Маленькие часы", "Лого «Telegram»", "UnionPay", "Пользователь", "Visa", "Лого «VK»", "Пополнение карты", "Кошелёк с плюсом", "Кошелёк", "Кошелёк с деньгами"
|
|
79
|
+
* ]
|
|
80
|
+
*/
|
|
81
|
+
export declare type IconName = "" | "ActualBalanceIcon" | "AppleIcon" | "AtmIcon" | "BankIcon" | "BurgerIcon" | "BurgerIconWhite" | "Calendar2Icon" | "CalendarCircleIcon" | "CalendarIcon" | "CalendarTickIcon" | "CalendarWhiteIcon" | "CardIcon" | "CardPosIcon" | "CardTickIcon" | "CardWithGemIcon" | "ChartSquareIcon" | "ClockIcon" | "CloseIcon" | "ComfortableCompIcon" | "CreditCardsIcon" | "DiscountShapeIcon" | "DocIcon" | "DocumentTextIcon" | "DollarIcon" | "EarthIcon" | "EmptyWalletChangeIcon" | "EmptyWalletIcon" | "EmptyWalletWhiteIcon" | "EuroIcon" | "GeolocationIcon" | "GlassIcon" | "GlobalIcon" | "GridIcon" | "GridIconWhite" | "InterestGrowthIcon" | "InterestIcon" | "JCBIcon" | "LoupeIcon" | "MasterCardIcon" | "MinusIcon" | "MirIcon" | "MoneyIcon" | "MoneyInsuranceIcon" | "MonitorMobileIcon" | "NewDocIcon" | "OfficeIcon" | "OkIcon" | "PassSendIcon" | "PercentageRoundIcon" | "PercentageSquareIcon" | "PercentageSquareWhiteIcon" | "PersonalCardIcon" | "PlayMarketIcon" | "PlusIcon" | "Profile2UserIcon" | "ProfileIcon" | "RoundRubleIcon" | "SafeIcon" | "ShieldTickIcon" | "SignDocsIcon" | "SmallClockIcon" | "TelegramIcon" | "UnionPayIcon" | "UserTickIcon" | "VisaIcon" | "VKIcon" | "WalletAdd2Icon" | "WalletAddIcon" | "WalletIcon" | "WalletWithMoneyIcon";
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Generated. Do not touch
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IconMap = void 0;
|
|
4
|
+
var IconMap;
|
|
5
|
+
(function (IconMap) {
|
|
6
|
+
IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
|
|
7
|
+
IconMap["AppleIcon"] = "AppleIcon";
|
|
8
|
+
IconMap["AtmIcon"] = "AtmIcon";
|
|
9
|
+
IconMap["BankIcon"] = "BankIcon";
|
|
10
|
+
IconMap["BurgerIcon"] = "BurgerIcon";
|
|
11
|
+
IconMap["BurgerIconWhite"] = "BurgerIconWhite";
|
|
12
|
+
IconMap["Calendar2Icon"] = "Calendar2Icon";
|
|
13
|
+
IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
|
|
14
|
+
IconMap["CalendarIcon"] = "CalendarIcon";
|
|
15
|
+
IconMap["CalendarTickIcon"] = "CalendarTickIcon";
|
|
16
|
+
IconMap["CalendarWhiteIcon"] = "CalendarWhiteIcon";
|
|
17
|
+
IconMap["CardIcon"] = "CardIcon";
|
|
18
|
+
IconMap["CardPosIcon"] = "CardPosIcon";
|
|
19
|
+
IconMap["CardTickIcon"] = "CardTickIcon";
|
|
20
|
+
IconMap["CardWithGemIcon"] = "CardWithGemIcon";
|
|
21
|
+
IconMap["ChartSquareIcon"] = "ChartSquareIcon";
|
|
22
|
+
IconMap["ClockIcon"] = "ClockIcon";
|
|
23
|
+
IconMap["CloseIcon"] = "CloseIcon";
|
|
24
|
+
IconMap["ComfortableCompIcon"] = "ComfortableCompIcon";
|
|
25
|
+
IconMap["CreditCardsIcon"] = "CreditCardsIcon";
|
|
26
|
+
IconMap["DiscountShapeIcon"] = "DiscountShapeIcon";
|
|
27
|
+
IconMap["DocIcon"] = "DocIcon";
|
|
28
|
+
IconMap["DocumentTextIcon"] = "DocumentTextIcon";
|
|
29
|
+
IconMap["DollarIcon"] = "DollarIcon";
|
|
30
|
+
IconMap["EarthIcon"] = "EarthIcon";
|
|
31
|
+
IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
|
|
32
|
+
IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
|
|
33
|
+
IconMap["EmptyWalletWhiteIcon"] = "EmptyWalletWhiteIcon";
|
|
34
|
+
IconMap["EuroIcon"] = "EuroIcon";
|
|
35
|
+
IconMap["GeolocationIcon"] = "GeolocationIcon";
|
|
36
|
+
IconMap["GlassIcon"] = "GlassIcon";
|
|
37
|
+
IconMap["GlobalIcon"] = "GlobalIcon";
|
|
38
|
+
IconMap["GridIcon"] = "GridIcon";
|
|
39
|
+
IconMap["GridIconWhite"] = "GridIconWhite";
|
|
40
|
+
IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
|
|
41
|
+
IconMap["InterestIcon"] = "InterestIcon";
|
|
42
|
+
IconMap["JCBIcon"] = "JCBIcon";
|
|
43
|
+
IconMap["LoupeIcon"] = "LoupeIcon";
|
|
44
|
+
IconMap["MasterCardIcon"] = "MasterCardIcon";
|
|
45
|
+
IconMap["MinusIcon"] = "MinusIcon";
|
|
46
|
+
IconMap["MirIcon"] = "MirIcon";
|
|
47
|
+
IconMap["MoneyIcon"] = "MoneyIcon";
|
|
48
|
+
IconMap["MoneyInsuranceIcon"] = "MoneyInsuranceIcon";
|
|
49
|
+
IconMap["MonitorMobileIcon"] = "MonitorMobileIcon";
|
|
50
|
+
IconMap["NewDocIcon"] = "NewDocIcon";
|
|
51
|
+
IconMap["OfficeIcon"] = "OfficeIcon";
|
|
52
|
+
IconMap["OkIcon"] = "OkIcon";
|
|
53
|
+
IconMap["PassSendIcon"] = "PassSendIcon";
|
|
54
|
+
IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
|
|
55
|
+
IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
|
|
56
|
+
IconMap["PercentageSquareWhiteIcon"] = "PercentageSquareWhiteIcon";
|
|
57
|
+
IconMap["PersonalCardIcon"] = "PersonalCardIcon";
|
|
58
|
+
IconMap["PlayMarketIcon"] = "PlayMarketIcon";
|
|
59
|
+
IconMap["PlusIcon"] = "PlusIcon";
|
|
60
|
+
IconMap["Profile2UserIcon"] = "Profile2UserIcon";
|
|
61
|
+
IconMap["ProfileIcon"] = "ProfileIcon";
|
|
62
|
+
IconMap["RoundRubleIcon"] = "RoundRubleIcon";
|
|
63
|
+
IconMap["SafeIcon"] = "SafeIcon";
|
|
64
|
+
IconMap["ShieldTickIcon"] = "ShieldTickIcon";
|
|
65
|
+
IconMap["SignDocsIcon"] = "SignDocsIcon";
|
|
66
|
+
IconMap["SmallClockIcon"] = "SmallClockIcon";
|
|
67
|
+
IconMap["TelegramIcon"] = "TelegramIcon";
|
|
68
|
+
IconMap["UnionPayIcon"] = "UnionPayIcon";
|
|
69
|
+
IconMap["UserTickIcon"] = "UserTickIcon";
|
|
70
|
+
IconMap["VisaIcon"] = "VisaIcon";
|
|
71
|
+
IconMap["VKIcon"] = "VKIcon";
|
|
72
|
+
IconMap["WalletAdd2Icon"] = "WalletAdd2Icon";
|
|
73
|
+
IconMap["WalletAddIcon"] = "WalletAddIcon";
|
|
74
|
+
IconMap["WalletIcon"] = "WalletIcon";
|
|
75
|
+
IconMap["WalletWithMoneyIcon"] = "WalletWithMoneyIcon";
|
|
76
|
+
})(IconMap = exports.IconMap || (exports.IconMap = {}));
|
|
77
|
+
//# sourceMappingURL=IconName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconName.js","sourceRoot":"","sources":["../../src/icons/IconName.ts"],"names":[],"mappings":"AACA,0BAA0B;;;AAE1B,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,kDAAuC,CAAA;IAAE,kCAAuB,CAAA;IAAE,8BAAmB,CAAA;IAAE,gCAAqB,CAAA;IAAE,oCAAyB,CAAA;IAAE,8CAAmC,CAAA;IAAE,0CAA+B,CAAA;IAAE,oDAAyC,CAAA;IAAE,wCAA6B,CAAA;IAAE,gDAAqC,CAAA;IAAE,kDAAuC,CAAA;IAAE,gCAAqB,CAAA;IAAE,sCAA2B,CAAA;IAAE,wCAA6B,CAAA;IAAE,8CAAmC,CAAA;IAAE,8CAAmC,CAAA;IAAE,kCAAuB,CAAA;IAAE,kCAAuB,CAAA;IAAE,sDAA2C,CAAA;IAAE,8CAAmC,CAAA;I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kIsHrefSameOrigin = (href, router) => (0, url_1.getOrigin)(href) === (0, url_1.getOrigin)(router.href);
|
|
5
|
+
exports.checkIsHrefSameOrigin = checkIsHrefSameOrigin;
|
|
6
|
+
//# sourceMappingURL=checkIsHrefSameOrigin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkIsHrefSameOrigin.js","sourceRoot":"","sources":["../../../src/services/sitemap/checkIsHrefSameOrigin.ts"],"names":[],"mappings":";;AAAA,yCAA4C;AAErC,MAAM,qBAAqB,GAAG,CACnC,IAAwB,EACxB,MAA4C,EAC5C,EAAE,CAAC,IAAA,eAAS,EAAC,IAAI,CAAC,KAAK,IAAA,eAAS,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAHnC,QAAA,qBAAqB,yBAGc"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.isTopItemActive = void 0;
|
|
3
|
+
const checkIsHrefSameOrigin_1 = require("./checkIsHrefSameOrigin");
|
|
3
4
|
const isHrefActive_1 = require("./isHrefActive");
|
|
4
5
|
const isSubItemActive_1 = require("./isSubItemActive");
|
|
5
|
-
const isTopItemActive = (router) => (topItem) => topItem.items?.some((0, isSubItemActive_1.isSubItemActive)(router)) ||
|
|
6
|
+
const isTopItemActive = (router) => (topItem) => topItem.items?.some((0, isSubItemActive_1.isSubItemActive)(router)) ||
|
|
7
|
+
(0, isHrefActive_1.isHrefActive)(topItem.href, router) ||
|
|
8
|
+
(0, checkIsHrefSameOrigin_1.checkIsHrefSameOrigin)(topItem.href, router);
|
|
6
9
|
exports.isTopItemActive = isTopItemActive;
|
|
7
10
|
//# sourceMappingURL=isTopItemActive.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isTopItemActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isTopItemActive.ts"],"names":[],"mappings":";;AACA,iDAA8C;AAC9C,uDAAoD;AAG7C,MAAM,eAAe,GAC1B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAC,OAAoB,EAAW,EAAE,CAChC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,IAAI,IAAA,
|
|
1
|
+
{"version":3,"file":"isTopItemActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isTopItemActive.ts"],"names":[],"mappings":";;AACA,mEAAgE;AAChE,iDAA8C;AAC9C,uDAAoD;AAG7C,MAAM,eAAe,GAC1B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAC,OAAoB,EAAW,EAAE,CAChC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC;IAC5C,IAAA,2BAAY,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;IAClC,IAAA,6CAAqB,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AALnC,QAAA,eAAe,mBAKoB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.mobileContext = exports.context = void 0;
|
|
3
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const DaDataAPI_1 = require("./api/DaDataAPI");
|
|
7
|
+
(0, uni_jsx_1.setup)(jsx_runtime_1.jsx, jsx_runtime_1.jsxs);
|
|
8
|
+
const TEST_ORIGIN = 'http://localhost:5001';
|
|
9
|
+
const DaData = (0, DaDataAPI_1.DaDataAPI)('https://10.80.4.9');
|
|
10
|
+
exports.context = {
|
|
11
|
+
useState: react_1.useState,
|
|
12
|
+
useRouter: () => ({
|
|
13
|
+
href: `${TEST_ORIGIN}/credits`,
|
|
14
|
+
pathname: '/credits',
|
|
15
|
+
query: {},
|
|
16
|
+
push: (url) => {
|
|
17
|
+
console.log(url);
|
|
18
|
+
},
|
|
19
|
+
}),
|
|
20
|
+
useAsyncData: (key, fetcher) => {
|
|
21
|
+
const [data, setData] = (0, react_1.useState)();
|
|
22
|
+
(0, react_1.useEffect)(() => {
|
|
23
|
+
fetcher().then((_) => {
|
|
24
|
+
setData(_);
|
|
25
|
+
});
|
|
26
|
+
}, [key, fetcher]);
|
|
27
|
+
return { data };
|
|
28
|
+
},
|
|
29
|
+
useGeolocation: (defaultLocation) => {
|
|
30
|
+
const [city, setCity] = (0, react_1.useState)(globalThis.localStorage.getItem('location') || defaultLocation);
|
|
31
|
+
const getCity = () => {
|
|
32
|
+
DaData.getFetcherAddress().then((_) => {
|
|
33
|
+
const location = _ || defaultLocation;
|
|
34
|
+
globalThis.localStorage.setItem('location', location);
|
|
35
|
+
setCity(location);
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
return [city, getCity];
|
|
39
|
+
},
|
|
40
|
+
useLikeService: () => ({
|
|
41
|
+
likeCount: 0,
|
|
42
|
+
like: () => {
|
|
43
|
+
console.log('like');
|
|
44
|
+
},
|
|
45
|
+
dislike: () => {
|
|
46
|
+
console.log('dislike');
|
|
47
|
+
},
|
|
48
|
+
}),
|
|
49
|
+
handlerDecorator: (handler, targetContent) => (ev) => {
|
|
50
|
+
ev.preventDefault();
|
|
51
|
+
console.log(ev.target, ev, targetContent);
|
|
52
|
+
},
|
|
53
|
+
useSearch: () => {
|
|
54
|
+
const [term, setTerm] = (0, react_1.useState)('');
|
|
55
|
+
return {
|
|
56
|
+
term,
|
|
57
|
+
setTerm: (text) => setTerm(text),
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
exports.mobileContext = {
|
|
62
|
+
...exports.context,
|
|
63
|
+
useRouter: () => ({
|
|
64
|
+
href: `${TEST_ORIGIN}/mobile/credits`,
|
|
65
|
+
pathname: '/mobile/credits',
|
|
66
|
+
query: {},
|
|
67
|
+
push: (url) => {
|
|
68
|
+
console.log(url);
|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AAI,EAAE,GAAG,WAAW,iBAAiB;QACrC,QAAQ,EAAE,iBAAiB;QAC3B,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;CACH,CAAC"}
|
|
@@ -5,11 +5,11 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
|
|
6
6
|
const TEXT_STYLE_MAP = {
|
|
7
7
|
primary: 'text-primary-text',
|
|
8
|
-
secondary: '
|
|
8
|
+
secondary: '',
|
|
9
9
|
};
|
|
10
10
|
const LIST_STYLE_MAP = {
|
|
11
11
|
primary: 'bg-primary-main',
|
|
12
|
-
secondary: 'bg-
|
|
12
|
+
secondary: 'bg-white',
|
|
13
13
|
};
|
|
14
14
|
exports.BlockItem = (0, uni_jsx_1.JSX)(({ className = '', isDotted = true, text, children, version = 'primary', white }) => {
|
|
15
15
|
return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted && (0, jsx_runtime_1.jsx)("div", { className: getListStyle(version, white) }), (0, jsx_runtime_1.jsx)("span", { className: white ? 'text-white' : TEXT_STYLE_MAP[version], children: text || children })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,EAAE;CACd,CAAC;AAEF,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;CACtB,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClF,OAAO,CACL,iCAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,IAAI,gCAAK,SAAS,EAAE,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,GAAI,EAC7D,iCAAM,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,IACtF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAqB,EAAE,KAAe,EAAE,EAAE;IAC9D,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAC3D,MAAM,IAAI,GACR,OAAO,KAAK,SAAS;QACnB,CAAC,CAAC,8BAA8B;QAChC,CAAC,CAAC,gDAAgD,CAAC;IAEvD,OAAO,GAAG,kBAAkB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;AAClD,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.Heading = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const HeadingClass = {
|
|
6
|
+
h1: 'text-m-title',
|
|
7
|
+
h2: 'text-m-title',
|
|
8
|
+
h3: 'text-m-title-md',
|
|
9
|
+
h4: 'text-m-title-xs',
|
|
10
|
+
h5: 'text-m-title-xs',
|
|
11
|
+
h6: 'text-m-title-xs',
|
|
12
|
+
};
|
|
13
|
+
exports.Heading = (0, uni_jsx_1.JSX)((props) => {
|
|
14
|
+
const { className, type, text } = props;
|
|
15
|
+
const Tag = type;
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(Tag, { className: `font-sans font-medium ${HeadingClass[type]} ${className || ''}`, children: text }));
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=Heading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,MAAM,YAAY,GAAyC;IACzD,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;CACtB,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,GAAG,GAAG,IAAI,CAAC;IAEjB,OAAO,CACL,uBAAC,GAAG,IAAC,SAAS,EAAE,yBAAyB,YAAY,CAAC,IAAI,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YAAG,IAAI,GAAO,CAC/F,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @title Тип заголовка
|
|
4
|
+
* @enumNames [
|
|
5
|
+
* "h1", "h2", "h3", "h4", "h5", "h6"
|
|
6
|
+
* ]
|
|
7
|
+
*/
|
|
8
|
+
export declare type HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
9
|
+
export interface HeadingProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
type: HeadingType;
|
|
12
|
+
text?: string;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=HeadingProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadingProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/HeadingProps.ts"],"names":[],"mappings":""}
|