@redneckz/wildless-cms-uni-blocks 0.2.116 → 0.3.2
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 +356 -286
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/dist/components/Accordion/AccordionBlocks.js +8 -0
- package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +30 -18
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +2 -5
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
- package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
- package/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/dist/components/BaseTile/getTileMinHeight.js +17 -0
- package/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/dist/components/BaseTile/getTileRightPadding.js +17 -0
- package/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- 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/ContentPage/ContentPage.js +2 -4
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
- package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
- package/dist/components/ContentPage/normalizeBlock.js +9 -0
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
- package/dist/components/ContentPage/normalizePage.d.ts +2 -0
- package/dist/components/ContentPage/normalizePage.js +28 -0
- package/dist/components/ContentPage/normalizePage.js.map +1 -0
- package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
- package/dist/components/ContentPage/normalizePage.mobile.js +30 -0
- package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/dist/components/Gallery/Gallery.mobile.js +18 -7
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +4 -4
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +4 -5
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +8 -3
- package/dist/components/Gallery/GalleryInner.js +1 -1
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Gallery/constants.js +2 -2
- package/dist/components/Gallery/constants.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- 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 -6
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
- package/dist/components/PictureText/PictureText.js +4 -4
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
- package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/dist/components/ProductTile/ProductTile.js +14 -4
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/dist/components/PromoTile/PromoTile.js +12 -3
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -1
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/dist/components/Tile/Tile.js +10 -27
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +9 -2
- package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/dist/content-page-repository/ContentPageRepository.js +0 -10
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/icons/IconName.d.ts +3 -2
- package/dist/icons/IconName.js +1 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/dist/ui-kit/BlockItem/BlockItem.js +8 -9
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +0 -2
- package/dist/ui-kit/Button/Button.js +24 -13
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/dist/ui-kit/Button/Button.mobile.js +6 -8
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/dist/ui-kit/Button/ButtonInner.js +16 -0
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
- package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/dist/ui-kit/Button/ButtonSection.js +18 -0
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
- package/dist/ui-kit/Description/Description.d.ts +2 -0
- package/dist/ui-kit/Description/Description.js +9 -0
- package/dist/ui-kit/Description/Description.js.map +1 -0
- package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/dist/ui-kit/Description/DescriptionProps.js +2 -0
- package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/dist/ui-kit/Heading/Heading.d.ts +4 -1
- package/dist/ui-kit/Heading/Heading.js +7 -4
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +4 -1
- package/dist/ui-kit/Heading/Heading.mobile.js +6 -3
- package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/{lib/ui-kit/Heading/HeadingProps.d.ts → dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
- package/dist/ui-kit/Heading/HeadingContent.js +2 -0
- package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/dist/ui-kit/Icon/Icon.js +6 -2
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +6 -0
- package/dist/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
- package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
- package/dist/ui-kit/Img/Img.js.map +1 -0
- package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
- package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
- package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
- package/dist/ui-kit/{Heading/HeadingProps.js → Img/ImgProps.js} +1 -1
- package/dist/ui-kit/Img/ImgProps.js.map +1 -0
- package/dist/ui-kit/List/List.d.ts +2 -0
- package/dist/ui-kit/List/List.js +12 -0
- package/dist/ui-kit/List/List.js.map +1 -0
- package/dist/ui-kit/List/ListContent.d.ts +4 -0
- package/{mobile/dist/ui-kit/Heading/HeadingProps.js → dist/ui-kit/List/ListContent.js} +1 -1
- package/dist/ui-kit/List/ListContent.js.map +1 -0
- package/dist/ui-kit/List/ListItem.d.ts +11 -0
- package/dist/ui-kit/List/ListItem.js +23 -0
- package/dist/ui-kit/List/ListItem.js.map +1 -0
- package/dist/ui-kit/List/ListProps.d.ts +14 -0
- package/dist/ui-kit/List/ListProps.js +2 -0
- package/dist/ui-kit/List/ListProps.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +1 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/lib/components/Accordion/AccordionBlocks.js +8 -0
- package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +30 -18
- package/lib/components/Accordion/AccordionItem.js +1 -1
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +2 -5
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
- package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
- package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/lib/components/BaseTile/getTileMinHeight.js +14 -0
- package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/lib/components/BaseTile/getTileRightPadding.js +14 -0
- package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- 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/ContentPage/ContentPage.js +2 -4
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
- package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
- package/lib/components/ContentPage/normalizeBlock.js +6 -0
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
- package/lib/components/ContentPage/normalizePage.d.ts +2 -0
- package/lib/components/ContentPage/normalizePage.js +25 -0
- package/lib/components/ContentPage/normalizePage.js.map +1 -0
- package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
- package/lib/components/ContentPage/{toMobilePage.js → normalizePage.mobile.js} +11 -15
- package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
- package/lib/components/Gallery/Gallery.mobile.js +18 -7
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +4 -4
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +5 -6
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +8 -3
- package/lib/components/Gallery/GalleryInner.js +1 -1
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/Gallery/constants.js +2 -2
- package/lib/components/Gallery/constants.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- 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 -6
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
- package/lib/components/PictureText/PictureText.js +4 -4
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
- package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
- package/lib/components/ProductTile/ProductTile.js +14 -4
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/lib/components/PromoTile/PromoTile.js +12 -3
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -1
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/lib/components/Tile/Tile.fixture.d.ts +2 -0
- package/lib/components/Tile/Tile.js +11 -28
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +9 -2
- package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/lib/content-page-repository/ContentPageRepository.js +0 -10
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/icons/IconName.d.ts +3 -2
- package/lib/icons/IconName.js +1 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +1 -1
- package/lib/types.d.ts +5 -5
- package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/lib/ui-kit/BlockItem/BlockItem.js +8 -9
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +0 -2
- package/lib/ui-kit/Button/Button.js +23 -12
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/lib/ui-kit/Button/Button.mobile.js +6 -8
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/lib/ui-kit/Button/ButtonInner.js +14 -0
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
- package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/lib/ui-kit/Button/ButtonSection.js +16 -0
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
- package/lib/ui-kit/Description/Description.d.ts +2 -0
- package/lib/ui-kit/Description/Description.js +7 -0
- package/lib/ui-kit/Description/Description.js.map +1 -0
- package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/lib/ui-kit/Description/DescriptionProps.js +2 -0
- package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/lib/ui-kit/Heading/Heading.d.ts +4 -1
- package/lib/ui-kit/Heading/Heading.js +7 -4
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +4 -1
- package/lib/ui-kit/Heading/Heading.mobile.js +6 -3
- package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
- package/{mobile/dist/ui-kit/Heading/HeadingProps.d.ts → lib/ui-kit/Heading/HeadingContent.d.ts} +6 -4
- package/lib/ui-kit/Heading/HeadingContent.js +2 -0
- package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
- package/lib/ui-kit/Icon/Icon.js +6 -2
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +6 -0
- package/{mobile/dist/ui-kit → lib/ui-kit/Img}/Img.d.ts +1 -1
- package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
- package/lib/ui-kit/Img/Img.js.map +1 -0
- package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
- package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
- package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
- package/lib/ui-kit/Img/ImgProps.js +2 -0
- package/lib/ui-kit/Img/ImgProps.js.map +1 -0
- package/lib/ui-kit/List/List.d.ts +2 -0
- package/lib/ui-kit/List/List.js +10 -0
- package/lib/ui-kit/List/List.js.map +1 -0
- package/lib/ui-kit/List/ListContent.d.ts +4 -0
- package/lib/ui-kit/List/ListContent.js +2 -0
- package/lib/ui-kit/List/ListContent.js.map +1 -0
- package/lib/ui-kit/List/ListItem.d.ts +11 -0
- package/lib/ui-kit/List/ListItem.js +21 -0
- package/lib/ui-kit/List/ListItem.js.map +1 -0
- package/lib/ui-kit/List/ListProps.d.ts +14 -0
- package/lib/ui-kit/List/ListProps.js +2 -0
- package/lib/ui-kit/List/ListProps.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +346 -200
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/mobile/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
- package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
- package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- 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/ContentPage/ContentPage.js +2 -4
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
- package/mobile/dist/components/ContentPage/normalizePage.js +30 -0
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/mobile/dist/components/Gallery/Gallery.js +18 -7
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +4 -4
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +4 -5
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
- package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/Gallery/constants.js +2 -2
- package/mobile/dist/components/Gallery/constants.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.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 -6
- package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
- package/mobile/dist/components/PictureText/PictureText.js +4 -4
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/mobile/dist/components/Tile/Tile.js +10 -27
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +3 -2
- package/mobile/dist/icons/IconName.js +1 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/index.d.ts +1 -1
- package/mobile/dist/index.js +3 -3
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +1 -1
- package/mobile/dist/types.d.ts +5 -5
- package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +8 -9
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/Button.js +6 -8
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
- package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
- package/mobile/dist/ui-kit/Description/Description.js +9 -0
- package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
- package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +4 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +6 -3
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/{dist/ui-kit/Heading/HeadingProps.d.ts → mobile/dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
- package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
- package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -0
- package/{lib/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
- package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
- package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.d.ts +2 -0
- package/mobile/dist/ui-kit/List/List.js +12 -0
- package/mobile/dist/ui-kit/List/List.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
- package/mobile/dist/ui-kit/List/ListContent.js +2 -0
- package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
- package/mobile/dist/ui-kit/List/ListItem.js +23 -0
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
- package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
- package/mobile/dist/ui-kit/List/ListProps.js +2 -0
- package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +1 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/mobile/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
- package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
- package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
- package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- 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/ContentPage/ContentPage.js +2 -4
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
- package/mobile/lib/components/ContentPage/{toMobilePage.js → normalizePage.js} +11 -15
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
- package/mobile/lib/components/Gallery/Gallery.js +18 -7
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +4 -4
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +5 -6
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
- package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/Gallery/constants.js +2 -2
- package/mobile/lib/components/Gallery/constants.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.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 -6
- package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
- package/mobile/lib/components/PictureText/PictureText.js +4 -4
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
- package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
- package/mobile/lib/components/Tile/Tile.js +11 -28
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
- package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +3 -2
- package/mobile/lib/icons/IconName.js +1 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/index.d.ts +1 -1
- package/mobile/lib/index.js +1 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +1 -1
- package/mobile/lib/types.d.ts +5 -5
- package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +8 -9
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/Button.js +6 -8
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
- package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
- package/mobile/lib/ui-kit/Description/Description.js +7 -0
- package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
- package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +4 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +6 -3
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/{HeadingProps.d.ts → HeadingContent.d.ts} +6 -4
- package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
- package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -0
- package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
- package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
- package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.d.ts +2 -0
- package/mobile/lib/ui-kit/List/List.js +10 -0
- package/mobile/lib/ui-kit/List/List.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
- package/mobile/lib/ui-kit/List/ListContent.js +2 -0
- package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
- package/mobile/lib/ui-kit/List/ListItem.js +21 -0
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
- package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
- package/mobile/lib/ui-kit/List/ListProps.js +2 -0
- package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
- package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +11 -41
- package/mobile/src/components/BaseTile/BaseTileProps.ts +5 -7
- package/{src/components/BaseTile/getHeadingType.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +1 -1
- package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
- package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -2
- package/mobile/src/components/ContentPage/ContentPage.page.json +1620 -133
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
- package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
- package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
- package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
- package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +13 -14
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/mobile/src/components/Gallery/Gallery.tsx +57 -38
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -11
- package/mobile/src/components/Gallery/GalleryContainer.tsx +8 -9
- package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
- package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
- package/mobile/src/components/Gallery/constants.ts +2 -2
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
- package/mobile/src/components/Headline/Headline.tsx +2 -2
- package/mobile/src/components/Headline/HeadlineContent.ts +11 -9
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +10 -6
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
- package/mobile/src/components/PictureText/PictureText.tsx +4 -3
- package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -10
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
- package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
- package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
- package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +5 -1
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
- package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
- package/mobile/src/components/Tile/Tile.tsx +46 -27
- package/mobile/src/components/Tile/TileContent.ts +13 -2
- package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
- package/mobile/src/icons/ActualBalanceIcon.svg +0 -2
- package/mobile/src/icons/AtmIcon.svg +5 -5
- package/mobile/src/icons/BankIcon.svg +9 -9
- 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 +0 -2
- package/mobile/src/icons/CloseIcon.svg +1 -1
- package/mobile/src/icons/ComfortableCompIcon.svg +0 -2
- package/mobile/src/icons/CreditCardsIcon.svg +1 -1
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
- package/mobile/src/icons/DocIcon.svg +4 -4
- package/mobile/src/icons/DocIconMonoColor.svg +5 -0
- package/mobile/src/icons/DocumentTextIcon.svg +3 -3
- package/mobile/src/icons/DollarIcon.svg +1 -1
- package/mobile/src/icons/EarthIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/mobile/src/icons/EuroIcon.svg +1 -1
- package/mobile/src/icons/GeolocationIcon.svg +3 -3
- package/mobile/src/icons/GlobalIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +3 -3
- 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/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 +0 -2
- package/mobile/src/icons/OfficeIcon.svg +1 -1
- package/mobile/src/icons/OkIcon.svg +1 -1
- package/mobile/src/icons/PassSendIcon.svg +0 -2
- 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/PlusIcon.svg +1 -1
- package/mobile/src/icons/Profile2UserIcon.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 +0 -2
- package/mobile/src/icons/SmallClockIcon.svg +1 -1
- package/mobile/src/icons/TelegramIcon.svg +2 -1
- package/mobile/src/icons/UnionPayIcon.svg +1 -1
- package/mobile/src/icons/UserTickIcon.svg +1 -1
- package/mobile/src/icons/VKIcon.svg +2 -1
- package/mobile/src/icons/VisaIcon.svg +1 -1
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
- package/mobile/src/icons/WalletAddIcon.svg +1 -1
- package/mobile/src/icons/WalletIcon.svg +1 -1
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/mobile/src/index.ts +1 -1
- package/mobile/src/model/ButtonVersion.ts +1 -1
- package/mobile/src/types.ts +6 -5
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
- package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +11 -24
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
- package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
- package/mobile/src/ui-kit/Description/Description.tsx +8 -0
- package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
- package/mobile/src/ui-kit/Heading/Heading.tsx +14 -5
- package/mobile/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
- package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
- package/mobile/src/ui-kit/Icon/IconProps.ts +7 -0
- package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
- package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
- package/mobile/src/ui-kit/List/List.tsx +24 -0
- package/mobile/src/ui-kit/List/ListContent.ts +4 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
- package/mobile/src/ui-kit/List/ListProps.ts +16 -0
- package/package.json +4 -4
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -8
- package/src/components/Accordion/Accordion.fixture.tsx +52 -8
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Accordion/AccordionBlocks.tsx +8 -0
- package/src/components/Accordion/AccordionContent.ts +49 -21
- package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/BaseTile/BaseTile.tsx +10 -36
- package/src/components/BaseTile/BaseTileProps.ts +5 -7
- package/{mobile/src/components/BaseTile/getHeadingType.ts → src/components/BaseTile/getTileHeadingType.ts} +1 -1
- package/src/components/BaseTile/getTileMinHeight.ts +12 -0
- package/src/components/BaseTile/getTileRightPadding.ts +12 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
- package/src/components/ComparisonTable/HeaderCell.tsx +2 -2
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
- package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
- package/src/components/ContentPage/ContentPage.page.json +1 -1
- package/src/components/ContentPage/ContentPage.tsx +2 -8
- package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
- package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
- package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
- package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
- package/src/components/ContentPage/normalizeBlock.ts +7 -0
- package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +13 -14
- package/src/components/ContentPage/normalizePage.ts +35 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
- package/src/components/Gallery/Gallery.fixture.tsx +5 -4
- package/src/components/Gallery/Gallery.mobile.tsx +57 -38
- package/src/components/Gallery/GalleryCardInner.tsx +8 -11
- package/src/components/Gallery/GalleryContainer.tsx +8 -9
- package/src/components/Gallery/GalleryContent.ts +9 -3
- package/src/components/Gallery/GalleryInner.tsx +1 -1
- package/src/components/Gallery/constants.ts +2 -2
- package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
- package/src/components/Headline/Headline.mobile.tsx +2 -2
- package/src/components/Headline/Headline.tsx +3 -1
- package/src/components/Headline/HeadlineContent.ts +11 -9
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +10 -6
- package/src/components/LinkDocs/LinkDocs.tsx +4 -4
- package/src/components/LinkDocs/LinkDocsContent.ts +1 -1
- package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
- package/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
- package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
- package/src/components/PictureText/PictureText.tsx +4 -3
- package/src/components/PictureText/PictureTextContent.ts +5 -2
- package/src/components/Placeholder/PlaceholderContent.ts +3 -3
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -0
- package/src/components/ProductBlock/ProductBlockContent.ts +21 -10
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
- package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
- package/src/components/ProductBlock/renderBenefit.tsx +1 -0
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -0
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +4 -4
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
- package/src/components/ProductTile/ProductTile.tsx +63 -15
- package/src/components/ProductTile/ProductTileContent.ts +17 -9
- package/src/components/PromoTile/PromoTile.tsx +41 -14
- package/src/components/PromoTile/PromoTileContent.ts +11 -5
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.tsx +5 -1
- package/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
- package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
- package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/TextBlock/TextBlockContent.ts +4 -1
- package/src/components/Tile/Tile.fixture.tsx +37 -23
- package/src/components/Tile/Tile.tsx +46 -27
- package/src/components/Tile/TileContent.ts +13 -2
- package/src/content-page-repository/ContentPageRepository.ts +0 -12
- package/src/icons/ActualBalanceIcon.svg +0 -2
- package/src/icons/AtmIcon.svg +5 -5
- package/src/icons/BankIcon.svg +9 -9
- 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 +0 -2
- package/src/icons/CloseIcon.svg +1 -1
- package/src/icons/ComfortableCompIcon.svg +0 -2
- package/src/icons/CreditCardsIcon.svg +1 -1
- package/src/icons/DiscountShapeIcon.svg +1 -1
- package/src/icons/DocIcon.svg +4 -4
- package/src/icons/DocIconMonoColor.svg +5 -0
- package/src/icons/DocumentTextIcon.svg +3 -3
- package/src/icons/DollarIcon.svg +1 -1
- package/src/icons/EarthIcon.svg +1 -1
- package/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/src/icons/EmptyWalletIcon.svg +1 -1
- package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
- package/src/icons/EuroIcon.svg +1 -1
- package/src/icons/GeolocationIcon.svg +3 -3
- package/src/icons/GlobalIcon.svg +1 -1
- package/src/icons/IconName.ts +3 -3
- package/src/icons/InterestGrowthIcon.svg +1 -1
- package/src/icons/InterestIcon.svg +1 -1
- package/src/icons/JCBIcon.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 +0 -2
- package/src/icons/OfficeIcon.svg +1 -1
- package/src/icons/OkIcon.svg +1 -1
- package/src/icons/PassSendIcon.svg +0 -2
- 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/PlusIcon.svg +1 -1
- package/src/icons/Profile2UserIcon.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 +0 -2
- package/src/icons/SmallClockIcon.svg +1 -1
- package/src/icons/TelegramIcon.svg +2 -1
- package/src/icons/UnionPayIcon.svg +1 -1
- package/src/icons/UserTickIcon.svg +1 -1
- package/src/icons/VKIcon.svg +2 -1
- package/src/icons/VisaIcon.svg +1 -1
- package/src/icons/WalletAdd2Icon.svg +1 -1
- package/src/icons/WalletAddIcon.svg +1 -1
- package/src/icons/WalletIcon.svg +1 -1
- package/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/src/index.ts +1 -1
- package/src/model/ButtonVersion.ts +1 -1
- package/src/types.ts +6 -5
- package/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
- package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
- package/src/ui-kit/Button/Button.fixture.tsx +2 -2
- package/src/ui-kit/Button/Button.mobile.tsx +11 -24
- package/src/ui-kit/Button/Button.tsx +55 -51
- package/src/ui-kit/Button/ButtonInner.tsx +37 -0
- package/src/ui-kit/Button/ButtonProps.ts +11 -0
- package/src/ui-kit/Button/ButtonSection.tsx +34 -0
- package/src/ui-kit/Description/Description.tsx +8 -0
- package/src/ui-kit/Description/DescriptionProps.ts +8 -0
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +7 -6
- package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
- package/src/ui-kit/Heading/Heading.mobile.tsx +14 -5
- package/src/ui-kit/Heading/Heading.tsx +14 -5
- package/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
- package/src/ui-kit/Icon/Icon.fixture.tsx +13 -2
- package/src/ui-kit/Icon/Icon.tsx +16 -3
- package/src/ui-kit/Icon/IconProps.ts +7 -0
- package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
- package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
- package/src/ui-kit/Img/ImgProps.ts +9 -0
- package/src/ui-kit/List/List.tsx +24 -0
- package/src/ui-kit/List/ListContent.ts +4 -0
- package/src/ui-kit/List/ListItem.tsx +43 -0
- package/src/ui-kit/List/ListProps.ts +16 -0
- package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
- package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
- package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
- package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/dist/components/BaseTile/BaseTileInner.js +0 -14
- package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
- package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
- package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
- package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
- package/dist/components/BaseTile/getHeadingType.d.ts +0 -1
- package/dist/components/BaseTile/getHeadingType.js.map +0 -1
- package/dist/components/BaseTile/renderButton.d.ts +0 -2
- package/dist/components/BaseTile/renderButton.js +0 -12
- package/dist/components/BaseTile/renderButton.js.map +0 -1
- package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
- package/dist/components/BaseTile/renderButton.mobile.js +0 -13
- package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
- package/dist/components/BaseTile/renderItems.d.ts +0 -2
- package/dist/components/BaseTile/renderItems.js +0 -9
- package/dist/components/BaseTile/renderItems.js.map +0 -1
- package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
- package/dist/components/BaseTile/renderItems.mobile.js +0 -9
- package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
- package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
- package/dist/components/ContentPage/toMobilePage.js +0 -34
- package/dist/components/ContentPage/toMobilePage.js.map +0 -1
- package/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
- package/dist/ui-kit/Img.js.map +0 -1
- package/dist/ui-kit/Img.mobile.js.map +0 -1
- package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
- package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
- package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
- package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/lib/components/BaseTile/BaseTileInner.js +0 -12
- package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
- package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
- package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
- package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
- package/lib/components/BaseTile/getHeadingType.d.ts +0 -1
- package/lib/components/BaseTile/getHeadingType.js.map +0 -1
- package/lib/components/BaseTile/renderButton.d.ts +0 -2
- package/lib/components/BaseTile/renderButton.js +0 -9
- package/lib/components/BaseTile/renderButton.js.map +0 -1
- package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
- package/lib/components/BaseTile/renderButton.mobile.js +0 -10
- package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
- package/lib/components/BaseTile/renderItems.d.ts +0 -2
- package/lib/components/BaseTile/renderItems.js +0 -6
- package/lib/components/BaseTile/renderItems.js.map +0 -1
- package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
- package/lib/components/BaseTile/renderItems.mobile.js +0 -6
- package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
- package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
- package/lib/components/ContentPage/toMobilePage.js.map +0 -1
- package/lib/ui-kit/Heading/HeadingProps.js +0 -2
- package/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
- package/lib/ui-kit/Img.js.map +0 -1
- package/lib/ui-kit/Img.mobile.js.map +0 -1
- package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
- package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
- package/mobile/dist/components/BaseTile/getHeadingType.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getHeadingType.js.map +0 -1
- package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
- package/mobile/dist/components/BaseTile/renderButton.js +0 -13
- package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
- package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
- package/mobile/dist/components/BaseTile/renderItems.js +0 -9
- package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
- package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
- package/mobile/dist/components/ContentPage/toMobilePage.js +0 -34
- package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
- package/mobile/dist/ui-kit/Img.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
- package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
- package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
- package/mobile/lib/components/BaseTile/getHeadingType.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getHeadingType.js.map +0 -1
- package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
- package/mobile/lib/components/BaseTile/renderButton.js +0 -10
- package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
- package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
- package/mobile/lib/components/BaseTile/renderItems.js +0 -6
- package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
- package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
- package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
- package/mobile/lib/ui-kit/Heading/HeadingProps.js +0 -2
- package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
- package/mobile/lib/ui-kit/Img.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
- package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
- package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
- package/src/components/BaseTile/BaseTile.mobile.tsx +0 -52
- package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
- package/src/components/BaseTile/BaseTileInner.tsx +0 -37
- package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
- package/src/components/BaseTile/renderButton.tsx +0 -17
- package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
- package/src/components/BaseTile/renderItems.tsx +0 -12
- package/src/components/ContentPage/ContentPage.page.mobile.json +0 -508
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iEAA8D;AAC9D,2CAAwD;AACxD,yDAAsD;AAOzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,OAAO,GAAG,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iEAA8D;AAC9D,2CAAwD;AACxD,yDAAsD;AAOzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACvE,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,MAAM,wBAAwB,GAAG,KAAK,EAAE,MAAM,GAAG,qCAAyB,CAAC,OAAO,CAAC,CAAC;IAEpF,MAAM,cAAc,GAClB,wBAAwB;QACxB,KAAK,EAAE,MAAM,GAAG,eAAe,GAAG,qCAAyB,CAAC,OAAO,CAAC,CAAC;IAEvE,MAAM,cAAc,GAAG,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC;IAEvE,OAAO,CACL,qCACE,SAAS,EAAE,0EAA0E,SAAS,EAAE,aAEhG,uBAAC,mCAAgB,IACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,KAC5B,IAAI,GACR,EACD,cAAc,IAAI,CACjB,uBAAC,yBAAW,IACV,SAAS,EAAC,oCAAoC,EAC9C,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,6FAAkB,GAC5B,CACH,EACA,cAAc,IAAI,CACjB,uBAAC,yBAAW,IACV,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,mGAAmB,GAC7B,CACH,EACD,gCAAK,SAAS,EAAC,8DAA8D,GAAG,IACxE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.cardWidthMap = exports.cardStyleMap = exports.galleryLengthForScrollMap = exports.cardVersionMap = void 0;
|
|
3
3
|
exports.cardVersionMap = {
|
|
4
|
-
primary: 'text-secondary-text',
|
|
5
|
-
secondary: '',
|
|
4
|
+
primary: 'bg-white text-secondary-text',
|
|
5
|
+
secondary: 'bg-primary-main text-white',
|
|
6
6
|
};
|
|
7
7
|
exports.galleryLengthForScrollMap = {
|
|
8
8
|
normal: 3,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Gallery/constants.ts"],"names":[],"mappings":";;AAGa,QAAA,cAAc,GAAiC;IAC1D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Gallery/constants.ts"],"names":[],"mappings":";;AAGa,QAAA,cAAc,GAAiC;IAC1D,OAAO,EAAE,8BAA8B;IACvC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,yBAAyB,GAAmC;IACvE,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACR,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,yBAAyB;CAChC,CAAC;AAEW,QAAA,YAAY,GAAmC;IAC1D,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;CACV,CAAC"}
|
|
@@ -19,6 +19,6 @@ const DOP_LINKS_ICON_NAME_MAP = {
|
|
|
19
19
|
};
|
|
20
20
|
exports.HeaderSecondaryMenu = (0, uni_jsx_1.JSX)(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
21
21
|
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), (0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "LoupeIcon", className: "h-full", asSVG: true }) }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "ProfileIcon", className: "h-full", asSVG: true }) }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `${DOP_LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: DOP_LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true }) })] }));
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), (0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "LoupeIcon", className: "h-full", asSVG: true, color: "none" }) }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "ProfileIcon", className: "h-full", asSVG: true, color: "none" }) }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `${DOP_LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: DOP_LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true, color: "none" }) })] }));
|
|
23
23
|
});
|
|
24
24
|
//# sourceMappingURL=HeaderSecondaryMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAE9C,0DAAuD;AACvD,2EAAwE;AASxE,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,2CAA2C;IACvD,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,oBAAoB,GAAmC;IAC3D,UAAU,EAAE,iDAAiD;IAC7D,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,uBAAuB,GAAqC;IAChE,UAAU,EAAE,UAAU;IACtB,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,GAAG,EAAE,EAAE,OAAO,GAAG,UAAU,EAAE,EAAE,EAAE;IACrE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAChE,OAAO,CACL,iCAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,aACpD,uBAAC,iBAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAE,IAAI,EACV,SAAS,EAAC,sFAAgB,EAC1B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,EACF,uBAAC,iBAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAC,8FAAmB,EACxB,SAAS,EAAC,+NAA2C,EACrD,OAAO,EAAE,OAAO,GAChB,EACF,uBAAC,qDAAyB,IACxB,SAAS,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,EAAE,EACxC,SAAS,EAAC,4EAAgB,YAE1B,uBAAC,WAAI,IAAC,IAAI,EAAC,WAAW,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAE9C,0DAAuD;AACvD,2EAAwE;AASxE,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,2CAA2C;IACvD,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,oBAAoB,GAAmC;IAC3D,UAAU,EAAE,iDAAiD;IAC7D,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,uBAAuB,GAAqC;IAChE,UAAU,EAAE,UAAU;IACtB,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,GAAG,EAAE,EAAE,OAAO,GAAG,UAAU,EAAE,EAAE,EAAE;IACrE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAChE,OAAO,CACL,iCAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,aACpD,uBAAC,iBAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAE,IAAI,EACV,SAAS,EAAC,sFAAgB,EAC1B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,EACF,uBAAC,iBAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAC,8FAAmB,EACxB,SAAS,EAAC,+NAA2C,EACrD,OAAO,EAAE,OAAO,GAChB,EACF,uBAAC,qDAAyB,IACxB,SAAS,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,EAAE,EACxC,SAAS,EAAC,4EAAgB,YAE1B,uBAAC,WAAI,IAAC,IAAI,EAAC,WAAW,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,QAAC,KAAK,EAAC,MAAM,GAAG,GACrC,EAC5B,uBAAC,qDAAyB,IAAC,SAAS,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAC,4CAAS,YACtF,uBAAC,WAAI,IAAC,IAAI,EAAC,aAAa,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,QAAC,KAAK,EAAC,MAAM,GAAG,GACvC,EAC5B,uBAAC,qDAAyB,IACxB,SAAS,EAAE,GAAG,oBAAoB,CAAC,OAAO,CAAC,4BAA4B,EACvE,SAAS,EAAC,2HAAuB,YAEjC,uBAAC,WAAI,IAAC,IAAI,EAAE,uBAAuB,CAAC,OAAO,CAAC,EAAE,SAAS,EAAC,QAAQ,EAAC,KAAK,QAAC,KAAK,EAAC,MAAM,GAAG,GAC5D,IACxB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -10,6 +10,6 @@ const alignText = {
|
|
|
10
10
|
};
|
|
11
11
|
exports.Headline = (0, uni_jsx_1.JSX)(({ bgColor = 'transparent', align = 'left', className = '', title, description }) => {
|
|
12
12
|
const textClasses = alignText[align];
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `p-[50px] ${bgColor} ${className}`, children: [title && (0, jsx_runtime_1.jsx)(Heading_1.Heading, {
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `p-[50px] ${bgColor} ${className}`, children: [title && ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: `text-primary-text ${textClasses}`, title: title })), description && ((0, jsx_runtime_1.jsx)("p", { className: `font-normal text-base mt-4 ${textClasses}`, children: description }))] }));
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=Headline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0DAAuD;AAMvD,MAAM,SAAS,GAA8B;IAC3C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,OAAO,GAAG,aAAa,EAAE,KAAK,GAAG,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;IAClF,MAAM,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;IACrC,OAAO,CACL,qCAAS,SAAS,EAAE,YAAY,OAAO,IAAI,SAAS,EAAE,aACnD,KAAK,IAAI,uBAAC,iBAAO,IAAC,
|
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0DAAuD;AAMvD,MAAM,SAAS,GAA8B;IAC3C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,OAAO,GAAG,aAAa,EAAE,KAAK,GAAG,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;IAClF,MAAM,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;IACrC,OAAO,CACL,qCAAS,SAAS,EAAE,YAAY,OAAO,IAAI,SAAS,EAAE,aACnD,KAAK,IAAI,CACR,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAE,qBAAqB,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAC1F,EACA,WAAW,IAAI,CACd,8BAAG,SAAS,EAAE,8BAA8B,WAAW,EAAE,YAAG,WAAW,GAAK,CAC7E,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,8 +3,8 @@ exports.Headline = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
6
|
-
const Img_1 = require("../../ui-kit/Img");
|
|
6
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
7
|
exports.Headline = (0, uni_jsx_1.JSX)(({ bgColor = 'transparent', className = '', title, description, image }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `px-4 py-6 ${bgColor} ${className}`, children: [title && (0, jsx_runtime_1.jsx)(Heading_1.Heading, {
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `px-4 py-6 ${bgColor} ${className}`, children: [title && (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: "text-primary-text", title: title }), description && ((0, jsx_runtime_1.jsx)("p", { className: `font-normal text-m-md ${title ? 'mt-2.5' : ''}`, children: description })), image?.src && ((0, jsx_runtime_1.jsx)("div", { className: "mt-5 mx-auto flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) }))] }));
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=Headline.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.mobile.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"Headline.mobile.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0DAAuD;AACvD,8CAA2C;AAK9B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,OAAO,GAAG,aAAa,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,qCAAS,SAAS,EAAE,aAAa,OAAO,IAAI,SAAS,EAAE,aACpD,KAAK,IAAI,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAE,KAAK,GAAI,EACjF,WAAW,IAAI,CACd,8BAAG,SAAS,EAAE,yBAAyB,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,WAAW,GAAK,CAClF,EACA,KAAK,EAAE,GAAG,IAAI,CACb,gCAAK,SAAS,EAAC,kCAAkC,YAC/C,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,GAAI,GACjB,CACP,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionProps';
|
|
3
|
+
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { AlignType } from '../BaseTile/BaseTileProps';
|
|
4
6
|
/**
|
|
5
7
|
* @title Заголовок
|
|
6
8
|
*/
|
|
7
|
-
export
|
|
8
|
-
description?: string;
|
|
9
|
-
image?: Picture;
|
|
9
|
+
export declare type HeadlineContent = HeadingContent & DescriptionContent & ImageContent & {
|
|
10
10
|
align?: AlignType;
|
|
11
11
|
bgColor?: BgColorVersion;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
@@ -18,6 +18,6 @@ const linkColumnsModeStyleMap = {
|
|
|
18
18
|
single: 'flex gap-3.5 flex-col',
|
|
19
19
|
};
|
|
20
20
|
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', title, subtitle, align, documents, icon = 'DocIcon', columnsMode = 'double', }) => {
|
|
21
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans p-[50px] bg-white ${className}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, {
|
|
21
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans p-[50px] bg-white ${className}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: `${subtitle ? 'mb-2.5' : titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, title: title })) : null, subtitle ? ((0, jsx_runtime_1.jsx)("h3", { className: `text-base ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: subtitle })) : null, (0, jsx_runtime_1.jsx)(LinkDocsList_1.LinkDocsList, { className: linkColumnsModeStyleMap[columnsMode], columnsMode: columnsMode, documents: documents, icon: icon })] }));
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=LinkDocs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAGvD,iDAA8C;AAE9C,MAAM,kBAAkB,GAA8B;IACpD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,oBAAoB,GAAoC;IAC5D,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAIW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,QAAQ,EACR,KAAK,EACL,SAAS,EACT,IAAI,GAAG,SAAS,EAChB,WAAW,GAAG,QAAQ,GACvB,EAAE,EAAE;IACH,OAAO,CACL,qCAAS,SAAS,EAAE,+BAA+B,SAAS,EAAE,aAC3D,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,WAAW,CAAC,IACnE,kBAAkB,CAAC,KAAK,IAAI,QAAQ,CACtC,EAAE,EACF,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,CACV,+BACE,SAAS,EAAE,aAAa,oBAAoB,CAAC,WAAW,CAAC,IACvD,kBAAkB,CAAC,KAAK,IAAI,QAAQ,CACtC,EAAE,YAED,QAAQ,GACN,CACN,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,2BAAY,IACX,SAAS,EAAE,uBAAuB,CAAC,WAAW,CAAC,EAC/C,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,GACV,IACM,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,9 +3,9 @@ exports.LinkDocs = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
6
|
-
const LinkDocsVerticalList_1 = require("./LinkDocsVerticalList");
|
|
7
6
|
const LinkDocsHorizontalList_1 = require("./LinkDocsHorizontalList");
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
const LinkDocsVerticalList_1 = require("./LinkDocsVerticalList");
|
|
8
|
+
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', context, title, subtitle, icon = 'DocIconMonoColor', documents, listMode = 'vertical', hasBorder = true, }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans py-6 px-4 bg-white ${className}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: `text-center ${subtitle ? 'mb-2' : 'mb-5'}`, title: title })) : null, subtitle ? (0, jsx_runtime_1.jsx)("h3", { className: "mb-5 text-center text-m-md", children: subtitle }) : null, listMode === 'vertical' ? ((0, jsx_runtime_1.jsx)(LinkDocsVerticalList_1.LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : ((0, jsx_runtime_1.jsx)(LinkDocsHorizontalList_1.LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=LinkDocs.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,qEAAkE;AAClE,iEAA8D;AAIjD,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,QAAQ,EACR,IAAI,GAAG,kBAAkB,EACzB,SAAS,EACT,QAAQ,GAAG,UAAU,EACrB,SAAS,GAAG,IAAI,GACjB,EAAE,EAAE;IACH,OAAO,CACL,qCAAS,SAAS,EAAE,gCAAgC,SAAS,EAAE,aAC5D,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAE,eAAe,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EACtD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,+BAAI,SAAS,EAAC,4BAA4B,YAAE,QAAQ,GAAM,CAAC,CAAC,CAAC,IAAI,EAC5E,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,CACzB,uBAAC,2CAAoB,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAI,CACjF,CAAC,CAAC,CAAC,CACF,uBAAC,+CAAsB,IACrB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,GACV,CACH,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
-
import type { IconName } from '../../
|
|
2
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
3
3
|
import type { AlignType } from '../BaseTile/BaseTileProps';
|
|
4
4
|
/**
|
|
5
5
|
* @title Отображение списка
|
|
@@ -3,5 +3,5 @@ exports.LinkDocsListItem = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const LinkDocsListItemBase_1 = require("./LinkDocsListItemBase");
|
|
6
|
-
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: className, iconClassName: "mr-
|
|
6
|
+
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: className, iconClassName: "mr-2.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
|
|
7
7
|
//# sourceMappingURL=LinkDocsListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAC,
|
|
1
|
+
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAC,0CAA0C,EACxD,aAAa,EAAC,aAAa,EAC3B,eAAe,EAAC,mDAAmD,EACnE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
|
|
@@ -3,5 +3,5 @@ exports.LinkDocsListItem = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const LinkDocsListItemBase_1 = require("./LinkDocsListItemBase");
|
|
6
|
-
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: `flex h-full ${className}`, iconClassName: "mr-
|
|
6
|
+
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ className = '', doc, icon }) => ((0, jsx_runtime_1.jsx)(LinkDocsListItemBase_1.LinkDocsListItemBase, { className: `flex h-full ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
|
|
7
7
|
//# sourceMappingURL=LinkDocsListItem.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,eAAe,SAAS,EAAE,EACrC,aAAa,EAAC,
|
|
1
|
+
{"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAGjD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,uBAAC,2CAAoB,IACnB,SAAS,EAAE,eAAe,SAAS,EAAE,EACrC,aAAa,EAAC,sBAAsB,EACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
|
|
@@ -3,7 +3,6 @@ exports.linkDocsContentExample = void 0;
|
|
|
3
3
|
exports.linkDocsContentExample = {
|
|
4
4
|
title: 'Дополнительные документы',
|
|
5
5
|
subtitle: 'Ответы на часто задаваемые вопросы',
|
|
6
|
-
icon: 'DocIcon',
|
|
7
6
|
documents: [
|
|
8
7
|
{ text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
9
8
|
{ text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkDocsContentExample.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/linkDocsContentExample.ts"],"names":[],"mappings":";;AAEa,QAAA,sBAAsB,GAAoB;IACrD,KAAK,EAAE,0BAA0B;IACjC,QAAQ,EAAE,oCAAoC;IAC9C,
|
|
1
|
+
{"version":3,"file":"linkDocsContentExample.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/linkDocsContentExample.ts"],"names":[],"mappings":";;AAEa,QAAA,sBAAsB,GAAoB;IACrD,KAAK,EAAE,0BAA0B;IACjC,QAAQ,EAAE,oCAAoC;IAC9C,SAAS,EAAE;QACT,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE;QACnE,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE;QACjE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE;QAC7C,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;QAClC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE;QACrC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,eAAe,EAAE;QAC7C,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE;QAClD;YACE,IAAI,EAAE,kIAAkI;YACxI,IAAI,EAAE,mBAAmB;YACzB,QAAQ,EAAE,OAAO;SAClB;QACD,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,OAAO,EAAE;QAC7E;YACE,IAAI,EAAE,qDAAqD;YAC3D,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,MAAM;SACjB;KACF;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
2
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
3
3
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<MobileAppTileProps, any>, context?: any) => any;
|
|
@@ -2,8 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.MobileAppTile = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
6
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
8
|
+
const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
|
|
9
|
+
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
10
|
+
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
11
|
+
exports.MobileAppTile = (0, uni_jsx_1.JSX)(({ className = '', context, title = 'Мобильное приложение', qr, buttons = [] }) => {
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: title && ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: (0, getTileHeadingType_1.getTileHeadingType)(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [qr?.src && qr?.href && ((0, jsx_runtime_1.jsx)("a", { href: qr.href, target: "_blank", children: (0, jsx_runtime_1.jsx)("img", { src: qr.src, alt: title, title: title, width: "164", height: "164", className: "w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light" }) })), (0, jsx_runtime_1.jsx)("span", { className: "font-normal text-sm text-secondary-text ml-4", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }) }) }));
|
|
8
13
|
});
|
|
9
14
|
//# sourceMappingURL=MobileAppTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qEAAkE;AAClE,0DAAuD;AACvD,mDAAgD;AAChD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AAKzD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,GAAG,sBAAsB,EAAE,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,oCACE,SAAS,EAAE,uDAAuD,SAAS,KAAK,IAAA,yCAAmB,EACjG,SAAS,CACV,IAAI,IAAA,mCAAgB,EAAC,SAAS,CAAC,GAAG,YAEnC,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,IAAI,CACP,uBAAC,iBAAO,IACN,WAAW,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,EAC1C,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mCAAmC,GAC9C,CACH,EAEH,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,YAGV,iCAAK,SAAS,EAAC,mBAAmB,aAC/B,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,IAAI,CACtB,8BAAG,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,MAAM,EAAC,QAAQ,YAC/B,gCACE,GAAG,EAAE,EAAE,CAAC,GAAG,EACX,GAAG,EAAE,KAAK,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,SAAS,EAAC,gEAAgE,GAC1E,GACA,CACL,EACD,iCAAM,SAAS,EAAC,8CAA8C,+SAEvD,IACH,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionProps';
|
|
3
|
+
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
2
4
|
/**
|
|
3
5
|
* @title QR код
|
|
4
6
|
*/
|
|
@@ -11,16 +13,8 @@ export interface QRCode {
|
|
|
11
13
|
/**
|
|
12
14
|
* @title Мобильное приложение
|
|
13
15
|
*/
|
|
14
|
-
export
|
|
15
|
-
/** @title Заголовок */
|
|
16
|
-
title?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* @title Кнопки
|
|
20
|
-
* @maxItems 4
|
|
21
|
-
*/
|
|
22
|
-
buttons?: BaseTileIconButton[];
|
|
16
|
+
export declare type MobileAppTileContent = HeadingContent & DescriptionContent & ButtonContent & {
|
|
23
17
|
qr?: QRCode;
|
|
24
18
|
/** @title Ссылка */
|
|
25
19
|
href?: string;
|
|
26
|
-
}
|
|
20
|
+
};
|
|
@@ -4,11 +4,11 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
6
6
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
7
|
-
const Img_1 = require("../../ui-kit/Img");
|
|
8
|
-
exports.PictureText = (0, uni_jsx_1.JSX)(({ className, title, image, benefits }) => {
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, {
|
|
7
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
|
+
exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', title, image, benefits }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: "text-center", title: title }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center mt-9', children: [image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mr-6", image: image }), benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col", children: benefits.map(renderBenefit) })) : null] })] }));
|
|
10
10
|
});
|
|
11
11
|
function renderBenefit(benefit, i) {
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row mb-8", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", name: benefit.icon, width: "48", height: "48" })), (0, jsx_runtime_1.jsxs)("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && ((0, jsx_runtime_1.jsx)("div", { className: "font-medium text-primary-text text-xl m-0", children: benefit.label })), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row mb-8", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", name: benefit.icon, width: "48", height: "48", asSVG: true })), (0, jsx_runtime_1.jsxs)("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && ((0, jsx_runtime_1.jsx)("div", { className: "font-medium text-primary-text text-xl m-0", children: benefit.label })), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=PictureText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,0DAAuD;AACvD,iDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAK9B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9F,OAAO,CACL,qCAAS,SAAS,EAAE,sDAAsD,SAAS,EAAE,aACnF,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,EAClE,iCAAK,SAAS,EAAE,0BAA0B,aACvC,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,EACpD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,eAAe,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,GAAO,CACnE,CAAC,CAAC,CAAC,IAAI,IACJ,IACE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,aAAa,CAAC,OAAgB,EAAE,CAAS;IAChD,OAAO,CACL,iCAAqB,SAAS,EAAC,oBAAoB,aAChD,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,4DAA4D,EACtE,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,EACD,iCAAK,SAAS,EAAC,+CAA+C,aAC3D,OAAO,CAAC,KAAK,IAAI,CAChB,gCAAK,SAAS,EAAC,2CAA2C,YAAE,OAAO,CAAC,KAAK,GAAO,CACjF,EACA,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,yCAAyC,YAAE,OAAO,CAAC,WAAW,GAAO,CACrF,IACG,KAjBE,MAAM,CAAC,CAAC,CAAC,CAkBb,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
2
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
2
3
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
4
|
+
export declare type TitleWithImageContent = HeadingContent & ImageContent;
|
|
3
5
|
/**
|
|
4
6
|
* @title Картинка с текстом
|
|
5
7
|
*/
|
|
6
|
-
export interface PictureTextContent extends
|
|
8
|
+
export interface PictureTextContent extends TitleWithImageContent {
|
|
7
9
|
/** @title Список преимуществ */
|
|
8
10
|
benefits?: Benefit[];
|
|
9
11
|
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
1
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
-
import type {
|
|
3
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionProps';
|
|
5
|
+
import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
|
|
6
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
3
8
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
4
|
-
export
|
|
9
|
+
export declare type ProductBlockInnerContent = HeadingContent & HeadingTypeContent & DescriptionContent & ListContent & ButtonContent & ImageContent & {
|
|
5
10
|
/**
|
|
6
11
|
* @title Преимущества
|
|
7
12
|
* @minItems 2
|
|
8
13
|
* @maxItems 3
|
|
9
14
|
*/
|
|
10
15
|
benefits?: Benefit[];
|
|
11
|
-
|
|
16
|
+
version?: BlockVersion;
|
|
17
|
+
};
|
|
12
18
|
/**
|
|
13
19
|
* @title Продуктовый блок
|
|
14
20
|
*/
|
|
15
|
-
export interface ProductBlockContent extends
|
|
21
|
+
export interface ProductBlockContent extends ProductBlockInnerContent {
|
|
16
22
|
/** @title Хлебные крошки */
|
|
17
23
|
breadcrumbs?: LinkProps[];
|
|
18
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import type {
|
|
3
|
-
export declare type ProductBlockInnerProps =
|
|
2
|
+
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
3
|
+
export declare type ProductBlockInnerProps = ProductBlockInnerContent & UniBlockProps;
|
|
4
4
|
export declare const ProductBlockInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockInnerProps, any>, context?: any) => any;
|
|
@@ -2,10 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlockInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
6
|
+
const Description_1 = require("../../ui-kit/Description/Description");
|
|
7
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
+
const List_1 = require("../../ui-kit/List/List");
|
|
6
10
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
7
11
|
const renderBenefit_1 = require("./renderBenefit");
|
|
8
|
-
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, context, title, headingType, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex grow justify-between items-stretch ${className
|
|
12
|
+
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex grow justify-between items-stretch ${className}`, children: [(0, jsx_runtime_1.jsx)("div", { className: 'flex flex-col', children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, title: title && ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: [description && ((0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex gap-6 mt-6 mb-3.5", children: benefits.map((_, i) => (0, renderBenefit_1.renderBenefit)(_, i, version)) })) : null, items?.length ? (0, jsx_runtime_1.jsx)(List_1.List, { items: items }) : null] }) }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto", image: image })] }));
|
|
10
14
|
});
|
|
11
15
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qEAAkE;AAClE,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAE,2CAA2C,SAAS,EAAE,aACpE,gCAAK,SAAS,EAAE,eAAe,YAC7B,wBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,IAAI,CACP,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mCAAmC,GAC9C,CACH,EAEH,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,aAGT,WAAW,IAAI,CACd,uBAAC,yBAAW,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAE,WAAW,GAAI,CACzE,EACA,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,wBAAwB,YACpC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAA,6BAAa,EAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACjD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IACrC,GACP,EACL,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
4
|
-
}
|
|
2
|
+
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
3
|
+
export declare type ProductBlockInnerProps = ProductBlockInnerContent & UniBlockProps;
|
|
5
4
|
export declare const ProductBlockInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockInnerProps, any>, context?: any) => any;
|
|
@@ -2,10 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlockInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
6
|
+
const Description_1 = require("../../ui-kit/Description/Description");
|
|
7
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
+
const List_1 = require("../../ui-kit/List/List");
|
|
6
10
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
7
11
|
const renderBenefit_1 = require("./renderBenefit");
|
|
8
|
-
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, context, title, headingType, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `${className
|
|
12
|
+
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `${className}`, children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, title: title && ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: [description && (0, jsx_runtime_1.jsx)(Description_1.Description, { description: description }), benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-[19px]", children: benefits.map((_, i) => (0, renderBenefit_1.renderBenefit)(_, i, version)) })) : null, items?.length ? (0, jsx_runtime_1.jsx)(List_1.List, { items: items }) : null] }) }), image?.src && ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { className: 'block', ...image } }) }))] }));
|
|
10
14
|
});
|
|
11
15
|
//# sourceMappingURL=ProductBlockInner.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qEAAkE;AAClE,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAE,GAAG,SAAS,EAAE,aAC5B,0CACE,wBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,IAAI,CACP,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mCAAmC,GAC9C,CACH,EAEH,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,aAGT,WAAW,IAAI,uBAAC,yBAAW,IAAC,WAAW,EAAE,WAAW,GAAI,EACxD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,WAAW,YACvB,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAA,6BAAa,EAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACjD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IACrC,GACP,EACL,KAAK,EAAE,GAAG,IAAI,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,GAC5C,CACP,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -15,7 +15,7 @@ const benefitDescStyleMap = {
|
|
|
15
15
|
secondary: 'text-white',
|
|
16
16
|
};
|
|
17
17
|
function renderBenefit(benefit, i, version) {
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-4 items-center", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`, name: benefit.icon, width: "24", height: "24" })), (0, jsx_runtime_1.jsxs)("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [(0, jsx_runtime_1.jsx)("div", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-4 items-center", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`, name: benefit.icon, width: "24", height: "24", asSVG: true })), (0, jsx_runtime_1.jsxs)("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [(0, jsx_runtime_1.jsx)("div", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
|
|
19
19
|
}
|
|
20
20
|
exports.renderBenefit = renderBenefit;
|
|
21
21
|
//# sourceMappingURL=renderBenefit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;AAG9C,MAAM,qBAAqB,GAAiC;IAC1D,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,aAAa;CACzB,CAAC;AACF,MAAM,oBAAoB,GAAiC;IACzD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,SAAgB,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,iCAAqB,SAAS,EAAC,yBAAyB,aACrD,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAE,gFAAgF,qBAAqB,CAAC,OAAO,CAAC,EAAE,EAC3H,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;AAG9C,MAAM,qBAAqB,GAAiC;IAC1D,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,aAAa;CACzB,CAAC;AACF,MAAM,oBAAoB,GAAiC;IACzD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,SAAgB,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,iCAAqB,SAAS,EAAC,yBAAyB,aACrD,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAE,gFAAgF,qBAAqB,CAAC,OAAO,CAAC,EAAE,EAC3H,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,EACD,iCAAK,SAAS,EAAC,0CAA0C,aACvD,gCAAK,SAAS,EAAE,2BAA2B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YACvE,OAAO,CAAC,KAAK,GACV,EACL,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAE,uBAAuB,mBAAmB,CAAC,OAAO,CAAC,EAAE,YAClE,OAAO,CAAC,WAAW,GAChB,CACP,IACG,KAnBE,MAAM,CAAC,CAAC,CAAC,CAoBb,CACP,CAAC;AACJ,CAAC;AAxBD,sCAwBC"}
|
|
@@ -11,7 +11,7 @@ const benefitDescStyleMap = {
|
|
|
11
11
|
secondary: 'text-white',
|
|
12
12
|
};
|
|
13
13
|
function renderBenefit(benefit, i, version) {
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "w-[25px] h-[25px] rounded-full box-border", name: benefit.icon, width: "24", height: "24" })), (0, jsx_runtime_1.jsx)("div", { className: `font-medium text-m-base m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "w-[25px] h-[25px] rounded-full box-border", name: benefit.icon, width: "24", height: "24", asSVG: true })), (0, jsx_runtime_1.jsx)("div", { className: `font-medium text-m-base m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
|
|
15
15
|
}
|
|
16
16
|
exports.renderBenefit = renderBenefit;
|
|
17
17
|
//# sourceMappingURL=renderBenefit.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefit.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.mobile.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;AAG9C,MAAM,oBAAoB,GAAiC;IACzD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,SAAgB,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,iCAAqB,SAAS,EAAC,0CAA0C,aACtE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,2CAA2C,EACrD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"renderBenefit.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.mobile.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;AAG9C,MAAM,oBAAoB,GAAiC;IACzD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,SAAgB,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,iCAAqB,SAAS,EAAC,0CAA0C,aACtE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,2CAA2C,EACrD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,EACD,gCAAK,SAAS,EAAE,+BAA+B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YAC3E,OAAO,CAAC,KAAK,GACV,EACL,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAE,yBAAyB,mBAAmB,CAAC,OAAO,CAAC,EAAE,YACpE,OAAO,CAAC,WAAW,GAChB,CACP,KAjBO,MAAM,CAAC,CAAC,CAAC,CAkBb,CACP,CAAC;AACJ,CAAC;AAtBD,sCAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yEAAsE;AAKzD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IACpD,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IACxD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEpE,OAAO,CACL,qCAAS,SAAS,EAAE,4CAA4C,SAAS,IAAI,EAAE,EAAE,aAC/E,gCACE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAC3D,EAEN,gCAAK,SAAS,EAAC,MAAM,YAClB,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC3B,eAAe,CAAC;oBACd,KAAK;oBACL,CAAC;oBACD,gBAAgB;oBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;oBACrC,QAAQ;iBACT,CAAC,CACH,GACG,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yEAAsE;AAKzD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IACpD,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IACxD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEpE,OAAO,CACL,qCAAS,SAAS,EAAE,4CAA4C,SAAS,IAAI,EAAE,EAAE,aAC/E,gCACE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAC3D,EAEN,gCAAK,SAAS,EAAC,MAAM,YAClB,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC3B,eAAe,CAAC;oBACd,KAAK;oBACL,CAAC;oBACD,gBAAgB;oBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;oBACrC,QAAQ;iBACT,CAAC,CACH,GACG,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,kBAAkB,CAAC,KAA+B,EAAE,CAAS,EAAE,OAAO;IAC7E,OAAO,CACL,oCAAyB,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,UAAU,YAClF,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,qCAAiB,IAChB,SAAS,EAAC,mCAAmC,EAC7C,OAAO,EAAE,OAAO,KACZ,KAAK,GACT,GACE,IAPM,MAAM,CAAC,CAAC,CAAC,CAQb,CACX,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE;IACxE,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAC3C,MAAM,oBAAoB,GAAG,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,CAAC;IACpF,OAAO,CACL,oCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE,mHAAmH,aAE9H,iCAAK,SAAS,EAAC,yDAAyD,aACtE,gCACE,SAAS,EAAE,0DAA0D,iBAAiB,EAAE,YAEvF,KAAK,EAAE,KAAK,GACT,EACN,gCAAK,SAAS,EAAC,sCAAsC,YAAE,KAAK,CAAC,IAAI,GAAO,IACpE,EACN,gCACE,SAAS,EAAE,6EAA6E,oBAAoB,EAAE,EAC9G,KAAK,EAAE,EAAE,iBAAiB,EAAE,GAAG,QAAQ,GAAG,EAAE,iBAAiB,EAAE,UAAU,EAAE,GACtE,KAhBF,MAAM,CAAC,CAAC,CAAC,CAiBP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import { HeadingType } from '../../ui-kit/Heading/
|
|
3
|
-
import type {
|
|
2
|
+
import { HeadingType } from '../../ui-kit/Heading/HeadingContent';
|
|
3
|
+
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
4
4
|
export interface ProductGalleryBlockProps extends UniBlockProps {
|
|
5
5
|
headingType?: HeadingType;
|
|
6
|
-
block?:
|
|
6
|
+
block?: ProductBlockInnerContent;
|
|
7
7
|
}
|
|
8
8
|
export declare const ProductGalleryBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryBlockProps, any>, context?: any) => any;
|
|
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
|
|
6
6
|
exports.ProductGalleryBlock = (0, uni_jsx_1.JSX)(({ block, headingType, context }) => {
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: "flex grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "p-10 flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]", context: context, headingType: headingType, ...block }) }) }));
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: "flex grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "p-10 flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]", context: context, headingType: headingType || 'h2', ...block }) }) }));
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=ProductGalleryBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGalleryBlock.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,yEAAsE;AAOzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IAClC,OAAO,CACL,oCAAS,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,UAAU,YAClE,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,qCAAiB,IAChB,SAAS,EAAC,mCAAmC,EAC7C,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"ProductGalleryBlock.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,yEAAsE;AAOzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IAClC,OAAO,CACL,oCAAS,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,UAAU,YAClE,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,qCAAiB,IAChB,SAAS,EAAC,mCAAmC,EAC7C,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,IAAI,IAAI,KAC5B,KAAK,GACT,GACE,GACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|