@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
|
@@ -16,9 +16,9 @@ export const Checkbox = JSX<CheckboxProps>(({ className, text, checked, isRadio,
|
|
|
16
16
|
<div className={className}>
|
|
17
17
|
<label className="flex items-center relative cursor-pointer group">
|
|
18
18
|
<input
|
|
19
|
-
className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-
|
|
19
|
+
className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
|
|
20
20
|
${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
|
|
21
|
-
${checked ? 'border-black' : 'border-
|
|
21
|
+
${checked ? 'border-black' : 'border-gray'}
|
|
22
22
|
checked:border-primary-main m-0`}
|
|
23
23
|
type="checkbox"
|
|
24
24
|
onChange={(e) => onChange && onChange(e.target.checked as boolean)}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { ImgInner } from './ImgInner';
|
|
3
|
+
import type { ImageProps } from './ImgProps';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const Img = JSX<ImageProps<Image>>((props) => <ImgInner {...props} isMobile={true} />);
|
|
5
|
+
export const Img = JSX<ImageProps>((props) => <ImgInner {...props} isMobile={true} />);
|
|
@@ -10,14 +10,13 @@ const sourcesComparator = (a: Picture, b: Picture) => {
|
|
|
10
10
|
return 0;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const ImgAsPicture = JSX<ImageProps
|
|
14
|
-
({ className = '', image, imageClassName = '', isMobile = false, pathPrefix
|
|
13
|
+
export const ImgAsPicture = JSX<ImageProps>(
|
|
14
|
+
({ className = '', image, imageClassName = '', isMobile = false, pathPrefix }) => {
|
|
15
15
|
if (!image || (!image?.sources && !image?.src)) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
const pictureStyles = isMobile ? 'flex' : 'flex-none';
|
|
20
|
-
const normalizedPathPrefix = normalizePathPrefix(pathPrefix);
|
|
21
20
|
|
|
22
21
|
return (
|
|
23
22
|
<picture className={`${pictureStyles} ${className}`}>
|
|
@@ -27,7 +26,7 @@ export const ImgAsPicture = JSX<ImageProps<Picture>>(
|
|
|
27
26
|
.map(({ src, format, media }, index) => (
|
|
28
27
|
<source
|
|
29
28
|
key={`${index}_${src}`}
|
|
30
|
-
srcSet={addPathPrefixToSrcSet(src,
|
|
29
|
+
srcSet={addPathPrefixToSrcSet(src, pathPrefix)}
|
|
31
30
|
type={formatToMimeType(format)}
|
|
32
31
|
media={media ? `(max-width: ${media}px)` : ''}
|
|
33
32
|
{...image.size}
|
|
@@ -35,7 +34,7 @@ export const ImgAsPicture = JSX<ImageProps<Picture>>(
|
|
|
35
34
|
))
|
|
36
35
|
: null}
|
|
37
36
|
{renderImg(
|
|
38
|
-
{ ...image, src:
|
|
37
|
+
{ ...image, src: addPathPrefixToSrc(image.src, pathPrefix) },
|
|
39
38
|
imageClassName,
|
|
40
39
|
isMobile,
|
|
41
40
|
)}
|
|
@@ -69,10 +68,13 @@ const renderImg = (image: Picture, imageClassName = '', isMobile = false) => {
|
|
|
69
68
|
const normalizePathPrefix = (pathPrefix = '') =>
|
|
70
69
|
pathPrefix && !pathPrefix.endsWith('/') ? `${pathPrefix}/` : pathPrefix;
|
|
71
70
|
|
|
72
|
-
const
|
|
71
|
+
const addPathPrefixToSrc = (src?: string, pathPrefix?: string) =>
|
|
72
|
+
!src || src?.startsWith('data:image') ? src : `${normalizePathPrefix(pathPrefix)}${src}`;
|
|
73
|
+
|
|
74
|
+
const addPathPrefixToSrcSet = (srcset?: string, pathPrefix?: string) =>
|
|
73
75
|
srcset
|
|
74
|
-
|
|
75
|
-
.map((src) =>
|
|
76
|
+
?.split(',')
|
|
77
|
+
.map((src) => addPathPrefixToSrc(src.trim(), pathPrefix))
|
|
76
78
|
.join(', ');
|
|
77
79
|
|
|
78
80
|
export function formatToMimeType(format: ImgSource['format']): string | undefined {
|
|
@@ -1,35 +1,27 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { Picture } from '../../model/Picture';
|
|
3
2
|
import { Icon } from '../Icon/Icon';
|
|
4
|
-
import { getIconVersion } from './getIconVersion';
|
|
5
3
|
import { ImgAsPicture } from './ImgAsPicture';
|
|
6
|
-
import type {
|
|
4
|
+
import type { ImageProps } from './ImgProps';
|
|
7
5
|
|
|
8
|
-
export const ImgInner = JSX<ImageProps
|
|
6
|
+
export const ImgInner = JSX<ImageProps>(
|
|
9
7
|
({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
|
|
10
|
-
if (!image) {
|
|
8
|
+
if (!image?.src && !image?.icon) {
|
|
11
9
|
return null;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
{...iconProps}
|
|
24
|
-
/>
|
|
25
|
-
) : null;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return (
|
|
12
|
+
return image.icon ? (
|
|
13
|
+
<Icon
|
|
14
|
+
className={className}
|
|
15
|
+
imageClassName={imageClassName}
|
|
16
|
+
iconVersion={image?.iconVersion || 'normal'}
|
|
17
|
+
name={image.icon}
|
|
18
|
+
{...iconProps}
|
|
19
|
+
/>
|
|
20
|
+
) : (
|
|
29
21
|
<ImgAsPicture
|
|
30
22
|
className={className}
|
|
31
23
|
imageClassName={imageClassName}
|
|
32
|
-
image={image
|
|
24
|
+
image={image}
|
|
33
25
|
isMobile={isMobile}
|
|
34
26
|
pathPrefix={pathPrefix}
|
|
35
27
|
/>
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { IconCompatibilityFields
|
|
2
|
+
import type { IconCompatibilityFields } from '../Icon/IconProps';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
export interface ImageContent<T = Picture> {
|
|
7
|
-
image?: T;
|
|
4
|
+
export interface ImageContent {
|
|
5
|
+
image?: Picture;
|
|
8
6
|
}
|
|
9
|
-
export interface ImageProps
|
|
7
|
+
export interface ImageProps extends ImageContent, IconCompatibilityFields {
|
|
10
8
|
className?: string;
|
|
11
9
|
imageClassName?: string;
|
|
12
10
|
isMobile?: boolean;
|
|
@@ -25,12 +25,12 @@ export const InnerTableBody = JSX<InnerTableBodyProps>(({ activeTabIndex, items
|
|
|
25
25
|
return (
|
|
26
26
|
<div key={key} className="w-full">
|
|
27
27
|
<div
|
|
28
|
-
className="flex p-4 bg-
|
|
28
|
+
className="flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative"
|
|
29
29
|
onClick={() => toggleTables(key)}
|
|
30
30
|
>
|
|
31
31
|
{_.title}
|
|
32
32
|
<Img
|
|
33
|
-
image={hiddenTables[key] ? 'PlusIcon' : 'MinusIcon'}
|
|
33
|
+
image={{ icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }}
|
|
34
34
|
className="absolute right-[22px]"
|
|
35
35
|
width="24"
|
|
36
36
|
height="24"
|
|
@@ -38,7 +38,7 @@ export const Input = JSX<InputProps>(
|
|
|
38
38
|
|
|
39
39
|
const paddingStyle = children ? 'pr-8' : '';
|
|
40
40
|
const validStyle = valid
|
|
41
|
-
? 'border-
|
|
41
|
+
? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
|
|
42
42
|
: 'border-error';
|
|
43
43
|
|
|
44
44
|
return (
|
|
@@ -4,7 +4,7 @@ import { clamp } from '../../utils/clamp';
|
|
|
4
4
|
import { getSanitizedValue } from '../../utils/getSanitizedValue';
|
|
5
5
|
import type { InputRangeProps } from './InputRangeProps';
|
|
6
6
|
|
|
7
|
-
const DISABLED_INPUT_CLASSES = 'disabled:border-
|
|
7
|
+
const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
|
|
8
8
|
|
|
9
9
|
export const InputRange = JSX<InputRangeProps>(
|
|
10
10
|
({
|
|
@@ -35,8 +35,8 @@ export const InputRange = JSX<InputRangeProps>(
|
|
|
35
35
|
<label className="block relative">
|
|
36
36
|
{title ? <span className="text-m-light text-primary-text">{title}</span> : null}
|
|
37
37
|
<input
|
|
38
|
-
className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-
|
|
39
|
-
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-
|
|
38
|
+
className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-gray rounded-md
|
|
39
|
+
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-text ${DISABLED_INPUT_CLASSES}`}
|
|
40
40
|
value={addSpacesBetweenNumbers(value)}
|
|
41
41
|
disabled={disabled}
|
|
42
42
|
onChange={handleChange}
|
|
@@ -19,7 +19,7 @@ export const SearchBar = JSX<SearchBarInnerProps>(({ className, searchTerm, onSe
|
|
|
19
19
|
<input
|
|
20
20
|
id="search-bar-input"
|
|
21
21
|
className={`h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
22
|
-
outline-none border-
|
|
22
|
+
outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`}
|
|
23
23
|
value={searchTerm}
|
|
24
24
|
onChange={(e) => onSearch(e.target.value as string)}
|
|
25
25
|
type="text"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BgColorVersion } from '../../model/BgColorVersion';
|
|
1
|
+
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import { Img } from '../Img/Img';
|
|
4
4
|
|
|
@@ -23,6 +23,7 @@ export const renderImage = (
|
|
|
23
23
|
className={SVG_COLOR[bgColor]}
|
|
24
24
|
width={size?.width}
|
|
25
25
|
height={size?.height}
|
|
26
|
+
pathPrefix="/wcms-resources/"
|
|
26
27
|
asSVG
|
|
27
28
|
/>
|
|
28
29
|
) : (
|
|
@@ -5,7 +5,7 @@ export const Radio = JSX<RadioProps>(({ name, text, value, checked, onChange, cl
|
|
|
5
5
|
<div className={className}>
|
|
6
6
|
<label className="font-sans flex items-center relative cursor-pointer">
|
|
7
7
|
<input
|
|
8
|
-
className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-
|
|
8
|
+
className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover
|
|
9
9
|
checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text
|
|
10
10
|
after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer"
|
|
11
11
|
type="radio"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { RichTextProps } from './RichTextProps';
|
|
3
|
+
|
|
4
|
+
export const RichText = JSX<RichTextProps>((props) => {
|
|
5
|
+
const { __html = '' } = props;
|
|
6
|
+
|
|
7
|
+
return <div className="md-container" dangerouslySetInnerHTML={{ __html }} />;
|
|
8
|
+
});
|
|
@@ -20,7 +20,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
|
|
|
20
20
|
<form className={`font-sans relative ${className}`}>
|
|
21
21
|
<div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
|
|
22
22
|
<div className={LoupeIconClassName}>
|
|
23
|
-
<Img image=
|
|
23
|
+
<Img image={{ icon: 'LoupeIcon' }} width="24" height="24" />
|
|
24
24
|
</div>
|
|
25
25
|
{term ? null : (
|
|
26
26
|
<label
|
|
@@ -34,7 +34,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
|
|
|
34
34
|
<input
|
|
35
35
|
id="search-bar-input"
|
|
36
36
|
className={`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
37
|
-
outline-none pr-[6%] border-
|
|
37
|
+
outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`}
|
|
38
38
|
value={term}
|
|
39
39
|
onChange={(e) => setTerm(e.target.value as string)}
|
|
40
40
|
type="text"
|
|
@@ -49,7 +49,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
|
|
|
49
49
|
setTerm('');
|
|
50
50
|
}}
|
|
51
51
|
>
|
|
52
|
-
<Img image=
|
|
52
|
+
<Img image={{ icon: 'CloseIcon' }} width="24" height="24" />
|
|
53
53
|
</button>
|
|
54
54
|
) : (
|
|
55
55
|
<Button
|
|
@@ -17,7 +17,7 @@ export const Tags = JSX<TagsProps>((props) => {
|
|
|
17
17
|
const renderTag = (tag: string, key: number) => (
|
|
18
18
|
<span
|
|
19
19
|
key={String(key)}
|
|
20
|
-
className="text-m-light py-2 px-2.5 border-solid border rounded-md border-
|
|
20
|
+
className="text-m-light py-2 px-2.5 border-solid border rounded-md border-gray"
|
|
21
21
|
>
|
|
22
22
|
{tag}
|
|
23
23
|
</span>
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { JSX } from '@redneckz/uni-jsx';
|
|
4
4
|
import { useEffect, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
5
5
|
import ymaps from 'yandex-maps';
|
|
6
|
+
import { Icon } from '../Icon/Icon';
|
|
7
|
+
import { MockPoints, mockPoints } from './mockPoints';
|
|
6
8
|
import { renderClusterer } from './renderClusterer';
|
|
7
9
|
import { renderOpenMap } from './renderOpenMap';
|
|
8
10
|
import { renderSearchField } from './renderSearchField';
|
|
9
11
|
import { renderUserGeolocation } from './renderUserGeolocation';
|
|
10
12
|
import { useYandexMaps } from './useYandexMaps';
|
|
11
|
-
import { Icon } from '../Icon/Icon';
|
|
12
13
|
import { ZoomButton } from './ZoomButton';
|
|
13
|
-
import { MockPoints, mockPoints } from './mockPoints';
|
|
14
14
|
|
|
15
15
|
interface YandexMapProps {
|
|
16
16
|
points: number[][];
|
|
@@ -23,7 +23,7 @@ const FULLSCREEN_STYLES = {
|
|
|
23
23
|
border: 'border border-transparent rounded-md ',
|
|
24
24
|
position: 'absolute flex items-center justify-center',
|
|
25
25
|
size: 'w-12 h-12',
|
|
26
|
-
focus: 'focus:border-primary-
|
|
26
|
+
focus: 'focus:border-primary-text focus:border',
|
|
27
27
|
font: 'text-center font-sans',
|
|
28
28
|
active: 'active:bg-primary-active',
|
|
29
29
|
hover: 'hover:bg-primary-hover',
|
|
@@ -10,7 +10,7 @@ interface ZoomButtonProps {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const styles = {
|
|
13
|
-
focus: 'focus:border-primary-
|
|
13
|
+
focus: 'focus:border-primary-text focus:border',
|
|
14
14
|
hover: 'hover:bg-primary-hover',
|
|
15
15
|
active: 'active:bg-primary-active',
|
|
16
16
|
border: 'border-b border-b-2 border-gray last:border-0',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const styles = {
|
|
2
|
-
focus: 'focus:border-primary-
|
|
2
|
+
focus: 'focus:border-primary-text focus:border',
|
|
3
3
|
hover: 'hover:bg-primary-hover',
|
|
4
4
|
active: 'active:bg-primary-active',
|
|
5
5
|
border: 'border border-transparent rounded-md',
|
|
@@ -14,7 +14,7 @@ export const renderOpenMap = (pointsCenter: number[]) => {
|
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<a
|
|
17
|
-
className={`select-none cursor-pointer px-9 h-12 bg-
|
|
17
|
+
className={`select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(
|
|
18
18
|
styles,
|
|
19
19
|
).join(' ')}`}
|
|
20
20
|
href={getYandexMapUrl()}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
2
|
-
import { Icon } from '../Icon/Icon';
|
|
3
2
|
import ymaps from 'yandex-maps';
|
|
3
|
+
import { Icon } from '../Icon/Icon';
|
|
4
4
|
|
|
5
5
|
const styles = {
|
|
6
|
-
focus: 'focus:border-primary-
|
|
6
|
+
focus: 'focus:border-primary-text focus:border',
|
|
7
7
|
hover: 'hover:bg-primary-hover',
|
|
8
8
|
active: 'active:bg-primary-active',
|
|
9
9
|
border: 'border border-transparent rounded-md',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redneckz/wildless-cms-uni-blocks",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.48",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ЦК",
|
|
@@ -121,6 +121,9 @@
|
|
|
121
121
|
"dependencies": {
|
|
122
122
|
"@redneckz/uni-jsx": "^2.1.7",
|
|
123
123
|
"glob": "^8.0.3",
|
|
124
|
+
"rehype-parse": "^8.0.4",
|
|
125
|
+
"rehype-sanitize": "^5.0.1",
|
|
126
|
+
"rehype-stringify": "^9.0.3",
|
|
124
127
|
"remark-html": "^15.0.1",
|
|
125
128
|
"remark-parse": "^10.0.1",
|
|
126
129
|
"sharp": "^0.30.6",
|
package/src/common.css
CHANGED
|
@@ -11,6 +11,7 @@ html {
|
|
|
11
11
|
--color-green-dark: 66, 171, 68;
|
|
12
12
|
--color-green-more-dark: 39, 148, 41;
|
|
13
13
|
--color-yellow: 221, 182, 61;
|
|
14
|
+
--color-gray: 201, 202, 204;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
/* Private clients | Green */
|
|
@@ -121,21 +122,21 @@ html {
|
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
input[type='range'].slider:disabled {
|
|
124
|
-
background-image: linear-gradient(rgb(
|
|
125
|
+
background-image: linear-gradient(rgb(var(--color-gray)), rgb(var(--color-gray)));
|
|
125
126
|
pointer-events: none;
|
|
126
127
|
cursor: default;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
input[type='range'].slider:disabled::-webkit-slider-thumb {
|
|
130
|
-
background: rgb(
|
|
131
|
+
background: rgb(var(--color-gray));
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
input[type='range'].slider:disabled::-moz-range-thumb {
|
|
134
|
-
background: rgb(
|
|
135
|
+
background: rgb(var(--color-gray));
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
input[type='range'].slider:disabled::-ms-thumb {
|
|
138
|
-
background: rgb(
|
|
139
|
+
background: rgb(var(--color-gray));
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
/* Hide arrows */
|
|
@@ -152,30 +153,47 @@ html {
|
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
@layer components {
|
|
155
|
-
.md-container
|
|
156
|
+
[data-theme='eo'] .md-container ul {
|
|
157
|
+
@apply list-none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[data-theme='eo'] .md-container ul > li::before {
|
|
161
|
+
@apply text-primary-main mr-3 font-bold;
|
|
162
|
+
content: '🗸';
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.md-container {
|
|
166
|
+
@apply text-l font-sans;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.md-container p.h1 {
|
|
156
170
|
@apply text-h1;
|
|
157
171
|
}
|
|
158
172
|
|
|
159
|
-
.md-container .h2 {
|
|
173
|
+
.md-container p.h2 {
|
|
160
174
|
@apply text-h2;
|
|
161
175
|
}
|
|
162
176
|
|
|
163
|
-
.md-container .h3 {
|
|
177
|
+
.md-container p.h3 {
|
|
164
178
|
@apply text-h3;
|
|
165
179
|
}
|
|
166
180
|
|
|
167
|
-
.md-container .h4 {
|
|
181
|
+
.md-container p.h4 {
|
|
168
182
|
@apply text-h4;
|
|
169
183
|
}
|
|
170
184
|
|
|
171
|
-
.md-container .h5 {
|
|
185
|
+
.md-container p.h5 {
|
|
172
186
|
@apply text-h5;
|
|
173
187
|
}
|
|
174
188
|
|
|
175
|
-
.md-container .h6 {
|
|
189
|
+
.md-container p.h6 {
|
|
176
190
|
@apply text-h6;
|
|
177
191
|
}
|
|
178
192
|
|
|
193
|
+
.md-container p {
|
|
194
|
+
@apply text-l font-light;
|
|
195
|
+
}
|
|
196
|
+
|
|
179
197
|
.md-container ul {
|
|
180
198
|
@apply list-inside list-disc;
|
|
181
199
|
}
|
|
@@ -184,10 +202,6 @@ html {
|
|
|
184
202
|
@apply list-inside list-decimal;
|
|
185
203
|
}
|
|
186
204
|
|
|
187
|
-
.md-container p {
|
|
188
|
-
@apply text-l font-light;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
205
|
.md-container li {
|
|
192
206
|
@apply text-l font-light;
|
|
193
207
|
}
|
|
@@ -199,6 +213,10 @@ html {
|
|
|
199
213
|
.md-container a {
|
|
200
214
|
@apply text-primary-main;
|
|
201
215
|
}
|
|
216
|
+
|
|
217
|
+
.md-container strong {
|
|
218
|
+
@apply font-bold;
|
|
219
|
+
}
|
|
202
220
|
}
|
|
203
221
|
|
|
204
222
|
/*
|
|
@@ -47,6 +47,12 @@ const FoldButton = JSX<FoldButtonProps>(({ label, icon, onClick }) => (
|
|
|
47
47
|
<Text size="text-xl" font="font-medium">
|
|
48
48
|
{label}
|
|
49
49
|
</Text>
|
|
50
|
-
<Img
|
|
50
|
+
<Img
|
|
51
|
+
image={{ icon }}
|
|
52
|
+
className="text-primary-main flex-shrink-0"
|
|
53
|
+
width="24"
|
|
54
|
+
height="24"
|
|
55
|
+
asSVG
|
|
56
|
+
/>
|
|
51
57
|
</button>
|
|
52
58
|
));
|
package/src/components/Blocks.ts
CHANGED
|
@@ -46,6 +46,7 @@ import { ProductGallery } from './ProductGallery/ProductGallery';
|
|
|
46
46
|
import { ProductTile } from './ProductTile/ProductTile';
|
|
47
47
|
import { PromoTile } from './PromoTile/PromoTile';
|
|
48
48
|
import { Recommendation } from './Recommendation/Recommendation';
|
|
49
|
+
import { RichTextBlock } from './RichTextBlock/RichTextBlock';
|
|
49
50
|
import { RollupItem } from './RollupItem/RollupItem';
|
|
50
51
|
import { SafeDepositRental } from './SafeDepositRental/SafeDepositRental';
|
|
51
52
|
import { StepsBlock } from './StepsBlock/StepsBlock';
|
|
@@ -60,12 +61,12 @@ export const Blocks: BlocksRegistry = {
|
|
|
60
61
|
Accordion,
|
|
61
62
|
AccordionItem,
|
|
62
63
|
BenefitsBlock,
|
|
63
|
-
BusinessBlock,
|
|
64
|
-
ButtonBlock,
|
|
65
64
|
Bonus,
|
|
66
65
|
BonusBenefitsBlock,
|
|
67
|
-
|
|
66
|
+
BusinessBlock,
|
|
67
|
+
ButtonBlock,
|
|
68
68
|
Calculator,
|
|
69
|
+
CardTransfer,
|
|
69
70
|
Carousel,
|
|
70
71
|
CarouselCard,
|
|
71
72
|
CarouselCatalogCard,
|
|
@@ -76,8 +77,8 @@ export const Blocks: BlocksRegistry = {
|
|
|
76
77
|
CarouselRecommendationCard,
|
|
77
78
|
CarouselTariffsCard,
|
|
78
79
|
Catalog,
|
|
79
|
-
ContactsBlock,
|
|
80
80
|
ComparisonTable,
|
|
81
|
+
ContactsBlock,
|
|
81
82
|
ErrorBlock,
|
|
82
83
|
ExchangeRateTile,
|
|
83
84
|
Footer,
|
|
@@ -93,6 +94,9 @@ export const Blocks: BlocksRegistry = {
|
|
|
93
94
|
MiniGallery,
|
|
94
95
|
MobileAppTile,
|
|
95
96
|
OfficeMap,
|
|
97
|
+
OfficeServicesBlock,
|
|
98
|
+
OtherProducts,
|
|
99
|
+
OtherProductsItem,
|
|
96
100
|
ParagraphBlock,
|
|
97
101
|
PictureText,
|
|
98
102
|
Placeholder,
|
|
@@ -100,9 +104,8 @@ export const Blocks: BlocksRegistry = {
|
|
|
100
104
|
ProductGallery,
|
|
101
105
|
ProductTile,
|
|
102
106
|
PromoTile,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
OtherProductsItem,
|
|
107
|
+
Recommendation,
|
|
108
|
+
RichTextBlock,
|
|
106
109
|
RollupItem,
|
|
107
110
|
SafeDepositRental,
|
|
108
111
|
StepsBlock,
|
|
@@ -112,5 +115,4 @@ export const Blocks: BlocksRegistry = {
|
|
|
112
115
|
Tile,
|
|
113
116
|
VerticalLayout,
|
|
114
117
|
Video,
|
|
115
|
-
Recommendation,
|
|
116
118
|
};
|
|
@@ -26,9 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"button": {
|
|
28
28
|
"href": "#",
|
|
29
|
-
"text": "
|
|
30
|
-
"
|
|
31
|
-
"version": "secondary"
|
|
29
|
+
"text": "Кнопка",
|
|
30
|
+
"version": "primary"
|
|
32
31
|
}
|
|
33
32
|
},
|
|
34
33
|
{
|
|
@@ -56,9 +55,8 @@
|
|
|
56
55
|
],
|
|
57
56
|
"button": {
|
|
58
57
|
"href": "#",
|
|
59
|
-
"text": "
|
|
60
|
-
"
|
|
61
|
-
"version": "secondary"
|
|
58
|
+
"text": "Кнопка",
|
|
59
|
+
"version": "primary"
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { IconProps, Picture } from '../../model/Picture';
|
|
2
2
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
3
|
|
|
4
|
+
/** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
|
|
4
5
|
export type BusinessCardItemProps = IconProps & {
|
|
5
6
|
/** @title Текст */
|
|
6
7
|
text?: string;
|
|
@@ -12,7 +13,11 @@ export interface BusinessCardProps {
|
|
|
12
13
|
image?: Picture;
|
|
13
14
|
/** @title Список */
|
|
14
15
|
cardItems?: BusinessCardItemProps[];
|
|
15
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* @title Кнопка
|
|
18
|
+
* @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
|
|
19
|
+
* "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
|
|
20
|
+
*/
|
|
16
21
|
button?: ButtonWithIconProps;
|
|
17
22
|
}
|
|
18
23
|
|
|
@@ -8,7 +8,7 @@ export const BusinessCard = JSX<BusinessCardProps>((props) => {
|
|
|
8
8
|
const { title, image, cardItems, button } = props;
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<div className="border-
|
|
11
|
+
<div className="border-gray border p-9 w-1/2">
|
|
12
12
|
{image ? (
|
|
13
13
|
<div className="flex justify-center">
|
|
14
14
|
{image?.src ? <Img className="mb-5" image={image} /> : null}
|
|
@@ -28,13 +28,9 @@ const renderItem = (item: BusinessCardItemProps, key: string) => {
|
|
|
28
28
|
return (
|
|
29
29
|
<li key={key} className="flex items-center gap-3.5 mb-3 last:mb-0">
|
|
30
30
|
{icon?.icon ? (
|
|
31
|
-
<Img
|
|
32
|
-
className={`w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`}
|
|
33
|
-
image={icon.icon}
|
|
34
|
-
asSVG
|
|
35
|
-
/>
|
|
31
|
+
<Img image={icon} className="w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider" asSVG />
|
|
36
32
|
) : null}
|
|
37
|
-
{icon?.src ? <Img image={icon
|
|
33
|
+
{icon?.src ? <Img image={icon} /> : null}
|
|
38
34
|
<span className="text-xl-light">{text}</span>
|
|
39
35
|
</li>
|
|
40
36
|
);
|
|
@@ -84,7 +84,7 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
|
|
|
84
84
|
key={String(i)}
|
|
85
85
|
onClick={onClick}
|
|
86
86
|
aria-label={tab?.title}
|
|
87
|
-
className={`box-border relative border border-
|
|
87
|
+
className={`box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]
|
|
88
88
|
${btnClassName}`}
|
|
89
89
|
>
|
|
90
90
|
<Img
|