@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,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,32 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.Header = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
6
|
+
const findActiveSubItem_1 = require("../../services/sitemap/findActiveSubItem");
|
|
7
|
+
const isTopItemActive_1 = require("../../services/sitemap/isTopItemActive");
|
|
8
|
+
const mergeTopItems_1 = require("../../services/sitemap/mergeTopItems");
|
|
9
|
+
const useSitemap_1 = require("../../services/sitemap/useSitemap");
|
|
10
|
+
const HeaderItem_1 = require("../../ui-kit/HeaderItem/HeaderItem");
|
|
11
|
+
const getAccordionItems_1 = require("../../utils/getAccordionItems");
|
|
12
|
+
const Accordion_1 = require("../Accordion/Accordion");
|
|
13
|
+
const HeaderBurger_1 = require("./HeaderBurger");
|
|
14
|
+
const HeaderTop_1 = require("./HeaderTop");
|
|
15
|
+
exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, burgerSubMenu }) => {
|
|
16
|
+
const router = context.useRouter();
|
|
17
|
+
const sitemap = (0, useSitemap_1.useSitemap)(context.useAsyncData);
|
|
18
|
+
const { handlerDecorator } = context;
|
|
19
|
+
const mergedItems = (0, mergeTopItems_1.mergeTopItems)(sitemap.topItems, topItems);
|
|
20
|
+
const activeTopItem = mergedItems.find((0, isTopItemActive_1.isTopItemActive)(router));
|
|
21
|
+
const subItems = activeTopItem?.items;
|
|
22
|
+
const activeSubItem = (0, findActiveSubItem_1.findActiveSubItem)(router)(subItems);
|
|
23
|
+
const [burgerMenuShow, setBurgerMenuShow] = context.useState(false);
|
|
24
|
+
const toggleBurgerMenu = () => setBurgerMenuShow(!burgerMenuShow);
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)("header", { className: `${bgColor} ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "container px-4 py-0", children: [(0, jsx_runtime_1.jsx)(HeaderTop_1.HeaderTop, { onClick: toggleBurgerMenu, bgColor: bgColor }), (0, jsx_runtime_1.jsx)("nav", { className: "flex items-center m-0 p-0 overflow-x-scroll overflow-y-hidden w-full h-[50px]", children: (0, jsx_runtime_1.jsx)("div", { className: "flex", children: subItems?.map((_, i) => renderSubItem({
|
|
26
|
+
...(0, useLink_1.useLink)({ router, handlerDecorator }, _),
|
|
27
|
+
active: _ === activeSubItem,
|
|
28
|
+
bgColor,
|
|
29
|
+
}, i)) }) })] }), burgerMenuShow ? ((0, jsx_runtime_1.jsx)(HeaderBurger_1.HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: burgerSubMenu, defaultLocation: defaultLocation, children: (0, jsx_runtime_1.jsx)(Accordion_1.Accordion, { context: context, accordionItems: (0, getAccordionItems_1.getAccordionItems)(topItems), className: "p-0 pt-0 pb-0 mb-4" }) })) : null] }));
|
|
30
|
+
});
|
|
31
|
+
const renderSubItem = (item, i) => ((0, jsx_runtime_1.jsx)(HeaderItem_1.HeaderItem, { className: "mr-8 whitespace-nowrap text-sm", ...item }, String(i)));
|
|
32
|
+
//# 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":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,gFAA6E;AAC7E,4EAAyE;AACzE,wEAAqE;AACrE,kEAA+D;AAE/D,mEAAgE;AAEhE,qEAAkE;AAClE,sDAAmD;AACnD,iDAA8C;AAE9C,2CAAwC;AAI3B,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,OAAO,GAAG,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE;IAC9F,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,WAAW,GAAG,IAAA,6BAAa,EAAC,OAAO,CAAC,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CAAC,CAAC,CAAC,IAAI,IACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAE,CAAS,EAAE,EAAE,CAAC,CACvD,uBAAC,uBAAU,IAAiB,SAAS,EAAC,gCAAgC,KAAK,IAAI,IAA9D,MAAM,CAAC,CAAC,CAAC,CAAyD,CACpF,CAAC"}
|
|
@@ -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,16 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.HeaderBurger = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
6
|
+
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
7
|
+
const SearchBar_1 = require("../../ui-kit/SearchBar/SearchBar");
|
|
8
|
+
exports.HeaderBurger = (0, uni_jsx_1.JSX)(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
9
|
+
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4", children: [(0, jsx_runtime_1.jsx)("button", { className: "absolute top-4 right-4", onClick: onClick, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "CloseIcon", width: "24", height: "24", asSVG: true }) }), (0, jsx_runtime_1.jsxs)(Button_1.Button, { onClick: getCity, className: "flex items-center text-sm text-secondary-text mb-4", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "box-border mr-2", asSVG: true }), city] }), children, (0, jsx_runtime_1.jsx)("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { context: context, className: "grow" })] }));
|
|
11
|
+
});
|
|
12
|
+
const renderBurgerSubMenuItem = (menu, i) => {
|
|
13
|
+
const { icon, href, text } = menu;
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { href: href, className: "flex text-sm mb-4", children: [icon ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, (0, jsx_runtime_1.jsx)("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=HeaderBurger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;AACpD,iDAA8C;AAC9C,gEAA6D;AAYhD,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,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,iCAAK,SAAS,EAAC,kDAAkD,aAC/D,mCAAQ,SAAS,EAAC,wBAAwB,EAAC,OAAO,EAAE,OAAO,YACzD,uBAAC,WAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,GAC/C,EACT,wBAAC,eAAM,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,oDAAoD,aACtF,uBAAC,WAAI,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,gCAAK,SAAS,EAAC,MAAM,YAAE,aAAa,EAAE,GAAG,CAAC,uBAAuB,CAAC,GAAO,EACzE,uBAAC,qBAAS,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,wBAAC,eAAM,IAA4B,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,mBAAmB,aACzE,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,iCAAM,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,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.HeaderTop = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
+
const Logo_1 = require("../../ui-kit/Logo/Logo");
|
|
7
|
+
exports.HeaderTop = (0, uni_jsx_1.JSX)(({ onClick, bgColor }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)("button", { className: "pr-4", onClick: onClick, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), (0, jsx_runtime_1.jsx)(Logo_1.Logo, { bgColor: bgColor })] }), (0, jsx_runtime_1.jsx)("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
|
|
8
|
+
//# sourceMappingURL=HeaderTop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderTop.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderTop.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,iDAA8C;AAOjC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrE,iCAAK,SAAS,EAAC,kFAAkF,aAC/F,iCAAK,SAAS,EAAC,mBAAmB,aAChC,mCAAQ,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,OAAO,YACvC,uBAAC,WAAI,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,uBAAC,WAAI,IAAC,OAAO,EAAE,OAAO,GAAI,IACtB,EACN,mCAAQ,SAAS,EAAE,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,YAAY,UAAU,+CAElF,IACL,CACP,CAAC,CAAC"}
|
|
@@ -8,8 +8,8 @@ const alignText = {
|
|
|
8
8
|
center: 'text-center',
|
|
9
9
|
right: 'text-right',
|
|
10
10
|
};
|
|
11
|
-
exports.Headline = (0, uni_jsx_1.JSX)(({ bgColor = 'transparent', align = 'left', className, title, description }) => {
|
|
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
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `p-[50px] ${bgColor} ${className}`, children: [title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: "L", className: `text-primary-text mt-0 font-medium ${textClasses}`, children: 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,oDAAiD;AAMjD,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,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,oDAAiD;AAMjD,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,aAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,sCAAsC,WAAW,EAAE,YAC3E,KAAK,GACA,CACT,EACA,WAAW,IAAI,CACd,8BAAG,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,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.Headline = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Img_1 = require("../../ui-kit/Img");
|
|
6
|
+
const Title_1 = require("../../ui-kit/Title/Title");
|
|
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)(Title_1.Title, { size: "L", className: "text-primary-text mt-0 font-medium", children: 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
|
+
});
|
|
10
|
+
//# 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,+CAAwC;AAGxC,0CAAuC;AACvC,oDAAiD;AAKpC,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,CACR,uBAAC,aAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,oCAAoC,YAC3D,KAAK,GACA,CACT,EACA,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"}
|
|
@@ -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
|
}
|
|
@@ -17,7 +17,7 @@ const linkColumnsModeStyleMap = {
|
|
|
17
17
|
double: 'gap-x-5 gap-y-[26px] flex-wrap',
|
|
18
18
|
single: 'gap-3.5 flex-col',
|
|
19
19
|
};
|
|
20
|
-
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className, title, align, documents, icon, columnsMode = '
|
|
20
|
+
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', title, align, documents, icon, columnsMode = 'single' }) => {
|
|
21
21
|
const containerClasses = linkColumnsModeStyleMap[columnsMode];
|
|
22
22
|
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans p-[50px] bg-white ${className}`, children: [title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { className: `font-medium mt-0 ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: title })), (0, jsx_runtime_1.jsx)("div", { className: `flex ${containerClasses}`, role: "list", children: documents?.length
|
|
23
23
|
? documents.map(({ text, fileSize, ...linkProps }, i) => ((0, jsx_runtime_1.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,+CAAwC;AAExC,iDAA8C;AAC9C,oDAAiD;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;AAIW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,GAAG,QAAQ,EAAE,EAAE,EA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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,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.MobileAppTile = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Logo_1 = require("../../ui-kit/Logo/Logo");
|
|
6
|
+
exports.MobileAppTile = (0, uni_jsx_1.JSX)(({ className, title = 'Мобильное приложение', description, href = '#' }) => {
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className || ''}`, children: href ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: (0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), (0, jsx_runtime_1.jsxs)("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-sm font-medium", children: title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xs text-secondary-text", children: description })] })] })) : null }));
|
|
8
|
+
});
|
|
9
|
+
//# 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,+CAAwC;AAIxC,iDAA8C;AAIjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,sBAAsB,EAAE,WAAW,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,gCACE,SAAS,EAAE,0EACT,SAAS,IAAI,EACf,EAAE,YAED,IAAI,CAAC,CAAC,CAAC,CACN,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,+EAA+E,YAC5F,uBAAC,WAAI,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAC,aAAa,EAAC,SAAS,SAAG,GACzD,EACN,+BAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,mCAAmC,aAC1E,gCAAK,SAAS,EAAC,qBAAqB,YAAE,KAAK,GAAO,EAClD,gCAAK,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
|
}
|
|
@@ -5,8 +5,8 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const ProductBlockInner_1 = require("./ProductBlockInner");
|
|
6
6
|
exports.ProductBlock = (0, uni_jsx_1.JSX)(
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8
|
-
(
|
|
8
|
+
(props /* Get rid of image and benefits */) => {
|
|
9
9
|
const { className } = props;
|
|
10
|
-
return ((0, jsx_runtime_1.jsx)("section", { className: `font-sans bg-white
|
|
10
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: `font-sans bg-white px-4 py-6 ${className || ''}`, children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { ...props }) }));
|
|
11
11
|
});
|
|
12
12
|
//# 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,+CAAwC;AAGxC,2DAAwD;AAI3C,QAAA,YAAY,GAAG,IAAA,aAAG;AAC7B,6DAA6D;AAC7D,CAAC,
|
|
1
|
+
{"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,2DAAwD;AAI3C,QAAA,YAAY,GAAG,IAAA,aAAG;AAC7B,6DAA6D;AAC7D,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC5C,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,OAAO,CACL,oCAAS,SAAS,EAAE,gCAAgC,SAAS,IAAI,EAAE,EAAE,YACnE,uBAAC,qCAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,25 +2,10 @@ 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 Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
5
|
const Img_1 = require("../../ui-kit/Img");
|
|
7
6
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
8
|
-
const
|
|
9
|
-
primary: 'bg-main',
|
|
10
|
-
secondary: 'bg-white/30',
|
|
11
|
-
};
|
|
12
|
-
const benefitTitleStyleMap = {
|
|
13
|
-
primary: 'text-primary-text',
|
|
14
|
-
secondary: 'text-white',
|
|
15
|
-
};
|
|
16
|
-
const benefitDescStyleMap = {
|
|
17
|
-
primary: 'text-secondary-text',
|
|
18
|
-
secondary: 'text-white',
|
|
19
|
-
};
|
|
7
|
+
const renderBenefit_1 = require("./renderBenefit");
|
|
20
8
|
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, context, title, titleSize, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
21
|
-
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.jsx)(BaseTile_1.BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, version: version, children: benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex gap-6 mt-6 mb-3.5", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null }) }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto", image: image })] }));
|
|
9
|
+
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.jsx)(BaseTile_1.BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, version: version, children: 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 }) }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto", image: image })] }));
|
|
22
10
|
});
|
|
23
|
-
function renderBenefit(benefit, i, version) {
|
|
24
|
-
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)("h4", { 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)));
|
|
25
|
-
}
|
|
26
11
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0CAAuC;AACvC,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,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,iCAAK,SAAS,EAAE,2CAA2C,SAAS,IAAI,EAAE,EAAE,aAC1E,gCAAK,SAAS,EAAE,eAAe,YAC7B,uBAAC,mBAAQ,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,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,GACC,GACP,EACL,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,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,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ProductBlockInner = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Img_1 = require("../../ui-kit/Img");
|
|
6
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
7
|
+
const renderBenefit_1 = require("./renderBenefit");
|
|
8
|
+
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, context, title, titleSize, description, benefits, buttons, image, items, version = 'primary', }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `${className || ''}`, children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, children: benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-[19px]", children: benefits.map((_, i) => (0, renderBenefit_1.renderBenefit)(_, i, version)) })) : 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
|
+
});
|
|
11
|
+
//# 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,+CAAwC;AAExC,0CAAuC;AACvC,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,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,iCAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,aAClC,0CACE,uBAAC,mBAAQ,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,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,GACC,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderBenefit = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
5
|
+
const benefitIconBgStyleMap = {
|
|
6
|
+
primary: 'bg-main',
|
|
7
|
+
secondary: 'bg-white/30',
|
|
8
|
+
};
|
|
9
|
+
const benefitTitleStyleMap = {
|
|
10
|
+
primary: 'text-primary-text',
|
|
11
|
+
secondary: 'text-white',
|
|
12
|
+
};
|
|
13
|
+
const benefitDescStyleMap = {
|
|
14
|
+
primary: 'text-secondary-text',
|
|
15
|
+
secondary: 'text-white',
|
|
16
|
+
};
|
|
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)("h4", { 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
|
+
}
|
|
20
|
+
exports.renderBenefit = renderBenefit;
|
|
21
|
+
//# sourceMappingURL=renderBenefit.js.map
|
|
@@ -0,0 +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,GACX,CACH,EACD,iCAAK,SAAS,EAAC,0CAA0C,aACvD,+BAAI,SAAS,EAAE,2BAA2B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YACtE,OAAO,CAAC,KAAK,GACX,EACJ,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,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;AAvBD,sCAuBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderBenefit = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
5
|
+
const benefitTitleStyleMap = {
|
|
6
|
+
primary: 'text-primary-text',
|
|
7
|
+
secondary: 'text-white',
|
|
8
|
+
};
|
|
9
|
+
const benefitDescStyleMap = {
|
|
10
|
+
primary: 'text-secondary-text',
|
|
11
|
+
secondary: 'text-white',
|
|
12
|
+
};
|
|
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)("h4", { 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
|
+
}
|
|
16
|
+
exports.renderBenefit = renderBenefit;
|
|
17
|
+
//# 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,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,GACX,CACH,EACD,+BAAI,SAAS,EAAE,+BAA+B,oBAAoB,CAAC,OAAO,CAAC,EAAE,YAC1E,OAAO,CAAC,KAAK,GACX,EACJ,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAE,yBAAyB,mBAAmB,CAAC,OAAO,CAAC,EAAE,YACpE,OAAO,CAAC,WAAW,GAChB,CACP,KAhBO,MAAM,CAAC,CAAC,CAAC,CAiBb,CACP,CAAC;AACJ,CAAC;AArBD,sCAqBC"}
|
|
@@ -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;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ProductGallery = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const ProductGalleryBlock_1 = require("./ProductGalleryBlock");
|
|
6
|
+
exports.ProductGallery = (0, uni_jsx_1.JSX)(({ className, context, duration = 0, slides = [] }) => {
|
|
7
|
+
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
8
|
+
const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, children: [(0, jsx_runtime_1.jsx)("div", { className: `flex duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((block, i) => ((0, jsx_runtime_1.jsx)(ProductGalleryBlock_1.ProductGalleryBlock, { block: block, context: context }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { className: "flex px-4 py-6", children: slides.map((_, i) => renderNavButton({
|
|
10
|
+
i,
|
|
11
|
+
activeSlideIndex,
|
|
12
|
+
onClick: () => setActiveSlideIndex(i),
|
|
13
|
+
duration,
|
|
14
|
+
})) })] }));
|
|
15
|
+
});
|
|
16
|
+
function renderNavButton({ i, activeSlideIndex, onClick, duration }) {
|
|
17
|
+
const isActiveBtn = i === activeSlideIndex;
|
|
18
|
+
const progressBarClassName = isActiveBtn ? 'animate-slide bg-primary-main' : 'bg-main-divider';
|
|
19
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: "button", onClick: onClick, className: `relative overflow-hidden border-0 bg-inherit cursor-pointer pl-0 mr-1.5 pt-4 pb-5 last:mr-0 grow basis-0`, children: (0, jsx_runtime_1.jsx)("div", { className: `absolute bottom-0 left-0 w-full h-[3px] ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } }) }, String(i)));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ProductGallery.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductGallery.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+DAA4D;AAK/C,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,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,CAC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ockProps } from '../../types';
|
|
2
|
+
import type { TitleSize } from '../../ui-kit/Title/TitleProps';
|
|
3
|
+
import type { ProductBlockInnerCommonProps } from '../ProductBlock/ProductBlockContent';
|
|
4
|
+
export interface ProductGalleryBlockProps extends UniBlockProps {
|
|
5
|
+
titleSize?: TitleSize;
|
|
6
|
+
block?: ProductBlockInnerCommonProps;
|
|
7
|
+
}
|
|
8
|
+
export declare const ProductGalleryBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryBlockProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ProductGalleryBlock = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
|
|
6
|
+
exports.ProductGalleryBlock = (0, uni_jsx_1.JSX)(({ block, titleSize, 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, titleSize: titleSize, ...block }) }) }));
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=ProductGalleryBlock.js.map
|
|
@@ -0,0 +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,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAChC,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,SAAS,EAAE,SAAS,KAChB,KAAK,GACT,GACE,GACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { TitleSize } from '../../ui-kit/Title/TitleProps';
|
|
3
|
+
import type { ProductBlockInnerCommonProps } from '../ProductBlock/ProductBlockContent';
|
|
4
|
+
export interface ProductGalleryBlockProps extends UniBlockProps {
|
|
5
|
+
titleSize?: TitleSize;
|
|
6
|
+
block?: ProductBlockInnerCommonProps;
|
|
7
|
+
}
|
|
8
|
+
export declare const ProductGalleryBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryBlockProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ProductGalleryBlock = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
|
|
6
|
+
exports.ProductGalleryBlock = (0, uni_jsx_1.JSX)(({ block, titleSize, context }) => {
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: "flex grow-0 shrink-0 basis-full px-4 py-6", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { context: context, titleSize: titleSize, ...block }) }) }));
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=ProductGalleryBlock.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductGalleryBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,yEAAsE;AAOzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAChC,OAAO,CACL,oCAAS,SAAS,EAAC,2CAA2C,EAAC,IAAI,EAAC,UAAU,YAC5E,gCAAK,SAAS,EAAC,WAAW,YACxB,uBAAC,qCAAiB,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,KAAM,KAAK,GAAI,GACpE,GACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -10,7 +10,8 @@ interface ProductGalleryNav {
|
|
|
10
10
|
* @title Слайд
|
|
11
11
|
*/
|
|
12
12
|
export interface ProductSlide {
|
|
13
|
-
|
|
13
|
+
/** @title Превью содержимого слайда на навигации */
|
|
14
|
+
nav?: ProductGalleryNav;
|
|
14
15
|
/** @title Содержимое слайда */
|
|
15
16
|
productBlock: ProductBlockInnerCommonProps;
|
|
16
17
|
}
|
|
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
6
|
const Title_1 = require("../../ui-kit/Title/Title");
|
|
7
7
|
exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className, title, description, steps, size = 'normal' }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans text-primary-text bg-white px-
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: "M", className: "font-medium m-0 text-center", children: title })), description && (0, jsx_runtime_1.jsx)("p", { className: `text-m-md text-center ${title && 'mt-2'}`, children: description }), steps?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i, array) => renderStepTitle({ step, size }, i, array)) }) })) : null] }));
|
|
9
9
|
});
|
|
10
10
|
const renderStepTitle = ({ step, size }, i, array) => {
|
|
11
11
|
const isLastStep = array.length - 1 === i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,oDAAiD;AAKpC,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,CACL,qCACE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,oDAAiD;AAKpC,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,CACL,qCACE,SAAS,EAAE,2EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,IAAI,CACR,uBAAC,aAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,6BAA6B,YACpD,KAAK,GACA,CACT,EACA,WAAW,IAAI,8BAAG,SAAS,EAAE,yBAAyB,KAAK,IAAI,MAAM,EAAE,YAAG,WAAW,GAAK,EAC1F,KAAK,EAAE,MAAM,CAAC,CAAC,CA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,uCAAuC,aACnD,IAAI,CAAC,KAAK,IAAI,CACb,gCAAK,SAAS,EAAC,2CAA2C,YAAE,IAAI,CAAC,KAAK,GAAO,CAC9E,EACA,IAAI,CAAC,WAAW,IAAI,CACnB,gCACE,SAAS,EAAE,qDACT,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACxB,EAAE,YAED,IAAI,CAAC,WAAW,GACb,CACP,IACG,KArBE,MAAM,CAAC,CAAC,CAAC,CAsBb,EACL,CAAC,UAAU,IAAI,gCAAK,SAAS,EAAE,kCAAkC,MAAM,EAAE,GAAI,IAC1E,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -25,10 +25,10 @@ const textBlockStyleMaps = {
|
|
|
25
25
|
};
|
|
26
26
|
exports.TextBlock = (0, uni_jsx_1.JSX)(({ title, description, blockVersion = 'primary', iconVersion, image, className }) => {
|
|
27
27
|
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
28
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, children: [iconVersion
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, (0, jsx_runtime_1.jsxs)("div", { className: "py-0.5", children: [title && ((0, jsx_runtime_1.jsx)("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })), description && ((0, jsx_runtime_1.jsx)("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description }))] })] }));
|
|
29
29
|
});
|
|
30
30
|
function renderIcon(className) {
|
|
31
|
-
return ((0, jsx_runtime_1.jsx)("div", { className:
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "pt-1.5 pl-1 pr-4", children: (0, jsx_runtime_1.jsx)("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
|
|
32
32
|
}
|
|
33
33
|
function renderImage(image) {
|
|
34
34
|
return image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "pt-0.5 pr-3", image: image }) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0CAAuC;AAKvC,MAAM,kBAAkB,GAGpB;IACF,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,YAAY;KAC1B;IACD,iBAAiB,EAAE;QACjB,UAAU,EAAE,oBAAoB;QAChC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;IAClF,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC3D,OAAO,CACL,qCACE,SAAS,EAAE,4BAA4B,iBAAiB,CAAC,UAAU,IAAI,SAAS,IAAI,EAAE,EAAE,aAEvF,WAAW,
|
|
1
|
+
{"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0CAAuC;AAKvC,MAAM,kBAAkB,GAGpB;IACF,OAAO,EAAE;QACP,UAAU,EA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AAS,EAAE,4CAA4C,SAAS,EAAE,kBAAS,GAC5E,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3E,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { TextBlockContent } from './TextBlockContent';
|
|
3
|
+
export interface TextBlockProps extends TextBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<TextBlockProps, any>, context?: any) => any;
|