@redneckz/wildless-cms-uni-blocks 0.2.112 → 0.2.113
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 +79 -61
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +5 -0
- package/dist/components/Accordion/Accordion.mobile.js +10 -0
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -0
- package/dist/components/Accordion/AccordionContent.d.ts +12 -0
- package/dist/components/Accordion/AccordionItem.js +7 -24
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +5 -0
- package/dist/components/Accordion/AccordionItem.mobile.js +16 -0
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -0
- package/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/dist/components/Accordion/AccordionItemInner.js +17 -0
- package/dist/components/Accordion/AccordionItemInner.js.map +1 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.js +17 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
- package/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/dist/components/Accordion/utils/isActiveHandler.js +21 -0
- package/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/dist/components/BaseTile/BaseTile.js +3 -32
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.mobile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTile.mobile.js +17 -0
- package/dist/components/BaseTile/BaseTile.mobile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/dist/components/BaseTile/BaseTileInner.js +14 -0
- package/dist/components/BaseTile/BaseTileInner.js.map +1 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.js +14 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
- package/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/dist/components/BaseTile/renderButton.d.ts +2 -0
- package/dist/components/BaseTile/renderButton.js +12 -0
- package/dist/components/BaseTile/renderButton.js.map +1 -0
- package/dist/components/BaseTile/renderButton.mobile.d.ts +2 -0
- package/dist/components/BaseTile/renderButton.mobile.js +13 -0
- package/dist/components/BaseTile/renderButton.mobile.js.map +1 -0
- package/dist/components/BaseTile/renderItems.d.ts +2 -0
- package/dist/components/BaseTile/renderItems.js +9 -0
- package/dist/components/BaseTile/renderItems.js.map +1 -0
- package/dist/components/BaseTile/renderItems.mobile.d.ts +2 -0
- package/dist/components/BaseTile/renderItems.mobile.js +9 -0
- package/dist/components/BaseTile/renderItems.mobile.js.map +1 -0
- package/dist/components/Blocks.mobile.d.ts +1 -6
- package/dist/components/Blocks.mobile.js +2 -12
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +20 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +12 -0
- package/dist/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/dist/components/Footer/HorizontalNavigation.js +3 -3
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
- package/dist/components/Footer/HorizontalNavigation.mobile.js +12 -0
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
- package/dist/components/Footer/MediaButton.d.ts +5 -0
- package/dist/components/Footer/MediaButton.js +23 -0
- package/dist/components/Footer/MediaButton.js.map +1 -0
- package/dist/components/Footer/SocialMedia.js +2 -19
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +6 -0
- package/dist/components/Footer/SocialMedia.mobile.js +12 -0
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -0
- package/dist/components/Footer/TextInformation.d.ts +1 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +2 -0
- package/dist/components/Footer/TextInformation.mobile.js +12 -0
- package/dist/components/Footer/TextInformation.mobile.js.map +1 -0
- package/dist/components/Header/Header.mobile.d.ts +5 -0
- package/dist/components/Header/Header.mobile.js +32 -0
- package/dist/components/Header/Header.mobile.js.map +1 -0
- package/dist/components/Header/HeaderBurger.d.ts +10 -0
- package/dist/components/Header/HeaderBurger.js +16 -0
- package/dist/components/Header/HeaderBurger.js.map +1 -0
- package/dist/components/Header/HeaderContent.d.ts +11 -1
- package/dist/components/Header/HeaderTop.d.ts +6 -0
- package/dist/components/Header/HeaderTop.js +8 -0
- package/dist/components/Header/HeaderTop.js.map +1 -0
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +5 -0
- package/dist/components/Headline/Headline.mobile.js +10 -0
- package/dist/components/Headline/Headline.mobile.js.map +1 -0
- package/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +9 -0
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +2 -2
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -17
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +11 -0
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/dist/components/ProductBlock/renderBenefit.js +21 -0
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.js +17 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js +21 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +9 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/dist/components/TextBlock/TextBlock.js +2 -2
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +5 -0
- package/dist/components/TextBlock/TextBlock.mobile.js +40 -0
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -0
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/transformPicture.js +6 -1
- package/dist/content-page-repository/transformPicture.js.map +1 -1
- package/dist/model/Picture.d.ts +1 -0
- package/dist/ui-kit/BlockItem/BlockItem.js +2 -2
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/Breadcrumb.js +3 -3
- package/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +7 -5
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +6 -0
- package/dist/ui-kit/Button/Button.mobile.js +28 -0
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +23 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
- package/dist/ui-kit/Icon/IconProps.d.ts +73 -61
- package/dist/ui-kit/Icon/IconProps.js +67 -61
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/dist/ui-kit/Img.js +3 -3
- package/dist/ui-kit/Img.js.map +1 -1
- package/dist/ui-kit/Img.mobile.d.ts +7 -0
- package/dist/ui-kit/Img.mobile.js +18 -0
- package/dist/ui-kit/Img.mobile.js.map +1 -0
- package/dist/ui-kit/Logo/Logo.d.ts +1 -0
- package/dist/ui-kit/Logo/Logo.js +2 -2
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.d.ts +8 -0
- package/dist/ui-kit/Logo/Logo.mobile.js +24 -0
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -0
- package/{mobile/dist/ui-kit → dist/ui-kit/SearchBar}/SearchBar.d.ts +1 -1
- package/dist/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +14 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
- package/dist/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
- package/{mobile/dist/ui-kit/SearchBar.js → dist/ui-kit/SearchBar.mobile.js} +2 -2
- package/dist/ui-kit/SearchBar.mobile.js.map +1 -0
- package/dist/utils/getAccordionItems.d.ts +1 -0
- package/dist/utils/getAccordionItems.js +13 -0
- package/dist/utils/getAccordionItems.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -0
- package/lib/components/Accordion/Accordion.mobile.d.ts +5 -0
- package/lib/components/Accordion/Accordion.mobile.js +8 -0
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -0
- package/lib/components/Accordion/AccordionContent.d.ts +12 -0
- package/lib/components/Accordion/AccordionItem.js +7 -24
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +5 -0
- package/lib/components/Accordion/AccordionItem.mobile.js +14 -0
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -0
- package/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/lib/components/Accordion/AccordionItemInner.js +15 -0
- package/lib/components/Accordion/AccordionItemInner.js.map +1 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.js +15 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
- package/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/lib/components/Accordion/utils/isActiveHandler.js +18 -0
- package/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/lib/components/BaseTile/BaseTile.js +3 -32
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.mobile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTile.mobile.js +15 -0
- package/lib/components/BaseTile/BaseTile.mobile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/lib/components/BaseTile/BaseTileInner.js +12 -0
- package/lib/components/BaseTile/BaseTileInner.js.map +1 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.js +12 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
- package/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/lib/components/BaseTile/renderButton.d.ts +2 -0
- package/lib/components/BaseTile/renderButton.js +9 -0
- package/lib/components/BaseTile/renderButton.js.map +1 -0
- package/lib/components/BaseTile/renderButton.mobile.d.ts +2 -0
- package/lib/components/BaseTile/renderButton.mobile.js +10 -0
- package/lib/components/BaseTile/renderButton.mobile.js.map +1 -0
- package/lib/components/BaseTile/renderItems.d.ts +2 -0
- package/lib/components/BaseTile/renderItems.js +6 -0
- package/lib/components/BaseTile/renderItems.js.map +1 -0
- package/lib/components/BaseTile/renderItems.mobile.d.ts +2 -0
- package/lib/components/BaseTile/renderItems.mobile.js +6 -0
- package/lib/components/BaseTile/renderItems.mobile.js.map +1 -0
- package/lib/components/Blocks.mobile.d.ts +1 -6
- package/lib/components/Blocks.mobile.js +2 -12
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -0
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +21 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +12 -0
- package/lib/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/lib/components/Footer/HorizontalNavigation.js +3 -3
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
- package/lib/components/Footer/HorizontalNavigation.mobile.js +10 -0
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
- package/lib/components/Footer/MediaButton.d.ts +5 -0
- package/lib/components/Footer/MediaButton.js +21 -0
- package/lib/components/Footer/MediaButton.js.map +1 -0
- package/lib/components/Footer/SocialMedia.js +1 -18
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +6 -0
- package/lib/components/Footer/SocialMedia.mobile.js +10 -0
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -0
- package/lib/components/Footer/TextInformation.d.ts +1 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +2 -0
- package/lib/components/Footer/TextInformation.mobile.js +10 -0
- package/lib/components/Footer/TextInformation.mobile.js.map +1 -0
- package/lib/components/Header/Header.fixture.mobile.d.ts +5 -0
- package/lib/components/Header/Header.mobile.d.ts +5 -0
- package/lib/components/Header/Header.mobile.js +30 -0
- package/lib/components/Header/Header.mobile.js.map +1 -0
- package/lib/components/Header/HeaderBurger.d.ts +10 -0
- package/lib/components/Header/HeaderBurger.js +14 -0
- package/lib/components/Header/HeaderBurger.js.map +1 -0
- package/lib/components/Header/HeaderContent.d.ts +11 -1
- package/lib/components/Header/HeaderTop.d.ts +6 -0
- package/lib/components/Header/HeaderTop.js +6 -0
- package/lib/components/Header/HeaderTop.js.map +1 -0
- package/lib/components/Headline/Headline.fixture.d.ts +4 -0
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +9 -0
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +5 -0
- package/lib/components/Headline/Headline.mobile.js +8 -0
- package/lib/components/Headline/Headline.mobile.js.map +1 -0
- package/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -3
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +7 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +4 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.js +2 -2
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -16
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +9 -0
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/lib/components/ProductBlock/renderBenefit.js +18 -0
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.js +14 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +4 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js +19 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -0
- package/lib/components/TextBlock/TextBlock.js +2 -2
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +5 -0
- package/lib/components/TextBlock/TextBlock.mobile.js +38 -0
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/content-page-repository/transformPicture.js +6 -1
- package/lib/content-page-repository/transformPicture.js.map +1 -1
- package/lib/model/Picture.d.ts +1 -0
- package/lib/ui-kit/BlockItem/BlockItem.js +2 -2
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/Breadcrumb.js +3 -3
- package/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +5 -0
- package/lib/ui-kit/Button/Button.js +7 -5
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +6 -0
- package/lib/ui-kit/Button/Button.mobile.js +26 -0
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +21 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +73 -61
- package/lib/ui-kit/Icon/IconProps.js +67 -61
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/lib/ui-kit/Img.js +3 -3
- package/lib/ui-kit/Img.js.map +1 -1
- package/lib/ui-kit/Img.mobile.d.ts +7 -0
- package/lib/ui-kit/Img.mobile.js +15 -0
- package/lib/ui-kit/Img.mobile.js.map +1 -0
- package/lib/ui-kit/Logo/Logo.d.ts +1 -0
- package/lib/ui-kit/Logo/Logo.js +2 -2
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.d.ts +8 -0
- package/lib/ui-kit/Logo/Logo.mobile.js +22 -0
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -0
- package/{mobile/lib/ui-kit → lib/ui-kit/SearchBar}/SearchBar.d.ts +1 -1
- package/lib/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +12 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
- package/lib/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
- package/lib/ui-kit/SearchBar.mobile.js +12 -0
- package/lib/ui-kit/SearchBar.mobile.js.map +1 -0
- package/lib/utils/getAccordionItems.d.ts +1 -0
- package/lib/utils/getAccordionItems.js +10 -0
- package/lib/utils/getAccordionItems.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +364 -236
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +2 -2
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +12 -0
- package/mobile/dist/components/Accordion/AccordionItem.js +9 -26
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/mobile/dist/components/Accordion/AccordionItemInner.js +17 -0
- package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js +21 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTile.js +9 -33
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/mobile/dist/components/BaseTile/BaseTileInner.js +14 -0
- package/mobile/dist/components/BaseTile/BaseTileInner.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/mobile/dist/components/BaseTile/renderButton.d.ts +2 -0
- package/mobile/dist/components/BaseTile/renderButton.js +13 -0
- package/mobile/dist/components/BaseTile/renderButton.js.map +1 -0
- package/mobile/dist/components/BaseTile/renderItems.d.ts +2 -0
- package/mobile/dist/components/BaseTile/renderItems.js +9 -0
- package/mobile/dist/components/BaseTile/renderItems.js.map +1 -0
- package/mobile/dist/components/Blocks.d.ts +1 -6
- package/mobile/dist/components/Blocks.js +2 -12
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +20 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +12 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +3 -3
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +5 -0
- package/mobile/dist/components/Footer/MediaButton.js +23 -0
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -0
- package/mobile/dist/components/Footer/SocialMedia.js +2 -19
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +13 -11
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +10 -0
- package/mobile/dist/components/Header/HeaderBurger.js +16 -0
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -0
- package/mobile/dist/components/Header/HeaderContent.d.ts +11 -1
- package/mobile/dist/components/Header/HeaderTop.d.ts +6 -0
- package/mobile/dist/components/Header/HeaderTop.js +8 -0
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -0
- package/mobile/dist/components/Headline/Headline.js +3 -8
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -2
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -17
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/mobile/dist/components/ProductBlock/renderBenefit.js +17 -0
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -11
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/mobile/dist/components/TextBlock/TextBlock.js +8 -4
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/content-page-repository/transformPicture.js +6 -1
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/dist/model/Picture.d.ts +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +2 -2
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/dist/ui-kit/Breadcrumb.js +3 -3
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/dist/ui-kit/Button/Button.js +7 -5
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +7 -5
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +73 -61
- package/mobile/dist/ui-kit/Icon/IconProps.js +67 -61
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/mobile/dist/ui-kit/Img.js +3 -3
- package/mobile/dist/ui-kit/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -0
- package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +14 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/mobile/dist/utils/getAccordionItems.d.ts +1 -0
- package/mobile/dist/utils/getAccordionItems.js +13 -0
- package/mobile/dist/utils/getAccordionItems.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +2 -2
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +12 -0
- package/mobile/lib/components/Accordion/AccordionItem.js +9 -26
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/mobile/lib/components/Accordion/AccordionItemInner.js +15 -0
- package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js +18 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTile.js +9 -33
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/mobile/lib/components/BaseTile/BaseTileInner.js +12 -0
- package/mobile/lib/components/BaseTile/BaseTileInner.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/mobile/lib/components/BaseTile/renderButton.d.ts +2 -0
- package/mobile/lib/components/BaseTile/renderButton.js +10 -0
- package/mobile/lib/components/BaseTile/renderButton.js.map +1 -0
- package/mobile/lib/components/BaseTile/renderItems.d.ts +2 -0
- package/mobile/lib/components/BaseTile/renderItems.js +6 -0
- package/mobile/lib/components/BaseTile/renderItems.js.map +1 -0
- package/mobile/lib/components/Blocks.d.ts +1 -6
- package/mobile/lib/components/Blocks.js +2 -12
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +21 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +12 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +4 -4
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +5 -0
- package/mobile/lib/components/Footer/MediaButton.js +21 -0
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -0
- package/mobile/lib/components/Footer/SocialMedia.js +2 -19
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +13 -11
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +10 -0
- package/mobile/lib/components/Header/HeaderBurger.js +14 -0
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -0
- package/mobile/lib/components/Header/HeaderContent.d.ts +11 -1
- package/mobile/lib/components/Header/HeaderTop.d.ts +6 -0
- package/mobile/lib/components/Header/HeaderTop.js +6 -0
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -0
- package/mobile/lib/components/Headline/Headline.js +3 -8
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -2
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -17
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/mobile/lib/components/ProductBlock/renderBenefit.js +14 -0
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -11
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/mobile/lib/components/TextBlock/TextBlock.js +8 -4
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/content-page-repository/transformPicture.js +6 -1
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/lib/model/Picture.d.ts +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +2 -2
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/mobile/lib/ui-kit/Breadcrumb.js +3 -3
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/lib/ui-kit/Button/Button.js +7 -5
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +7 -5
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +73 -61
- package/mobile/lib/ui-kit/Icon/IconProps.js +67 -61
- package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/mobile/lib/ui-kit/Img.js +3 -3
- package/mobile/lib/ui-kit/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -0
- package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +12 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/mobile/lib/utils/getAccordionItems.d.ts +1 -0
- package/mobile/lib/utils/getAccordionItems.js +10 -0
- package/mobile/lib/utils/getAccordionItems.js.map +1 -0
- package/mobile/src/components/Accordion/Accordion.tsx +30 -14
- package/mobile/src/components/Accordion/AccordionContent.ts +12 -0
- package/mobile/src/components/Accordion/AccordionItem.tsx +16 -49
- package/mobile/src/components/Accordion/AccordionItemInner.tsx +28 -0
- package/mobile/src/components/Accordion/utils/isActiveHandler.ts +24 -0
- package/mobile/src/components/BaseTile/BaseTile.tsx +20 -75
- package/mobile/src/components/BaseTile/BaseTileInner.tsx +31 -0
- package/mobile/src/components/BaseTile/BaseTileProps.ts +9 -3
- package/mobile/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
- package/mobile/src/components/BaseTile/renderButton.tsx +20 -0
- package/mobile/src/components/BaseTile/renderItems.tsx +12 -0
- package/mobile/src/components/Blocks.ts +2 -12
- package/mobile/src/components/ContentPage/ContentPage.page.json +15 -1624
- package/mobile/src/components/Footer/Footer.tsx +60 -6
- package/mobile/src/components/Footer/FooterContent.ts +13 -0
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +30 -24
- package/mobile/src/components/Footer/MediaButton.tsx +43 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -44
- package/mobile/src/components/Footer/TextInformation.tsx +2 -2
- package/mobile/src/components/Header/Header.tsx +42 -41
- package/mobile/src/components/Header/HeaderBurger.tsx +45 -0
- package/mobile/src/components/Header/HeaderContent.ts +11 -1
- package/mobile/src/components/Header/HeaderTop.tsx +28 -0
- package/mobile/src/components/Headline/Headline.tsx +10 -12
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +3 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -20
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -5
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +9 -46
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +35 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -34
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +22 -0
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -1
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +1 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +26 -15
- package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -0
- package/mobile/src/components/Tile/Tile.tsx +1 -1
- package/mobile/src/content-page-repository/transformPicture.ts +6 -1
- package/mobile/src/icons/AtmIcon.svg +7 -0
- package/mobile/src/icons/BankIcon.svg +11 -0
- package/mobile/src/icons/BurgerIcon.svg +6 -0
- package/mobile/src/icons/BurgerIconWhite.svg +6 -0
- package/mobile/src/icons/CloseIcon.svg +6 -0
- package/mobile/src/icons/GeolocationIcon.svg +4 -0
- package/mobile/src/model/Picture.ts +1 -0
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
- package/mobile/src/ui-kit/Breadcrumb.tsx +4 -9
- package/mobile/src/ui-kit/Button/Button.tsx +13 -10
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +19 -15
- package/mobile/src/ui-kit/Icon/IconProps.ts +12 -0
- package/mobile/src/ui-kit/Img.tsx +3 -2
- package/mobile/src/ui-kit/Logo/Logo.tsx +9 -6
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +46 -0
- package/mobile/src/utils/getAccordionItems.ts +10 -0
- package/package.json +4 -8
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +65 -0
- package/src/components/Accordion/Accordion.fixture.tsx +1 -0
- package/src/components/Accordion/Accordion.mobile.tsx +38 -0
- package/src/components/Accordion/AccordionContent.ts +12 -0
- package/src/components/Accordion/AccordionItem.mobile.tsx +39 -0
- package/src/components/Accordion/AccordionItem.tsx +9 -46
- package/src/components/Accordion/AccordionItemInner.mobile.tsx +28 -0
- package/src/components/Accordion/AccordionItemInner.tsx +28 -0
- package/src/components/Accordion/utils/isActiveHandler.ts +24 -0
- package/src/components/BaseTile/BaseTile.mobile.tsx +53 -0
- package/src/components/BaseTile/BaseTile.tsx +12 -74
- package/src/components/BaseTile/BaseTileInner.mobile.tsx +31 -0
- package/src/components/BaseTile/BaseTileInner.tsx +37 -0
- package/src/components/BaseTile/BaseTileProps.ts +9 -3
- package/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
- package/src/components/BaseTile/renderButton.mobile.tsx +20 -0
- package/src/components/BaseTile/renderButton.tsx +13 -0
- package/src/components/BaseTile/renderItems.mobile.tsx +12 -0
- package/src/components/BaseTile/renderItems.tsx +12 -0
- package/src/components/Blocks.mobile.ts +2 -12
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +2 -2
- package/src/components/ContentPage/ContentPage.page.mobile.json +452 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +285 -0
- package/src/components/Footer/Footer.mobile.tsx +60 -6
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Footer/FooterContent.ts +13 -0
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +52 -0
- package/src/components/Footer/HorizontalNavigation.tsx +29 -24
- package/src/components/Footer/MediaButton.tsx +43 -0
- package/src/components/Footer/SocialMedia.mobile.tsx +21 -0
- package/src/components/Footer/SocialMedia.tsx +1 -43
- package/src/components/Footer/TextInformation.mobile.tsx +50 -0
- package/src/components/Footer/TextInformation.tsx +1 -1
- package/src/components/Header/Header.fixture.mobile.tsx +209 -0
- package/src/components/Header/Header.mobile.tsx +73 -0
- package/src/components/Header/HeaderBurger.tsx +45 -0
- package/src/components/Header/HeaderContent.ts +11 -1
- package/src/components/Header/HeaderTop.tsx +28 -0
- package/src/components/Headline/Headline.fixture.mobile.tsx +67 -0
- package/src/components/Headline/Headline.fixture.tsx +54 -0
- package/src/components/Headline/Headline.mobile.tsx +30 -0
- package/src/components/Headline/Headline.tsx +3 -3
- package/src/components/Headline/HeadlineContent.ts +2 -1
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +0 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +3 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +13 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +30 -32
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +31 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +59 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -5
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +49 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -41
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +35 -0
- package/src/components/ProductBlock/renderBenefit.tsx +41 -0
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +127 -0
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +5 -4
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +56 -0
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +22 -0
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +27 -0
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -1
- package/src/components/StepsBlock/StepsBlock.example.json +1 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlockContent.ts +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +103 -0
- package/src/components/TextBlock/TextBlock.mobile.tsx +76 -0
- package/src/components/TextBlock/TextBlock.tsx +3 -3
- package/src/components/TextBlock/TextBlockContent.ts +1 -0
- package/src/components/Tile/Tile.tsx +1 -1
- package/src/content-page-repository/transformPicture.ts +6 -1
- package/src/icons/AtmIcon.svg +7 -0
- package/src/icons/BankIcon.svg +11 -0
- package/src/icons/BurgerIcon.svg +6 -0
- package/src/icons/BurgerIconWhite.svg +6 -0
- package/src/icons/CloseIcon.svg +6 -0
- package/src/icons/GeolocationIcon.svg +4 -0
- package/src/model/Picture.ts +1 -0
- package/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
- package/src/ui-kit/Breadcrumb.tsx +4 -9
- package/src/ui-kit/Button/Button.fixture.mobile.tsx +16 -0
- package/src/ui-kit/Button/Button.fixture.tsx +40 -10
- package/src/ui-kit/Button/Button.mobile.tsx +97 -0
- package/src/ui-kit/Button/Button.tsx +12 -9
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +43 -0
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +3 -5
- package/src/ui-kit/Icon/IconProps.ts +12 -0
- package/src/ui-kit/Img.mobile.tsx +36 -0
- package/src/ui-kit/Img.tsx +3 -2
- package/src/ui-kit/Logo/Logo.mobile.tsx +50 -0
- package/src/ui-kit/Logo/Logo.tsx +7 -4
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +46 -0
- package/src/ui-kit/{SearchBar.tsx → SearchBar/SearchBar.tsx} +3 -3
- package/{mobile/src/ui-kit/SearchBar.tsx → src/ui-kit/SearchBar.mobile.tsx} +2 -2
- package/src/utils/getAccordionItems.ts +10 -0
- package/dist/ui-kit/SearchBar.js.map +0 -1
- package/lib/ui-kit/SearchBar.js.map +0 -1
- package/mobile/dist/ui-kit/SearchBar.js.map +0 -1
- package/mobile/lib/ui-kit/SearchBar.js +0 -12
- package/mobile/lib/ui-kit/SearchBar.js.map +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { FooterLink } from './FooterLink';
|
|
3
|
+
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const HorizontalNavigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<HorizontalNavigationProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
export const HorizontalNavigation = JSX(({ title, links, className = '', context }) => {
|
|
5
|
+
const router = context.useRouter();
|
|
6
|
+
const { handlerDecorator } = context;
|
|
7
|
+
return (_jsxs("div", { className: className, children: [_jsx("span", { className: "text-primary-text font-sans font-medium text-sm", children: title }), links?.length ? (_jsx("div", { className: "flex flex-col gap-5 py-5", children: links.map((_, i) => (_jsx(HorizontalNavigationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
|
|
8
|
+
});
|
|
9
|
+
const HorizontalNavigationLink = JSX(({ className = '', index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
|
|
10
|
+
//# sourceMappingURL=HorizontalNavigation.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalNavigation.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAS9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,eAAM,SAAS,EAAC,iDAAiD,YAAE,KAAK,GAAQ,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,0BAA0B,YACtC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,wBAAwB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC1D,YACE,SAAS,EAAE,uGAAuG,SAAS,EAAE,EAC7H,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
+
const ICONS_MAP = [
|
|
5
|
+
{
|
|
6
|
+
origins: ['t.me', 'telegram.org'],
|
|
7
|
+
icon: 'TelegramIcon',
|
|
8
|
+
label: 'Телеграм',
|
|
9
|
+
width: '20px',
|
|
10
|
+
height: '16px',
|
|
11
|
+
},
|
|
12
|
+
{ origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
|
|
13
|
+
{ origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
|
|
14
|
+
];
|
|
15
|
+
export const MediaButton = JSX(({ href }) => {
|
|
16
|
+
const { icon, width, height } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
17
|
+
if (!icon)
|
|
18
|
+
return null;
|
|
19
|
+
return (_jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main", href: href, target: "_blank", rel: "noopener noreferrer", children: Icon && _jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block" }) }));
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=MediaButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,SAAS,GAMV;IACH;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;IAC1F,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;CAC9F,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAC3B,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAEhF,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAEvB,OAAO,CACL,YACE,SAAS,EAAC,2JAA2J,EACrK,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,YAExB,IAAI,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,QAAC,SAAS,EAAC,OAAO,GAAG,GACjF,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
-
import {
|
|
5
|
-
const ICONS_MAP = [
|
|
6
|
-
{
|
|
7
|
-
origins: ['t.me', 'telegram.org'],
|
|
8
|
-
icon: 'TelegramIcon',
|
|
9
|
-
label: 'Телеграм',
|
|
10
|
-
width: '20px',
|
|
11
|
-
height: '16px',
|
|
12
|
-
},
|
|
13
|
-
{ origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
|
|
14
|
-
{ origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
|
|
15
|
-
];
|
|
4
|
+
import { MediaButton } from './MediaButton.js';
|
|
16
5
|
export const SocialMedia = JSX(({ className, media, context }) => {
|
|
17
6
|
const router = context.useRouter();
|
|
18
7
|
const { handlerDecorator } = context;
|
|
19
8
|
return (_jsx("div", { className: `flex items-end justify-end gap-2 pt-[30px] pb-7 ${className || ''}`, children: media?.map((_, index) => (_jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }));
|
|
20
9
|
});
|
|
21
|
-
const MediaButton = JSX(({ href }) => {
|
|
22
|
-
const { icon, label, width, height } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
23
|
-
if (!icon)
|
|
24
|
-
return null;
|
|
25
|
-
return (_jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main", href: href, target: "_blank", rel: "noopener noreferrer", children: Icon && _jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block" }) }));
|
|
26
|
-
});
|
|
27
10
|
//# sourceMappingURL=SocialMedia.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,cAAK,SAAS,EAAE,mDAAmD,SAAS,IAAI,EAAE,EAAE,YACjF,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAA3D,MAAM,CAAC,KAAK,CAAC,CAAkD,CAClF,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
export interface SocialMediaProps extends UniBlockProps {
|
|
4
|
+
media?: Omit<LinkProps, 'text'>[];
|
|
5
|
+
}
|
|
6
|
+
export declare const SocialMedia: (props: import("@redneckz/uni-jsx").PropsWithChildren<SocialMediaProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { MediaButton } from './MediaButton.js';
|
|
5
|
+
export const SocialMedia = JSX(({ className, media, context }) => {
|
|
6
|
+
const router = context.useRouter();
|
|
7
|
+
const { handlerDecorator } = context;
|
|
8
|
+
return (_jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className || ''}`, children: media?.map((_, index) => (_jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }));
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=SocialMedia.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,cAAK,SAAS,EAAE,kDAAkD,SAAS,IAAI,EAAE,EAAE,YAChF,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAA3D,MAAM,CAAC,KAAK,CAAC,CAAkD,CAClF,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FooterLink } from './FooterLink';
|
|
1
|
+
import type { FooterLink } from './FooterLink';
|
|
2
2
|
export declare const TextInformation: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterLink, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
export const TextInformation = JSX(({ className, links, context }) => {
|
|
5
|
+
const router = context.useRouter();
|
|
6
|
+
const { handlerDecorator } = context;
|
|
7
|
+
return (_jsxs("div", { className: `${className || ''}`, children: [_jsx("div", { className: "pt-5 pb-[5px]", children: _jsx("span", { className: "font-sans font-normal text-xs text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (_jsx("div", { className: `flex flex-col justify-start items-start gap-5 pt-[5px]`, children: links.map((_, i) => (_jsx(TextInformationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
|
|
8
|
+
});
|
|
9
|
+
const TextInformationLink = JSX(({ className, index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${className || ''}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
|
|
10
|
+
//# sourceMappingURL=TextInformation.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInformation.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/TextInformation.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/E,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,aAClC,cAAK,SAAS,EAAC,eAAe,YAC5B,eAAM,SAAS,EAAC,mDAAmD,YAChE,oBAAoB,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,mHAAmH,GAC3J,GACH,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAE,wDAAwD,YACrE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,mBAAmB,IAElB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAQH,MAAM,mBAAmB,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,YACE,SAAS,EAAE,iJACT,SAAS,IAAI,EACf,EAAE,EACF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { HeaderContent } from './HeaderContent';
|
|
3
|
+
export interface HeaderProps extends HeaderContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
|
|
5
|
+
import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
|
|
6
|
+
import { mergeTopItems } from '../../services/sitemap/mergeTopItems.js';
|
|
7
|
+
import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
8
|
+
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
|
|
9
|
+
import { getAccordionItems } from '../../utils/getAccordionItems.js';
|
|
10
|
+
import { Accordion } from '../Accordion/Accordion.js';
|
|
11
|
+
import { HeaderBurger } from './HeaderBurger.js';
|
|
12
|
+
import { HeaderTop } from './HeaderTop.js';
|
|
13
|
+
export const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, burgerSubMenu }) => {
|
|
14
|
+
const router = context.useRouter();
|
|
15
|
+
const sitemap = useSitemap(context.useAsyncData);
|
|
16
|
+
const { handlerDecorator } = context;
|
|
17
|
+
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
18
|
+
const activeTopItem = mergedItems.find(isTopItemActive(router));
|
|
19
|
+
const subItems = activeTopItem?.items;
|
|
20
|
+
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
21
|
+
const [burgerMenuShow, setBurgerMenuShow] = context.useState(false);
|
|
22
|
+
const toggleBurgerMenu = () => setBurgerMenuShow(!burgerMenuShow);
|
|
23
|
+
return (_jsxs("header", { className: `${bgColor} ${className}`, children: [_jsxs("div", { className: "container px-4 py-0", children: [_jsx(HeaderTop, { onClick: toggleBurgerMenu, bgColor: bgColor }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-x-scroll overflow-y-hidden w-full h-[50px]", children: _jsx("div", { className: "flex", children: subItems?.map((_, i) => renderSubItem({
|
|
24
|
+
...useLink({ router, handlerDecorator }, _),
|
|
25
|
+
active: _ === activeSubItem,
|
|
26
|
+
bgColor,
|
|
27
|
+
}, i)) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: burgerSubMenu, defaultLocation: defaultLocation, children: _jsx(Accordion, { context: context, accordionItems: getAccordionItems(topItems), className: "p-0 pt-0 pb-0 mb-4" }) })) : null] }));
|
|
28
|
+
});
|
|
29
|
+
const renderSubItem = (item, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-sm", ...item }, String(i)));
|
|
30
|
+
//# sourceMappingURL=Header.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
2
|
+
import type { SubMenuItem } from './HeaderContent';
|
|
3
|
+
export interface HeaderBurgerProps {
|
|
4
|
+
context: ContentPageContext;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
burgerSubMenu?: SubMenuItem[];
|
|
7
|
+
defaultLocation?: string;
|
|
8
|
+
children?: any;
|
|
9
|
+
}
|
|
10
|
+
export declare const HeaderBurger: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderBurgerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
5
|
+
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
|
|
6
|
+
export const HeaderBurger = JSX(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
7
|
+
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
8
|
+
return (_jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4", children: [_jsx("button", { className: "absolute top-4 right-4", onClick: onClick, children: _jsx(Icon, { name: "CloseIcon", width: "24", height: "24", asSVG: true }) }), _jsxs(Button, { onClick: getCity, className: "flex items-center text-sm text-secondary-text mb-4", children: [_jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "box-border mr-2", asSVG: true }), city] }), children, _jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), _jsx(SearchBar, { context: context, className: "grow" })] }));
|
|
9
|
+
});
|
|
10
|
+
const renderBurgerSubMenuItem = (menu, i) => {
|
|
11
|
+
const { icon, href, text } = menu;
|
|
12
|
+
return (_jsxs(Button, { href: href, className: "flex text-sm mb-4", children: [icon ? _jsx(Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, _jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=HeaderBurger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAY7D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAEhE,OAAO,CACL,eAAK,SAAS,EAAC,kDAAkD,aAC/D,iBAAQ,SAAS,EAAC,wBAAwB,EAAC,OAAO,EAAE,OAAO,YACzD,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,GAC/C,EACT,MAAC,MAAM,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,oDAAoD,aACtF,KAAC,IAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,SAAG,EACvF,IAAI,IACE,EACR,QAAQ,EACT,cAAK,SAAS,EAAC,MAAM,YAAE,aAAa,EAAE,GAAG,CAAC,uBAAuB,CAAC,GAAO,EACzE,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,CACL,MAAC,MAAM,IAA4B,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,mBAAmB,aACzE,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,eAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,GAAQ,KAFvC,iBAAiB,CAAC,EAAE,CAGxB,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { BgColorVersion } from '../../model/BgColorVersion';
|
|
1
|
+
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
3
|
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
4
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
5
|
+
/**
|
|
6
|
+
* @title Пункт подменю
|
|
7
|
+
*/
|
|
8
|
+
export interface SubMenuItem extends LinkProps {
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
}
|
|
3
11
|
/**
|
|
4
12
|
* @title Шапка
|
|
5
13
|
* @required ["defaultLocation", "topItems"]
|
|
@@ -16,4 +24,6 @@ export interface HeaderContent extends SitemapProps {
|
|
|
16
24
|
* @default white
|
|
17
25
|
*/
|
|
18
26
|
bgColor?: BgColorVersion;
|
|
27
|
+
/** @title Подменю */
|
|
28
|
+
burgerSubMenu?: SubMenuItem[];
|
|
19
29
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
+
export interface HeaderTopProps {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
bgColor?: BgColorVersion;
|
|
5
|
+
}
|
|
6
|
+
export declare const HeaderTop: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderTopProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
+
import { Logo } from '../../ui-kit/Logo/Logo.js';
|
|
5
|
+
export const HeaderTop = JSX(({ onClick, bgColor }) => (_jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [_jsxs("div", { className: "flex items-center", children: [_jsx("button", { className: "pr-4", onClick: onClick, children: _jsx(Icon, { name: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), _jsx(Logo, { bgColor: bgColor })] }), _jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
|
|
6
|
+
//# sourceMappingURL=HeaderTop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderTop.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderTop.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAO9C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrE,eAAK,SAAS,EAAC,kFAAkF,aAC/F,eAAK,SAAS,EAAC,mBAAmB,aAChC,iBAAQ,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,OAAO,YACvC,KAAC,IAAI,IACH,IAAI,EAAE,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,EAC/D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACK,EACT,KAAC,IAAI,IAAC,OAAO,EAAE,OAAO,GAAI,IACtB,EACN,iBAAQ,SAAS,EAAE,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,YAAY,UAAU,+CAElF,IACL,CACP,CAAC,CAAC"}
|
|
@@ -6,8 +6,8 @@ const alignText = {
|
|
|
6
6
|
center: 'text-center',
|
|
7
7
|
right: 'text-right',
|
|
8
8
|
};
|
|
9
|
-
export const Headline = JSX(({ bgColor = 'transparent', align = 'left', className, title, description }) => {
|
|
9
|
+
export const Headline = JSX(({ bgColor = 'transparent', align = 'left', className = '', title, description }) => {
|
|
10
10
|
const textClasses = alignText[align];
|
|
11
|
-
return (_jsxs("section", { className: `p-[50px] ${bgColor} ${className
|
|
11
|
+
return (_jsxs("section", { className: `p-[50px] ${bgColor} ${className}`, children: [title && (_jsx(Title, { size: "L", className: `text-primary-text mt-0 font-medium ${textClasses}`, children: title })), description && (_jsx("p", { className: `font-normal text-base mt-4 ${textClasses}`, children: description }))] }));
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=Headline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAMjD,MAAM,SAAS,GAA8B;IAC3C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,OAAO,GAAG,aAAa,EAAE,KAAK,GAAG,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAMjD,MAAM,SAAS,GAA8B;IAC3C,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,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,mBAAS,SAAS,EAAE,YAAY,OAAO,IAAI,SAAS,EAAE,aACnD,KAAK,IAAI,CACR,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,sCAAsC,WAAW,EAAE,YAC3E,KAAK,GACA,CACT,EACA,WAAW,IAAI,CACd,YAAG,SAAS,EAAE,8BAA8B,WAAW,EAAE,YAAG,WAAW,GAAK,CAC7E,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { HeadlineContent } from './HeadlineContent';
|
|
3
|
+
export interface HeadlineProps extends UniBlockProps, HeadlineContent {
|
|
4
|
+
}
|
|
5
|
+
export declare const Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadlineProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Img } from '../../ui-kit/Img.js';
|
|
4
|
+
import { Title } from '../../ui-kit/Title/Title.js';
|
|
5
|
+
export const Headline = JSX(({ bgColor = 'transparent', className = '', title, description, image }) => {
|
|
6
|
+
return (_jsxs("section", { className: `px-4 py-6 ${bgColor} ${className}`, children: [title && (_jsx(Title, { size: "L", className: "text-primary-text mt-0 font-medium", children: title })), description && (_jsx("p", { className: `font-normal text-m-md ${title ? 'mt-2.5' : ''}`, children: description })), image?.src && (_jsx("div", { className: "mt-5 mx-auto flex justify-center", children: _jsx(Img, { image: image }) }))] }));
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=Headline.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Headline.mobile.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAKjD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,OAAO,GAAG,aAAa,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,mBAAS,SAAS,EAAE,aAAa,OAAO,IAAI,SAAS,EAAE,aACpD,KAAK,IAAI,CACR,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,oCAAoC,YAC3D,KAAK,GACA,CACT,EACA,WAAW,IAAI,CACd,YAAG,SAAS,EAAE,yBAAyB,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,WAAW,GAAK,CAClF,EACA,KAAK,EAAE,GAAG,IAAI,CACb,cAAK,SAAS,EAAC,kCAAkC,YAC/C,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,GAAI,GACjB,CACP,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,6 +3,6 @@ import type { BaseTileCommonProps } from '../BaseTile/BaseTileProps';
|
|
|
3
3
|
/**
|
|
4
4
|
* @title Заголовок
|
|
5
5
|
*/
|
|
6
|
-
export interface HeadlineContent extends Pick<BaseTileCommonProps, 'title' | 'titleSize' | 'description' | 'align'> {
|
|
6
|
+
export interface HeadlineContent extends Pick<BaseTileCommonProps, 'title' | 'titleSize' | 'description' | 'align' | 'image'> {
|
|
7
7
|
bgColor?: BgColorVersion;
|
|
8
8
|
}
|
|
@@ -15,7 +15,7 @@ const linkColumnsModeStyleMap = {
|
|
|
15
15
|
double: 'gap-x-5 gap-y-[26px] flex-wrap',
|
|
16
16
|
single: 'gap-3.5 flex-col',
|
|
17
17
|
};
|
|
18
|
-
export const LinkDocs = JSX(({ className, title, align, documents, icon, columnsMode = '
|
|
18
|
+
export const LinkDocs = JSX(({ className = '', title, align, documents, icon, columnsMode = 'single' }) => {
|
|
19
19
|
const containerClasses = linkColumnsModeStyleMap[columnsMode];
|
|
20
20
|
return (_jsxs("section", { className: `font-sans p-[50px] bg-white ${className}`, children: [title && (_jsx(Title, { className: `font-medium mt-0 ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: title })), _jsx("div", { className: `flex ${containerClasses}`, role: "list", children: documents?.length
|
|
21
21
|
? documents.map(({ text, fileSize, ...linkProps }, i) => (_jsxs("a", { className: `group flex text-sm align-middle h-fit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAIjD,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,gCAAgC;IACxC,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAIF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,GAAG,QAAQ,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<MobileAppTileProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Logo } from '../../ui-kit/Logo/Logo.js';
|
|
4
|
+
export const MobileAppTile = JSX(({ className, title = 'Мобильное приложение', description, href = '#' }) => {
|
|
5
|
+
return (_jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className || ''}`, children: href ? (_jsxs("div", { className: "flex", children: [_jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: _jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), _jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [_jsx("div", { className: "text-sm font-medium", children: title }), _jsx("div", { className: "text-xs text-secondary-text", children: description })] })] })) : null }));
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=MobileAppTile.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileAppTile.mobile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAI9C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,sBAAsB,EAAE,WAAW,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,cACE,SAAS,EAAE,0EACT,SAAS,IAAI,EACf,EAAE,YAED,IAAI,CAAC,CAAC,CAAC,CACN,eAAK,SAAS,EAAC,MAAM,aACnB,cAAK,SAAS,EAAC,+EAA+E,YAC5F,KAAC,IAAI,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAC,aAAa,EAAC,SAAS,SAAG,GACzD,EACN,aAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,mCAAmC,aAC1E,cAAK,SAAS,EAAC,qBAAqB,YAAE,KAAK,GAAO,EAClD,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,IAC9D,IACA,CACP,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -11,6 +11,8 @@ export interface QRCode {
|
|
|
11
11
|
/**
|
|
12
12
|
* @title Мобильное приложение
|
|
13
13
|
*/
|
|
14
|
-
export interface MobileAppTileContent extends Pick<BaseTileCommonProps, 'title' | 'buttons'> {
|
|
14
|
+
export interface MobileAppTileContent extends Pick<BaseTileCommonProps, 'title' | 'buttons' | 'description'> {
|
|
15
15
|
qr?: QRCode;
|
|
16
|
+
/** @title Ссылка */
|
|
17
|
+
href?: string;
|
|
16
18
|
}
|
|
@@ -3,8 +3,8 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { ProductBlockInner } from './ProductBlockInner.js';
|
|
4
4
|
export const ProductBlock = JSX(
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6
|
-
(
|
|
6
|
+
(props /* Get rid of image and benefits */) => {
|
|
7
7
|
const { className } = props;
|
|
8
|
-
return (_jsx("section", { className: `font-sans bg-white
|
|
8
|
+
return (_jsx("section", { className: `font-sans bg-white px-4 py-6 ${className || ''}`, children: _jsx(ProductBlockInner, { ...props }) }));
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=ProductBlock.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG;AAC7B,6DAA6D;AAC7D,CAAC,
|
|
1
|
+
{"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG;AAC7B,6DAA6D;AAC7D,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC5C,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,OAAO,CACL,kBAAS,SAAS,EAAE,gCAAgC,SAAS,IAAI,EAAE,EAAE,YACnE,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
3
|
import { Img } from '../../ui-kit/Img.js';
|
|
5
4
|
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
6
|
-
|
|
7
|
-
primary: 'bg-main',
|
|
8
|
-
secondary: 'bg-white/30',
|
|
9
|
-
};
|
|
10
|
-
const benefitTitleStyleMap = {
|
|
11
|
-
primary: 'text-primary-text',
|
|
12
|
-
secondary: 'text-white',
|
|
13
|
-
};
|
|
14
|
-
const benefitDescStyleMap = {
|
|
15
|
-
primary: 'text-secondary-text',
|
|
16
|
-
secondary: 'text-white',
|
|
17
|
-
};
|
|
5
|
+
import { renderBenefit } from './renderBenefit.js';
|
|
18
6
|
export const ProductBlockInner = JSX(({ className, context, title, titleSize, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
19
7
|
return (_jsxs("div", { className: `flex grow justify-between items-stretch ${className || ''}`, children: [_jsx("div", { className: 'flex flex-col', children: _jsx(BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, version: version, children: benefits?.length ? (_jsx("div", { className: "flex gap-6 mt-6 mb-3.5", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null }) }), image?.src && _jsx(Img, { className: "mt-auto", image: image })] }));
|
|
20
8
|
});
|
|
21
|
-
function renderBenefit(benefit, i, version) {
|
|
22
|
-
return (_jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (_jsx(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" })), _jsxs("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [_jsx("h4", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (_jsx("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
|
|
23
|
-
}
|
|
24
9
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,2CAA2C,SAAS,IAAI,EAAE,EAAE,aAC1E,cAAK,SAAS,EAAE,eAAe,YAC7B,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,IAAI,IAAI,EAC5B,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,YAEf,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,cAAK,SAAS,EAAC,wBAAwB,YACpC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACjD,CACP,CAAC,CAAC,CAAC,IAAI,GACC,GACP,EACL,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ProductBlockInnerCommonProps } from './ProductBlockContent';
|
|
3
|
+
export interface ProductBlockInnerProps extends ProductBlockInnerCommonProps, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ProductBlockInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockInnerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Img } from '../../ui-kit/Img.js';
|
|
4
|
+
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
5
|
+
import { renderBenefit } from './renderBenefit.js';
|
|
6
|
+
export const ProductBlockInner = JSX(({ className, context, title, titleSize, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
7
|
+
return (_jsxs("div", { className: `${className || ''}`, children: [_jsx("div", { children: _jsx(BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, children: benefits?.length ? (_jsx("div", { className: "mt-[19px]", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null }) }), image?.src && (_jsx("div", { className: "mt-5", children: _jsx(Img, { image: { className: 'block', ...image } }) }))] }));
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=ProductBlockInner.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,aAClC,wBACE,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,IAAI,IAAI,EAC5B,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,YAEf,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,cAAK,SAAS,EAAC,WAAW,YACvB,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GACjD,CACP,CAAC,CAAC,CAAC,IAAI,GACC,GACP,EACL,KAAK,EAAE,GAAG,IAAI,CACb,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,GAC5C,CACP,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
3
|
+
const benefitIconBgStyleMap = {
|
|
4
|
+
primary: 'bg-main',
|
|
5
|
+
secondary: 'bg-white/30',
|
|
6
|
+
};
|
|
7
|
+
const benefitTitleStyleMap = {
|
|
8
|
+
primary: 'text-primary-text',
|
|
9
|
+
secondary: 'text-white',
|
|
10
|
+
};
|
|
11
|
+
const benefitDescStyleMap = {
|
|
12
|
+
primary: 'text-secondary-text',
|
|
13
|
+
secondary: 'text-white',
|
|
14
|
+
};
|
|
15
|
+
export function renderBenefit(benefit, i, version) {
|
|
16
|
+
return (_jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (_jsx(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" })), _jsxs("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [_jsx("h4", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (_jsx("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=renderBenefit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;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,MAAM,UAAU,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,eAAqB,SAAS,EAAC,yBAAyB,aACrD,OAAO,CAAC,IAAI,IAAI,CACf,KAAC,IAAI,IACH,SAAS,EAAE,gFAAgF,qBAAqB,CAAC,OAAO,CAAC,EAAE,EAC3H,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,eAAK,SAAS,EAAC,0CAA0C,aACvD,aAAI,SAAS,EAAE,2BAA2B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YACtE,OAAO,CAAC,KAAK,GACX,EACJ,OAAO,CAAC,WAAW,IAAI,CACtB,cAAK,SAAS,EAAE,uBAAuB,mBAAmB,CAAC,OAAO,CAAC,EAAE,YAClE,OAAO,CAAC,WAAW,GAChB,CACP,IACG,KAlBE,MAAM,CAAC,CAAC,CAAC,CAmBb,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
3
|
+
const benefitTitleStyleMap = {
|
|
4
|
+
primary: 'text-primary-text',
|
|
5
|
+
secondary: 'text-white',
|
|
6
|
+
};
|
|
7
|
+
const benefitDescStyleMap = {
|
|
8
|
+
primary: 'text-secondary-text',
|
|
9
|
+
secondary: 'text-white',
|
|
10
|
+
};
|
|
11
|
+
export function renderBenefit(benefit, i, version) {
|
|
12
|
+
return (_jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && (_jsx(Icon, { className: "w-[25px] h-[25px] rounded-full box-border", name: benefit.icon, width: "24", height: "24" })), _jsx("h4", { className: `font-medium text-m-base m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (_jsx("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=renderBenefit.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefit.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.mobile.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;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,MAAM,UAAU,aAAa,CAAC,OAAgB,EAAE,CAAS,EAAE,OAAe;IACxE,OAAO,CACL,eAAqB,SAAS,EAAC,0CAA0C,aACtE,OAAO,CAAC,IAAI,IAAI,CACf,KAAC,IAAI,IACH,SAAS,EAAC,2CAA2C,EACrD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,aAAI,SAAS,EAAE,+BAA+B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YAC1E,OAAO,CAAC,KAAK,GACX,EACJ,OAAO,CAAC,WAAW,IAAI,CACtB,cAAK,SAAS,EAAE,yBAAyB,mBAAmB,CAAC,OAAO,CAAC,EAAE,YACpE,OAAO,CAAC,WAAW,GAChB,CACP,KAhBO,MAAM,CAAC,CAAC,CAAC,CAiBb,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
3
|
+
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryProps, any>, context?: any) => any;
|