@redneckz/wildless-cms-uni-blocks 0.6.46 → 0.6.48
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 +115 -109
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/bundle/content-page-repository/transformHTML.d.ts +1 -0
- package/bundle/model/BlockVersion.d.ts +6 -0
- package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgProps.d.ts +4 -5
- package/bundle/ui-kit/RichText/RichText.d.ts +2 -0
- package/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/dist/components/AccordionItem/AccordionItem.js +1 -1
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/Blocks.js +10 -8
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Carousel/Carousel.js +3 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +1 -1
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/dist/components/ComparisonTable/constants.js +1 -1
- package/dist/components/ComparisonTable/constants.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -1
- package/dist/components/Gallery/GalleryContainer.js +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/dist/components/Header/DropdownMenu.js +2 -2
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js +1 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/dist/components/OfficeMap/renderFunctions.js +1 -1
- package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/dist/components/ProductTile/renderBenefit.js +4 -4
- package/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/dist/components/RichTextBlock/RichTextBlock.js +11 -0
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/dist/content-page-repository/replaceHeadingTags.js +5 -0
- package/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/dist/content-page-repository/transformContentPage.js +5 -0
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformHTML.d.ts +1 -0
- package/dist/content-page-repository/transformHTML.js +23 -0
- package/dist/content-page-repository/transformHTML.js.map +1 -0
- package/dist/content-page-repository/transformMarkdown.js +2 -1
- package/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +6 -0
- package/dist/model/BlockVersion.js +6 -1
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/model/BorderVersion.js +1 -1
- package/dist/model/BorderVersion.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/dist/ui-kit/Img/ImgAsPicture.js +7 -7
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +2 -2
- package/dist/ui-kit/Img/ImgInner.js +2 -8
- package/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +4 -5
- package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +3 -3
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Location/Location.js +1 -1
- package/dist/ui-kit/Location/Location.js.map +1 -1
- package/dist/ui-kit/Location/SearchBar.js +1 -1
- package/dist/ui-kit/Location/SearchBar.js.map +1 -1
- package/dist/ui-kit/Logo/renderImage.js +1 -1
- package/dist/ui-kit/Logo/renderImage.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/RichText/RichText.d.ts +2 -0
- package/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
- package/dist/ui-kit/RichText/RichText.js.map +1 -0
- package/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
- package/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Tags/Tags.js +1 -1
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +3 -3
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
- package/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
- package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
- package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/Blocks.js +10 -8
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Carousel/Carousel.js +3 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +1 -1
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/lib/components/ComparisonTable/constants.js +1 -1
- package/lib/components/ComparisonTable/constants.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -1
- package/lib/components/Gallery/GalleryContainer.js +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/lib/components/Header/DropdownMenu.js +2 -2
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js +1 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/lib/components/OfficeMap/renderFunctions.js +1 -1
- package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/lib/components/ProductTile/renderBenefit.js +4 -4
- package/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +6 -0
- package/lib/components/RichTextBlock/RichTextBlock.js +9 -0
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/lib/content-page-repository/replaceHeadingTags.js +2 -0
- package/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/lib/content-page-repository/transformContentPage.js +5 -0
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformHTML.d.ts +1 -0
- package/lib/content-page-repository/transformHTML.js +17 -0
- package/lib/content-page-repository/transformHTML.js.map +1 -0
- package/lib/content-page-repository/transformMarkdown.js +2 -1
- package/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +6 -0
- package/lib/model/BlockVersion.js +5 -0
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/model/BorderVersion.js +1 -1
- package/lib/model/BorderVersion.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/lib/ui-kit/Img/ImgAsPicture.js +7 -7
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +2 -2
- package/lib/ui-kit/Img/ImgInner.js +2 -8
- package/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +4 -5
- package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +3 -3
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Location/Location.js +1 -1
- package/lib/ui-kit/Location/Location.js.map +1 -1
- package/lib/ui-kit/Location/SearchBar.js +1 -1
- package/lib/ui-kit/Location/SearchBar.js.map +1 -1
- package/lib/ui-kit/Logo/renderImage.js +1 -1
- package/lib/ui-kit/Logo/renderImage.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.d.ts +2 -0
- package/lib/ui-kit/RichText/RichText.fixture.d.ts +5 -0
- package/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
- package/lib/ui-kit/RichText/RichText.js.map +1 -0
- package/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/lib/ui-kit/RichText/RichTextProps.js +2 -0
- package/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.js +1 -1
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +3 -3
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
- package/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
- package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
- package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +22 -31
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/bundle/model/BlockVersion.d.ts +6 -0
- package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +4 -5
- package/mobile/bundle/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +3 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/constants.js +1 -1
- package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js +2 -2
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/dist/components/ProductTile/renderBenefit.js +4 -4
- package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +11 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/dist/content-page-repository/replaceHeadingTags.js +5 -0
- package/mobile/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +5 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/dist/content-page-repository/transformHTML.js +23 -0
- package/mobile/dist/content-page-repository/transformHTML.js.map +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +6 -0
- package/mobile/dist/model/BlockVersion.js +6 -1
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/model/BorderVersion.js +1 -1
- package/mobile/dist/model/BorderVersion.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -2
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +7 -7
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/ImgInner.js +2 -8
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +4 -5
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +3 -3
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Location/Location.js +1 -1
- package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
- package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/renderImage.js +1 -1
- package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
- package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -0
- package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
- package/mobile/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +3 -3
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
- package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
- package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +3 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/constants.js +1 -1
- package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js +2 -2
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/lib/components/ProductTile/renderBenefit.js +4 -4
- package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +9 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/lib/content-page-repository/replaceHeadingTags.js +2 -0
- package/mobile/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +5 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/lib/content-page-repository/transformHTML.js +17 -0
- package/mobile/lib/content-page-repository/transformHTML.js.map +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +6 -0
- package/mobile/lib/model/BlockVersion.js +5 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/model/BorderVersion.js +1 -1
- package/mobile/lib/model/BorderVersion.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -2
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +7 -7
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/ImgInner.js +2 -8
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +4 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +3 -3
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Location/Location.js +1 -1
- package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
- package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/renderImage.js +1 -1
- package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
- package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.js +2 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +3 -3
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
- package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
- package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
- package/mobile/src/common.css +32 -14
- package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +3 -7
- package/mobile/src/components/Calculator/Calculator.tsx +1 -1
- package/mobile/src/components/Carousel/Carousel.tsx +3 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
- package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -4
- package/mobile/src/components/ComparisonTable/constants.ts +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
- package/mobile/src/components/Gallery/Gallery.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +36 -34
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
- package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -2
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +4 -1
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +2 -2
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -1
- package/mobile/src/components/ProductTile/ProductTileContent.ts +5 -5
- package/mobile/src/components/ProductTile/renderBenefit.tsx +4 -4
- package/mobile/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
- package/mobile/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
- package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
- package/mobile/src/content-page-repository/replaceHeadingTags.ts +2 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +4 -0
- package/mobile/src/content-page-repository/transformHTML.ts +19 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +2 -1
- package/mobile/src/model/BlockVersion.ts +12 -0
- package/mobile/src/model/BorderVersion.ts +1 -1
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/mobile/src/ui-kit/Img/Img.tsx +2 -3
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +10 -8
- package/mobile/src/ui-kit/Img/ImgInner.tsx +13 -21
- package/mobile/src/ui-kit/Img/ImgProps.ts +4 -6
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +2 -2
- package/mobile/src/ui-kit/Input/Input.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +3 -3
- package/mobile/src/ui-kit/Location/Location.tsx +1 -1
- package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/Logo/renderImage.tsx +2 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/RichText/RichText.tsx +8 -0
- package/mobile/src/ui-kit/RichText/RichTextProps.ts +6 -0
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
- package/mobile/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
- package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
- package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
- package/package.json +4 -1
- package/src/common.css +32 -14
- package/src/components/AccordionItem/AccordionItem.tsx +7 -1
- package/src/components/Blocks.ts +10 -8
- package/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
- package/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +3 -7
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Carousel/Carousel.tsx +3 -1
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +9 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
- package/src/components/Catalog/CatalogCard.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/TableColumn.tsx +1 -4
- package/src/components/ComparisonTable/constants.ts +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
- package/src/components/Gallery/Gallery.mobile.tsx +1 -1
- package/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
- package/src/components/Header/DropdownMenu.tsx +36 -34
- package/src/components/Header/HeaderBurger.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
- package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
- package/src/components/OfficeMap/OfficeMap.tsx +3 -2
- package/src/components/OfficeMap/OfficeMapContent.ts +4 -1
- package/src/components/OfficeMap/renderFunctions.tsx +2 -2
- package/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/src/components/ProductTile/ProductTile.ui.json +1 -1
- package/src/components/ProductTile/ProductTileContent.ts +5 -5
- package/src/components/ProductTile/renderBenefit.tsx +4 -4
- package/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +29 -0
- package/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
- package/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
- package/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
- package/src/content-page-repository/replaceHeadingTags.ts +2 -0
- package/src/content-page-repository/transformContentPage.ts +4 -0
- package/src/content-page-repository/transformHTML.ts +19 -0
- package/src/content-page-repository/transformMarkdown.ts +2 -1
- package/src/model/BlockVersion.ts +12 -0
- package/src/model/BorderVersion.ts +1 -1
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/Img/Img.mobile.tsx +2 -3
- package/src/ui-kit/Img/ImgAsPicture.tsx +10 -8
- package/src/ui-kit/Img/ImgInner.tsx +13 -21
- package/src/ui-kit/Img/ImgProps.ts +4 -6
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +2 -2
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +3 -3
- package/src/ui-kit/Location/Location.tsx +1 -1
- package/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/src/ui-kit/Logo/renderImage.tsx +2 -1
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/RichText/RichText.fixture.tsx +28 -0
- package/src/ui-kit/RichText/RichText.tsx +8 -0
- package/src/ui-kit/RichText/RichTextProps.ts +6 -0
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +3 -3
- package/src/ui-kit/Tags/Tags.tsx +1 -1
- package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
- package/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
- package/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
- package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
- package/tailwind.config.cjs +6 -16
- package/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/dist/ui-kit/Img/getIconVersion.js +0 -7
- package/dist/ui-kit/Img/getIconVersion.js.map +0 -1
- package/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/lib/ui-kit/Img/getIconVersion.js +0 -4
- package/lib/ui-kit/Img/getIconVersion.js.map +0 -1
- package/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/dist/ui-kit/Img/getIconVersion.js +0 -7
- package/mobile/dist/ui-kit/Img/getIconVersion.js.map +0 -1
- package/mobile/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/lib/ui-kit/Img/getIconVersion.js +0 -4
- package/mobile/lib/ui-kit/Img/getIconVersion.js.map +0 -1
- package/mobile/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/src/ui-kit/Img/getIconVersion.tsx +0 -5
- package/mobile/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
- package/mobile/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
- package/src/ui-kit/Img/getIconVersion.tsx +0 -5
- package/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
- package/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
|
@@ -57,9 +57,11 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
|
|
|
57
57
|
Carousel.childrenTypes = [
|
|
58
58
|
'CarouselCard',
|
|
59
59
|
'CarouselCatalogCard',
|
|
60
|
-
'
|
|
60
|
+
'CarouselInvestmentCard',
|
|
61
61
|
'CarouselProductCard',
|
|
62
62
|
'CarouselProgramsCard',
|
|
63
|
+
'CarouselRecommendationCard',
|
|
64
|
+
'CarouselTariffsCard',
|
|
63
65
|
'CarouselInvestmentCard',
|
|
64
66
|
];
|
|
65
67
|
|
|
@@ -7,7 +7,7 @@ import type { CarouselCardContent } from './CarouselCardContent';
|
|
|
7
7
|
|
|
8
8
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {}
|
|
9
9
|
|
|
10
|
-
const BLOCK_CLASSES = 'absolute border border-solid border-
|
|
10
|
+
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
|
|
11
11
|
|
|
12
12
|
const CARD_WIDTH_MAP: Record<CarouselCardVersion, string> = {
|
|
13
13
|
normal: 'min-w-[1007px]',
|
|
@@ -3,7 +3,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @title Карточка
|
|
6
|
+
* @title Карточка карусели
|
|
7
7
|
*/
|
|
8
8
|
export interface CarouselCardContent extends HeadlineCommonProps {
|
|
9
9
|
/**
|
|
@@ -22,7 +22,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
|
22
22
|
export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
|
|
23
23
|
({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (
|
|
24
24
|
<section
|
|
25
|
-
className={`border box-border border-
|
|
25
|
+
className={`border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
|
|
26
26
|
role="listitem"
|
|
27
27
|
>
|
|
28
28
|
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
@@ -20,7 +20,7 @@ const descriptionStyleMap: Record<BlockVersion, string> = {
|
|
|
20
20
|
secondary: 'text-white/80',
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
const BORDER_STYLE = 'box-border border-solid border border-
|
|
23
|
+
const BORDER_STYLE = 'box-border border-solid border border-gray ';
|
|
24
24
|
|
|
25
25
|
export const CarouselProductCard = JSX<CarouselProductCardProps>(
|
|
26
26
|
({
|
|
@@ -13,7 +13,7 @@ export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, U
|
|
|
13
13
|
export const CarouselProgramsCard = JSX<CarouselTariffsCardProps>(
|
|
14
14
|
({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (
|
|
15
15
|
<BlockWrapper
|
|
16
|
-
className={`font-sans border border-
|
|
16
|
+
className={`font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
|
|
17
17
|
{...rest}
|
|
18
18
|
>
|
|
19
19
|
<div className="w-[200px] min-w-[200px] self-end">
|
|
@@ -7,7 +7,9 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
7
7
|
import { List } from '../../ui-kit/List/List';
|
|
8
8
|
import { renderButton } from '../../ui-kit/Button/ButtonSection';
|
|
9
9
|
import { SocialMedia } from '../Footer/SocialMedia';
|
|
10
|
-
import {
|
|
10
|
+
import type { BlockVersion, BlockVersionWithGray } from '../../model/BlockVersion';
|
|
11
|
+
import { VersionWithGrayStyleMap } from '../../model/BlockVersion';
|
|
12
|
+
|
|
11
13
|
import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
|
|
12
14
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
13
15
|
|
|
@@ -35,8 +37,8 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
|
|
|
35
37
|
return (
|
|
36
38
|
<BlockWrapper
|
|
37
39
|
className={`relative text-left border border-solid box-border p-7 min-w-[524px]
|
|
38
|
-
${BorderVersionStyleMap[version]}
|
|
39
|
-
${
|
|
40
|
+
${BorderVersionStyleMap[getOmitVersion(version)]}
|
|
41
|
+
${VersionWithGrayStyleMap[version]}
|
|
40
42
|
${className}`}
|
|
41
43
|
{...rest}
|
|
42
44
|
>
|
|
@@ -51,7 +53,11 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
|
|
|
51
53
|
/>
|
|
52
54
|
) : null}
|
|
53
55
|
{socialMedia.length ? (
|
|
54
|
-
<SocialMedia
|
|
56
|
+
<SocialMedia
|
|
57
|
+
className="pt-10 pb-0"
|
|
58
|
+
media={socialMedia}
|
|
59
|
+
version={getOmitVersion(version)}
|
|
60
|
+
/>
|
|
55
61
|
) : null}
|
|
56
62
|
{button?.text ? <div className="pt-2 mt-16">{renderButton({ button })}</div> : null}
|
|
57
63
|
</div>
|
|
@@ -60,3 +66,6 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
|
|
|
60
66
|
);
|
|
61
67
|
},
|
|
62
68
|
);
|
|
69
|
+
|
|
70
|
+
const getOmitVersion = (version: BlockVersionWithGray): BlockVersion =>
|
|
71
|
+
version === 'gray' ? 'primary' : version;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BlockVersionWithGray } from '../../model/BlockVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
@@ -41,5 +41,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
41
41
|
* }
|
|
42
42
|
*/
|
|
43
43
|
button?: ButtonProps;
|
|
44
|
-
version?:
|
|
44
|
+
version?: BlockVersionWithGray;
|
|
45
45
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import { VNode } from '../../model/VNode';
|
|
1
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
2
6
|
import { Button } from '../../ui-kit/Button/Button';
|
|
3
7
|
import { Foldable } from '../../ui-kit/Foldable/Foldable';
|
|
@@ -6,11 +10,7 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
|
6
10
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
11
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
8
12
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
10
|
-
import { VNode } from '../../model/VNode';
|
|
11
13
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
12
|
-
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
13
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
14
14
|
|
|
15
15
|
export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<BlockWrapper
|
|
27
|
-
className={`font-sans relative bg-white border border-
|
|
27
|
+
className={`font-sans relative bg-white border border-gray min-w-[322px] p-8
|
|
28
28
|
${getHitStyle(isHighlighting)}
|
|
29
29
|
${className}`}
|
|
30
30
|
{...rest}
|
|
@@ -19,7 +19,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
|
19
19
|
export const CatalogCard = JSX<CatalogCardProps>(
|
|
20
20
|
({ className = '', title, description, image, price, button, colors }) => (
|
|
21
21
|
<section
|
|
22
|
-
className={`border border-solid box-border border-
|
|
22
|
+
className={`border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
|
|
23
23
|
role="listitem"
|
|
24
24
|
>
|
|
25
25
|
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
@@ -59,7 +59,7 @@ const renderShowMoreToggleButton = ({
|
|
|
59
59
|
<div className={FIRST_CELL_CLASSES} />
|
|
60
60
|
<button
|
|
61
61
|
onClick={onClick}
|
|
62
|
-
className="mt-5 flex-1 border-
|
|
62
|
+
className="mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
|
|
63
63
|
>
|
|
64
64
|
<div className="font-sans text-xs-light font-medium py-3">
|
|
65
65
|
{!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}
|
|
@@ -28,10 +28,7 @@ export const TableColumn = JSX<TableColumnProps>(
|
|
|
28
28
|
const buttonVersion: ButtonVersion = isFillGradient ? 'secondary' : 'primary';
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<div
|
|
32
|
-
className={`border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`}
|
|
33
|
-
role="row"
|
|
34
|
-
>
|
|
31
|
+
<div className={`border border-gray rounded-md p-4 mb-3.5 ${gradientClassName}`} role="row">
|
|
35
32
|
<HeaderCell {...header} isFillGradient={isFillGradient} />
|
|
36
33
|
{columnDataView?.length
|
|
37
34
|
? columnDataView.map(({ rowHeader, cell }, i) => (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
2
|
-
export const BORDER_CLASSES = 'border-
|
|
2
|
+
export const BORDER_CLASSES = 'border-gray border-solid border';
|
|
3
3
|
export const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
|
|
4
4
|
export const FIRST_CELL_CLASSES = 'w-[200px] mr-6';
|
|
5
5
|
export const COLS_LENGTH_FOR_SCROLL = 3;
|
|
@@ -4,6 +4,7 @@ import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
|
|
|
4
4
|
import { formatCurrency } from './formatCurrency';
|
|
5
5
|
|
|
6
6
|
const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
|
|
7
|
+
const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
|
|
7
8
|
|
|
8
9
|
const CURRENCY_ICONS_MAP = {
|
|
9
10
|
USD: 'DollarIcon',
|
|
@@ -20,8 +21,8 @@ export const CurrencyTable = JSX<CurrencyTableProps>(({ className, exchangeCurre
|
|
|
20
21
|
<thead>
|
|
21
22
|
<tr>
|
|
22
23
|
<th className={TABLE_HEAD_STYLE}>Валюта</th>
|
|
23
|
-
<th className={
|
|
24
|
-
<th className={
|
|
24
|
+
<th className={TABLE_HEAD_STYLE_WITH_PL}>Купить</th>
|
|
25
|
+
<th className={TABLE_HEAD_STYLE_WITH_PL}>Продать</th>
|
|
25
26
|
</tr>
|
|
26
27
|
</thead>
|
|
27
28
|
<tbody>{exchangeCurrencyItems.map(renderCurrencyRow)}</tbody>
|
|
@@ -45,7 +45,7 @@ function renderCardsLayout(orientation: ListOrientation, cards: GalleryCardProps
|
|
|
45
45
|
function renderCard(card: GalleryCardProps, key: number) {
|
|
46
46
|
return (
|
|
47
47
|
<div
|
|
48
|
-
className={`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-
|
|
48
|
+
className={`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4
|
|
49
49
|
${VersionStyleMap[card.version ?? 'primary']}`}
|
|
50
50
|
key={key}
|
|
51
51
|
>
|
|
@@ -36,7 +36,7 @@ export const GalleryContainer = JSX<GalleryContainerProps>(
|
|
|
36
36
|
function renderCard({ card, version }: GalleryCardData, i: number) {
|
|
37
37
|
return (
|
|
38
38
|
<section
|
|
39
|
-
className={`box-border border-solid border border-
|
|
39
|
+
className={`box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
|
|
40
40
|
items-stretch ${cardStyleMap[version]} ${
|
|
41
41
|
VersionStyleMap[card.version ?? 'primary']
|
|
42
42
|
} w-full col-span-4`}
|
|
@@ -17,46 +17,48 @@ interface DropdownMenuProps {
|
|
|
17
17
|
bgColor?: BgColorVersion;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export const DropdownMenu = JSX<DropdownMenuProps>(
|
|
21
|
-
|
|
20
|
+
export const DropdownMenu = JSX<DropdownMenuProps>(
|
|
21
|
+
({ className = '', items, activeItem, bgColor }) => {
|
|
22
|
+
const link = useLink();
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
const [visible, setVisible] = useState(false);
|
|
25
|
+
const handleToggle = useCallback(() => setVisible((_) => !_), []);
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
const handleClickOutside = useCallback(() => setVisible(false), []);
|
|
28
|
+
const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
<div
|
|
31
|
-
className={`${visible ? 'bg-white rounded-md shadow-blue-gray/24' : ''} ${className || ''}`}
|
|
32
|
-
ref={ref}
|
|
33
|
-
>
|
|
34
|
-
<button
|
|
35
|
-
className="flex justify-between items-center cursor-pointer h-6 ml-6"
|
|
36
|
-
aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
|
|
37
|
-
onClick={handleToggle}
|
|
38
|
-
>
|
|
39
|
-
{Array(3).fill(bgColor).map(renderDot)}
|
|
40
|
-
</button>
|
|
30
|
+
return (
|
|
41
31
|
<div
|
|
42
|
-
className={
|
|
43
|
-
|
|
32
|
+
className={`${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`}
|
|
33
|
+
ref={ref}
|
|
44
34
|
>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
35
|
+
<button
|
|
36
|
+
className="flex justify-between items-center cursor-pointer h-6 ml-6"
|
|
37
|
+
aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
|
|
38
|
+
onClick={handleToggle}
|
|
39
|
+
>
|
|
40
|
+
{Array(3).fill(bgColor).map(renderDot)}
|
|
41
|
+
</button>
|
|
42
|
+
<div
|
|
43
|
+
className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
|
|
44
|
+
aria-hidden={!visible}
|
|
45
|
+
>
|
|
46
|
+
{items?.map((item, i) => (
|
|
47
|
+
<a
|
|
48
|
+
key={item.href || String(i)}
|
|
49
|
+
className={`text-l-light pb-4 hover:text-primary-main ${
|
|
50
|
+
item === activeItem ? 'text-primary-main' : ''
|
|
51
|
+
}`}
|
|
52
|
+
{...link(item)}
|
|
53
|
+
>
|
|
54
|
+
{item.text}
|
|
55
|
+
</a>
|
|
56
|
+
))}
|
|
57
|
+
</div>
|
|
56
58
|
</div>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
);
|
|
60
|
+
},
|
|
61
|
+
);
|
|
60
62
|
|
|
61
63
|
const renderDot = (bgColor: BgColorVersion, i: number) => (
|
|
62
64
|
<div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
|
|
@@ -23,11 +23,11 @@ export const HeaderBurger = JSX<HeaderBurgerProps>(
|
|
|
23
23
|
className="absolute top-4 right-4 border-none bg-transparent cursor-pointer"
|
|
24
24
|
onClick={onClick}
|
|
25
25
|
>
|
|
26
|
-
<Img image=
|
|
26
|
+
<Img image={{ icon: 'CloseIcon' }} width="24" height="24" asSVG />
|
|
27
27
|
</button>
|
|
28
28
|
<button className="flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer">
|
|
29
29
|
<Img
|
|
30
|
-
image=
|
|
30
|
+
image={{ icon: 'GeolocationIcon' }}
|
|
31
31
|
width="20"
|
|
32
32
|
height="20"
|
|
33
33
|
className="text-primary-main box-border mr-2"
|
|
@@ -91,8 +91,8 @@ function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }: Insur
|
|
|
91
91
|
|
|
92
92
|
function renderNavButton({ slide, i, isActive, onClick }: NavButtonProps) {
|
|
93
93
|
const btnClassName = isActive
|
|
94
|
-
? 'shadow-dark-blue
|
|
95
|
-
: `ease-in duration-300 border-
|
|
94
|
+
? 'shadow-dark-blue border-primary-main'
|
|
95
|
+
: `ease-in duration-300 border-gray`;
|
|
96
96
|
|
|
97
97
|
return (
|
|
98
98
|
<button
|
|
@@ -132,7 +132,7 @@ function renderDoneIcon(isActive: boolean) {
|
|
|
132
132
|
return isActive ? (
|
|
133
133
|
<Img
|
|
134
134
|
className={`h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`}
|
|
135
|
-
image=
|
|
135
|
+
image={{ icon: 'DoneIcon' }}
|
|
136
136
|
width="24"
|
|
137
137
|
height="24"
|
|
138
138
|
/>
|
|
@@ -49,12 +49,10 @@ export const InvestmentInfo = JSX<InvestmentInfoProps>((props) => {
|
|
|
49
49
|
{colums?.length ? (
|
|
50
50
|
<div>
|
|
51
51
|
<div className="flex items-end relative pl-9 pr-5 text-white">
|
|
52
|
-
{joinList(<div className="w-px h-4 bg-
|
|
53
|
-
|
|
54
|
-
)}
|
|
55
|
-
<div className="absolute right-[30px] w-px h-4 bg-main-stroke" />
|
|
52
|
+
{joinList(<div className="w-px h-4 bg-gray" />)(colums.map(renderInvestmentColumn))}
|
|
53
|
+
<div className="absolute right-[30px] w-px h-4 bg-gray" />
|
|
56
54
|
</div>
|
|
57
|
-
<div className="border-t border-
|
|
55
|
+
<div className="border-t border-gray -mt-2 ml-9 mr-8" />
|
|
58
56
|
<div className="flex justify-between text-primary-text mt-3 -mx-10">
|
|
59
57
|
{colums.map(renderInvestmentColumnTitle)}
|
|
60
58
|
</div>
|
|
@@ -10,7 +10,7 @@ export const LinkDocsHorizontalList = JSX<LinkDocsVerticalListProps>(
|
|
|
10
10
|
? documents.map((doc, i) => (
|
|
11
11
|
<LinkDocsListItem
|
|
12
12
|
key={String(i)}
|
|
13
|
-
className={hasBorder ? 'rounded-md border-
|
|
13
|
+
className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
|
|
14
14
|
doc={doc}
|
|
15
15
|
icon={icon}
|
|
16
16
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { LinkDocsItem } from './LinkDocsContent';
|
|
4
4
|
import { LinkDocsListItem } from './LinkDocsListItem';
|
|
5
5
|
|
|
6
6
|
export interface LinkDocsVerticalListProps {
|
|
@@ -20,9 +20,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
|
|
|
20
20
|
? documents.map((doc, i) => (
|
|
21
21
|
<div key={String(i)} role="listitem">
|
|
22
22
|
<LinkDocsListItem
|
|
23
|
-
className={
|
|
24
|
-
hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''
|
|
25
|
-
}
|
|
23
|
+
className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
|
|
26
24
|
doc={doc}
|
|
27
25
|
icon={icon}
|
|
28
26
|
/>
|
|
@@ -3,17 +3,18 @@ import type { UniBlockProps } from '../../model/JSXBlock';
|
|
|
3
3
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
4
4
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
|
|
5
5
|
import { nearbyOffices } from './nearbyOffices';
|
|
6
|
-
import type {
|
|
6
|
+
import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
|
|
7
7
|
import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
|
|
8
8
|
import { useOfficeMap } from './useOfficeMap';
|
|
9
9
|
|
|
10
|
+
export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
|
|
10
11
|
export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
|
|
11
12
|
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
12
13
|
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
13
14
|
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
14
15
|
const resultOfficeMap = useOfficeMap('000');
|
|
15
16
|
const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
|
|
16
|
-
resultOfficeMap as
|
|
17
|
+
resultOfficeMap as OfficeMapContent;
|
|
17
18
|
const {
|
|
18
19
|
workingMonday,
|
|
19
20
|
workingTuesday,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
2
1
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
2
|
+
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
3
3
|
|
|
4
4
|
export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
|
|
5
5
|
const hasTime = /\d+/gi.test(lunchHour as string);
|
|
@@ -10,7 +10,7 @@ export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkSc
|
|
|
10
10
|
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4">
|
|
11
11
|
{workTime ? workTime : null}
|
|
12
12
|
</div>
|
|
13
|
-
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-
|
|
13
|
+
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden">
|
|
14
14
|
{lunchHour ? lunchHourText : null}
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
@@ -91,7 +91,7 @@ function renderProductBlock(block: ProductBlockInnerContent & UniBlockProps, i:
|
|
|
91
91
|
|
|
92
92
|
function renderNavButton({ slide, i, isActive, onClick, version }: NavButtonProps) {
|
|
93
93
|
const btnClassName = isActive
|
|
94
|
-
? 'bg-white shadow-dark-blue
|
|
94
|
+
? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
|
|
95
95
|
: `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
|
|
96
96
|
${VersionStyleMap[version]}`;
|
|
97
97
|
const btnTitleClassName = isActive
|
|
@@ -2,7 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
2
2
|
import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
-
import type {
|
|
5
|
+
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Стандартный
|
|
@@ -16,9 +16,9 @@ type TextBenefit = DescriptionProps &
|
|
|
16
16
|
/**
|
|
17
17
|
* @title Форматированный текст
|
|
18
18
|
*/
|
|
19
|
-
type
|
|
20
|
-
/** @default
|
|
21
|
-
type: '
|
|
19
|
+
type RichText = RichTextProps & {
|
|
20
|
+
/** @default rte */
|
|
21
|
+
type: 'rte';
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -27,7 +27,7 @@ type MarkdownTextContent = MarkdownTextProps & {
|
|
|
27
27
|
* "type": "default"
|
|
28
28
|
* }
|
|
29
29
|
*/
|
|
30
|
-
export type Benefit = TextBenefit |
|
|
30
|
+
export type Benefit = TextBenefit | RichText;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* @title Продуктовая плитка
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import {
|
|
2
|
+
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text';
|
|
4
4
|
import type { TextColor } from '../../ui-kit/Text/TextProps';
|
|
5
5
|
import { assertUnreachable } from '../../utils/assertUnreachable';
|
|
@@ -17,7 +17,7 @@ export const renderBenefit =
|
|
|
17
17
|
(benefit: Benefit, i: number) => {
|
|
18
18
|
const { type } = benefit;
|
|
19
19
|
|
|
20
|
-
if (!(type === 'default' || type === '
|
|
20
|
+
if (!(type === 'default' || type === 'rte')) {
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -31,8 +31,8 @@ export const renderBenefit =
|
|
|
31
31
|
{benefit.description}
|
|
32
32
|
</Text>,
|
|
33
33
|
];
|
|
34
|
-
case '
|
|
35
|
-
return <
|
|
34
|
+
case 'rte':
|
|
35
|
+
return <RichText __html={benefit.__html} />;
|
|
36
36
|
default:
|
|
37
37
|
assertUnreachable(benefit);
|
|
38
38
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"content": {
|
|
3
|
+
"__html": "<p class=\"h1\">Заголовок 1</p>\n<p class=\"h2\">Заголовок 2</p>\n<p class=\"h3\">Заголовок 3</p>\n<p class=\"h4\">Заголовок 4</p>\n<p class=\"h5\">Заголовок 5</p>\n<p class=\"h6\">Заголовок 6</p>\n<p>Параграф, в котором много текста и даже <a href=\"#\">ссылка</a></p>\n<p><strong>Жирный текст</strong>, <em>Наклонный текст</em></p>\n<ul>\n <li>Список с точками</li>\n <li>Список с точками</li>\n</ul>\n<ol>\n <li>Нумерованный список</li>\n <li>Нумерованный список</li>\n</ol>\n"
|
|
4
|
+
}
|
|
5
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '../../setup-fixture';
|
|
2
|
+
import { RichTextBlock } from './RichTextBlock';
|
|
3
|
+
|
|
4
|
+
const HTML = `
|
|
5
|
+
<p class="h1">Заголовок 1</p>
|
|
6
|
+
<p class="h2">Заголовок 2</p>
|
|
7
|
+
<p class="h3">Заголовок 3</p>
|
|
8
|
+
<p class="h4">Заголовок 4</p>
|
|
9
|
+
<p class="h5">Заголовок 5</p>
|
|
10
|
+
<p class="h6">Заголовок 6</p>
|
|
11
|
+
<p>Параграф, в котором много текста и даже <a href="#">ссылка</a></p>
|
|
12
|
+
<p><strong>Жирный текст</strong>, <em>Наклонный текст</em></p>
|
|
13
|
+
<ul>
|
|
14
|
+
<li>Список с точками</li>
|
|
15
|
+
<li>Список с точками</li>
|
|
16
|
+
</ul>
|
|
17
|
+
<ol>
|
|
18
|
+
<li>Нумерованный список</li>
|
|
19
|
+
<li>Нумерованный список</li>
|
|
20
|
+
</ol>
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
export default {
|
|
24
|
+
default: (
|
|
25
|
+
<div className="container grid grid-cols-12">
|
|
26
|
+
<RichTextBlock className="col-span-12" __html={HTML} />
|
|
27
|
+
</div>
|
|
28
|
+
),
|
|
29
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
+
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
5
|
+
import type { RichTextBlockContent } from './RichTextBlockContent';
|
|
6
|
+
|
|
7
|
+
interface RichTextBlockProps extends RichTextBlockContent, UniBlockProps {}
|
|
8
|
+
|
|
9
|
+
export const RichTextBlock = JSX<RichTextBlockProps>((props) => {
|
|
10
|
+
const { __html, ...rest } = props;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<BlockWrapper {...rest}>
|
|
14
|
+
<RichText __html={__html} />
|
|
15
|
+
</BlockWrapper>
|
|
16
|
+
);
|
|
17
|
+
});
|