@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
|
@@ -1,153 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
export declare enum IconMap {
|
|
5
|
-
'ActualBalanceIcon' = 0,
|
|
6
|
-
'AppleIcon' = 1,
|
|
7
|
-
'AtmIcon' = 2,
|
|
8
|
-
'BankIcon' = 3,
|
|
9
|
-
'BurgerIcon' = 4,
|
|
10
|
-
'BurgerIconWhite' = 5,
|
|
11
|
-
'Calendar2Icon' = 6,
|
|
12
|
-
'CalendarCircleIcon' = 7,
|
|
13
|
-
'CalendarIcon' = 8,
|
|
14
|
-
'CalendarTickIcon' = 9,
|
|
15
|
-
'CalendarWhiteIcon' = 10,
|
|
16
|
-
'CardIcon' = 11,
|
|
17
|
-
'CardPosIcon' = 12,
|
|
18
|
-
'CardTickIcon' = 13,
|
|
19
|
-
'CardWithGemIcon' = 14,
|
|
20
|
-
'ChartSquareIcon' = 15,
|
|
21
|
-
'ClockIcon' = 16,
|
|
22
|
-
'CloseIcon' = 17,
|
|
23
|
-
'ComfortableCompIcon' = 18,
|
|
24
|
-
'CreditCardsIcon' = 19,
|
|
25
|
-
'DocIcon' = 20,
|
|
26
|
-
'DocumentTextIcon' = 21,
|
|
27
|
-
'DollarIcon' = 22,
|
|
28
|
-
'EarthIcon' = 23,
|
|
29
|
-
'EmptyWalletChangeIcon' = 24,
|
|
30
|
-
'EmptyWalletIcon' = 25,
|
|
31
|
-
'EmptyWalletWhiteIcon' = 26,
|
|
32
|
-
'EuroIcon' = 27,
|
|
33
|
-
'GeolocationIcon' = 28,
|
|
34
|
-
'GlassIcon' = 29,
|
|
35
|
-
'GlobalIcon' = 30,
|
|
36
|
-
'GridIcon' = 31,
|
|
37
|
-
'GridIconWhite' = 32,
|
|
38
|
-
'InterestGrowthIcon' = 33,
|
|
39
|
-
'InterestIcon' = 34,
|
|
40
|
-
'JCBIcon' = 35,
|
|
41
|
-
'LoupeIcon' = 36,
|
|
42
|
-
'MasterCardIcon' = 37,
|
|
43
|
-
'MinusIcon' = 38,
|
|
44
|
-
'MirIcon' = 39,
|
|
45
|
-
'MoneyIcon' = 40,
|
|
46
|
-
'MoneyInsuranceIcon' = 41,
|
|
47
|
-
'MonitorMobileIcon' = 42,
|
|
48
|
-
'NewDocIcon' = 43,
|
|
49
|
-
'OfficeIcon' = 44,
|
|
50
|
-
'OkIcon' = 45,
|
|
51
|
-
'PassSendIcon' = 46,
|
|
52
|
-
'PercentageRoundIcon' = 47,
|
|
53
|
-
'PercentageSquareIcon' = 48,
|
|
54
|
-
'PercentageSquareWhiteIcon' = 49,
|
|
55
|
-
'PersonalCardIcon' = 50,
|
|
56
|
-
'PlayMarketIcon' = 51,
|
|
57
|
-
'PlusIcon' = 52,
|
|
58
|
-
'Profile2UserIcon' = 53,
|
|
59
|
-
'ProfileIcon' = 54,
|
|
60
|
-
'RoundRubleIcon' = 55,
|
|
61
|
-
'SafeIcon' = 56,
|
|
62
|
-
'ShieldTickIcon' = 57,
|
|
63
|
-
'SignDocsIcon' = 58,
|
|
64
|
-
'SmallClockIcon' = 59,
|
|
65
|
-
'TelegramIcon' = 60,
|
|
66
|
-
'UnionPayIcon' = 61,
|
|
67
|
-
'UserTickIcon' = 62,
|
|
68
|
-
'VisaIcon' = 63,
|
|
69
|
-
'VKIcon' = 64,
|
|
70
|
-
'WalletAddIcon' = 65,
|
|
71
|
-
'WalletAdd2Icon' = 66,
|
|
72
|
-
'WalletIcon' = 67,
|
|
73
|
-
'WalletWithMoneyIcon' = 68
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @title Иконка
|
|
77
|
-
* @enumNames [
|
|
78
|
-
* "Деньги",
|
|
79
|
-
* "Лого «Apple»",
|
|
80
|
-
* "Банкомат",
|
|
81
|
-
* "Банк",
|
|
82
|
-
* "Бургер",
|
|
83
|
-
* "Бургер (белый)",
|
|
84
|
-
* "Календарь 2",
|
|
85
|
-
* "Скруглённый календарь",
|
|
86
|
-
* "Календарь",
|
|
87
|
-
* "Календарь с галочкой",
|
|
88
|
-
* "Календарь белый",
|
|
89
|
-
* "Кред. карта",
|
|
90
|
-
* "Кред. карта под наклоном",
|
|
91
|
-
* "Кред. карта с галочкой",
|
|
92
|
-
* "Карта с драгоценностями",
|
|
93
|
-
* "Деньги внутри кошелька",
|
|
94
|
-
* "Часы",
|
|
95
|
-
* "Крестик",
|
|
96
|
-
* "Кресло",
|
|
97
|
-
* "Скидка",
|
|
98
|
-
* "Кредитные карты",
|
|
99
|
-
* "Огромная скидка",
|
|
100
|
-
* "Документ",
|
|
101
|
-
* "Документ с текстом",
|
|
102
|
-
* "Доллар",
|
|
103
|
-
* "Пустой кошелёк с возвратом",
|
|
104
|
-
* "Пустой кошелёк",
|
|
105
|
-
* "Пустой кошелёк (белый)",
|
|
106
|
-
* "Евро",
|
|
107
|
-
* "Геолокация",
|
|
108
|
-
* "Зеркало",
|
|
109
|
-
* "Глобус",
|
|
110
|
-
* "Сетка",
|
|
111
|
-
* "Сетка (белая)",
|
|
112
|
-
* "Диаграмма роста",
|
|
113
|
-
* "Скидка",
|
|
114
|
-
* "JCB",
|
|
115
|
-
* "Лупа",
|
|
116
|
-
* "MasterCard",
|
|
117
|
-
* "Минус",
|
|
118
|
-
* "МИР",
|
|
119
|
-
* "Деньги",
|
|
120
|
-
* "Денежное страхование",
|
|
121
|
-
* "Монитор и мобильный",
|
|
122
|
-
* "Новый документ",
|
|
123
|
-
* "Офис",
|
|
124
|
-
* "Лого «Одноклассники»",
|
|
125
|
-
* "Бизнес",
|
|
126
|
-
* "Проценты (круг.)",
|
|
127
|
-
* "Проценты",
|
|
128
|
-
* "Проценты белые",
|
|
129
|
-
* "Персональная карта",
|
|
130
|
-
* "Лого «PlayMarket»",
|
|
131
|
-
* "Плюс",
|
|
132
|
-
* "Профиль, 2 персоны",
|
|
133
|
-
* "Профиль",
|
|
134
|
-
* "Рубль (круг.)",
|
|
135
|
-
* "Сейф",
|
|
136
|
-
* "Безопасность",
|
|
137
|
-
* "Подписанные документы",
|
|
138
|
-
* "Маленькие часы",
|
|
139
|
-
* "Лого «Telegram»",
|
|
140
|
-
* "UnionPay",
|
|
141
|
-
* "Пользователь",
|
|
142
|
-
* "Visa",
|
|
143
|
-
* "Лого «VK»",
|
|
144
|
-
* "Пополнение карты",
|
|
145
|
-
* "Кошелёк с плюсом",
|
|
146
|
-
* "Кошелёк",
|
|
147
|
-
* "Кошелёк с деньгами",
|
|
148
|
-
* ]
|
|
149
|
-
*/
|
|
150
|
-
export declare type IconName = keyof typeof IconMap;
|
|
1
|
+
import type { IconName } from '../../icons/IconName';
|
|
2
|
+
export type { IconName };
|
|
151
3
|
export interface IconProps {
|
|
152
4
|
className?: string;
|
|
153
5
|
name: IconName;
|
|
@@ -1,78 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.IconMap = void 0;
|
|
3
|
-
/**
|
|
4
|
-
* Icons sorted by name
|
|
5
|
-
*/
|
|
6
|
-
var IconMap;
|
|
7
|
-
(function (IconMap) {
|
|
8
|
-
IconMap[IconMap["ActualBalanceIcon"] = 0] = "ActualBalanceIcon";
|
|
9
|
-
IconMap[IconMap["AppleIcon"] = 1] = "AppleIcon";
|
|
10
|
-
IconMap[IconMap["AtmIcon"] = 2] = "AtmIcon";
|
|
11
|
-
IconMap[IconMap["BankIcon"] = 3] = "BankIcon";
|
|
12
|
-
IconMap[IconMap["BurgerIcon"] = 4] = "BurgerIcon";
|
|
13
|
-
IconMap[IconMap["BurgerIconWhite"] = 5] = "BurgerIconWhite";
|
|
14
|
-
IconMap[IconMap["Calendar2Icon"] = 6] = "Calendar2Icon";
|
|
15
|
-
IconMap[IconMap["CalendarCircleIcon"] = 7] = "CalendarCircleIcon";
|
|
16
|
-
IconMap[IconMap["CalendarIcon"] = 8] = "CalendarIcon";
|
|
17
|
-
IconMap[IconMap["CalendarTickIcon"] = 9] = "CalendarTickIcon";
|
|
18
|
-
IconMap[IconMap["CalendarWhiteIcon"] = 10] = "CalendarWhiteIcon";
|
|
19
|
-
IconMap[IconMap["CardIcon"] = 11] = "CardIcon";
|
|
20
|
-
IconMap[IconMap["CardPosIcon"] = 12] = "CardPosIcon";
|
|
21
|
-
IconMap[IconMap["CardTickIcon"] = 13] = "CardTickIcon";
|
|
22
|
-
IconMap[IconMap["CardWithGemIcon"] = 14] = "CardWithGemIcon";
|
|
23
|
-
IconMap[IconMap["ChartSquareIcon"] = 15] = "ChartSquareIcon";
|
|
24
|
-
IconMap[IconMap["ClockIcon"] = 16] = "ClockIcon";
|
|
25
|
-
IconMap[IconMap["CloseIcon"] = 17] = "CloseIcon";
|
|
26
|
-
IconMap[IconMap["ComfortableCompIcon"] = 18] = "ComfortableCompIcon";
|
|
27
|
-
IconMap[IconMap["CreditCardsIcon"] = 19] = "CreditCardsIcon";
|
|
28
|
-
IconMap[IconMap["DocIcon"] = 20] = "DocIcon";
|
|
29
|
-
IconMap[IconMap["DocumentTextIcon"] = 21] = "DocumentTextIcon";
|
|
30
|
-
IconMap[IconMap["DollarIcon"] = 22] = "DollarIcon";
|
|
31
|
-
IconMap[IconMap["EarthIcon"] = 23] = "EarthIcon";
|
|
32
|
-
IconMap[IconMap["EmptyWalletChangeIcon"] = 24] = "EmptyWalletChangeIcon";
|
|
33
|
-
IconMap[IconMap["EmptyWalletIcon"] = 25] = "EmptyWalletIcon";
|
|
34
|
-
IconMap[IconMap["EmptyWalletWhiteIcon"] = 26] = "EmptyWalletWhiteIcon";
|
|
35
|
-
IconMap[IconMap["EuroIcon"] = 27] = "EuroIcon";
|
|
36
|
-
IconMap[IconMap["GeolocationIcon"] = 28] = "GeolocationIcon";
|
|
37
|
-
IconMap[IconMap["GlassIcon"] = 29] = "GlassIcon";
|
|
38
|
-
IconMap[IconMap["GlobalIcon"] = 30] = "GlobalIcon";
|
|
39
|
-
IconMap[IconMap["GridIcon"] = 31] = "GridIcon";
|
|
40
|
-
IconMap[IconMap["GridIconWhite"] = 32] = "GridIconWhite";
|
|
41
|
-
IconMap[IconMap["InterestGrowthIcon"] = 33] = "InterestGrowthIcon";
|
|
42
|
-
IconMap[IconMap["InterestIcon"] = 34] = "InterestIcon";
|
|
43
|
-
IconMap[IconMap["JCBIcon"] = 35] = "JCBIcon";
|
|
44
|
-
IconMap[IconMap["LoupeIcon"] = 36] = "LoupeIcon";
|
|
45
|
-
IconMap[IconMap["MasterCardIcon"] = 37] = "MasterCardIcon";
|
|
46
|
-
IconMap[IconMap["MinusIcon"] = 38] = "MinusIcon";
|
|
47
|
-
IconMap[IconMap["MirIcon"] = 39] = "MirIcon";
|
|
48
|
-
IconMap[IconMap["MoneyIcon"] = 40] = "MoneyIcon";
|
|
49
|
-
IconMap[IconMap["MoneyInsuranceIcon"] = 41] = "MoneyInsuranceIcon";
|
|
50
|
-
IconMap[IconMap["MonitorMobileIcon"] = 42] = "MonitorMobileIcon";
|
|
51
|
-
IconMap[IconMap["NewDocIcon"] = 43] = "NewDocIcon";
|
|
52
|
-
IconMap[IconMap["OfficeIcon"] = 44] = "OfficeIcon";
|
|
53
|
-
IconMap[IconMap["OkIcon"] = 45] = "OkIcon";
|
|
54
|
-
IconMap[IconMap["PassSendIcon"] = 46] = "PassSendIcon";
|
|
55
|
-
IconMap[IconMap["PercentageRoundIcon"] = 47] = "PercentageRoundIcon";
|
|
56
|
-
IconMap[IconMap["PercentageSquareIcon"] = 48] = "PercentageSquareIcon";
|
|
57
|
-
IconMap[IconMap["PercentageSquareWhiteIcon"] = 49] = "PercentageSquareWhiteIcon";
|
|
58
|
-
IconMap[IconMap["PersonalCardIcon"] = 50] = "PersonalCardIcon";
|
|
59
|
-
IconMap[IconMap["PlayMarketIcon"] = 51] = "PlayMarketIcon";
|
|
60
|
-
IconMap[IconMap["PlusIcon"] = 52] = "PlusIcon";
|
|
61
|
-
IconMap[IconMap["Profile2UserIcon"] = 53] = "Profile2UserIcon";
|
|
62
|
-
IconMap[IconMap["ProfileIcon"] = 54] = "ProfileIcon";
|
|
63
|
-
IconMap[IconMap["RoundRubleIcon"] = 55] = "RoundRubleIcon";
|
|
64
|
-
IconMap[IconMap["SafeIcon"] = 56] = "SafeIcon";
|
|
65
|
-
IconMap[IconMap["ShieldTickIcon"] = 57] = "ShieldTickIcon";
|
|
66
|
-
IconMap[IconMap["SignDocsIcon"] = 58] = "SignDocsIcon";
|
|
67
|
-
IconMap[IconMap["SmallClockIcon"] = 59] = "SmallClockIcon";
|
|
68
|
-
IconMap[IconMap["TelegramIcon"] = 60] = "TelegramIcon";
|
|
69
|
-
IconMap[IconMap["UnionPayIcon"] = 61] = "UnionPayIcon";
|
|
70
|
-
IconMap[IconMap["UserTickIcon"] = 62] = "UserTickIcon";
|
|
71
|
-
IconMap[IconMap["VisaIcon"] = 63] = "VisaIcon";
|
|
72
|
-
IconMap[IconMap["VKIcon"] = 64] = "VKIcon";
|
|
73
|
-
IconMap[IconMap["WalletAddIcon"] = 65] = "WalletAddIcon";
|
|
74
|
-
IconMap[IconMap["WalletAdd2Icon"] = 66] = "WalletAdd2Icon";
|
|
75
|
-
IconMap[IconMap["WalletIcon"] = 67] = "WalletIcon";
|
|
76
|
-
IconMap[IconMap["WalletWithMoneyIcon"] = 68] = "WalletWithMoneyIcon";
|
|
77
|
-
})(IconMap = exports.IconMap || (exports.IconMap = {}));
|
|
78
2
|
//# sourceMappingURL=IconProps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/IconProps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/IconProps.ts"],"names":[],"mappings":""}
|
|
@@ -19,6 +19,6 @@ const TEXT_COLOR = {
|
|
|
19
19
|
transparent: 'text-white',
|
|
20
20
|
};
|
|
21
21
|
exports.Logo = (0, uni_jsx_1.JSX)(({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', children: [(0, jsx_runtime_1.jsx)(SVG_1.SVG, { className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && ((0, jsx_runtime_1.jsx)("span", { className: `${TEXT_COLOR[bgColor]} text-sm font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [(0, jsx_runtime_1.jsx)(SVG_1.SVG, { className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && ((0, jsx_runtime_1.jsx)("span", { className: `${TEXT_COLOR[bgColor]} text-sm font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
|
|
23
23
|
});
|
|
24
24
|
//# sourceMappingURL=Logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gCAA6B;AAU7B,MAAM,UAAU,GAAG;IACjB,w5CAAw5C;IACx5C,2OAA2O;IAC3O,0JAA0J;IAC1J,gpBAAgpB;IAChpB,kDAAkD;CACnD,CAAC;AACF,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,+BACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gCAA6B;AAU7B,MAAM,UAAU,GAAG;IACjB,w5CAAw5C;IACx5C,2OAA2O;IAC3O,0JAA0J;IAC1J,gpBAAgpB;IAChpB,kDAAkD;CACnD,CAAC;AACF,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,+BACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,uBAAC,SAAG,IACF,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAChD,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GACrC,EACD,CAAC,SAAS,IAAI,CACb,iCAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,6BAA6B,YACjE,QAAQ,IAAI,gBAAgB,GACxB,CACR,IACC,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.SwipeListControl = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const getScrollPoints_1 = require("./utils/getScrollPoints");
|
|
6
|
+
const getIndexParts_1 = require("./utils/getIndexParts");
|
|
7
|
+
const SwipeListControlList_1 = require("./SwipeListControlList");
|
|
8
|
+
const SwipeListControlDots_1 = require("./SwipeListControlDots");
|
|
9
|
+
const constants_1 = require("./constants");
|
|
10
|
+
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className, context, children, gap = constants_1.DEFAULT_GAP, padding = constants_1.DEFAULT_PADDING, showDots = true, }) => {
|
|
11
|
+
const [activeIndex, setActiveIndex] = context.useState(0);
|
|
12
|
+
const [indexFraction, setIndexFraction] = context.useState(0);
|
|
13
|
+
const handleScroll = (e) => {
|
|
14
|
+
const { scrollLeft, clientWidth, childElementCount, scrollWidth, children } = e.currentTarget;
|
|
15
|
+
// horizontal PADDING / 2 to compensate padding-margin combo of child container
|
|
16
|
+
// without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
|
|
17
|
+
const itemWidth = children[0].offsetWidth - padding / 2;
|
|
18
|
+
const scrollPoints = (0, getScrollPoints_1.getScrollPoints)({
|
|
19
|
+
gap,
|
|
20
|
+
padding,
|
|
21
|
+
clientWidth,
|
|
22
|
+
scrollWidth,
|
|
23
|
+
childElementCount,
|
|
24
|
+
itemWidth,
|
|
25
|
+
});
|
|
26
|
+
const { index, fraction } = (0, getIndexParts_1.getIndexParts)(scrollLeft, scrollPoints);
|
|
27
|
+
setActiveIndex(index);
|
|
28
|
+
setIndexFraction(fraction);
|
|
29
|
+
};
|
|
30
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)(SwipeListControlList_1.SwipeListControlList, { gap: gap, padding: padding, activeIndex: activeIndex, onScroll: handleScroll, children: children }), (0, jsx_runtime_1.jsx)(SwipeListControlDots_1.SwipeListControlDots, { activeIndex: activeIndex, indexFraction: indexFraction, showDots: showDots, children: children })] }));
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=SwipeListControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,yDAAsD;AACtD,iEAA8D;AAC9D,iEAA8D;AAC9D,2CAA2D;AAE9C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,EACzB,QAAQ,GAAG,IAAI,GAChB,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,CAAC,CAAC,CAAC;IAEtE,MAAM,YAAY,GAAG,CAAC,CAAU,EAAE,EAAE;QAClC,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,QAAQ,EAAE,GACzE,CAAC,CAAC,aAA4B,CAAC;QAEjC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,QAAQ,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACzE,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAA,6BAAa,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,uBAAC,2CAAoB,IACnB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,GACY,IACnB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SwipeListControlDotsProps {
|
|
2
|
+
activeIndex: number;
|
|
3
|
+
indexFraction: number;
|
|
4
|
+
showDots?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const SwipeListControlDots: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlDotsProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.SwipeListControlDots = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const DOT_STYLES = 'bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full';
|
|
6
|
+
const BASE_DOT_WIDTH = 6;
|
|
7
|
+
const ACTIVE_DOT_WIDTH_CHANGE = 16;
|
|
8
|
+
const BASE_DOT_OPACITY = 0.3;
|
|
9
|
+
const ACTIVE_DOT_OPACITY_CHANGE = 0.7;
|
|
10
|
+
exports.SwipeListControlDots = (0, uni_jsx_1.JSX)(({ children, activeIndex, indexFraction, showDots }) => {
|
|
11
|
+
return showDots && children?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex gap-2 mx-auto mt-[22px] w-fit", children: children?.map((_, idx) => ((0, jsx_runtime_1.jsx)("div", { className: `${DOT_STYLES}`, style: getDotStyles(idx, activeIndex, indexFraction), "aria-hidden": true }, String(idx)))) })) : null;
|
|
12
|
+
});
|
|
13
|
+
const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
|
|
14
|
+
if (currentIdx < activeIndex || currentIdx > activeIndex + 1)
|
|
15
|
+
return null;
|
|
16
|
+
const leftIndexMod = 1 - indexFraction;
|
|
17
|
+
const rightIndexMod = indexFraction;
|
|
18
|
+
return currentIdx === activeIndex
|
|
19
|
+
? {
|
|
20
|
+
opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * leftIndexMod}`,
|
|
21
|
+
width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * leftIndexMod}px`,
|
|
22
|
+
}
|
|
23
|
+
: {
|
|
24
|
+
opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * rightIndexMod}`,
|
|
25
|
+
width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * rightIndexMod}px`,
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=SwipeListControlDots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQzB,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,OAAO,QAAQ,IAAI,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACpC,gCAAK,SAAS,EAAC,oCAAoC,YAChD,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACzB,gCAEE,SAAS,EAAE,GAAG,UAAU,EAAE,EAC1B,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,yBAF/C,MAAM,CAAC,GAAG,CAAC,CAIhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACU,EAAE;IACjC,IAAI,UAAU,GAAG,WAAW,IAAI,UAAU,GAAG,WAAW,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAE1E,MAAM,YAAY,GAAG,CAAC,GAAG,aAAa,CAAC;IACvC,MAAM,aAAa,GAAG,aAAa,CAAC;IAEpC,OAAO,UAAU,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Элемент списка
|
|
3
|
+
*/
|
|
4
|
+
export interface SwipeListControlItemProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: Record<string, string>;
|
|
7
|
+
'aria-current'?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const SwipeListControlItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlItemProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.SwipeListControlItem = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
exports.SwipeListControlItem = (0, uni_jsx_1.JSX)(({ className = '', children, ...rest }) => {
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `snap-center snap-always min-w-full ${className}`, role: "listitem", ...rest, children: children }));
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=SwipeListControlItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeListControlItem.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAW3B,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,gCAAK,SAAS,EAAE,sCAAsC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,KAAK,IAAI,YACxF,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SwipeContainer } from './SwipeListControlProps';
|
|
2
|
+
/**
|
|
3
|
+
* @title Список
|
|
4
|
+
*/
|
|
5
|
+
export interface SwipeListControlListProps extends SwipeContainer {
|
|
6
|
+
className?: string;
|
|
7
|
+
activeIndex: number;
|
|
8
|
+
onScroll?: (e: UIEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const SwipeListControlList: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlListProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.SwipeListControlList = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const SwipeListControlItem_1 = require("./SwipeListControlItem");
|
|
6
|
+
const getContainerStyle_1 = require("./utils/getContainerStyle");
|
|
7
|
+
const constants_1 = require("./constants");
|
|
8
|
+
exports.SwipeListControlList = (0, uni_jsx_1.JSX)(({ className = '', children, activeIndex, onScroll, gap = constants_1.DEFAULT_GAP, padding = constants_1.DEFAULT_PADDING, }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...(0, getContainerStyle_1.getContainerStyle)(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => ((0, jsx_runtime_1.jsx)(SwipeListControlItem_1.SwipeListControlItem, { style: (0, getContainerStyle_1.getContainerStyle)(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : ((0, jsx_runtime_1.jsx)(SwipeListControlItem_1.SwipeListControlItem, { children: children })) }));
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=SwipeListControlList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAC9D,iEAA8D;AAC9D,2CAA2D;AAY9C,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,gCACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,IAAA,qCAAiB,EAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,uBAAC,2CAAoB,IAEnB,KAAK,EAAE,IAAA,qCAAiB,EAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,2CAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* @title Контейнер
|
|
4
|
+
*/
|
|
5
|
+
export interface SwipeContainer {
|
|
6
|
+
/** @title Расстояние между элементами */
|
|
7
|
+
gap?: number;
|
|
8
|
+
/** @title Отступы */
|
|
9
|
+
padding?: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @title Swipe-контроллер
|
|
13
|
+
*/
|
|
14
|
+
export interface SwipeListControlProps extends SwipeContainer, UniBlockProps {
|
|
15
|
+
/** @title Точки-индикаторы */
|
|
16
|
+
showDots?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeListControlProps.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.DEFAULT_PADDING = exports.DEFAULT_GAP = void 0;
|
|
3
|
+
// column-gap between children of SwipeListControl container
|
|
4
|
+
exports.DEFAULT_GAP = 14;
|
|
5
|
+
/*
|
|
6
|
+
Horizontal padding used on a container above SwipeListControl.
|
|
7
|
+
Same value used on a SwipeListControlChildren container to compensate it
|
|
8
|
+
and get rid of a clipping effect caused by overflow: hidden.
|
|
9
|
+
*/
|
|
10
|
+
exports.DEFAULT_PADDING = 16;
|
|
11
|
+
// Classes used to compensate outer container padding, so that child elements won't be clipped
|
|
12
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/constants.ts"],"names":[],"mappings":";;AAAA,4DAA4D;AAC/C,QAAA,WAAW,GAAG,EAAE,CAAC;AAC9B;;;;GAIG;AACU,QAAA,eAAe,GAAG,EAAE,CAAC;AAElC,8FAA8F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getContainerStyle: (padding: number) => Record<string, string>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getContainerStyle = void 0;
|
|
3
|
+
// styles used to compensate outer container padding to get rid of clipping effect
|
|
4
|
+
const getContainerStyle = (padding) => {
|
|
5
|
+
return {
|
|
6
|
+
marginLeft: `${-padding}px`,
|
|
7
|
+
marginRight: `${-padding}px`,
|
|
8
|
+
paddingLeft: `${padding}px`,
|
|
9
|
+
paddingRight: `${padding}px`,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.getContainerStyle = getContainerStyle;
|
|
13
|
+
//# sourceMappingURL=getContainerStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContainerStyle.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getContainerStyle.ts"],"names":[],"mappings":";;AAAA,kFAAkF;AAC3E,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAA0B,EAAE;IAC3E,OAAO;QACL,UAAU,EAAE,GAAG,CAAC,OAAO,IAAI;QAC3B,WAAW,EAAE,GAAG,CAAC,OAAO,IAAI;QAC5B,WAAW,EAAE,GAAG,OAAO,IAAI;QAC3B,YAAY,EAAE,GAAG,OAAO,IAAI;KAC7B,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,iBAAiB,qBAO5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getIndexParts = void 0;
|
|
3
|
+
/*
|
|
4
|
+
Returns object containing whole index part, and it's decimal part for a given
|
|
5
|
+
scrollLeft value of a container and an array of tuple containing values of a
|
|
6
|
+
start and end boundaries of a scrollable child, right boundary non-inclusive.
|
|
7
|
+
Returns object with index equal -1 and fraction equal 0 if scrollLeft is outside given scrollPoints
|
|
8
|
+
*/
|
|
9
|
+
const getIndexParts = (scrollLeft, scrollPoints) => {
|
|
10
|
+
const index = scrollPoints.findIndex(([start, end]) => start <= scrollLeft && scrollLeft < end);
|
|
11
|
+
if (index < 0)
|
|
12
|
+
return { index, fraction: 0 };
|
|
13
|
+
const [start, end] = scrollPoints[index];
|
|
14
|
+
const fraction = (scrollLeft - start) / (end - start);
|
|
15
|
+
return { index, fraction };
|
|
16
|
+
};
|
|
17
|
+
exports.getIndexParts = getIndexParts;
|
|
18
|
+
//# sourceMappingURL=getIndexParts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIndexParts.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getIndexParts.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACI,MAAM,aAAa,GAAG,CAC3B,UAAkB,EAClB,YAAgC,EAIhC,EAAE;IACF,MAAM,KAAK,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,KAAK,IAAI,UAAU,IAAI,UAAU,GAAG,GAAG,CAAC,CAAC;IAChG,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;IAE7C,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,QAAQ,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC;IACtD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC7B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const getScrollPoints: ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }: {
|
|
2
|
+
gap: number;
|
|
3
|
+
padding: number;
|
|
4
|
+
clientWidth: number;
|
|
5
|
+
scrollWidth: number;
|
|
6
|
+
childElementCount: number;
|
|
7
|
+
itemWidth: number;
|
|
8
|
+
}) => [number, number][];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getScrollPoints = void 0;
|
|
3
|
+
/*
|
|
4
|
+
Calculates array of breakpoints for each scrollable element in container.
|
|
5
|
+
Returns array of tuples consisting of [start, end] boundary scrollLeft values.
|
|
6
|
+
*/
|
|
7
|
+
const getScrollPoints = ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }) => {
|
|
8
|
+
const scrollItemWidth = itemWidth + gap;
|
|
9
|
+
const scrollableDistance = scrollWidth - clientWidth;
|
|
10
|
+
const edgeScrollDistance = clientWidth - gap - padding;
|
|
11
|
+
const lastScrollableIdx = childElementCount - 2;
|
|
12
|
+
const scrollPoints = new Array(childElementCount)
|
|
13
|
+
.fill(0)
|
|
14
|
+
.map((_, idx) => idx === 0 || idx === lastScrollableIdx
|
|
15
|
+
? [
|
|
16
|
+
idx > 0 ? scrollableDistance - edgeScrollDistance : 0,
|
|
17
|
+
idx > 0 ? scrollableDistance : edgeScrollDistance,
|
|
18
|
+
]
|
|
19
|
+
: [
|
|
20
|
+
(idx - 1) * scrollItemWidth + edgeScrollDistance,
|
|
21
|
+
idx * scrollItemWidth + edgeScrollDistance,
|
|
22
|
+
]);
|
|
23
|
+
scrollPoints[childElementCount - 1] = [scrollableDistance, scrollWidth];
|
|
24
|
+
return scrollPoints;
|
|
25
|
+
};
|
|
26
|
+
exports.getScrollPoints = getScrollPoints;
|
|
27
|
+
//# sourceMappingURL=getScrollPoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScrollPoints.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getScrollPoints.ts"],"names":[],"mappings":";;AAAA;;;EAGE;AACK,MAAM,eAAe,GAAG,CAAC,EAC9B,GAAG,EACH,OAAO,EACP,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,GAQV,EAAE,EAAE;IACH,MAAM,eAAe,GAAG,SAAS,GAAG,GAAG,CAAC;IACxC,MAAM,kBAAkB,GAAG,WAAW,GAAG,WAAW,CAAC;IACrD,MAAM,kBAAkB,GAAG,WAAW,GAAG,GAAG,GAAG,OAAO,CAAC;IAEvD,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,CAAC,CAAC;IAChD,MAAM,YAAY,GAAuB,IAAI,KAAK,CAAC,iBAAiB,CAAC;SAClE,IAAI,CAAC,CAAC,CAAC;SACP,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CACd,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,iBAAiB;QACpC,CAAC,CAAC;YACE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;YACrD,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,kBAAkB;SAClD;QACH,CAAC,CAAC;YACE,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,eAAe,GAAG,kBAAkB;YAChD,GAAG,GAAG,eAAe,GAAG,kBAAkB;SAC3C,CACN,CAAC;IACJ,YAAY,CAAC,iBAAiB,GAAG,CAAC,CAAC,GAAG,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;IAExE,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AApCW,QAAA,eAAe,mBAoC1B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
4
4
|
import { AccordionItem } from './AccordionItem.js';
|
|
5
5
|
export const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered }) => {
|
|
6
|
-
return (_jsxs("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ?
|
|
6
|
+
return (_jsxs("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ? _jsx(Heading, { type: "h3", className: "mb-2 text-center", text: title }) : null, description ? _jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (_jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (_jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
|
|
7
7
|
});
|
|
8
8
|
//# sourceMappingURL=Accordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,mBACE,SAAS,EAAE,6CACT,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACtB,IAAI,SAAS,EAAE,aAEd,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,IAAI,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,aAAI,SAAS,EAAC,mBAAmB,YAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,KAAC,aAAa,OAER,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAHb,gBAAgB,CAAC,EAAE,CAIxB,CACH,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
4
4
|
import { BaseTileInner } from './BaseTileInner.js';
|
|
5
|
-
import {
|
|
5
|
+
import { getHeadingType } from './getHeadingType.js';
|
|
6
6
|
const alignBlock = {
|
|
7
7
|
left: 'items-start',
|
|
8
8
|
center: 'items-center',
|
|
9
9
|
right: 'items-end',
|
|
10
10
|
};
|
|
11
11
|
const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
|
|
12
|
-
export const BaseTile = JSX(({ className, context, title,
|
|
13
|
-
return (_jsxs("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && (_jsx(
|
|
12
|
+
export const BaseTile = JSX(({ className, context, title, headingType, description, children, buttons, image, items, version = 'primary', align = 'left', }) => {
|
|
13
|
+
return (_jsxs("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && (_jsx(Heading, { type: headingType || getHeadingType(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, text: title })), _jsx(BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=BaseTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAIF,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,KAAK,GAAG,MAAM,GACf,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,uCAAuC,UAAU,CAAC,KAAK,CAAC,EAAE,aACvE,KAAK,IAAI,CACR,KAAC,OAAO,IACN,IAAI,EAAE,WAAW,IAAI,cAAc,CAAC,SAAS,CAAC,EAC9C,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,EACjF,IAAI,EAAE,KAAK,GACX,CACH,EACD,KAAC,aAAa,IACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|