@redneckz/wildless-cms-uni-blocks 0.6.47 → 0.6.49
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 +73 -68
- 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/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/bundle/components/Footer/MediaButton.d.ts +3 -0
- package/bundle/components/Footer/SocialMedia.d.ts +3 -0
- 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/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +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/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/Footer/MediaButton.d.ts +3 -0
- package/dist/components/Footer/MediaButton.js +8 -3
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +3 -0
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/content-page-repository/transformHTML.js +2 -2
- package/dist/content-page-repository/transformHTML.js.map +1 -1
- package/dist/model/BorderVersion.js +1 -1
- package/dist/model/BorderVersion.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/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/SearchBar.js +1 -1
- package/dist/ui-kit/Location/SearchBar.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/SearchBar/SearchBarInner.js +1 -1
- 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/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +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/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/Footer/MediaButton.d.ts +3 -0
- package/lib/components/Footer/MediaButton.js +8 -3
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +3 -0
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/content-page-repository/transformHTML.js +1 -1
- package/lib/content-page-repository/transformHTML.js.map +1 -1
- package/lib/model/BorderVersion.js +1 -1
- package/lib/model/BorderVersion.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/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/SearchBar.js +1 -1
- package/lib/ui-kit/Location/SearchBar.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/SearchBar/SearchBarInner.js +1 -1
- 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 +16 -11
- 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/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/bundle/components/Footer/MediaButton.d.ts +3 -0
- 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/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +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/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/Footer/MediaButton.d.ts +3 -0
- package/mobile/dist/components/Footer/MediaButton.js +8 -3
- package/mobile/dist/components/Footer/MediaButton.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/content-page-repository/transformHTML.js +2 -2
- package/mobile/dist/content-page-repository/transformHTML.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/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/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/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/Location/SearchBar.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/SearchBar/SearchBarInner.js +1 -1
- 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 +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +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/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/Footer/MediaButton.d.ts +3 -0
- package/mobile/lib/components/Footer/MediaButton.js +8 -3
- package/mobile/lib/components/Footer/MediaButton.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- 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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/content-page-repository/transformHTML.js +1 -1
- package/mobile/lib/content-page-repository/transformHTML.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/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/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/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/Location/SearchBar.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/SearchBar/SearchBarInner.js +1 -1
- 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 +5 -4
- 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 +1 -1
- package/mobile/src/components/Calculator/Calculator.tsx +1 -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/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/Footer/MediaButton.tsx +46 -36
- 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/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- 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/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/mobile/src/content-page-repository/transformHTML.ts +1 -1
- package/mobile/src/model/BorderVersion.ts +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/InnerTable/InnerTableBody.tsx +1 -1
- 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/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- 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 +1 -1
- package/src/common.css +5 -4
- package/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
- package/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/Calculator/Calculator.tsx +1 -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/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/Footer/MediaButton.tsx +46 -36
- package/src/components/Footer/SocialMedia.tsx +20 -10
- 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/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- 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/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/src/content-page-repository/transformHTML.ts +1 -1
- package/src/model/BorderVersion.ts +1 -1
- package/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +3 -3
- package/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- 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 +3 -13
package/bundle/bundle.umd.js
CHANGED
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
|
|
742
742
|
const getRegularButtonClasses = ({ className, rounded, version, }) => [
|
|
743
743
|
buttonStyle,
|
|
744
|
-
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-
|
|
744
|
+
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
|
|
745
745
|
version ? buttonStyleMap[version] : '',
|
|
746
746
|
rounded ? 'rounded-full' : 'rounded-md',
|
|
747
747
|
className,
|
|
@@ -873,7 +873,7 @@
|
|
|
873
873
|
|
|
874
874
|
const BusinessCard = JSX((props) => {
|
|
875
875
|
const { title, image, cardItems, button } = props;
|
|
876
|
-
return (jsxs("div", { className: "border-
|
|
876
|
+
return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
|
|
877
877
|
});
|
|
878
878
|
const renderItem = (item, key) => {
|
|
879
879
|
const { icon, text } = item;
|
|
@@ -991,7 +991,7 @@
|
|
|
991
991
|
|
|
992
992
|
const getSanitizedValue = (_) => _.split(/\s+/).join('');
|
|
993
993
|
|
|
994
|
-
const DISABLED_INPUT_CLASSES = 'disabled:border-
|
|
994
|
+
const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
|
|
995
995
|
const InputRange = JSX(({ className, title, items = [], min = 1, max = 100, step = 1, value = min, disabled = false, onChange, }) => {
|
|
996
996
|
const handleChange = (e) => {
|
|
997
997
|
if (!onChange) {
|
|
@@ -1002,8 +1002,8 @@
|
|
|
1002
1002
|
const inputStyle = {
|
|
1003
1003
|
backgroundSize: `${(((value - min) * 100) / (max - min)).toFixed(2)}% 100%`,
|
|
1004
1004
|
};
|
|
1005
|
-
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-m-light text-primary-text", children: title }) : null, jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-
|
|
1006
|
-
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-
|
|
1005
|
+
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-m-light text-primary-text", children: title }) : null, jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-gray rounded-md
|
|
1006
|
+
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-text ${DISABLED_INPUT_CLASSES}`, value: addSpacesBetweenNumbers(value), disabled: disabled, onChange: handleChange, onBlur: handleChange }), jsx("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: handleChange, style: inputStyle }) })] }), renderRangeCaption(items)] }));
|
|
1007
1007
|
});
|
|
1008
1008
|
function renderRangeCaption(items) {
|
|
1009
1009
|
return (jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (jsx("span", { className: "text-s-light text-secondary-text", children: item }, String(i)))) }));
|
|
@@ -1168,9 +1168,9 @@
|
|
|
1168
1168
|
},
|
|
1169
1169
|
];
|
|
1170
1170
|
const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
|
|
1171
|
-
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-
|
|
1171
|
+
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
|
|
1172
1172
|
${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
|
|
1173
|
-
${checked ? 'border-black' : 'border-
|
|
1173
|
+
${checked ? 'border-black' : 'border-gray'}
|
|
1174
1174
|
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
|
|
1175
1175
|
});
|
|
1176
1176
|
|
|
@@ -1352,7 +1352,7 @@
|
|
|
1352
1352
|
const iconClassName = isActive ? '' : `text-primary-main`;
|
|
1353
1353
|
const iconVersion = tab?.icon?.iconVersion;
|
|
1354
1354
|
const activeIconStyle = isActive ? 'white' : 'normal';
|
|
1355
|
-
return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-
|
|
1355
|
+
return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]
|
|
1356
1356
|
${btnClassName}`, children: [jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
|
|
1357
1357
|
...tab?.icon,
|
|
1358
1358
|
iconVersion: iconVersion ?? activeIconStyle,
|
|
@@ -1400,7 +1400,7 @@
|
|
|
1400
1400
|
}, [onBlur]);
|
|
1401
1401
|
const paddingStyle = children ? 'pr-8' : '';
|
|
1402
1402
|
const validStyle = valid
|
|
1403
|
-
? 'border-
|
|
1403
|
+
? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
|
|
1404
1404
|
: 'border-error';
|
|
1405
1405
|
return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md text-primary-text outline-none p-4 ${paddingStyle} ${validStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, onBlur: handleBlur, ...inputProps }), children] }));
|
|
1406
1406
|
});
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
];
|
|
1581
1581
|
const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
|
|
1582
1582
|
|
|
1583
|
-
const BLOCK_CLASSES = 'absolute border border-solid border-
|
|
1583
|
+
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
|
|
1584
1584
|
const CARD_WIDTH_MAP = {
|
|
1585
1585
|
normal: 'min-w-[1007px]',
|
|
1586
1586
|
mini: 'min-w-[355px]',
|
|
@@ -1591,11 +1591,11 @@
|
|
|
1591
1591
|
black: 'bg-black',
|
|
1592
1592
|
white: 'bg-white',
|
|
1593
1593
|
};
|
|
1594
|
-
const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-
|
|
1594
|
+
const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
|
|
1595
1595
|
const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
|
|
1596
1596
|
|
|
1597
1597
|
const BorderVersionStyleMap = {
|
|
1598
|
-
primary: 'border-
|
|
1598
|
+
primary: 'border-gray',
|
|
1599
1599
|
secondary: 'border-white/50',
|
|
1600
1600
|
};
|
|
1601
1601
|
|
|
@@ -1685,7 +1685,7 @@
|
|
|
1685
1685
|
primary: 'text-secondary-text',
|
|
1686
1686
|
secondary: 'text-white/80',
|
|
1687
1687
|
};
|
|
1688
|
-
const BORDER_STYLE = 'box-border border-solid border border-
|
|
1688
|
+
const BORDER_STYLE = 'box-border border-solid border border-gray ';
|
|
1689
1689
|
const CarouselProductCard = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'center', }) => {
|
|
1690
1690
|
return (jsxs("section", { className: [
|
|
1691
1691
|
'flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6',
|
|
@@ -1700,7 +1700,7 @@
|
|
|
1700
1700
|
const renderAdditionalDescription$2 = (additionalDescription, version = 'primary') => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
|
|
1701
1701
|
const renderItems$2 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version })) : null;
|
|
1702
1702
|
|
|
1703
|
-
const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-
|
|
1703
|
+
const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-end", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
|
|
1704
1704
|
const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
|
|
1705
1705
|
|
|
1706
1706
|
const ICONS_MAP = [
|
|
@@ -1730,7 +1730,11 @@
|
|
|
1730
1730
|
label: 'Google Play',
|
|
1731
1731
|
},
|
|
1732
1732
|
];
|
|
1733
|
-
const
|
|
1733
|
+
const BUTTON_SIZE = {
|
|
1734
|
+
default: ' w-14 h-14',
|
|
1735
|
+
small: ' w-12 h-12',
|
|
1736
|
+
};
|
|
1737
|
+
const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
|
|
1734
1738
|
const link = useLink();
|
|
1735
1739
|
const { href, onClick } = link(rest);
|
|
1736
1740
|
const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
@@ -1740,11 +1744,12 @@
|
|
|
1740
1744
|
const classes = version === 'secondary'
|
|
1741
1745
|
? 'bg-white hover:bg-secondary-hover'
|
|
1742
1746
|
: 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
|
|
1743
|
-
const isPrimary = version === 'primary';
|
|
1744
|
-
|
|
1747
|
+
const isPrimary = version === 'primary' ? 'hover:text-black' : '';
|
|
1748
|
+
const rounded = isRounded ? 'rounded-full' : 'rounded-md';
|
|
1749
|
+
return (jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
|
|
1745
1750
|
});
|
|
1746
1751
|
|
|
1747
|
-
const SocialMedia = JSX(({ className = '', media, version, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
|
|
1752
|
+
const SocialMedia = JSX(({ className = '', media, version, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
|
|
1748
1753
|
|
|
1749
1754
|
const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
|
|
1750
1755
|
const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
@@ -1761,7 +1766,7 @@
|
|
|
1761
1766
|
const rowsNode = rows.map(renderCardInfo);
|
|
1762
1767
|
const visibleRows = rowsNode.slice(0, VISIBLE_ROWS_COUNT);
|
|
1763
1768
|
const hiddenRows = rowsNode.slice(VISIBLE_ROWS_COUNT);
|
|
1764
|
-
return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-
|
|
1769
|
+
return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8
|
|
1765
1770
|
${getHitStyle(isHighlighting)}
|
|
1766
1771
|
${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, rows.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton$1 : null })) : null] }));
|
|
1767
1772
|
});
|
|
@@ -1774,7 +1779,7 @@
|
|
|
1774
1779
|
black: 'bg-black',
|
|
1775
1780
|
white: 'bg-white',
|
|
1776
1781
|
};
|
|
1777
|
-
const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-
|
|
1782
|
+
const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
|
|
1778
1783
|
const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
|
|
1779
1784
|
|
|
1780
1785
|
const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
|
|
@@ -1793,7 +1798,7 @@
|
|
|
1793
1798
|
});
|
|
1794
1799
|
|
|
1795
1800
|
const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
1796
|
-
const BORDER_CLASSES$1 = 'border-
|
|
1801
|
+
const BORDER_CLASSES$1 = 'border-gray border-solid border';
|
|
1797
1802
|
const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
|
|
1798
1803
|
const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
|
|
1799
1804
|
const COLS_LENGTH_FOR_SCROLL$1 = 3;
|
|
@@ -1859,7 +1864,7 @@
|
|
|
1859
1864
|
? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
|
|
1860
1865
|
: null] }));
|
|
1861
1866
|
});
|
|
1862
|
-
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-
|
|
1867
|
+
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
1863
1868
|
|
|
1864
1869
|
const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `${VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
|
|
1865
1870
|
const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
|
|
@@ -1973,7 +1978,7 @@
|
|
|
1973
1978
|
choiceOption(option);
|
|
1974
1979
|
}, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
|
|
1975
1980
|
};
|
|
1976
|
-
const getBorderStyle = (isBorder) => isBorder ? 'border border-
|
|
1981
|
+
const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
|
|
1977
1982
|
|
|
1978
1983
|
function renderInput(props) {
|
|
1979
1984
|
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
@@ -2143,7 +2148,7 @@
|
|
|
2143
2148
|
const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
|
|
2144
2149
|
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
2145
2150
|
return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(ImgInner, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
2146
|
-
outline-none pr-[6%] border-
|
|
2151
|
+
outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
2147
2152
|
e.preventDefault();
|
|
2148
2153
|
setTerm('');
|
|
2149
2154
|
}, children: jsx(ImgInner, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
|
|
@@ -2244,7 +2249,7 @@
|
|
|
2244
2249
|
|
|
2245
2250
|
const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
|
|
2246
2251
|
function renderCard({ card, version }, i) {
|
|
2247
|
-
return (jsx("section", { className: `box-border border-solid border border-
|
|
2252
|
+
return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
|
|
2248
2253
|
items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
|
|
2249
2254
|
}
|
|
2250
2255
|
|
|
@@ -2383,7 +2388,7 @@
|
|
|
2383
2388
|
|
|
2384
2389
|
const SearchBar = JSX(({ className, searchTerm, onSearch }) => {
|
|
2385
2390
|
return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsx("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: searchTerm ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text `, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0444\u0438\u043B\u0438\u0430\u043B\u0430\u043C" })) }), jsx("input", { id: "search-bar-input", className: `h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
2386
|
-
outline-none border-
|
|
2391
|
+
outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`, value: searchTerm, onChange: (e) => onSearch(e.target.value), type: "text", name: "location-search-bar-input" })] }));
|
|
2387
2392
|
});
|
|
2388
2393
|
|
|
2389
2394
|
const SEARCH_TERM_MIN_LENGTH = 3;
|
|
@@ -2455,13 +2460,13 @@
|
|
|
2455
2460
|
'bg-white': 'bg-primary-text',
|
|
2456
2461
|
transparent: 'bg-white',
|
|
2457
2462
|
};
|
|
2458
|
-
const DropdownMenu = JSX(({ className, items, activeItem, bgColor }) => {
|
|
2463
|
+
const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
|
|
2459
2464
|
const link = useLink();
|
|
2460
2465
|
const [visible, setVisible] = useState(false);
|
|
2461
2466
|
const handleToggle = useCallback(() => setVisible((_) => !_), []);
|
|
2462
2467
|
const handleClickOutside = useCallback(() => setVisible(false), []);
|
|
2463
2468
|
const ref = useOutsideClick(handleClickOutside);
|
|
2464
|
-
return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray
|
|
2469
|
+
return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
|
|
2465
2470
|
});
|
|
2466
2471
|
const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
|
|
2467
2472
|
|
|
@@ -2585,8 +2590,8 @@
|
|
|
2585
2590
|
}
|
|
2586
2591
|
function renderNavButton$2({ slide, i, isActive, onClick }) {
|
|
2587
2592
|
const btnClassName = isActive
|
|
2588
|
-
? 'shadow-dark-blue
|
|
2589
|
-
: `ease-in duration-300 border-
|
|
2593
|
+
? 'shadow-dark-blue border-primary-main'
|
|
2594
|
+
: `ease-in duration-300 border-gray`;
|
|
2590
2595
|
return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(ImgInner, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
|
|
2591
2596
|
}
|
|
2592
2597
|
function renderValueBlock$1(title, sum) {
|
|
@@ -2643,7 +2648,7 @@
|
|
|
2643
2648
|
if (investmentZeroColumn) {
|
|
2644
2649
|
colums.unshift(investmentZeroColumn);
|
|
2645
2650
|
}
|
|
2646
|
-
return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-
|
|
2651
|
+
return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
|
|
2647
2652
|
});
|
|
2648
2653
|
const renderInvestmentColumn = (column, i, arr) => {
|
|
2649
2654
|
const isSecondColumn = i === 1;
|
|
@@ -2732,6 +2737,32 @@
|
|
|
2732
2737
|
};
|
|
2733
2738
|
const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
|
|
2734
2739
|
|
|
2740
|
+
const mockPoints = [
|
|
2741
|
+
{ coords: [55.77, 37.46], text: 'Трактир' },
|
|
2742
|
+
{ coords: [55.66, 37.48], text: 'Трактор' },
|
|
2743
|
+
{ coords: [55.65, 37.42], text: 'Ресторан' },
|
|
2744
|
+
{ coords: [55.64, 37.54], text: 'Музей' },
|
|
2745
|
+
{ coords: [55.54, 37.52], text: 'Библиотека' },
|
|
2746
|
+
{ coords: [55.53, 37.56], text: 'Школа' },
|
|
2747
|
+
{ coords: [55.61, 37.61], text: 'Аптека' },
|
|
2748
|
+
{ coords: [55.8, 37.58], text: 'Бар' },
|
|
2749
|
+
{ coords: [55.71, 37.35], text: 'Институт' },
|
|
2750
|
+
{ coords: [55.74, 37.57], text: 'Университет' },
|
|
2751
|
+
{ coords: [55.58, 37.69], text: 'Больница' },
|
|
2752
|
+
{ coords: [55.57, 37.7], text: 'Цирк' },
|
|
2753
|
+
{ coords: [55.55, 37.64], text: 'Магазин' },
|
|
2754
|
+
{ coords: [55.5, 37.75], text: 'Булочная' },
|
|
2755
|
+
{ coords: [55.81, 37.73], text: 'Полиция' },
|
|
2756
|
+
{ coords: [55.73, 37.68], text: 'Салон красоты' },
|
|
2757
|
+
{ coords: [55.86, 37.76], text: 'Баня' },
|
|
2758
|
+
{ coords: [55.38, 37.69], text: 'Гараж' },
|
|
2759
|
+
{ coords: [55.91, 37.5], text: 'Дом' },
|
|
2760
|
+
{ coords: [55.62, 37.32], text: 'Прачечная' },
|
|
2761
|
+
{ coords: [55.85, 37.41], text: 'Стадион' },
|
|
2762
|
+
{ coords: [55.67, 37.24], text: 'Вокзал' },
|
|
2763
|
+
{ coords: [55.79, 37.41], text: 'Кафе' },
|
|
2764
|
+
];
|
|
2765
|
+
|
|
2735
2766
|
function renderClusterer(yandexMaps, map, points) {
|
|
2736
2767
|
map.geoObjects.removeAll();
|
|
2737
2768
|
const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
|
|
@@ -2765,7 +2796,7 @@
|
|
|
2765
2796
|
}
|
|
2766
2797
|
|
|
2767
2798
|
const styles$3 = {
|
|
2768
|
-
focus: 'focus:border-primary-
|
|
2799
|
+
focus: 'focus:border-primary-text focus:border',
|
|
2769
2800
|
hover: 'hover:bg-primary-hover',
|
|
2770
2801
|
active: 'active:bg-primary-active',
|
|
2771
2802
|
border: 'border border-transparent rounded-md',
|
|
@@ -2776,7 +2807,7 @@
|
|
|
2776
2807
|
const getYandexMapUrl = () => {
|
|
2777
2808
|
return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
|
|
2778
2809
|
};
|
|
2779
|
-
return (jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-
|
|
2810
|
+
return (jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
|
|
2780
2811
|
};
|
|
2781
2812
|
|
|
2782
2813
|
const styles$2 = {
|
|
@@ -2806,7 +2837,7 @@
|
|
|
2806
2837
|
};
|
|
2807
2838
|
|
|
2808
2839
|
const styles$1 = {
|
|
2809
|
-
focus: 'focus:border-primary-
|
|
2840
|
+
focus: 'focus:border-primary-text focus:border',
|
|
2810
2841
|
hover: 'hover:bg-primary-hover',
|
|
2811
2842
|
active: 'active:bg-primary-active',
|
|
2812
2843
|
border: 'border border-transparent rounded-md',
|
|
@@ -2871,7 +2902,7 @@
|
|
|
2871
2902
|
};
|
|
2872
2903
|
|
|
2873
2904
|
const styles = {
|
|
2874
|
-
focus: 'focus:border-primary-
|
|
2905
|
+
focus: 'focus:border-primary-text focus:border',
|
|
2875
2906
|
hover: 'hover:bg-primary-hover',
|
|
2876
2907
|
active: 'active:bg-primary-active',
|
|
2877
2908
|
border: 'border-b border-b-2 border-gray last:border-0',
|
|
@@ -2889,37 +2920,11 @@
|
|
|
2889
2920
|
return (jsx("div", { onClick: changeZoom, className: `${Object.values(styles).join(' ')} bg-white select-none cursor-pointer w-12 h-12`, children: jsx(Icon, { name: iconName, width: "20", height: "16" }) }));
|
|
2890
2921
|
});
|
|
2891
2922
|
|
|
2892
|
-
const mockPoints = [
|
|
2893
|
-
{ coords: [55.77, 37.46], text: 'Трактир' },
|
|
2894
|
-
{ coords: [55.66, 37.48], text: 'Трактор' },
|
|
2895
|
-
{ coords: [55.65, 37.42], text: 'Ресторан' },
|
|
2896
|
-
{ coords: [55.64, 37.54], text: 'Музей' },
|
|
2897
|
-
{ coords: [55.54, 37.52], text: 'Библиотека' },
|
|
2898
|
-
{ coords: [55.53, 37.56], text: 'Школа' },
|
|
2899
|
-
{ coords: [55.61, 37.61], text: 'Аптека' },
|
|
2900
|
-
{ coords: [55.8, 37.58], text: 'Бар' },
|
|
2901
|
-
{ coords: [55.71, 37.35], text: 'Институт' },
|
|
2902
|
-
{ coords: [55.74, 37.57], text: 'Университет' },
|
|
2903
|
-
{ coords: [55.58, 37.69], text: 'Больница' },
|
|
2904
|
-
{ coords: [55.57, 37.7], text: 'Цирк' },
|
|
2905
|
-
{ coords: [55.55, 37.64], text: 'Магазин' },
|
|
2906
|
-
{ coords: [55.5, 37.75], text: 'Булочная' },
|
|
2907
|
-
{ coords: [55.81, 37.73], text: 'Полиция' },
|
|
2908
|
-
{ coords: [55.73, 37.68], text: 'Салон красоты' },
|
|
2909
|
-
{ coords: [55.86, 37.76], text: 'Баня' },
|
|
2910
|
-
{ coords: [55.38, 37.69], text: 'Гараж' },
|
|
2911
|
-
{ coords: [55.91, 37.5], text: 'Дом' },
|
|
2912
|
-
{ coords: [55.62, 37.32], text: 'Прачечная' },
|
|
2913
|
-
{ coords: [55.85, 37.41], text: 'Стадион' },
|
|
2914
|
-
{ coords: [55.67, 37.24], text: 'Вокзал' },
|
|
2915
|
-
{ coords: [55.79, 37.41], text: 'Кафе' },
|
|
2916
|
-
];
|
|
2917
|
-
|
|
2918
2923
|
const FULLSCREEN_STYLES = {
|
|
2919
2924
|
border: 'border border-transparent rounded-md ',
|
|
2920
2925
|
position: 'absolute flex items-center justify-center',
|
|
2921
2926
|
size: 'w-12 h-12',
|
|
2922
|
-
focus: 'focus:border-primary-
|
|
2927
|
+
focus: 'focus:border-primary-text focus:border',
|
|
2923
2928
|
font: 'text-center font-sans',
|
|
2924
2929
|
active: 'active:bg-primary-active',
|
|
2925
2930
|
hover: 'hover:bg-primary-hover',
|
|
@@ -2996,7 +3001,7 @@
|
|
|
2996
3001
|
const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
|
|
2997
3002
|
const hasTime = /\d+/gi.test(lunchHour);
|
|
2998
3003
|
const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
|
|
2999
|
-
return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-
|
|
3004
|
+
return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
|
|
3000
3005
|
};
|
|
3001
3006
|
const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", asSVG: true, className: "mr-1" }), title ? jsxs("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
|
|
3002
3007
|
const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s-light text-secondary-text", children: description })) : null] }, `day${inx}`));
|
|
@@ -3315,7 +3320,7 @@
|
|
|
3315
3320
|
}
|
|
3316
3321
|
function renderNavButton({ slide, i, isActive, onClick, version }) {
|
|
3317
3322
|
const btnClassName = isActive
|
|
3318
|
-
? 'bg-white shadow-dark-blue
|
|
3323
|
+
? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
|
|
3319
3324
|
: `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
|
|
3320
3325
|
${VersionStyleMap[version]}`;
|
|
3321
3326
|
const btnTitleClassName = isActive
|
|
@@ -3474,7 +3479,7 @@
|
|
|
3474
3479
|
|
|
3475
3480
|
const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex justify-between gap-4 mb-6", children: [jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
|
|
3476
3481
|
|
|
3477
|
-
const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-
|
|
3482
|
+
const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx("span", { className: "text-primary-text ml-3 cursor-pointer", children: text }) : null] }) })));
|
|
3478
3483
|
|
|
3479
3484
|
const RenderRadioButtons = JSX(() => {
|
|
3480
3485
|
const [selectedOption, setSelectedOption] = useState('option2');
|
|
@@ -3831,7 +3836,7 @@
|
|
|
3831
3836
|
const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
|
|
3832
3837
|
return (jsx("div", { children: items.map((_, tableIdx) => {
|
|
3833
3838
|
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
3834
|
-
return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-
|
|
3839
|
+
return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [_.title, jsx(ImgInner, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
3835
3840
|
}) }));
|
|
3836
3841
|
});
|
|
3837
3842
|
|
|
@@ -3918,7 +3923,7 @@
|
|
|
3918
3923
|
const { tags, className = '' } = props;
|
|
3919
3924
|
return tags?.length ? (jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(renderTag) })) : null;
|
|
3920
3925
|
});
|
|
3921
|
-
const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-
|
|
3926
|
+
const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
|
|
3922
3927
|
|
|
3923
3928
|
const Tile = JSX((props) => {
|
|
3924
3929
|
const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
|
|
@@ -4145,7 +4150,7 @@
|
|
|
4145
4150
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4146
4151
|
}
|
|
4147
4152
|
|
|
4148
|
-
const packageVersion = "0.6.
|
|
4153
|
+
const packageVersion = "0.6.49";
|
|
4149
4154
|
|
|
4150
4155
|
exports.Blocks = Blocks;
|
|
4151
4156
|
exports.ContentPage = ContentPage;
|