@redneckz/wildless-cms-uni-blocks 0.6.21 → 0.6.23
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 +135 -128
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
- package/bundle/components/Headline/HeadlineContent.d.ts +1 -0
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/components/Tile/TileContent.d.ts +2 -1
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/bundle/ui-kit/Tags/Tags.d.ts +6 -0
- package/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/cosmos-static/icons/DocumentText2Icon.svg +1 -0
- package/dist/components/Calculator/CalculatorContent.d.ts +4 -50
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/dist/components/ContentPage/ContentPage.page.json +35 -0
- package/dist/components/ContentPage/useContentPageData.d.ts +3 -0
- package/dist/components/ContentPage/useContentPageData.js +67 -0
- package/dist/components/ContentPage/useContentPageData.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +1 -0
- package/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.js +3 -3
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +2 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/Tabs/renderLinkTab.js +1 -1
- package/dist/components/Tabs/renderLinkTab.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/components/Tile/Tile.js +3 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +2 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/dist/ui-kit/IntersectionObserverTag.js +2 -2
- package/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +6 -0
- package/dist/ui-kit/Tags/Tags.js +10 -0
- package/dist/ui-kit/Tags/Tags.js.map +1 -0
- package/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/dist/ui-kit/Tags/TagsContent.js +2 -0
- package/dist/ui-kit/Tags/TagsContent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +4 -50
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +2 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.page.json +35 -0
- package/lib/components/ContentPage/useContentPageData.d.ts +3 -0
- package/lib/components/ContentPage/useContentPageData.js +38 -0
- package/lib/components/ContentPage/useContentPageData.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +1 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.js +3 -3
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +2 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/Tabs/renderLinkTab.js +1 -1
- package/lib/components/Tabs/renderLinkTab.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +3 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +2 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/lib/ui-kit/IntersectionObserverTag.js +2 -2
- package/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +6 -0
- package/lib/ui-kit/Tags/Tags.fixture.d.ts +3 -0
- package/lib/ui-kit/Tags/Tags.js +8 -0
- package/lib/ui-kit/Tags/Tags.js.map +1 -0
- package/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/lib/ui-kit/Tags/TagsContent.js +2 -0
- package/lib/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -1
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.page.json +35 -0
- package/mobile/dist/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/dist/components/ContentPage/useContentPageData.js +67 -0
- package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js +3 -3
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/Tabs/renderLinkTab.js +1 -1
- package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.js +3 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/index.js +1 -1
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/dist/ui-kit/IntersectionObserverTag.js +2 -2
- package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/dist/ui-kit/Tags/Tags.js +10 -0
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.js +2 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.page.json +35 -0
- package/mobile/lib/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/lib/components/ContentPage/useContentPageData.js +38 -0
- package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js +3 -3
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/Tabs/renderLinkTab.js +1 -1
- package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.js +3 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/index.js +1 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/lib/ui-kit/IntersectionObserverTag.js +2 -2
- package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/lib/ui-kit/Tags/Tags.js +8 -0
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.js +2 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/src/components/Accordion/Accordion.example.json +52 -2
- package/mobile/src/components/AccordionItem/AccordionItem.example.json +23 -5
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
- package/mobile/src/components/Bonus/Bonus.example.json +10 -8
- package/mobile/src/components/Bonus/Bonus.ui.json +10 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
- package/mobile/src/components/Calculator/Calculator.example.json +21 -19
- package/mobile/src/components/Calculator/CalculatorContent.ts +2 -53
- package/mobile/src/components/CardTransfer/CardTransfer.example.json +10 -8
- package/mobile/src/components/Catalog/Catalog.example.json +51 -49
- package/mobile/src/components/Catalog/Catalog.tsx +1 -1
- package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
- package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +3 -2318
- package/mobile/src/components/ContentPage/useContentPageData.ts +49 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
- package/mobile/src/components/Gallery/Gallery.example.json +62 -60
- package/mobile/src/components/Gallery/Gallery.ui.json +11 -0
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +61 -74
- package/mobile/src/components/Header/Header.example.json +6 -4
- package/mobile/src/components/Headline/Headline.example.json +15 -13
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +31 -29
- package/mobile/src/components/LinkList/LinkList.example.json +21 -19
- package/mobile/src/components/MiniGallery/MiniGallery.example.json +51 -49
- package/mobile/src/components/MiniGallery/MiniGallery.ui.json +19 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -3
- package/mobile/src/components/OfficeMap/OfficeMap.ui.json +1 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
- package/mobile/src/components/OtherProducts/OtherProducts.example.json +28 -1
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
- package/mobile/src/components/PictureText/PictureText.example.json +28 -26
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +37 -35
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +66 -64
- package/mobile/src/components/ProductTile/ProductTile.example.json +31 -29
- package/mobile/src/components/PromoTile/PromoTile.example.json +14 -12
- package/mobile/src/components/Recommendation/Recommendation.example.json +52 -50
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +54 -52
- package/mobile/src/components/Tabs/Tabs.example.json +20 -18
- package/mobile/src/components/Tabs/renderLinkTab.tsx +1 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +91 -89
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/components/TextBlock/TextBlock.example.json +14 -12
- package/mobile/src/components/Tile/Tile.example.json +21 -19
- package/mobile/src/components/Tile/Tile.tsx +3 -0
- package/mobile/src/components/Tile/TileContent.ts +3 -1
- package/mobile/src/icons/DocumentText2Icon.svg +8 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/index.ts +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
- package/mobile/src/ui-kit/IntersectionObserverTag.tsx +3 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +26 -0
- package/mobile/src/ui-kit/Tags/TagsContent.ts +6 -0
- package/package.json +22 -2
- package/src/components/Accordion/Accordion.example.json +52 -2
- package/src/components/AccordionItem/AccordionItem.example.json +23 -5
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
- package/src/components/Bonus/Bonus.example.json +10 -8
- package/src/components/Bonus/Bonus.ui.json +10 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
- package/src/components/Calculator/Calculator.example.json +21 -19
- package/src/components/Calculator/CalculatorContent.ts +2 -53
- package/src/components/CardTransfer/CardTransfer.example.json +10 -8
- package/src/components/Catalog/Catalog.example.json +51 -49
- package/src/components/Catalog/Catalog.tsx +1 -1
- package/src/components/Catalog/CatalogCard.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
- package/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +46 -39
- package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +13 -10
- package/src/components/ContentPage/ContentPage.fixture.tsx +24 -16
- package/src/components/ContentPage/ContentPage.page.json +3 -2318
- package/src/components/ContentPage/useContentPageData.ts +49 -0
- package/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
- package/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
- package/src/components/Gallery/Gallery.example.json +62 -60
- package/src/components/Gallery/Gallery.ui.json +11 -0
- package/src/components/GracePeriod/GracePeriod.example.json +61 -74
- package/src/components/Header/Header.example.json +6 -4
- package/src/components/Headline/Headline.example.json +15 -13
- package/src/components/Headline/HeadlineContent.ts +1 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +3 -4
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
- package/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
- package/src/components/LinkDocs/LinkDocs.example.json +31 -29
- package/src/components/LinkList/LinkList.example.json +21 -19
- package/src/components/MiniGallery/MiniGallery.example.json +51 -49
- package/src/components/MiniGallery/MiniGallery.ui.json +19 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/OfficeMap/OfficeMap.tsx +3 -3
- package/src/components/OfficeMap/OfficeMap.ui.json +1 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
- package/src/components/OtherProducts/OtherProducts.example.json +28 -1
- package/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
- package/src/components/PictureText/PictureText.example.json +28 -26
- package/src/components/ProductBlock/ProductBlock.example.json +37 -35
- package/src/components/ProductBlock/ProductBlock.tsx +2 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.example.json +66 -64
- package/src/components/ProductTile/ProductTile.example.json +31 -29
- package/src/components/PromoTile/PromoTile.example.json +14 -12
- package/src/components/Recommendation/Recommendation.example.json +52 -50
- package/src/components/StepsBlock/StepsBlock.example.json +54 -52
- package/src/components/Tabs/Tabs.example.json +20 -18
- package/src/components/Tabs/renderLinkTab.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.example.json +91 -89
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/components/TextBlock/TextBlock.example.json +14 -12
- package/src/components/Tile/Tile.example.json +21 -19
- package/src/components/Tile/Tile.fixture.tsx +7 -0
- package/src/components/Tile/Tile.tsx +3 -0
- package/src/components/Tile/TileContent.ts +3 -1
- package/src/icons/DocumentText2Icon.svg +8 -0
- package/src/icons/IconName.ts +4 -1
- package/src/index.ts +1 -1
- package/src/ui-kit/BlockWrapper.tsx +5 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
- package/src/ui-kit/IntersectionObserverTag.tsx +3 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +9 -0
- package/src/ui-kit/Tags/Tags.tsx +26 -0
- package/src/ui-kit/Tags/TagsContent.ts +6 -0
- package/tailwind.config.cjs +2 -1
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Акции и спецпредложения",
|
|
4
|
+
"date": "2022-04-16",
|
|
5
|
+
"description": "Пенсионный кредит по специальной процентной ставке",
|
|
6
|
+
"headlineVersion": "M",
|
|
7
|
+
"buttons": [
|
|
8
|
+
{
|
|
9
|
+
"text": "Все акции",
|
|
10
|
+
"href": "/credits",
|
|
11
|
+
"version": "secondary"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"version": "secondary"
|
|
15
|
+
}
|
|
14
16
|
}
|
|
@@ -1,54 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Блок рекомендаций",
|
|
4
|
+
"recommendations": [
|
|
5
|
+
{
|
|
6
|
+
"image": {
|
|
7
|
+
"format": "webp",
|
|
8
|
+
"size": {
|
|
9
|
+
"width": 180,
|
|
10
|
+
"height": 180
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"title": "Заголовок 1",
|
|
14
|
+
"description": "Описание 1",
|
|
15
|
+
"socialMedia": [
|
|
16
|
+
{ "href": "https://t.me" },
|
|
17
|
+
{ "href": "https://vk.com" },
|
|
18
|
+
{ "href": "https://ok.ru" }
|
|
19
|
+
]
|
|
11
20
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
21
|
+
{
|
|
22
|
+
"image": {
|
|
23
|
+
"format": "webp",
|
|
24
|
+
"size": {
|
|
25
|
+
"width": 180,
|
|
26
|
+
"height": 180
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"title": "Заголовок 2",
|
|
30
|
+
"description": "Описание 2",
|
|
31
|
+
"socialMedia": [
|
|
32
|
+
{ "href": "https://t.me" },
|
|
33
|
+
{ "href": "https://vk.com" },
|
|
34
|
+
{ "href": "https://ok.ru" }
|
|
35
|
+
]
|
|
27
36
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{ "href": "https://t.me" },
|
|
48
|
-
{ "href": "https://vk.com" },
|
|
49
|
-
{ "href": "https://ok.ru" }
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"version": "primary"
|
|
37
|
+
{
|
|
38
|
+
"image": {
|
|
39
|
+
"format": "webp",
|
|
40
|
+
"size": {
|
|
41
|
+
"width": 180,
|
|
42
|
+
"height": 180
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"title": "Заголовок 3",
|
|
46
|
+
"description": "Описание 3",
|
|
47
|
+
"socialMedia": [
|
|
48
|
+
{ "href": "https://t.me" },
|
|
49
|
+
{ "href": "https://vk.com" },
|
|
50
|
+
{ "href": "https://ok.ru" }
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"version": "primary"
|
|
55
|
+
}
|
|
54
56
|
}
|
|
@@ -1,62 +1,64 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"icon":
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"version": "primary",
|
|
4
|
+
"title": "Шаги",
|
|
5
|
+
"description": "Описание",
|
|
6
|
+
"showLines": true,
|
|
7
|
+
"steps": [
|
|
8
|
+
{
|
|
9
|
+
"label": "Шаг №1",
|
|
10
|
+
"description": "Описание шага №1",
|
|
11
|
+
"icon": {
|
|
12
|
+
"icon": "NewDocIcon",
|
|
13
|
+
"size": {
|
|
14
|
+
"width": 48,
|
|
15
|
+
"height": 48
|
|
16
|
+
},
|
|
17
|
+
"format": "webp"
|
|
15
18
|
},
|
|
16
|
-
"
|
|
19
|
+
"button": {
|
|
20
|
+
"text": "Кнопка",
|
|
21
|
+
"target": "_blank",
|
|
22
|
+
"version": "primary"
|
|
23
|
+
}
|
|
17
24
|
},
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"icon": "PassSendIcon",
|
|
28
|
-
"size": {
|
|
29
|
-
"width": 48,
|
|
30
|
-
"height": 48
|
|
25
|
+
{
|
|
26
|
+
"label": "Шаг №2",
|
|
27
|
+
"icon": {
|
|
28
|
+
"icon": "PassSendIcon",
|
|
29
|
+
"size": {
|
|
30
|
+
"width": 48,
|
|
31
|
+
"height": 48
|
|
32
|
+
},
|
|
33
|
+
"format": "webp"
|
|
31
34
|
},
|
|
32
|
-
"
|
|
35
|
+
"button": {
|
|
36
|
+
"text": "Кнопка",
|
|
37
|
+
"target": "_blank",
|
|
38
|
+
"version": "primary"
|
|
39
|
+
}
|
|
33
40
|
},
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"icon": "ActualBalanceIcon",
|
|
44
|
-
"size": {
|
|
45
|
-
"width": 48,
|
|
46
|
-
"height": 48
|
|
41
|
+
{
|
|
42
|
+
"description": "Шаг №3 без заголовка",
|
|
43
|
+
"icon": {
|
|
44
|
+
"icon": "ActualBalanceIcon",
|
|
45
|
+
"size": {
|
|
46
|
+
"width": 48,
|
|
47
|
+
"height": 48
|
|
48
|
+
},
|
|
49
|
+
"format": "webp"
|
|
47
50
|
},
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"version": "primary"
|
|
51
|
+
"button": {
|
|
52
|
+
"text": "Кнопка",
|
|
53
|
+
"target": "_blank",
|
|
54
|
+
"version": "primary"
|
|
55
|
+
}
|
|
54
56
|
}
|
|
57
|
+
],
|
|
58
|
+
"button": {
|
|
59
|
+
"text": "Кнопка",
|
|
60
|
+
"target": "_blank",
|
|
61
|
+
"version": "primary"
|
|
55
62
|
}
|
|
56
|
-
],
|
|
57
|
-
"button": {
|
|
58
|
-
"text": "Кнопка",
|
|
59
|
-
"target": "_blank",
|
|
60
|
-
"version": "primary"
|
|
61
63
|
}
|
|
62
64
|
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"showCounter": true,
|
|
4
|
+
"tabs": [
|
|
5
|
+
{
|
|
6
|
+
"type": "group",
|
|
7
|
+
"ref": "tab1",
|
|
8
|
+
"title": "Вкладка 1"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "group",
|
|
12
|
+
"ref": "tab2",
|
|
13
|
+
"title": "Вкладка 2"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "group",
|
|
17
|
+
"ref": "tab3",
|
|
18
|
+
"title": "Вкладка 3"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
20
22
|
}
|
|
@@ -1,94 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"icon":
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Заголовок",
|
|
4
|
+
"description": "Описание",
|
|
5
|
+
"orientation": "vertical",
|
|
6
|
+
"rowHeaders": [
|
|
7
|
+
{
|
|
8
|
+
"title": "Параметр 1",
|
|
9
|
+
"icon": {
|
|
10
|
+
"icon": "MoneyIcon"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"title": "Параметр 2",
|
|
15
|
+
"icon": {
|
|
16
|
+
"icon": "DollarIcon"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"title": "Параметр 3"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Параметр 4"
|
|
10
24
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"tableCellType": "LabelDescription"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"tableCellType": "Button",
|
|
68
|
-
"buttons": [
|
|
69
|
-
{
|
|
70
|
-
"icon": {
|
|
71
|
-
"icon": "AppleIcon"
|
|
72
|
-
},
|
|
73
|
-
"rounded": true,
|
|
74
|
-
"version": "secondary",
|
|
75
|
-
"href": "/",
|
|
76
|
-
"target": "_blank"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"icon": {
|
|
80
|
-
"icon": "PlayMarketIcon"
|
|
25
|
+
],
|
|
26
|
+
"tariffsColumns": [
|
|
27
|
+
{
|
|
28
|
+
"data": [
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"tableCellType": "LabelDescription",
|
|
32
|
+
"label": "Ячейка 1-1",
|
|
33
|
+
"description": "Описание для ячейки 2-1"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"tableCellType": "List",
|
|
37
|
+
"isDotted": true,
|
|
38
|
+
"items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "Ячейка 1-2",
|
|
42
|
+
"tableCellType": "LabelDescription",
|
|
43
|
+
"description": "Описание"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tableCellType": "List",
|
|
47
|
+
"isDotted": false,
|
|
48
|
+
"items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"]
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
{
|
|
53
|
+
"tableCellType": "LabelDescription",
|
|
54
|
+
"label": "Ячейка 2-1"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"tableCellType": "List",
|
|
58
|
+
"isDotted": true,
|
|
59
|
+
"items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
{
|
|
64
|
+
"label": "Ячейка 3-1",
|
|
65
|
+
"tableCellType": "LabelDescription"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"tableCellType": "Button",
|
|
69
|
+
"buttons": [
|
|
70
|
+
{
|
|
71
|
+
"icon": {
|
|
72
|
+
"icon": "AppleIcon"
|
|
73
|
+
},
|
|
74
|
+
"rounded": true,
|
|
75
|
+
"version": "secondary",
|
|
76
|
+
"href": "/",
|
|
77
|
+
"target": "_blank"
|
|
81
78
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
79
|
+
{
|
|
80
|
+
"icon": {
|
|
81
|
+
"icon": "PlayMarketIcon"
|
|
82
|
+
},
|
|
83
|
+
"rounded": true,
|
|
84
|
+
"version": "secondary",
|
|
85
|
+
"href": "/",
|
|
86
|
+
"target": "_blank"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
]
|
|
89
91
|
]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"hiddenRowsNum": 2
|
|
95
|
+
}
|
|
94
96
|
}
|
|
@@ -81,7 +81,7 @@ export type LabelDescriptionCellDef = LabelDescriptionCell & {
|
|
|
81
81
|
/**
|
|
82
82
|
* @title Список
|
|
83
83
|
*/
|
|
84
|
-
export type ListBlockDef =
|
|
84
|
+
export type ListBlockDef = ListProps & {
|
|
85
85
|
/** @default List */
|
|
86
86
|
tableCellType: 'List';
|
|
87
87
|
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Текстовый блок",
|
|
4
|
+
"description": "Описание",
|
|
5
|
+
"blockVersion": "primary",
|
|
6
|
+
"iconVersion": "small",
|
|
7
|
+
"image": {
|
|
8
|
+
"format": "webp",
|
|
9
|
+
"size": {
|
|
10
|
+
"width": 43,
|
|
11
|
+
"height": 43
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"isDotted": true
|
|
15
|
+
}
|
|
14
16
|
}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Плитка",
|
|
4
|
+
"headingType": "h3",
|
|
5
|
+
"description": "Описание",
|
|
6
|
+
"image": {
|
|
7
|
+
"format": "webp",
|
|
8
|
+
"size": {
|
|
9
|
+
"width": 445
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"isDotted": true,
|
|
13
|
+
"listItemSize": "M",
|
|
14
|
+
"items": ["Пункт 1", "Пункт 2", "Пункт 3"],
|
|
15
|
+
"buttons": [
|
|
16
|
+
{
|
|
17
|
+
"text": "Кнопка",
|
|
18
|
+
"version": "primary"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"version": "primary"
|
|
22
|
+
}
|
|
21
23
|
}
|
|
@@ -59,6 +59,8 @@ export const TILE_PREMIUM: TileContent = {
|
|
|
59
59
|
image: image3,
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
+
const tags = ['Tag #1', 'Tag #2', 'Tag #3'];
|
|
63
|
+
|
|
62
64
|
export default {
|
|
63
65
|
credit: (
|
|
64
66
|
<div className="container grid grid-cols-12">
|
|
@@ -140,4 +142,9 @@ export default {
|
|
|
140
142
|
/>
|
|
141
143
|
</div>
|
|
142
144
|
),
|
|
145
|
+
tags: (
|
|
146
|
+
<div className="container grid grid-cols-12">
|
|
147
|
+
<Tile context={context} className="col-span-8" {...TILE} tags={tags} />
|
|
148
|
+
</div>
|
|
149
|
+
),
|
|
143
150
|
};
|
|
@@ -8,6 +8,7 @@ import { Heading } from '../../ui-kit/Heading/Heading';
|
|
|
8
8
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
9
|
import { List } from '../../ui-kit/List/List';
|
|
10
10
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
11
|
+
import { Tags } from '../../ui-kit/Tags/Tags';
|
|
11
12
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
12
13
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
|
|
13
14
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
|
|
@@ -31,6 +32,7 @@ export const Tile = JSX<TileProps>((props) => {
|
|
|
31
32
|
listItemSize = 'M',
|
|
32
33
|
className = '',
|
|
33
34
|
version = 'primary',
|
|
35
|
+
tags,
|
|
34
36
|
...rest
|
|
35
37
|
} = props;
|
|
36
38
|
const headingClassName = version === 'primary' ? 'text-primary-text' : '';
|
|
@@ -71,6 +73,7 @@ export const Tile = JSX<TileProps>((props) => {
|
|
|
71
73
|
) : null}
|
|
72
74
|
{children}
|
|
73
75
|
{renderList({ version, isDotted, listItemSize }, items)}
|
|
76
|
+
{tags?.length ? <Tags tags={tags} className="mt-5" /> : null}
|
|
74
77
|
</BaseTile>
|
|
75
78
|
</BlockWrapper>
|
|
76
79
|
);
|
|
@@ -5,6 +5,7 @@ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
|
5
5
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
6
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
7
|
import type { ListItemSize } from '../../ui-kit/List/ListProps';
|
|
8
|
+
import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @title Плитка
|
|
@@ -12,7 +13,8 @@ import type { ListItemSize } from '../../ui-kit/List/ListProps';
|
|
|
12
13
|
export type TileContent = HeadingCommonProps &
|
|
13
14
|
DescriptionProps &
|
|
14
15
|
ListContent &
|
|
15
|
-
ButtonContent &
|
|
16
|
+
ButtonContent &
|
|
17
|
+
TagsContent & {
|
|
16
18
|
/**
|
|
17
19
|
* @default {
|
|
18
20
|
* "format": "webp",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg title="Документы-2" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 13H13" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M7 13H9.45" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M7 17H11" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M2 9C2 4 4 2 9 2H14" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M22 10V15C22 20 20 22 15 22H9C4 22 2 20 2 15V12.98" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M18 10C15 10 14 9 14 6V2L22 10" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
</svg>
|