@redneckz/wildless-cms-uni-blocks 0.2.111 → 0.2.114
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 +9 -5
- 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/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- 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/dist/ui-kit/SearchBar.mobile.js +14 -0
- 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 +9 -5
- 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/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- 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 +978 -0
- package/mobile/bundle/bundle.umd.min.js +1 -0
- package/mobile/dist/ProjectSettings.d.ts +21 -0
- package/mobile/dist/ProjectSettings.js +33 -0
- package/mobile/dist/ProjectSettings.js.map +1 -0
- package/mobile/dist/api/DaDataAPI.d.ts +3 -0
- package/mobile/dist/api/DaDataAPI.js +33 -0
- package/mobile/dist/api/DaDataAPI.js.map +1 -0
- package/mobile/dist/api/LikeAPI.d.ts +9 -0
- package/mobile/dist/api/LikeAPI.js +120 -0
- package/mobile/dist/api/LikeAPI.js.map +1 -0
- package/mobile/dist/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/dist/components/Accordion/Accordion.js +10 -0
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js +13 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +77 -0
- package/mobile/dist/components/Accordion/AccordionContent.js +2 -0
- package/mobile/dist/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/dist/components/Accordion/AccordionItem.js +16 -0
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/dist/components/BaseTile/BaseTile.js +17 -0
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -0
- 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 +47 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +1 -0
- 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/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +13 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/dist/components/BlockContent.d.ts +23 -0
- package/mobile/dist/components/BlockContent.js +2 -0
- package/mobile/dist/components/BlockContent.js.map +1 -0
- package/mobile/dist/components/Blocks.d.ts +11 -0
- package/mobile/dist/components/Blocks.js +23 -0
- package/mobile/dist/components/Blocks.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +36 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +11 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js +12 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js +6 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/dist/components/ComparisonTable/constants.js +9 -0
- package/mobile/dist/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/dist/components/ContentPage/ContentPage.js +32 -0
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js +11 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/dist/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js +34 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js +57 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/constants.js +10 -0
- package/mobile/dist/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js +11 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js +13 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js +15 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js +19 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/dist/components/Footer/Contacts.d.ts +7 -0
- package/mobile/dist/components/Footer/Contacts.js +31 -0
- package/mobile/dist/components/Footer/Contacts.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.d.ts +5 -0
- package/mobile/dist/components/Footer/Footer.js +26 -0
- package/mobile/dist/components/Footer/Footer.js.map +1 -0
- package/mobile/dist/components/Footer/FooterContent.d.ts +50 -0
- package/mobile/dist/components/Footer/FooterContent.js +2 -0
- package/mobile/dist/components/Footer/FooterContent.js.map +1 -0
- package/mobile/dist/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/dist/components/Footer/FooterLink.js +2 -0
- package/mobile/dist/components/Footer/FooterLink.js.map +1 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js +12 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -0
- 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/Sitemap.d.ts +6 -0
- package/mobile/dist/components/Footer/Sitemap.js +22 -0
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -0
- package/mobile/dist/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/dist/components/Footer/SocialMedia.js +12 -0
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/dist/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/dist/components/Footer/TextInformation.js +12 -0
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -0
- package/mobile/dist/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/dist/components/Gallery/Gallery.js +18 -0
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js +19 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js +16 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/dist/components/Gallery/GalleryContent.js +2 -0
- package/mobile/dist/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/dist/components/Gallery/GalleryInner.js +18 -0
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/dist/components/Gallery/GalleryProps.js +2 -0
- package/mobile/dist/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/dist/components/Gallery/constants.d.ts +6 -0
- package/mobile/dist/components/Gallery/constants.js +19 -0
- package/mobile/dist/components/Gallery/constants.js.map +1 -0
- package/mobile/dist/components/Header/Header.d.ts +5 -0
- package/mobile/dist/components/Header/Header.js +32 -0
- package/mobile/dist/components/Header/Header.js.map +1 -0
- 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 +29 -0
- package/mobile/dist/components/Header/HeaderContent.js +2 -0
- package/mobile/dist/components/Header/HeaderContent.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +24 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/dist/components/Headline/Headline.js +10 -0
- package/mobile/dist/components/Headline/Headline.js.map +1 -0
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/dist/components/Headline/HeadlineContent.js +2 -0
- package/mobile/dist/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/dist/components/LikeControl/LikeControl.js +10 -0
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js +42 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js +7 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +9 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +18 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/dist/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/dist/components/Navigation/Navigation.js +16 -0
- package/mobile/dist/components/Navigation/Navigation.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/dist/components/Navigation/NavigationContent.js +2 -0
- package/mobile/dist/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/dist/components/Navigation/NavigationItem.js +6 -0
- package/mobile/dist/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/dist/components/PictureText/PictureText.js +14 -0
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +15 -0
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +11 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +21 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -0
- 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 +30 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/dist/components/ProductTile/ProductTile.js +20 -0
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/dist/components/PromoTile/PromoTile.js +18 -0
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js +24 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +30 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js +25 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +16 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +13 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/dist/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/dist/components/TariffsTable/constants.js +7 -0
- package/mobile/dist/components/TariffsTable/constants.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/dist/components/TextBlock/TextBlock.js +40 -0
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +24 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.d.ts +6 -0
- package/mobile/dist/components/Tile/Tile.js +39 -0
- package/mobile/dist/components/Tile/Tile.js.map +1 -0
- package/mobile/dist/components/Tile/TileContent.d.ts +5 -0
- package/mobile/dist/components/Tile/TileContent.js +2 -0
- package/mobile/dist/components/Tile/TileContent.js.map +1 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js +56 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/dist/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/dist/content-page-repository/index.d.ts +2 -0
- package/mobile/dist/content-page-repository/index.js +7 -0
- package/mobile/dist/content-page-repository/index.js.map +1 -0
- package/mobile/dist/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/dist/content-page-repository/mapJSON.js +24 -0
- package/mobile/dist/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +30 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js +16 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/dist/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformPicture.js +50 -0
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/dist/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/dist/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js +15 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +15 -0
- package/mobile/dist/hooks/useLink.js +23 -0
- package/mobile/dist/hooks/useLink.js.map +1 -0
- package/mobile/dist/index.d.ts +19 -0
- package/mobile/dist/index.js +49 -0
- package/mobile/dist/index.js.map +1 -0
- package/mobile/dist/model/BgColorVersion.d.ts +8 -0
- package/mobile/dist/model/BgColorVersion.js +2 -0
- package/mobile/dist/model/BgColorVersion.js.map +1 -0
- package/mobile/dist/model/BlockVersion.d.ts +5 -0
- package/mobile/dist/model/BlockVersion.js +2 -0
- package/mobile/dist/model/BlockVersion.js.map +1 -0
- package/mobile/dist/model/ButtonVersion.d.ts +6 -0
- package/mobile/dist/model/ButtonVersion.js +2 -0
- package/mobile/dist/model/ButtonVersion.js.map +1 -0
- package/mobile/dist/model/GalleryVersion.d.ts +1 -0
- package/mobile/dist/model/GalleryVersion.js +2 -0
- package/mobile/dist/model/GalleryVersion.js.map +1 -0
- package/mobile/dist/model/LinkProps.d.ts +22 -0
- package/mobile/dist/model/LinkProps.js +2 -0
- package/mobile/dist/model/LinkProps.js.map +1 -0
- package/mobile/dist/model/Picture.d.ts +29 -0
- package/mobile/dist/model/Picture.js +2 -0
- package/mobile/dist/model/Picture.js.map +1 -0
- package/mobile/dist/model/SitemapProps.d.ts +13 -0
- package/mobile/dist/model/SitemapProps.js +2 -0
- package/mobile/dist/model/SitemapProps.js.map +1 -0
- package/mobile/dist/model/SizeVersion.d.ts +8 -0
- package/mobile/dist/model/SizeVersion.js +2 -0
- package/mobile/dist/model/SizeVersion.js.map +1 -0
- package/mobile/dist/model/TableVersion.d.ts +1 -0
- package/mobile/dist/model/TableVersion.js +2 -0
- package/mobile/dist/model/TableVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/dist/services/sitemap/SitemapProps.js +2 -0
- package/mobile/dist/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js +13 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/dist/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/dist/services/sitemap/isHrefActive.js +9 -0
- package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js +6 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js +7 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js +8 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/dist/services/sitemap/useSitemap.js +16 -0
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/dist/types.d.ts +51 -0
- package/mobile/dist/types.js +2 -0
- package/mobile/dist/types.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +24 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/dist/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/dist/ui-kit/Breadcrumb.js +13 -0
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js +22 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/Button.js +28 -0
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js +15 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +17 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +23 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +13 -0
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +159 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js +78 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/dist/ui-kit/Img.d.ts +7 -0
- package/mobile/dist/ui-kit/Img.js +18 -0
- package/mobile/dist/ui-kit/Img.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js +27 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +8 -0
- package/mobile/dist/ui-kit/Logo/Logo.js +24 -0
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/dist/ui-kit/SVG.d.ts +20 -0
- package/mobile/dist/ui-kit/SVG.js +8 -0
- package/mobile/dist/ui-kit/SVG.js.map +1 -0
- 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/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/dist/ui-kit/Title/Title.js +18 -0
- package/mobile/dist/ui-kit/Title/Title.js.map +1 -0
- package/mobile/dist/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js +24 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +5 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/dist/utils/adjustHref.d.ts +4 -0
- package/mobile/dist/utils/adjustHref.js +21 -0
- package/mobile/dist/utils/adjustHref.js.map +1 -0
- package/mobile/dist/utils/clamp.d.ts +1 -0
- package/mobile/dist/utils/clamp.js +5 -0
- package/mobile/dist/utils/clamp.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/dist/utils/getColSpan.d.ts +1 -0
- package/mobile/dist/utils/getColSpan.js +9 -0
- package/mobile/dist/utils/getColSpan.js.map +1 -0
- package/mobile/dist/utils/getGeolocation.d.ts +1 -0
- package/mobile/dist/utils/getGeolocation.js +5 -0
- package/mobile/dist/utils/getGeolocation.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -0
- package/mobile/dist/utils/joinList.js +7 -0
- package/mobile/dist/utils/joinList.js.map +1 -0
- package/mobile/dist/utils/maxBy.d.ts +2 -0
- package/mobile/dist/utils/maxBy.js +7 -0
- package/mobile/dist/utils/maxBy.js.map +1 -0
- package/mobile/dist/utils/url.d.ts +3 -0
- package/mobile/dist/utils/url.js +18 -0
- package/mobile/dist/utils/url.js.map +1 -0
- package/mobile/dist/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/dist/utils/withoutMobilePath.js +6 -0
- package/mobile/dist/utils/withoutMobilePath.js.map +1 -0
- package/mobile/lib/ProjectSettings.d.ts +21 -0
- package/mobile/lib/ProjectSettings.js +31 -0
- package/mobile/lib/ProjectSettings.js.map +1 -0
- package/mobile/lib/api/DaDataAPI.d.ts +3 -0
- package/mobile/lib/api/DaDataAPI.js +30 -0
- package/mobile/lib/api/DaDataAPI.js.map +1 -0
- package/mobile/lib/api/LikeAPI.d.ts +9 -0
- package/mobile/lib/api/LikeAPI.js +117 -0
- package/mobile/lib/api/LikeAPI.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/lib/components/Accordion/Accordion.js +8 -0
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js +11 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +77 -0
- package/mobile/lib/components/Accordion/AccordionContent.js +2 -0
- package/mobile/lib/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/lib/components/Accordion/AccordionItem.js +14 -0
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/lib/components/BaseTile/BaseTile.js +15 -0
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -0
- 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 +47 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +1 -0
- 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/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +11 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/lib/components/BlockContent.d.ts +23 -0
- package/mobile/lib/components/BlockContent.js +2 -0
- package/mobile/lib/components/BlockContent.js.map +1 -0
- package/mobile/lib/components/Blocks.d.ts +11 -0
- package/mobile/lib/components/Blocks.js +21 -0
- package/mobile/lib/components/Blocks.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +34 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +9 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js +10 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/lib/components/ComparisonTable/constants.js +7 -0
- package/mobile/lib/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/lib/components/ContentPage/ContentPage.js +30 -0
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js +9 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/lib/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js +31 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js +55 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/constants.js +8 -0
- package/mobile/lib/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js +8 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js +10 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js +12 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js +16 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/lib/components/Footer/Contacts.d.ts +7 -0
- package/mobile/lib/components/Footer/Contacts.js +29 -0
- package/mobile/lib/components/Footer/Contacts.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.d.ts +5 -0
- package/mobile/lib/components/Footer/Footer.js +24 -0
- package/mobile/lib/components/Footer/Footer.js.map +1 -0
- package/mobile/lib/components/Footer/FooterContent.d.ts +50 -0
- package/mobile/lib/components/Footer/FooterContent.js +2 -0
- package/mobile/lib/components/Footer/FooterContent.js.map +1 -0
- package/mobile/lib/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/lib/components/Footer/FooterLink.js +2 -0
- package/mobile/lib/components/Footer/FooterLink.js.map +1 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js +10 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -0
- 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/Sitemap.d.ts +6 -0
- package/mobile/lib/components/Footer/Sitemap.js +20 -0
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -0
- package/mobile/lib/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/lib/components/Footer/SocialMedia.js +10 -0
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/lib/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/lib/components/Footer/TextInformation.js +10 -0
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -0
- package/mobile/lib/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/lib/components/Gallery/Gallery.js +16 -0
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js +17 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js +14 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/lib/components/Gallery/GalleryContent.js +2 -0
- package/mobile/lib/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/lib/components/Gallery/GalleryInner.js +16 -0
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/lib/components/Gallery/GalleryProps.js +2 -0
- package/mobile/lib/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/lib/components/Gallery/constants.d.ts +6 -0
- package/mobile/lib/components/Gallery/constants.js +17 -0
- package/mobile/lib/components/Gallery/constants.js.map +1 -0
- package/mobile/lib/components/Header/Header.d.ts +5 -0
- package/mobile/lib/components/Header/Header.js +30 -0
- package/mobile/lib/components/Header/Header.js.map +1 -0
- 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 +29 -0
- package/mobile/lib/components/Header/HeaderContent.js +2 -0
- package/mobile/lib/components/Header/HeaderContent.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +22 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +4 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/lib/components/Headline/Headline.js +8 -0
- package/mobile/lib/components/Headline/Headline.js.map +1 -0
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/lib/components/Headline/HeadlineContent.js +2 -0
- package/mobile/lib/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/lib/components/LikeControl/LikeControl.js +8 -0
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js +40 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +7 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +18 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/lib/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/lib/components/Navigation/Navigation.js +14 -0
- package/mobile/lib/components/Navigation/Navigation.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/lib/components/Navigation/NavigationContent.js +2 -0
- package/mobile/lib/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/lib/components/PictureText/PictureText.js +12 -0
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +13 -0
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +10 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +9 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
- 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.d.ts +5 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +19 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -0
- 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 +30 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/lib/components/ProductTile/ProductTile.js +18 -0
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/lib/components/PromoTile/PromoTile.js +16 -0
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js +22 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +30 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js +23 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +11 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/lib/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/lib/components/TariffsTable/constants.js +5 -0
- package/mobile/lib/components/TariffsTable/constants.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/lib/components/TextBlock/TextBlock.js +38 -0
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +24 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.d.ts +6 -0
- package/mobile/lib/components/Tile/Tile.js +37 -0
- package/mobile/lib/components/Tile/Tile.js.map +1 -0
- package/mobile/lib/components/Tile/TileContent.d.ts +5 -0
- package/mobile/lib/components/Tile/TileContent.js +2 -0
- package/mobile/lib/components/Tile/TileContent.js.map +1 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js +50 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/lib/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/lib/content-page-repository/index.d.ts +2 -0
- package/mobile/lib/content-page-repository/index.js +3 -0
- package/mobile/lib/content-page-repository/index.js.map +1 -0
- package/mobile/lib/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/lib/content-page-repository/mapJSON.js +21 -0
- package/mobile/lib/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +24 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js +10 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/lib/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformPicture.js +44 -0
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/lib/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js +9 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/lib/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js +12 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +15 -0
- package/mobile/lib/hooks/useLink.js +20 -0
- package/mobile/lib/hooks/useLink.js.map +1 -0
- package/mobile/lib/index.d.ts +19 -0
- package/mobile/lib/index.js +13 -0
- package/mobile/lib/index.js.map +1 -0
- package/mobile/lib/model/BgColorVersion.d.ts +8 -0
- package/mobile/lib/model/BgColorVersion.js +2 -0
- package/mobile/lib/model/BgColorVersion.js.map +1 -0
- package/mobile/lib/model/BlockVersion.d.ts +5 -0
- package/mobile/lib/model/BlockVersion.js +2 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -0
- package/mobile/lib/model/ButtonVersion.d.ts +6 -0
- package/mobile/lib/model/ButtonVersion.js +2 -0
- package/mobile/lib/model/ButtonVersion.js.map +1 -0
- package/mobile/lib/model/GalleryVersion.d.ts +1 -0
- package/mobile/lib/model/GalleryVersion.js +2 -0
- package/mobile/lib/model/GalleryVersion.js.map +1 -0
- package/mobile/lib/model/LinkProps.d.ts +22 -0
- package/mobile/lib/model/LinkProps.js +2 -0
- package/mobile/lib/model/LinkProps.js.map +1 -0
- package/mobile/lib/model/Picture.d.ts +29 -0
- package/mobile/lib/model/Picture.js +2 -0
- package/mobile/lib/model/Picture.js.map +1 -0
- package/mobile/lib/model/SitemapProps.d.ts +13 -0
- package/mobile/lib/model/SitemapProps.js +2 -0
- package/mobile/lib/model/SitemapProps.js.map +1 -0
- package/mobile/lib/model/SizeVersion.d.ts +8 -0
- package/mobile/lib/model/SizeVersion.js +2 -0
- package/mobile/lib/model/SizeVersion.js.map +1 -0
- package/mobile/lib/model/TableVersion.d.ts +1 -0
- package/mobile/lib/model/TableVersion.js +2 -0
- package/mobile/lib/model/TableVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/lib/services/sitemap/SitemapProps.js +2 -0
- package/mobile/lib/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js +10 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/lib/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/lib/services/sitemap/isHrefActive.js +6 -0
- package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js +4 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js +5 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/lib/services/sitemap/useSitemap.js +13 -0
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/lib/types.d.ts +51 -0
- package/mobile/lib/types.js +2 -0
- package/mobile/lib/types.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +22 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/lib/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/lib/ui-kit/Breadcrumb.js +11 -0
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js +20 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/Button.js +26 -0
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js +13 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +15 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +21 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +11 -0
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +159 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js +76 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/lib/ui-kit/Img.d.ts +7 -0
- package/mobile/lib/ui-kit/Img.js +15 -0
- package/mobile/lib/ui-kit/Img.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js +25 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +8 -0
- package/mobile/lib/ui-kit/Logo/Logo.js +22 -0
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/lib/ui-kit/SVG.d.ts +20 -0
- package/mobile/lib/ui-kit/SVG.js +6 -0
- package/mobile/lib/ui-kit/SVG.js.map +1 -0
- 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/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/lib/ui-kit/Title/Title.js +16 -0
- package/mobile/lib/ui-kit/Title/Title.js.map +1 -0
- package/mobile/lib/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js +22 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +2 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/lib/utils/adjustHref.d.ts +4 -0
- package/mobile/lib/utils/adjustHref.js +18 -0
- package/mobile/lib/utils/adjustHref.js.map +1 -0
- package/mobile/lib/utils/clamp.d.ts +1 -0
- package/mobile/lib/utils/clamp.js +2 -0
- package/mobile/lib/utils/clamp.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/lib/utils/getColSpan.d.ts +1 -0
- package/mobile/lib/utils/getColSpan.js +6 -0
- package/mobile/lib/utils/getColSpan.js.map +1 -0
- package/mobile/lib/utils/getGeolocation.d.ts +1 -0
- package/mobile/lib/utils/getGeolocation.js +2 -0
- package/mobile/lib/utils/getGeolocation.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -0
- package/mobile/lib/utils/joinList.js +4 -0
- package/mobile/lib/utils/joinList.js.map +1 -0
- package/mobile/lib/utils/maxBy.d.ts +2 -0
- package/mobile/lib/utils/maxBy.js +3 -0
- package/mobile/lib/utils/maxBy.js.map +1 -0
- package/mobile/lib/utils/url.d.ts +3 -0
- package/mobile/lib/utils/url.js +13 -0
- package/mobile/lib/utils/url.js.map +1 -0
- package/mobile/lib/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/lib/utils/withoutMobilePath.js +3 -0
- package/mobile/lib/utils/withoutMobilePath.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +43 -0
- package/mobile/src/api/DaDataAPI.ts +34 -0
- package/mobile/src/api/LikeAPI.ts +145 -0
- package/mobile/src/common.css +141 -0
- package/mobile/src/components/Accordion/Accordion.example.json +50 -0
- package/mobile/src/components/Accordion/Accordion.tsx +38 -0
- package/mobile/src/components/Accordion/AccordionBlocks.tsx +11 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +91 -0
- package/mobile/src/components/Accordion/AccordionItem.tsx +39 -0
- 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 +53 -0
- package/mobile/src/components/BaseTile/BaseTileInner.tsx +31 -0
- package/mobile/src/components/BaseTile/BaseTileProps.ts +50 -0
- 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/BenefitsBlock/BenefitsBlock.example.json +13 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +43 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +25 -0
- package/mobile/src/components/BlockContent.ts +43 -0
- package/mobile/src/components/Blocks.ts +21 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +84 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +129 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +64 -0
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +26 -0
- package/mobile/src/components/ComparisonTable/TableCell.tsx +43 -0
- package/mobile/src/components/ComparisonTable/TableRow.tsx +44 -0
- package/mobile/src/components/ComparisonTable/TableRowContainer.tsx +7 -0
- package/mobile/src/components/ComparisonTable/constants.ts +6 -0
- package/mobile/src/components/ContentPage/ContentPage.page.json +452 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +125 -0
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +37 -0
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +26 -0
- package/mobile/src/components/ContentPage/toMobilePage.ts +38 -0
- package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +154 -0
- package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +21 -0
- package/mobile/src/components/CreditCalculator/constants.ts +8 -0
- package/mobile/src/components/CreditCalculator/getCalculatorParams.ts +16 -0
- package/mobile/src/components/CreditCalculator/getCreditRate.ts +18 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.spec.ts +10 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.ts +15 -0
- package/mobile/src/components/CreditCalculator/getMonthlyPayment.ts +32 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +7 -0
- package/mobile/src/components/Footer/Contacts.tsx +73 -0
- package/mobile/src/components/Footer/Footer.tsx +66 -0
- package/mobile/src/components/Footer/FooterContent.ts +55 -0
- package/mobile/src/components/Footer/FooterLink.ts +6 -0
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +52 -0
- package/mobile/src/components/Footer/MediaButton.tsx +43 -0
- package/mobile/src/components/Footer/Sitemap.tsx +59 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +21 -0
- package/mobile/src/components/Footer/TextInformation.tsx +50 -0
- package/mobile/src/components/Gallery/Gallery.example.json +58 -0
- package/mobile/src/components/Gallery/Gallery.tsx +69 -0
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +53 -0
- package/mobile/src/components/Gallery/GalleryContainer.tsx +59 -0
- package/mobile/src/components/Gallery/GalleryContent.ts +34 -0
- package/mobile/src/components/Gallery/GalleryInner.tsx +57 -0
- package/mobile/src/components/Gallery/GalleryProps.ts +4 -0
- package/mobile/src/components/Gallery/constants.ts +22 -0
- package/mobile/src/components/Header/Header.tsx +73 -0
- package/mobile/src/components/Header/HeaderBurger.tsx +45 -0
- package/mobile/src/components/Header/HeaderContent.ts +30 -0
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +69 -0
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +19 -0
- package/mobile/src/components/Header/HeaderTop.tsx +28 -0
- package/mobile/src/components/Headline/Headline.example.json +6 -0
- package/mobile/src/components/Headline/Headline.tsx +30 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +11 -0
- package/mobile/src/components/LikeControl/LikeControl.tsx +23 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +26 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +82 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +26 -0
- package/mobile/src/components/MiniGallery/MiniGallery.example.json +50 -0
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +10 -0
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +6 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +22 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +31 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +22 -0
- package/mobile/src/components/Navigation/Navigation.tsx +39 -0
- package/mobile/src/components/Navigation/NavigationContent.ts +11 -0
- package/mobile/src/components/Navigation/NavigationItem.tsx +17 -0
- package/mobile/src/components/PictureText/PictureText.example.json +20 -0
- package/mobile/src/components/PictureText/PictureText.tsx +47 -0
- package/mobile/src/components/PictureText/PictureTextContent.ts +10 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +30 -0
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +6 -0
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +17 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +18 -0
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +28 -0
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +49 -0
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +35 -0
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +21 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +56 -0
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +22 -0
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +32 -0
- package/mobile/src/components/ProductTile/ProductTile.example.json +30 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +44 -0
- package/mobile/src/components/ProductTile/ProductTileContent.ts +13 -0
- package/mobile/src/components/PromoTile/PromoTile.example.json +13 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +43 -0
- package/mobile/src/components/PromoTile/PromoTileContent.ts +9 -0
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +20 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +93 -0
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +33 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +83 -0
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +74 -0
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +61 -0
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +65 -0
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +51 -0
- package/mobile/src/components/TariffsTable/constants.ts +4 -0
- package/mobile/src/components/TextBlock/TextBlock.example.json +13 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +76 -0
- package/mobile/src/components/TextBlock/TextBlockContent.ts +27 -0
- package/mobile/src/components/Tile/Tile.example.json +21 -0
- package/mobile/src/components/Tile/Tile.tsx +52 -0
- package/mobile/src/components/Tile/TileContent.ts +6 -0
- package/mobile/src/content-page-repository/ContentPageRepository.ts +63 -0
- package/mobile/src/content-page-repository/TransformationOptions.ts +4 -0
- package/mobile/src/content-page-repository/index.ts +2 -0
- package/mobile/src/content-page-repository/mapJSON.spec.ts +28 -0
- package/mobile/src/content-page-repository/mapJSON.ts +23 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +33 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +10 -0
- package/mobile/src/content-page-repository/transformPicture.ts +66 -0
- package/mobile/src/hooks/useComparisonTableScroll.ts +21 -0
- package/mobile/src/hooks/useCreditCalculatorData.ts +23 -0
- package/mobile/src/hooks/useLink.ts +29 -0
- package/mobile/src/icons/ActualBalanceIcon.svg +187 -0
- package/mobile/src/icons/AppleIcon.svg +1 -0
- 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/Calendar2Icon.svg +1 -0
- package/mobile/src/icons/CalendarCircleIcon.svg +1 -0
- package/mobile/src/icons/CalendarIcon.svg +17 -0
- package/mobile/src/icons/CalendarTickIcon.svg +1 -0
- package/mobile/src/icons/CalendarWhiteIcon.svg +17 -0
- package/mobile/src/icons/CardIcon.svg +1 -0
- package/mobile/src/icons/CardPosIcon.svg +1 -0
- package/mobile/src/icons/CardTickIcon.svg +1 -0
- package/mobile/src/icons/CardWithGemIcon.svg +1 -0
- package/mobile/src/icons/ChartSquareIcon.svg +1 -0
- package/mobile/src/icons/ClockIcon.svg +209 -0
- package/mobile/src/icons/CloseIcon.svg +6 -0
- package/mobile/src/icons/ComfortableCompIcon.svg +374 -0
- package/mobile/src/icons/CreditCardsIcon.svg +1 -0
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -0
- package/mobile/src/icons/DocIcon.svg +5 -0
- package/mobile/src/icons/DocumentTextIcon.svg +6 -0
- package/mobile/src/icons/DollarIcon.svg +10 -0
- package/mobile/src/icons/EarthIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletIcon.svg +17 -0
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +16 -0
- package/mobile/src/icons/EuroIcon.svg +10 -0
- package/mobile/src/icons/GeolocationIcon.svg +4 -0
- package/mobile/src/icons/GlassIcon.svg +1 -0
- package/mobile/src/icons/GlobalIcon.svg +1 -0
- package/mobile/src/icons/GridIcon.svg +4 -0
- package/mobile/src/icons/GridIconWhite.svg +4 -0
- package/mobile/src/icons/InterestGrowthIcon.svg +1 -0
- package/mobile/src/icons/InterestIcon.svg +1 -0
- package/mobile/src/icons/JCBIcon.svg +1 -0
- package/mobile/src/icons/LoupeIcon.svg +9 -0
- package/mobile/src/icons/MasterCardIcon.svg +1 -0
- package/mobile/src/icons/MinusIcon.svg +1 -0
- package/mobile/src/icons/MirIcon.svg +1 -0
- package/mobile/src/icons/MoneyIcon.svg +1 -0
- package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -0
- package/mobile/src/icons/MonitorMobileIcon.svg +1 -0
- package/mobile/src/icons/NewDocIcon.svg +251 -0
- package/mobile/src/icons/OfficeIcon.svg +1 -0
- package/mobile/src/icons/OkIcon.svg +5 -0
- package/mobile/src/icons/PassSendIcon.svg +238 -0
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -0
- package/mobile/src/icons/PercentageSquareIcon.svg +16 -0
- package/mobile/src/icons/PercentageSquareWhiteIcon.svg +16 -0
- package/mobile/src/icons/PersonalCardIcon.svg +1 -0
- package/mobile/src/icons/PlayMarketIcon.svg +1 -0
- package/mobile/src/icons/PlusIcon.svg +1 -0
- package/mobile/src/icons/Profile2UserIcon.svg +1 -0
- package/mobile/src/icons/ProfileIcon.svg +16 -0
- package/mobile/src/icons/RoundRubleIcon.svg +1 -0
- package/mobile/src/icons/SafeIcon.svg +1 -0
- package/mobile/src/icons/ShieldTickIcon.svg +1 -0
- package/mobile/src/icons/SignDocsIcon.svg +288 -0
- package/mobile/src/icons/SmallClockIcon.svg +1 -0
- package/mobile/src/icons/TelegramIcon.svg +5 -0
- package/mobile/src/icons/UnionPayIcon.svg +1 -0
- package/mobile/src/icons/UserTickIcon.svg +1 -0
- package/mobile/src/icons/VKIcon.svg +7 -0
- package/mobile/src/icons/VisaIcon.svg +1 -0
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -0
- package/mobile/src/icons/WalletAddIcon.svg +1 -0
- package/mobile/src/icons/WalletIcon.svg +1 -0
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -0
- package/mobile/src/index.ts +34 -0
- package/mobile/src/model/BgColorVersion.ts +8 -0
- package/mobile/src/model/BlockVersion.ts +5 -0
- package/mobile/src/model/ButtonVersion.ts +6 -0
- package/mobile/src/model/GalleryVersion.ts +1 -0
- package/mobile/src/model/LinkProps.ts +23 -0
- package/mobile/src/model/Picture.ts +31 -0
- package/mobile/src/model/SitemapProps.ts +15 -0
- package/mobile/src/model/SizeVersion.ts +8 -0
- package/mobile/src/model/TableVersion.ts +1 -0
- package/mobile/src/services/sitemap/SitemapProps.ts +15 -0
- package/mobile/src/services/sitemap/findActiveSubItem.ts +14 -0
- package/mobile/src/services/sitemap/isHrefActive.ts +13 -0
- package/mobile/src/services/sitemap/isSubItemActive.ts +8 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +9 -0
- package/mobile/src/services/sitemap/mergeTopItems.spec.ts +20 -0
- package/mobile/src/services/sitemap/mergeTopItems.ts +12 -0
- package/mobile/src/services/sitemap/useSitemap.ts +17 -0
- package/mobile/src/setup-fixture.ts +83 -0
- package/mobile/src/types.ts +61 -0
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +36 -0
- package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +23 -0
- package/mobile/src/ui-kit/Breadcrumb.tsx +21 -0
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +32 -0
- package/mobile/src/ui-kit/Button/Button.tsx +97 -0
- package/mobile/src/ui-kit/Button/ButtonProps.ts +33 -0
- package/mobile/src/ui-kit/Button/LikeButton.tsx +41 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +40 -0
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +43 -0
- package/mobile/src/ui-kit/Icon/Icon.tsx +30 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +161 -0
- package/mobile/src/ui-kit/Img.tsx +36 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +65 -0
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
- package/mobile/src/ui-kit/Logo/Logo.tsx +50 -0
- package/mobile/src/ui-kit/SVG.tsx +41 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +46 -0
- package/mobile/src/ui-kit/Title/Title.tsx +22 -0
- package/mobile/src/ui-kit/Title/TitleProps.ts +5 -0
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +64 -0
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +2 -0
- package/mobile/src/utils/adjustHref.spec.ts +25 -0
- package/mobile/src/utils/adjustHref.ts +24 -0
- package/mobile/src/utils/clamp.ts +2 -0
- package/mobile/src/utils/getAccordionItems.ts +10 -0
- package/mobile/src/utils/getColSpan.ts +5 -0
- package/mobile/src/utils/getGeolocation.ts +4 -0
- package/mobile/src/utils/joinList.ts +7 -0
- package/mobile/src/utils/maxBy.spec.ts +11 -0
- package/mobile/src/utils/maxBy.ts +7 -0
- package/mobile/src/utils/url.spec.ts +17 -0
- package/mobile/src/utils/url.ts +15 -0
- package/mobile/src/utils/withoutMobilePath.ts +3 -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 +39 -18
- 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/SearchBar.tsx +46 -0
- package/src/ui-kit/{SearchBar.tsx → 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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { ProductGalleryBlock } from './ProductGalleryBlock.js';
|
|
4
|
+
export const ProductGallery = JSX(({ className, context, duration = 0, slides = [] }) => {
|
|
5
|
+
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
6
|
+
const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
|
|
7
|
+
return (_jsxs("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, children: [_jsx("div", { className: `flex duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((block, i) => (_jsx(ProductGalleryBlock, { block: block, context: context }, String(i)))) }), _jsx("div", { className: "flex px-4 py-6", children: slides.map((_, i) => renderNavButton({
|
|
8
|
+
i,
|
|
9
|
+
activeSlideIndex,
|
|
10
|
+
onClick: () => setActiveSlideIndex(i),
|
|
11
|
+
duration,
|
|
12
|
+
})) })] }));
|
|
13
|
+
});
|
|
14
|
+
function renderNavButton({ i, activeSlideIndex, onClick, duration }) {
|
|
15
|
+
const isActiveBtn = i === activeSlideIndex;
|
|
16
|
+
const progressBarClassName = isActiveBtn ? 'animate-slide bg-primary-main' : 'bg-main-divider';
|
|
17
|
+
return (_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: _jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } }) }, String(i)));
|
|
18
|
+
}
|
|
19
|
+
//# 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,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAK5D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/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,CACL,mBAAS,SAAS,EAAE,4CAA4C,SAAS,IAAI,EAAE,EAAE,aAC/E,cACE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,KAAC,mBAAmB,IAAiB,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,IAAzC,MAAM,CAAC,CAAC,CAAC,CAAoC,CACxE,CAAC,GACE,EAEN,cAAK,SAAS,EAAC,gBAAgB,YAC5B,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACnB,eAAe,CAAC;oBACd,CAAC;oBACD,gBAAgB;oBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;oBACrC,QAAQ;iBACT,CAAC,CACH,GACG,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE;IACjE,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAC3C,MAAM,oBAAoB,GAAG,WAAW,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAC/F,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,0GAA0G,YAErH,cACE,SAAS,EAAE,2CAA2C,oBAAoB,EAAE,EAC5E,KAAK,EAAE,EAAE,iBAAiB,EAAE,GAAG,QAAQ,GAAG,EAAE,iBAAiB,EAAE,UAAU,EAAE,GACtE,IAPF,MAAM,CAAC,CAAC,CAAC,CAQP,CACV,CAAC;AACJ,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,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
|
|
4
|
+
export const ProductGalleryBlock = JSX(({ block, titleSize, context }) => {
|
|
5
|
+
return (_jsx("section", { className: "flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "p-10 flex grow", children: _jsx(ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]", context: context, titleSize: titleSize, ...block }) }) }));
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=ProductGalleryBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductGalleryBlock.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAOtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAChC,OAAO,CACL,kBAAS,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,UAAU,YAClE,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,iBAAiB,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,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
|
|
4
|
+
export const ProductGalleryBlock = JSX(({ block, titleSize, context }) => {
|
|
5
|
+
return (_jsx("section", { className: "flex grow-0 shrink-0 basis-full px-4 py-6", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { context: context, titleSize: titleSize, ...block }) }) }));
|
|
6
|
+
});
|
|
7
|
+
//# 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,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAOtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAChC,OAAO,CACL,kBAAS,SAAS,EAAC,2CAA2C,EAAC,IAAI,EAAC,UAAU,YAC5E,cAAK,SAAS,EAAC,WAAW,YACxB,KAAC,iBAAiB,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
|
}
|
|
@@ -3,16 +3,20 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
4
|
import { Title } from '../../ui-kit/Title/Title.js';
|
|
5
5
|
export const StepsBlock = JSX(({ className, title, description, steps, size = 'normal' }) => {
|
|
6
|
-
return (_jsxs("section", { className: `box-border font-sans text-primary-text bg-white px-
|
|
6
|
+
return (_jsxs("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && (_jsx(Title, { size: "M", className: "font-medium m-0 text-center", children: title })), description && _jsx("p", { className: `text-m-md text-center ${title && 'mt-2'}`, children: description }), steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i) => renderStepTitle({ step, size, i, length: steps.length })) }) })) : null] }));
|
|
7
7
|
});
|
|
8
|
-
const renderStepTitle = (
|
|
9
|
-
const
|
|
8
|
+
const renderStepTitle = (params) => {
|
|
9
|
+
const { step, size, i, length } = params;
|
|
10
|
+
const isLastStep = length - 1 === i;
|
|
11
|
+
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
|
|
12
|
+
return (_jsx("div", { children: _jsxs("div", { className: "flex flex-row text-center relative", children: [_jsxs("div", { children: [renderIconArea(step, size, i), !isLastStep && _jsx("div", { className: `min-h-8 h-full w-[2px] bg-secondary-light ${margin}` })] }), _jsxs("div", { className: "flex flex-col justify-center relative", children: [step.label && (_jsx("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })), step.description && (_jsx("div", { className: `font-normal text-sm text-secondary-text text-left ${step.label ? 'mt-1' : ''}`, children: step.description }))] })] }, String(i)) }, String(i)));
|
|
13
|
+
};
|
|
14
|
+
const renderIconArea = (step, size, i) => {
|
|
10
15
|
const iconAreaSize = size === 'normal'
|
|
11
16
|
? 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]'
|
|
12
17
|
: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]';
|
|
13
18
|
const iconSize = size === 'normal' ? '38' : '27';
|
|
14
|
-
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
|
|
15
19
|
const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
|
|
16
|
-
return (
|
|
20
|
+
return (_jsx("div", { className: `${iconAreaSize} bg-secondary-light rounded-full z-10 mr-3 flex justify-center content-center`, children: _jsx("span", { className: `font-medium text-secondary-text self-center ${iconTextSize}`, children: (step.icon && _jsx(Icon, { name: step.icon, width: iconSize, height: iconSize })) || i + 1 }) }));
|
|
17
21
|
};
|
|
18
22
|
//# sourceMappingURL=StepsBlock.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAKjD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,CACL,mBACE,SAAS,EAAE,2EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,IAAI,CACR,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,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,CAAC,WAAW,GACb,CACP,IACG,KAlBE,MAAM,CAAC,CAAC,CAAC,CAmBb,IApBE,MAAM,CAAC,CAAC,CAAC,CAqBb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAU,EAAE,IAAiB,EAAE,CAAS,EAAE,EAAE;IAClE,MAAM,YAAY,GAChB,IAAI,KAAK,QAAQ;QACf,CAAC,CAAC,6CAA6C;QAC/C,CAAC,CAAC,6CAA6C,CAAC;IAEpD,MAAM,QAAQ,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,MAAM,YAAY,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAE5E,OAAO,CACL,cACE,SAAS,EAAE,GAAG,YAAY,+EAA+E,YAEzG,eAAM,SAAS,EAAE,+CAA+C,YAAY,EAAE,YAC3E,CAAC,IAAI,CAAC,IAAI,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAChF,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -23,10 +23,10 @@ const textBlockStyleMaps = {
|
|
|
23
23
|
};
|
|
24
24
|
export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className }) => {
|
|
25
25
|
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
26
|
-
return (_jsxs("section", { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, children: [iconVersion
|
|
26
|
+
return (_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, _jsxs("div", { className: "py-0.5", children: [title && (_jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })), description && (_jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description }))] })] }));
|
|
27
27
|
});
|
|
28
28
|
function renderIcon(className) {
|
|
29
|
-
return (_jsx("div", { className:
|
|
29
|
+
return (_jsx("div", { className: "pt-1.5 pl-1 pr-4", children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
|
|
30
30
|
}
|
|
31
31
|
function renderImage(image) {
|
|
32
32
|
return image?.src ? _jsx(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,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;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;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;IAClF,MAAM,iBAAiB,GAAG,kBAAkB,CAA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AAC,CAAC,CAAC,IAAI,EAClD,eAAK,SAAS,EAAC,QAAQ,aACpB,KAAK,IAAI,CACR,cAAK,SAAS,EAAE,8BAA8B,iBAAiB,CAAC,KAAK,EAAE,YAAG,KAAK,GAAO,CACvF,EACA,WAAW,IAAI,CACd,cAAK,SAAS,EAAE,WAAW,iBAAiB,CAAC,WAAW,EAAE,YAAG,WAAW,GAAO,CAChF,IACG,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,SAAiB;IACnC,OAAO,CACL,cAAK,SAAS,EAAC,kBAAkB,YAC/B,cAAK,SAAS,EAAE,4CAA4C,SAAS,EAAE,kBAAS,GAC5E,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,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;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
|
|
4
|
+
import { Img } from '../../ui-kit/Img.js';
|
|
5
|
+
const textBlockStyleMaps = {
|
|
6
|
+
primary: {
|
|
7
|
+
background: 'bg-white',
|
|
8
|
+
icon: 'bg-primary-main text-white',
|
|
9
|
+
title: 'text-primary-text',
|
|
10
|
+
description: 'text-secondary-text',
|
|
11
|
+
},
|
|
12
|
+
secondary: {
|
|
13
|
+
background: 'bg-primary-main',
|
|
14
|
+
icon: 'bg-white text-primary-main',
|
|
15
|
+
title: 'text-white',
|
|
16
|
+
description: 'text-white',
|
|
17
|
+
},
|
|
18
|
+
'secondary-light': {
|
|
19
|
+
background: 'bg-primary-main/10',
|
|
20
|
+
icon: 'bg-primary-main text-white',
|
|
21
|
+
title: 'text-primary-text',
|
|
22
|
+
description: 'text-secondary-text',
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items }) => {
|
|
26
|
+
const textBlockStyleMap = textBlockStyleMaps[blockVersion];
|
|
27
|
+
return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title ? (_jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (_jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? renderItems(items) : null] })] }));
|
|
28
|
+
});
|
|
29
|
+
function renderItems(items = [], version) {
|
|
30
|
+
return (_jsx("section", { className: "mt-1", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { text: _, version: version }, String(i)))) }));
|
|
31
|
+
}
|
|
32
|
+
function renderIcon(className) {
|
|
33
|
+
return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
|
|
34
|
+
}
|
|
35
|
+
function renderImage(image) {
|
|
36
|
+
return image?.src ? _jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=TextBlock.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+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CAAC,CAAC,CAAC,CACP,cAAK,SAAS,EAAE,8BAA8B,iBAAiB,CAAC,KAAK,EAAE,YAAG,KAAK,GAAO,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAE,WAAW,iBAAiB,CAAC,WAAW,EAAE,YAAG,WAAW,GAAO,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IACtC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,QAAkB,EAAE,EAAE,OAAsB;IAC/D,OAAO,CACL,kBAAS,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,SAAS,IAAiB,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAApC,MAAM,CAAC,CAAC,CAAC,CAA+B,CACzD,CAAC,GACM,CACX,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,SAAiB;IACnC,OAAO,CACL,cAAK,SAAS,EAAC,MAAM,YACnB,cAAK,SAAS,EAAE,4CAA4C,SAAS,EAAE,kBAAS,GAC5E,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5E,CAAC"}
|
|
@@ -8,7 +8,7 @@ const tileStyleMap = {
|
|
|
8
8
|
};
|
|
9
9
|
export const Tile = JSX((props) => {
|
|
10
10
|
const { children, className = '', version = 'primary', role } = props;
|
|
11
|
-
return (_jsx("section", { className: `font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getContainerPaddingRight(className)} ${getContainerMinHeight(className)} `, role: role, children: _jsx(BaseTile, { ...props, children: children }) }));
|
|
11
|
+
return (_jsx("section", { className: `font-sans p-9 box-border ${className || ''} ${tileStyleMap[version]} ${getContainerPaddingRight(className)} ${getContainerMinHeight(className)} `, role: role, children: _jsx(BaseTile, { ...props, children: children }) }));
|
|
12
12
|
});
|
|
13
13
|
function getContainerPaddingRight(className = '') {
|
|
14
14
|
const colSpan = getColSpan(className);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEtE,OAAO,CACL,kBACE,SAAS,EAAE,4BAA4B,SAAS,
|
|
1
|
+
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEtE,OAAO,CACL,kBACE,SAAS,EAAE,4BAA4B,SAAS,IAAI,EAAE,IACpD,YAAY,CAAC,OAAO,CACtB,IAAI,wBAAwB,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,SAAS,CAAC,GAAG,EAC9E,IAAI,EAAE,IAAI,YAEV,KAAC,QAAQ,OAAK,KAAK,YAAG,QAAQ,GAAY,GAClC,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,wBAAwB,CAAC,SAAS,GAAG,EAAE;IAC9C,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,cAAc,CAAC;KACvB;SAAM;QACL,OAAO,aAAa,CAAC;KACtB;AACH,CAAC;AAED,SAAS,qBAAqB,CAAC,SAAS,GAAG,EAAE;IAC3C,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,eAAe,CAAC;KACxB;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,eAAe,CAAC;KACxB;SAAM;QACL,OAAO,eAAe,CAAC;KACxB;AACH,CAAC"}
|
|
@@ -26,7 +26,12 @@ async function transformImg(pagePath, src, transformationOptions) {
|
|
|
26
26
|
const transformedSrc = transformSrc(src, transformationOptions);
|
|
27
27
|
const transformedImgPath = `${publicDir}/${path.relative(contentDir, `${path.dirname(pagePath)}/${transformedSrc}`)}`;
|
|
28
28
|
await mkdir(path.dirname(transformedImgPath), { recursive: true });
|
|
29
|
-
|
|
29
|
+
try {
|
|
30
|
+
await chain.toFile(transformedImgPath);
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
console.error(e);
|
|
34
|
+
}
|
|
30
35
|
return transformedSrc;
|
|
31
36
|
}
|
|
32
37
|
function transformSrc(src, { format, size }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformPicture.js","sourceRoot":"","sources":["../../src/content-page-repository/transformPicture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AAEvC,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,QAAgB,EAChB,OAAgB,EAChB,OAA8B;IAE9B,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;IACtC,MAAM,CAAC,kBAAkB,EAAE,GAAG,kBAAkB,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CACnE,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAChG,CAAC;IACF,OAAO;QACL,GAAG,OAAO;QACV,GAAG,EAAE,kBAAkB;QACvB,OAAO,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YACzC,GAAG,OAAO,CAAC,CAAC,CAAC;YACb,GAAG,EAAE,CAAC;SACP,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC;AAED,KA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O,CAAC,QAAQ,CAAC,IAAI,cAAc,EAAE,CAC9C,EAAE,CAAC;IAEJ,MAAM,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAEnE,IAAI;QACF,MAAM,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;KACxC;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAClB;IAED,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,YAAY,CAAC,GAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAqC;IACpF,MAAM,WAAW,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC;IACrC,IAAI,WAAW;QAAE,OAAO,GAAG,CAAC;IAE5B,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACrE,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,IAC1E,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CACpC,EAAE,CAAC;AACL,CAAC"}
|
package/lib/model/Picture.d.ts
CHANGED
|
@@ -10,12 +10,12 @@ const LIST_STYLE_MAP = {
|
|
|
10
10
|
secondary: 'bg-secondary-text',
|
|
11
11
|
};
|
|
12
12
|
export const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary', white }) => {
|
|
13
|
-
return (_jsxs("div", { className: `font-sans
|
|
13
|
+
return (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted && _jsx("div", { className: getListStyle(version, white) }), _jsx("span", { className: white ? 'text-white' : TEXT_STYLE_MAP[version], children: text || children })] }));
|
|
14
14
|
});
|
|
15
15
|
const getListStyle = (version, white) => {
|
|
16
16
|
const color = white ? 'bg-white' : LIST_STYLE_MAP[version];
|
|
17
17
|
const size = version === 'primary'
|
|
18
|
-
? 'w-
|
|
18
|
+
? 'w-2 h-2 min-w-2 min-h-2 mt-2'
|
|
19
19
|
: 'w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5';
|
|
20
20
|
return `${LIST_STYLE_CLASSES} ${color} ${size}`;
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClF,OAAO,CACL,eAAK,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClF,OAAO,CACL,eAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,GAAI,EAC7D,eAAM,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,IACtF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAqB,EAAE,KAAe,EAAE,EAAE;IAC9D,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAC3D,MAAM,IAAI,GACR,OAAO,KAAK,SAAS;QACnB,CAAC,CAAC,8BAA8B;QAChC,CAAC,CAAC,gDAAgD,CAAC;IAEvD,OAAO,GAAG,kBAAkB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;AAClD,CAAC,CAAC"}
|
package/lib/ui-kit/Breadcrumb.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
export const Breadcrumb = JSX(({ text, href, target, onClick, className, children }) => {
|
|
3
|
+
export const Breadcrumb = JSX(({ text, href, target, onClick, className = '', children }) => {
|
|
4
4
|
if (href) {
|
|
5
|
-
return (_jsx("a", { className: `no-underline ${className
|
|
5
|
+
return (_jsx("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: _jsx("span", { className: className, children: text || children }) }));
|
|
6
6
|
}
|
|
7
7
|
else {
|
|
8
|
-
return _jsx("span", { className:
|
|
8
|
+
return _jsx("span", { className: className, children: text || children });
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,IAAI,IAAI,EAAE;QACR,OAAO,CACL,YAAG,SAAS,EAAE,gBAAgB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACrF,eAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACnD,CACL,CAAC;KACH;SAAM;QACL,OAAO,eAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,CAAC;KAC9D;AACH,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
/* eslint-disable max-lines-per-function */
|
|
3
|
+
/* eslint-disable complexity */
|
|
2
4
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
5
|
const buttonStyleMap = {
|
|
4
6
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
@@ -8,17 +10,17 @@ const buttonDisabledStyleMap = {
|
|
|
8
10
|
primary: 'bg-secondary-dark text-secondary-text',
|
|
9
11
|
secondary: 'bg-secondary-light text-secondary-text',
|
|
10
12
|
};
|
|
11
|
-
const styleButton = '
|
|
13
|
+
const styleButton = 'text-center font-sans select-none';
|
|
12
14
|
export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
|
|
13
15
|
const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
|
|
14
16
|
if (disabled) {
|
|
15
|
-
return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className:
|
|
17
|
+
return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
|
|
16
18
|
}
|
|
17
|
-
return (_jsx("a", { className: `${styleButton} cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
|
|
19
|
+
return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
|
|
18
20
|
});
|
|
19
21
|
export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded }) => {
|
|
20
22
|
const withoutText = !text && !aboveText && Boolean(appendLeft);
|
|
21
|
-
const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12
|
|
22
|
-
return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null,
|
|
23
|
+
const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12' : `px-9 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`;
|
|
24
|
+
return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-2xs text-left", children: aboveText }), _jsx("div", { className: "text-button font-medium text-left", children: text })] }))] }));
|
|
23
25
|
});
|
|
24
26
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;CACpD,CAAC;AAEF,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAA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CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IACvF,MAAM,WAAW,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GAAG,oCACzB,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EACzE,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEpC,OAAO,CACL,eAAK,SAAS,EAAE,kBAAkB,aAC/B,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpB,0BACE,cAAK,SAAS,EAAC,oBAAoB,YAAE,SAAS,GAAO,EACrD,cAAK,SAAS,EAAC,mCAAmC,YAAE,IAAI,GAAO,IAC3D,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
|
|
2
|
+
export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
|
|
3
|
+
}
|
|
4
|
+
export declare type ButtonInner = Pick<ButtonCommonProps, 'text' | 'aboveText' | 'appendLeft' | 'rounded'>;
|
|
5
|
+
export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonCommonProps, any>, context?: any) => any;
|
|
6
|
+
export declare const ButtonInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonInner, any>, context?: any) => any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
/* eslint-disable max-lines-per-function */
|
|
3
|
+
/* eslint-disable complexity */
|
|
4
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
5
|
+
const buttonStyleMap = {
|
|
6
|
+
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
7
|
+
secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
|
|
8
|
+
};
|
|
9
|
+
const buttonDisabledStyleMap = {
|
|
10
|
+
primary: 'bg-secondary-dark text-secondary-text',
|
|
11
|
+
secondary: 'bg-secondary-light text-secondary-text',
|
|
12
|
+
};
|
|
13
|
+
const styleButton = 'w-full text-center font-sans select-none';
|
|
14
|
+
export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
|
|
15
|
+
const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
|
|
16
|
+
if (disabled) {
|
|
17
|
+
return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
|
|
18
|
+
}
|
|
19
|
+
return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
|
|
20
|
+
});
|
|
21
|
+
export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded }) => {
|
|
22
|
+
const withoutText = !text && !aboveText && Boolean(appendLeft);
|
|
23
|
+
const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12' : `px-9 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`;
|
|
24
|
+
return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-m-2xs text-left", children: aboveText }), _jsx("div", { className: "text-m-button font-medium text-left", children: text })] }))] }));
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=Button.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.mobile.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;CACpD,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAM/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAC5F,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,E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,CAAC,IAAI,CAAC,CAAC,CAAC,CACpB,0BACE,cAAK,SAAS,EAAC,sBAAsB,YAAE,SAAS,GAAO,EACvD,cAAK,SAAS,EAAC,qCAAqC,YAAE,IAAI,GAAO,IAC7D,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
const TEXT_CLASSES = 'font-sans font-normal text-base';
|
|
4
|
-
const BORDER_CLASSES = 'absolute left-0 -bottom-
|
|
4
|
+
const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
|
|
5
5
|
export const HeaderItem = JSX(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [_jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? _jsx("div", { className: getBorderClasses(bgColor, active) }) : null] })));
|
|
6
6
|
const getTextClasses = (bgColor, active) => {
|
|
7
7
|
let classes = 'text-white';
|
|
@@ -14,6 +14,6 @@ const getBorderClasses = (bgColor, active) => {
|
|
|
14
14
|
if (!active) {
|
|
15
15
|
return BORDER_CLASSES;
|
|
16
16
|
}
|
|
17
|
-
return `${bgColor === 'bg-white' ?
|
|
17
|
+
return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=HeaderItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderItem.js","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AAC,OAAO,IAAI,cAAc,EAAE,CAAC;AACrF,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
const TEXT_CLASSES = 'font-sans font-normal text-sm';
|
|
4
|
+
const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
|
|
5
|
+
export const HeaderItem = JSX(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => {
|
|
6
|
+
return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [_jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? _jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
|
|
7
|
+
});
|
|
8
|
+
const getTextClasses = (bgColor, active) => {
|
|
9
|
+
let classes = 'text-white';
|
|
10
|
+
if (bgColor === 'bg-white') {
|
|
11
|
+
classes = active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main';
|
|
12
|
+
}
|
|
13
|
+
return `${classes} ${TEXT_CLASSES}`;
|
|
14
|
+
};
|
|
15
|
+
const getBorderClasses = (bgColor, active) => {
|
|
16
|
+
if (!active) {
|
|
17
|
+
return BORDER_CLASSES;
|
|
18
|
+
}
|
|
19
|
+
return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=HeaderItem.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderItem.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAMxC,MAAM,YAAY,GAAG,+BAA+B,CAAC;AACrD,MAAM,cAAc,GAAG,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