@redneckz/wildless-cms-uni-blocks 0.3.74 → 0.3.75
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 +262 -194
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/DaDataAPI.js.map +1 -1
- package/dist/api/LikeAPI.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.js +1 -2
- package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.mobile.js +1 -2
- package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.d.ts +1 -0
- package/dist/components/Blocks.js +5 -3
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/dist/components/Calculator/renderRate.js.map +1 -1
- package/dist/components/Catalog/Catalog.d.ts +5 -0
- package/dist/components/Catalog/Catalog.js +36 -0
- package/dist/components/Catalog/Catalog.js.map +1 -0
- package/dist/components/Catalog/CatalogCard.d.ts +7 -0
- package/dist/components/Catalog/CatalogCard.js +16 -0
- package/dist/components/Catalog/CatalogCard.js.map +1 -0
- package/dist/components/Catalog/CatalogContent.d.ts +22 -0
- package/{mobile/dist/model/Insurance.js → dist/components/Catalog/CatalogContent.js} +1 -1
- package/dist/components/Catalog/CatalogContent.js.map +1 -0
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Insurance/Insurance.js.map +1 -1
- package/dist/components/Insurance/InsuranceContent.d.ts +5 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +16 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
- package/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
- package/dist/components/OtherProducts/OtherProductsItem.js +4 -6
- package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +10 -6
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +12 -31
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/content-page-repository/mapJSON.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/dist/content-page-repository/transformPicture.js.map +1 -1
- package/dist/hooks/useCreditCalculatorData.js.map +1 -1
- package/dist/hooks/useExchangeRates.js.map +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
- package/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
- package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
- package/dist/ui-kit/Foldable/Foldable.js +5 -5
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
- package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/utils/adjustHref.js.map +1 -1
- package/dist/utils/getColSpan.js.map +1 -1
- package/dist/utils/roundTo.js.map +1 -1
- package/dist/utils/tableFunc.js.map +1 -1
- package/dist/utils/url.js.map +1 -1
- package/lib/api/DaDataAPI.js.map +1 -1
- package/lib/api/LikeAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +1 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.js +1 -2
- package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.mobile.js +1 -2
- package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.d.ts +1 -0
- package/lib/components/Blocks.js +5 -3
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/lib/components/Calculator/renderRate.js.map +1 -1
- package/lib/components/Catalog/Catalog.d.ts +5 -0
- package/lib/components/Catalog/Catalog.fixture.d.ts +6 -0
- package/lib/components/Catalog/Catalog.js +34 -0
- package/lib/components/Catalog/Catalog.js.map +1 -0
- package/lib/components/Catalog/CatalogCard.d.ts +7 -0
- package/lib/components/Catalog/CatalogCard.js +14 -0
- package/lib/components/Catalog/CatalogCard.js.map +1 -0
- package/lib/components/Catalog/CatalogContent.d.ts +22 -0
- package/lib/components/Catalog/CatalogContent.js +2 -0
- package/lib/components/Catalog/CatalogContent.js.map +1 -0
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Insurance/Insurance.js.map +1 -1
- package/lib/components/Insurance/InsuranceContent.d.ts +5 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +2 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +16 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -1
- package/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
- package/lib/components/OtherProducts/OtherProductsItem.js +4 -6
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +10 -6
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +12 -31
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/content-page-repository/mapJSON.js.map +1 -1
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/lib/content-page-repository/transformPicture.js.map +1 -1
- package/lib/hooks/useCreditCalculatorData.js.map +1 -1
- package/lib/hooks/useExchangeRates.js.map +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
- package/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
- package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
- package/lib/ui-kit/Foldable/Foldable.js +5 -5
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
- package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/utils/adjustHref.js.map +1 -1
- package/lib/utils/getColSpan.js.map +1 -1
- package/lib/utils/roundTo.js.map +1 -1
- package/lib/utils/tableFunc.js.map +1 -1
- package/lib/utils/url.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +34 -37
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/DaDataAPI.js.map +1 -1
- package/mobile/dist/api/LikeAPI.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.js +1 -2
- package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRate.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.d.ts +5 -0
- package/mobile/dist/components/Catalog/Catalog.js +36 -0
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -0
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +7 -0
- package/mobile/dist/components/Catalog/CatalogCard.js +16 -0
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -0
- package/mobile/dist/components/Catalog/CatalogContent.d.ts +22 -0
- package/{dist/model/Insurance.js → mobile/dist/components/Catalog/CatalogContent.js} +1 -1
- package/mobile/dist/components/Catalog/CatalogContent.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
- package/mobile/dist/components/Insurance/InsuranceContent.d.ts +5 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -6
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +12 -31
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
- package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.js +5 -5
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/utils/adjustHref.js.map +1 -1
- package/mobile/dist/utils/getColSpan.js.map +1 -1
- package/mobile/dist/utils/roundTo.js.map +1 -1
- package/mobile/dist/utils/tableFunc.js.map +1 -1
- package/mobile/dist/utils/url.js.map +1 -1
- package/mobile/lib/api/DaDataAPI.js.map +1 -1
- package/mobile/lib/api/LikeAPI.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.js +1 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.js +1 -2
- package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRate.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.d.ts +5 -0
- package/mobile/lib/components/Catalog/Catalog.js +34 -0
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -0
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +7 -0
- package/mobile/lib/components/Catalog/CatalogCard.js +14 -0
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -0
- package/mobile/lib/components/Catalog/CatalogContent.d.ts +22 -0
- package/mobile/lib/components/Catalog/CatalogContent.js +2 -0
- package/mobile/lib/components/Catalog/CatalogContent.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
- package/mobile/lib/components/Insurance/InsuranceContent.d.ts +5 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -6
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +12 -31
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
- package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.js +5 -5
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/utils/adjustHref.js.map +1 -1
- package/mobile/lib/utils/getColSpan.js.map +1 -1
- package/mobile/lib/utils/roundTo.js.map +1 -1
- package/mobile/lib/utils/tableFunc.js.map +1 -1
- package/mobile/lib/utils/url.js.map +1 -1
- package/mobile/src/api/DaDataAPI.ts +2 -0
- package/mobile/src/api/LikeAPI.ts +4 -0
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
- package/mobile/src/components/Accordion/AccordionItemInner.tsx +3 -4
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
- package/mobile/src/components/Calculator/getMonthlyPayment.ts +1 -0
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
- package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -0
- package/mobile/src/components/Calculator/renderRate.tsx +1 -0
- package/mobile/src/components/Catalog/Catalog.example.json +57 -0
- package/mobile/src/components/Catalog/Catalog.tsx +73 -0
- package/mobile/src/components/Catalog/CatalogCard.tsx +47 -0
- package/mobile/src/components/Catalog/CatalogContent.ts +26 -0
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -0
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -0
- package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -0
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
- package/mobile/src/components/ExchangeRateTile/calculateResult.ts +1 -0
- package/mobile/src/components/Footer/Footer.tsx +2 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +1 -0
- package/mobile/src/components/Footer/TextInformation.tsx +1 -0
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -0
- package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
- package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -0
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
- package/mobile/src/components/Headline/Headline.tsx +1 -0
- package/mobile/src/components/Insurance/Insurance.tsx +1 -0
- package/mobile/src/components/Insurance/InsuranceContent.ts +5 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
- package/mobile/src/components/LinkList/LinkList.tsx +1 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -4
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -2
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -8
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -0
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +58 -82
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +6 -3
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -0
- package/mobile/src/content-page-repository/ContentPageRepository.ts +5 -0
- package/mobile/src/content-page-repository/mapJSON.ts +3 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +2 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +1 -0
- package/mobile/src/content-page-repository/transformPicture.ts +2 -0
- package/mobile/src/hooks/useCreditCalculatorData.ts +2 -0
- package/mobile/src/hooks/useExchangeRates.ts +3 -0
- package/mobile/src/hooks/useLink.ts +1 -0
- package/mobile/src/react/setup-fixture.ts +1 -0
- package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -0
- package/mobile/src/services/sitemap/useSitemap.ts +2 -0
- package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -0
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -0
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +8 -4
- package/mobile/src/ui-kit/Input/Input.tsx +1 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +1 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
- package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
- package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -0
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -0
- package/mobile/src/utils/adjustHref.ts +2 -0
- package/mobile/src/utils/getColSpan.ts +1 -0
- package/mobile/src/utils/roundTo.ts +1 -0
- package/mobile/src/utils/tableFunc.ts +1 -0
- package/mobile/src/utils/url.ts +2 -0
- package/package.json +1 -1
- package/src/api/DaDataAPI.ts +2 -0
- package/src/api/LikeAPI.ts +4 -0
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -19
- package/src/components/Accordion/Accordion.fixture.tsx +10 -2
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
- package/src/components/Accordion/AccordionItemInner.mobile.tsx +3 -4
- package/src/components/Accordion/AccordionItemInner.tsx +3 -4
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
- package/src/components/Blocks.ts +5 -3
- package/src/components/Calculator/getMonthlyPayment.ts +1 -0
- package/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
- package/src/components/Calculator/renderMonthsInput.tsx +1 -0
- package/src/components/Calculator/renderRate.tsx +1 -0
- package/src/components/Catalog/Catalog.example.json +57 -0
- package/src/components/Catalog/Catalog.fixture.tsx +48 -0
- package/src/components/Catalog/Catalog.tsx +73 -0
- package/src/components/Catalog/CatalogCard.tsx +47 -0
- package/src/components/Catalog/CatalogContent.ts +26 -0
- package/src/components/ComparisonTable/TableColumn.tsx +1 -0
- package/src/components/ContentPage/ContentPage.tsx +2 -0
- package/src/components/ContentPage/ContentPageHead.tsx +1 -0
- package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -0
- package/src/components/ContentPage/normalizeBlock.ts +1 -0
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
- package/src/components/ExchangeRateTile/calculateResult.ts +1 -0
- package/src/components/Footer/Footer.mobile.tsx +2 -0
- package/src/components/Footer/SocialMedia.mobile.tsx +1 -0
- package/src/components/Footer/SocialMedia.tsx +1 -0
- package/src/components/Footer/TextInformation.mobile.tsx +1 -0
- package/src/components/Footer/TextInformation.tsx +1 -0
- package/src/components/Gallery/GalleryCardInner.tsx +1 -0
- package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
- package/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
- package/src/components/Header/HeaderBurger.tsx +2 -0
- package/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
- package/src/components/Headline/Headline.mobile.tsx +1 -0
- package/src/components/Insurance/Insurance.tsx +1 -0
- package/src/components/Insurance/InsuranceContent.ts +5 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
- package/src/components/LinkList/LinkList.tsx +1 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +69 -13
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -4
- package/src/components/MobileAppTile/MobileAppTile.tsx +44 -12
- package/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +16 -53
- package/src/components/OtherProducts/OtherProducts.tsx +2 -2
- package/src/components/OtherProducts/OtherProductsContent.ts +3 -8
- package/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
- package/src/components/ProductBlock/ProductBlock.tsx +1 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
- package/src/components/ProductBlock/renderBenefit.tsx +1 -0
- package/src/components/ProductTile/ProductTile.tsx +2 -0
- package/src/components/PromoTile/PromoTile.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +58 -82
- package/src/components/StepsBlock/StepsBlock.tsx +27 -11
- package/src/components/StepsBlock/StepsBlockContent.ts +6 -3
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
- package/src/components/TextBlock/TextBlock.mobile.tsx +1 -0
- package/src/components/TextBlock/TextBlock.tsx +1 -0
- package/src/content-page-repository/ContentPageRepository.ts +5 -0
- package/src/content-page-repository/mapJSON.ts +3 -0
- package/src/content-page-repository/transformContentPage.ts +2 -0
- package/src/content-page-repository/transformMarkdown.ts +1 -0
- package/src/content-page-repository/transformPicture.ts +2 -0
- package/src/hooks/useCreditCalculatorData.ts +2 -0
- package/src/hooks/useExchangeRates.ts +3 -0
- package/src/hooks/useLink.ts +1 -0
- package/src/react/setup-fixture.ts +1 -0
- package/src/services/sitemap/findActiveSubItem.ts +1 -0
- package/src/services/sitemap/useSitemap.ts +2 -0
- package/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
- package/src/ui-kit/Button/ButtonInner.tsx +1 -0
- package/src/ui-kit/Button/ButtonSection.tsx +1 -0
- package/src/ui-kit/Foldable/Foldable.tsx +8 -4
- package/src/ui-kit/Input/Input.tsx +1 -0
- package/src/ui-kit/InputRange/InputRange.tsx +1 -0
- package/src/ui-kit/List/ListItem.tsx +1 -0
- package/src/ui-kit/Logo/Logo.tsx +1 -0
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
- package/src/ui-kit/SearchBar.mobile.tsx +1 -0
- package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
- package/src/ui-kit/Tabs/Tabs.tsx +1 -0
- package/src/ui-kit/TopItem/TopItem.tsx +1 -0
- package/src/utils/adjustHref.ts +2 -0
- package/src/utils/getColSpan.ts +1 -0
- package/src/utils/roundTo.ts +1 -0
- package/src/utils/tableFunc.ts +1 -0
- package/src/utils/url.ts +2 -0
- package/dist/model/Insurance.d.ts +0 -6
- package/dist/model/Insurance.js.map +0 -1
- package/lib/model/Insurance.d.ts +0 -6
- package/lib/model/Insurance.js +0 -2
- package/lib/model/Insurance.js.map +0 -1
- package/mobile/dist/model/Insurance.d.ts +0 -6
- package/mobile/dist/model/Insurance.js.map +0 -1
- package/mobile/lib/model/Insurance.d.ts +0 -6
- package/mobile/lib/model/Insurance.js +0 -2
- package/mobile/lib/model/Insurance.js.map +0 -1
- package/mobile/src/model/Insurance.ts +0 -6
- package/src/model/Insurance.ts +0 -6
|
@@ -28,6 +28,7 @@ export const Footer = JSX<FooterProps>(
|
|
|
28
28
|
}) => {
|
|
29
29
|
const sitemap = useSitemap(context.useAsyncData);
|
|
30
30
|
const dispositions = sitemap?.dispositions;
|
|
31
|
+
|
|
31
32
|
return (
|
|
32
33
|
<footer className={`px-4 py-[26px] bg-white ${className}`}>
|
|
33
34
|
<Contacts className="overflow-hidden" items={contacts} context={context} hasButton />
|
|
@@ -57,6 +58,7 @@ export const Footer = JSX<FooterProps>(
|
|
|
57
58
|
|
|
58
59
|
const renderSubMenuItem = (menu: SubMenuItem, i: number) => {
|
|
59
60
|
const { icon, href, text } = menu;
|
|
61
|
+
|
|
60
62
|
return (
|
|
61
63
|
<Button version="link" key={`footer-${i}`} href={href} className="flex text-sm mb-4">
|
|
62
64
|
{icon ? <Img className="pr-1" image={icon} width="24" height="24" asSVG /> : null}
|
|
@@ -13,6 +13,7 @@ export interface SocialMediaProps extends UniBlockProps {
|
|
|
13
13
|
export const SocialMedia = JSX<SocialMediaProps>(({ className, media, version, context }) => {
|
|
14
14
|
const router = context.useRouter();
|
|
15
15
|
const { handlerDecorator } = context;
|
|
16
|
+
|
|
16
17
|
return (
|
|
17
18
|
<div className={`flex gap-2 items-start justify-start pt-6 pb-6 ${className || ''}`}>
|
|
18
19
|
{media?.map((_, index) => (
|
|
@@ -6,6 +6,7 @@ import type { FooterLink } from './FooterLink';
|
|
|
6
6
|
export const TextInformation = JSX<FooterLink>(({ className, links, context }) => {
|
|
7
7
|
const router = context.useRouter();
|
|
8
8
|
const { handlerDecorator } = context;
|
|
9
|
+
|
|
9
10
|
return (
|
|
10
11
|
<div className={`${className || ''}`}>
|
|
11
12
|
<div className="py-6">
|
|
@@ -8,6 +8,7 @@ import type { GalleryCard, GalleryItem } from './GalleryContent';
|
|
|
8
8
|
export const GalleryCardInner = JSX<GalleryCard>(
|
|
9
9
|
({ title, description, image, items, button, version, isDotted = true }) => {
|
|
10
10
|
const titleStyleClasses = getTitleStyle(version);
|
|
11
|
+
|
|
11
12
|
return (
|
|
12
13
|
<div className="h-full flex flex-col justify-between text-center">
|
|
13
14
|
<div>
|
|
@@ -24,6 +24,7 @@ export const renderBlock = (context: ContentPageContext) => (block: GroupBlockDe
|
|
|
24
24
|
}
|
|
25
25
|
const classNameBlock = style2className(block?.style);
|
|
26
26
|
const EmbeddedBlock: JSXBlock = EmbeddableGroupBlocks[type];
|
|
27
|
+
|
|
27
28
|
return (
|
|
28
29
|
<EmbeddedBlock key={`block_${i}`} context={context} {...block} className={classNameBlock} />
|
|
29
30
|
);
|
|
@@ -19,6 +19,7 @@ export const renderBlock =
|
|
|
19
19
|
}
|
|
20
20
|
const classNameBlock = style2className(block?.style);
|
|
21
21
|
const EmbeddedBlock: JSXBlock = EmbeddableGroupBlocks[type];
|
|
22
|
+
|
|
22
23
|
return (
|
|
23
24
|
<div className={className} key={`block_${i}`}>
|
|
24
25
|
<EmbeddedBlock context={context} {...block} className={classNameBlock} />
|
|
@@ -15,6 +15,7 @@ export interface HeaderBurgerProps {
|
|
|
15
15
|
export const HeaderBurger = JSX<HeaderBurgerProps>(
|
|
16
16
|
({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
17
17
|
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
18
|
+
|
|
18
19
|
return (
|
|
19
20
|
<div className="absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20">
|
|
20
21
|
<button
|
|
@@ -46,6 +47,7 @@ export const HeaderBurger = JSX<HeaderBurgerProps>(
|
|
|
46
47
|
|
|
47
48
|
const renderBurgerSubMenuItem = (menu: DispositionItem, i: number) => {
|
|
48
49
|
const { icon, href, text } = menu;
|
|
50
|
+
|
|
49
51
|
return (
|
|
50
52
|
<a key={`headerSubMenu-${i}`} href={href} className="flex text-sm mb-4 hover:text-primary-main">
|
|
51
53
|
{icon ? (
|
|
@@ -29,6 +29,7 @@ const LINKS_ICON_VERSION_MAP: Record<BgColorVersion, IconVersion> = {
|
|
|
29
29
|
export const HeaderSecondaryMenu = JSX<HeaderSecondaryMenuProps>(
|
|
30
30
|
({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
31
31
|
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
32
|
+
|
|
32
33
|
return (
|
|
33
34
|
<div className={`flex items-center ${className || ''}`}>
|
|
34
35
|
<TopItem
|
|
@@ -18,6 +18,7 @@ export const Headline = JSX<HeadlineProps>(
|
|
|
18
18
|
align = 'left',
|
|
19
19
|
}) => {
|
|
20
20
|
const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
|
|
21
|
+
|
|
21
22
|
return (
|
|
22
23
|
<section className={`px-4 py-6 flex flex-col gap-2.5 ${STYLE_MAPS.background} ${className}`}>
|
|
23
24
|
{title ? (
|
|
@@ -64,6 +64,7 @@ function renderInsuranceSumMonth(sum, monthLimit) {
|
|
|
64
64
|
|
|
65
65
|
function renderValueBlock(title, sum, isAnotherBlock) {
|
|
66
66
|
const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
|
|
67
|
+
|
|
67
68
|
return (
|
|
68
69
|
<div className={`flex justify-between items-center gap-2 w-full ${widthStyle}`}>
|
|
69
70
|
<span className="text-secondary-text text-base">{title}</span>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { InsuranceProps } from '../../model/Insurance';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* @title Преимущество
|
|
@@ -15,12 +14,16 @@ export interface InsuranceBenefit {
|
|
|
15
14
|
/**
|
|
16
15
|
* @title Страховка
|
|
17
16
|
*/
|
|
18
|
-
export type InsuranceContent =
|
|
17
|
+
export type InsuranceContent = {
|
|
19
18
|
/** @title Заголовок */
|
|
20
19
|
title?: string;
|
|
21
20
|
/** @title Описание */
|
|
22
21
|
description?: string;
|
|
23
22
|
image?: Picture;
|
|
23
|
+
/** @title Ежемесячный лимит */
|
|
24
|
+
monthLimit?: number;
|
|
25
|
+
/** @title Страховая сумма */
|
|
26
|
+
sum?: number;
|
|
24
27
|
/**
|
|
25
28
|
* @title Список преимуществ
|
|
26
29
|
* @maxItems 6
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
},
|
|
7
7
|
"insuranceTabs": [
|
|
8
8
|
{
|
|
9
|
-
"title": "Описание",
|
|
10
|
-
"
|
|
9
|
+
"title": "Описание 1",
|
|
10
|
+
"cards": [
|
|
11
11
|
{
|
|
12
12
|
"sum": 200000,
|
|
13
13
|
"fee": 2100,
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"title": "Описание",
|
|
25
|
-
"
|
|
24
|
+
"title": "Описание 2",
|
|
25
|
+
"cards": [
|
|
26
26
|
{
|
|
27
27
|
"sum": 200000,
|
|
28
28
|
"fee": 2100,
|
|
@@ -9,7 +9,6 @@ export interface InsuranceAmountBlockProps extends InsuranceAmountBlockContent,
|
|
|
9
9
|
|
|
10
10
|
export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
|
|
11
11
|
({ className = '', context, title, insuranceTabs = [], button, anchor = null }) => {
|
|
12
|
-
const insuranceGalleries = insuranceTabs.map((_) => _.cards);
|
|
13
12
|
const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
|
|
14
13
|
|
|
15
14
|
return (
|
|
@@ -36,7 +35,7 @@ export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
|
|
|
36
35
|
{renderInsuranceGalleries({
|
|
37
36
|
context,
|
|
38
37
|
className,
|
|
39
|
-
|
|
38
|
+
insuranceTabs,
|
|
40
39
|
})}
|
|
41
40
|
</div>
|
|
42
41
|
{button?.text ? (
|
|
@@ -55,7 +54,13 @@ export const InsuranceAmountBlock = JSX<InsuranceAmountBlockProps>(
|
|
|
55
54
|
},
|
|
56
55
|
);
|
|
57
56
|
|
|
58
|
-
const renderInsuranceGalleries = ({
|
|
57
|
+
const renderInsuranceGalleries = ({
|
|
58
|
+
insuranceTabs,
|
|
59
|
+
context,
|
|
60
|
+
className = '',
|
|
61
|
+
}: InsuranceAmountBlockProps) => {
|
|
62
|
+
const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
|
|
63
|
+
|
|
59
64
|
return insuranceGalleries?.length
|
|
60
65
|
? insuranceGalleries.map((cards) => (
|
|
61
66
|
<InsuranceAmountBlockInner context={context} className={className} cards={cards} />
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
2
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { InsuranceProps } from '../../model/Insurance';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* @title Кнопка выбора программы
|
|
7
6
|
*/
|
|
8
|
-
export type
|
|
7
|
+
export type CardItem = {
|
|
8
|
+
/** @title Иконка */
|
|
9
9
|
icon?: Picture;
|
|
10
10
|
/** @title Страховой взнос */
|
|
11
11
|
fee?: number;
|
|
12
|
+
/** @title Страховая сумма */
|
|
13
|
+
sum?: number;
|
|
12
14
|
};
|
|
13
15
|
|
|
14
16
|
/**
|
|
@@ -18,7 +20,7 @@ export interface InsuranceAmountBlockTabs {
|
|
|
18
20
|
/** @title Заголовок вкладки */
|
|
19
21
|
title?: string;
|
|
20
22
|
/** @title Содержимое вкладки */
|
|
21
|
-
cards?:
|
|
23
|
+
cards?: CardItem[];
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps, FuncReturnVoid } from '../../types';
|
|
3
|
-
import type { InsuranceAmountBlockTabs,
|
|
3
|
+
import type { InsuranceAmountBlockTabs, CardItem } from './InsuranceAmountBlockContent';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
|
|
6
6
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
@@ -9,14 +9,14 @@ export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTabs
|
|
|
9
9
|
|
|
10
10
|
type InsuranceGalleryProps = {
|
|
11
11
|
tabsShift: number;
|
|
12
|
-
cards:
|
|
12
|
+
cards: CardItem[];
|
|
13
13
|
activeSlideIndex: number;
|
|
14
14
|
isLastShift: boolean;
|
|
15
15
|
setActiveSlideIndex: FuncReturnVoid<number>;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
type InsuranceSlideProps = {
|
|
19
|
-
slide:
|
|
19
|
+
slide: CardItem;
|
|
20
20
|
i: number;
|
|
21
21
|
activeSlideIndex: number;
|
|
22
22
|
onClick: FuncReturnVoid<MouseEvent>;
|
|
@@ -30,7 +30,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
|
|
|
30
30
|
const handleNextClick = () => setTabsShift(tabsShift + 1);
|
|
31
31
|
const handlePrevClick = () => setTabsShift(tabsShift - 1);
|
|
32
32
|
|
|
33
|
-
const galleryLength = cards?.length;
|
|
33
|
+
const galleryLength = cards?.length ?? 0;
|
|
34
34
|
|
|
35
35
|
const isGalleryScrollAvailable = cards?.length > 2;
|
|
36
36
|
const showNextButton = isGalleryScrollAvailable && galleryLength > tabsShift + 2;
|
|
@@ -40,7 +40,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
|
|
|
40
40
|
return (
|
|
41
41
|
<section id={anchor} className={`min-w-full ${className}`}>
|
|
42
42
|
<div className="relative mt-7 overflow-hidden">
|
|
43
|
-
{galleryLength
|
|
43
|
+
{galleryLength
|
|
44
44
|
? renderGallery({
|
|
45
45
|
tabsShift,
|
|
46
46
|
cards,
|
|
@@ -75,6 +75,7 @@ function renderGallery({
|
|
|
75
75
|
setActiveSlideIndex,
|
|
76
76
|
}: InsuranceGalleryProps) {
|
|
77
77
|
const tabsShiftWidth = isLastShift ? tabsShift * 460 - 240 : tabsShift * 460;
|
|
78
|
+
|
|
78
79
|
return (
|
|
79
80
|
<div
|
|
80
81
|
style={{ transform: `translateX(-${tabsShiftWidth}px)` }}
|
|
@@ -18,6 +18,7 @@ export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
|
18
18
|
export const LinkDocsListItemBase = JSX<LinkDocsListItemBaseProps>(
|
|
19
19
|
({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
|
|
20
20
|
const { text, fileSize, ...linkProps } = doc;
|
|
21
|
+
|
|
21
22
|
return (
|
|
22
23
|
<a className={className} role="link" {...linkProps}>
|
|
23
24
|
{icon ? (
|
|
@@ -40,6 +41,7 @@ const formatSuffix = (ext?: string, fileSize?: string) => {
|
|
|
40
41
|
const prefix = ext || fileSize ? ',' : '';
|
|
41
42
|
const extension = ext ? ` ${ext}` : '';
|
|
42
43
|
const size = fileSize ? ` (${fileSize})` : '';
|
|
44
|
+
|
|
43
45
|
return prefix + extension + size;
|
|
44
46
|
};
|
|
45
47
|
|
|
@@ -49,5 +51,6 @@ const getExtFromHref = (href: string) => {
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
const index = href.lastIndexOf('.');
|
|
54
|
+
|
|
52
55
|
return index !== -1 ? href.substring(index + 1) : '';
|
|
53
56
|
};
|
|
@@ -17,6 +17,7 @@ export const LinkList = JSX<LinkListProps>(({ className = '', documents, anchor
|
|
|
17
17
|
const renderLinkListItem = (documents) => {
|
|
18
18
|
return documents.map((doc, i) => {
|
|
19
19
|
const { text, ...linkProps } = doc;
|
|
20
|
+
|
|
20
21
|
return (
|
|
21
22
|
<li key={`list_item_${String(i)}`} className="mb-4 list-none">
|
|
22
23
|
<a className="hover:text-primary-main" role="link" {...linkProps}>
|
|
@@ -7,12 +7,10 @@ import { Logo } from '../../ui-kit/Logo/Logo';
|
|
|
7
7
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {}
|
|
8
8
|
|
|
9
9
|
export const MobileAppTile = JSX<MobileAppTileProps>(
|
|
10
|
-
({ className, title = 'Мобильное приложение', description, href = '#' }) => {
|
|
10
|
+
({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
|
|
11
11
|
return (
|
|
12
12
|
<div
|
|
13
|
-
className={`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${
|
|
14
|
-
className || ''
|
|
15
|
-
}`}
|
|
13
|
+
className={`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className}`}
|
|
16
14
|
>
|
|
17
15
|
{href ? (
|
|
18
16
|
<div className="flex">
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
1
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
2
3
|
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
4
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
5
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
4
7
|
|
|
5
8
|
/**
|
|
6
9
|
* @title QR код
|
|
@@ -17,9 +20,12 @@ export interface QRCode {
|
|
|
17
20
|
*/
|
|
18
21
|
export type MobileAppTileContent = HeadingContent &
|
|
19
22
|
DescriptionContent &
|
|
20
|
-
ButtonContent &
|
|
23
|
+
ButtonContent &
|
|
24
|
+
ListContent &
|
|
25
|
+
ImageContent & {
|
|
21
26
|
// TODO: description для мобильной версии
|
|
22
27
|
qr?: QRCode;
|
|
23
28
|
/** @title Ссылка */
|
|
24
29
|
href?: string; // TODO: для мобильной версии
|
|
30
|
+
version?: BlockVersion;
|
|
25
31
|
};
|
|
@@ -8,9 +8,9 @@ export interface OtherProductsProps extends OtherProductsContent, UniBlockProps
|
|
|
8
8
|
export const OtherProducts = JSX<OtherProductsProps>(
|
|
9
9
|
({ blockItems, colorPalette, context, className = '' }) => {
|
|
10
10
|
return (
|
|
11
|
-
<section className={`font-sans
|
|
11
|
+
<section className={`font-sans text-primary-text ${className}`}>
|
|
12
12
|
{blockItems?.length ? (
|
|
13
|
-
<div className="
|
|
13
|
+
<div className="box-border1">
|
|
14
14
|
{blockItems.map((item, i) => (
|
|
15
15
|
<OtherProductsItem
|
|
16
16
|
key={`BlockItem${i}`}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ColorPalette } from '../../types';
|
|
2
|
-
import type { BlockDef
|
|
2
|
+
import type { BlockDef } from '../../ui-kit/BlocksList/BlocksListProps';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @title Элемент списка
|
|
@@ -10,16 +10,13 @@ export interface BlockItemCommonProps {
|
|
|
10
10
|
* @default Список
|
|
11
11
|
*/
|
|
12
12
|
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* @title Отображать в раскрытом виде
|
|
15
|
-
*/
|
|
13
|
+
/** @title Отображать в раскрытом виде */
|
|
16
14
|
isUnfolded?: boolean;
|
|
17
15
|
/**
|
|
18
16
|
* @title Блоки
|
|
19
17
|
* @maxItems 10
|
|
20
18
|
*/
|
|
21
19
|
blocks?: BlockDef[];
|
|
22
|
-
columns?: ColumnsCount;
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
/**
|
|
@@ -28,9 +25,7 @@ export interface BlockItemCommonProps {
|
|
|
28
25
|
export interface OtherProductsContent {
|
|
29
26
|
/** @title Заголовок */
|
|
30
27
|
title?: string;
|
|
31
|
-
/**
|
|
32
|
-
* @title Список
|
|
33
|
-
*/
|
|
28
|
+
/** @title Список */
|
|
34
29
|
blockItems?: BlockItemCommonProps[];
|
|
35
30
|
colorPalette?: ColorPalette;
|
|
36
31
|
}
|
|
@@ -10,13 +10,12 @@ export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export const OtherProductsItem = JSX<BlockItemProps>(
|
|
13
|
-
({ label, blocks,
|
|
13
|
+
({ label, blocks, context, dataTheme, isUnfolded }) => {
|
|
14
14
|
const foldableBlocks = renderBlocksList({
|
|
15
15
|
context,
|
|
16
|
-
className: 'box-border p-5',
|
|
17
|
-
columns,
|
|
18
16
|
blocks,
|
|
19
17
|
}) as VNode[];
|
|
18
|
+
|
|
20
19
|
return (
|
|
21
20
|
<div className="border-0 border-b border-solid border-main-divider">
|
|
22
21
|
{blocks?.length ? (
|
|
@@ -27,11 +26,8 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
27
26
|
isUnfolded={isUnfolded}
|
|
28
27
|
context={context}
|
|
29
28
|
foldButtonLabel={label}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
{children}
|
|
33
|
-
</Wrapper>
|
|
34
|
-
)}
|
|
29
|
+
containerClasses="grid grid-cols-12 gap-1 border-box"
|
|
30
|
+
render={(children, isActive) => <Wrapper isActive={isActive}>{children}</Wrapper>}
|
|
35
31
|
/>
|
|
36
32
|
) : null}
|
|
37
33
|
</div>
|
|
@@ -39,14 +35,6 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
39
35
|
},
|
|
40
36
|
);
|
|
41
37
|
|
|
42
|
-
const Wrapper = JSX<{
|
|
43
|
-
return
|
|
44
|
-
<div
|
|
45
|
-
className={`box-border w-full ${isActive ? 'p-9' : ''} ${
|
|
46
|
-
columns > 1 ? 'flex flex-wrap' : ''
|
|
47
|
-
}`}
|
|
48
|
-
>
|
|
49
|
-
{children}
|
|
50
|
-
</div>
|
|
51
|
-
);
|
|
38
|
+
const Wrapper = JSX<{ isActive: boolean }>(({ children }) => {
|
|
39
|
+
return <div className="box-border">{children}</div>;
|
|
52
40
|
});
|
|
@@ -13,6 +13,7 @@ export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {}
|
|
|
13
13
|
|
|
14
14
|
export const ProductBlock = JSX<ProductBlockProps>((props /* Get rid of image and benefits */) => {
|
|
15
15
|
const { className = '', version = 'primary' } = props;
|
|
16
|
+
|
|
16
17
|
return (
|
|
17
18
|
<section
|
|
18
19
|
className={`font-sans bg-white px-4 py-6 ${productBlockStyleMap[version]} ${className}`}
|
|
@@ -13,6 +13,7 @@ const benefitDescStyleMap: Record<BlockVersion, string> = {
|
|
|
13
13
|
|
|
14
14
|
export function renderBenefit({ benefit, version = 'primary' }: BenefitItemProps, i: number) {
|
|
15
15
|
const isIconWhite = version === 'secondary';
|
|
16
|
+
|
|
16
17
|
return (
|
|
17
18
|
<div key={String(i)} className="flex gap-3 items-center mb-2.5 last:mb-0">
|
|
18
19
|
{benefit.icon ? (
|
|
@@ -97,6 +97,7 @@ function renderBenefitDescription(benefit: TextBenefit, i: number, version = 'pr
|
|
|
97
97
|
primary: 'text-secondary-text',
|
|
98
98
|
secondary: 'text-white',
|
|
99
99
|
};
|
|
100
|
+
|
|
100
101
|
return (
|
|
101
102
|
<div key={String(i)} className={`text-sm ${i ? 'mt-4' : ''} ${labelStyleMap[version]}`}>
|
|
102
103
|
{benefit.description}
|
|
@@ -109,5 +110,6 @@ function renderAdditionalDescription(additionalDescription: string, version = 'p
|
|
|
109
110
|
primary: 'text-secondary-text',
|
|
110
111
|
secondary: 'text-white',
|
|
111
112
|
};
|
|
113
|
+
|
|
112
114
|
return <div className={`text-sm mt-2.5 ${descStyleMap[version]}`}>{additionalDescription}</div>;
|
|
113
115
|
}
|