@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
|
@@ -17,46 +17,48 @@ interface DropdownMenuProps {
|
|
|
17
17
|
bgColor?: BgColorVersion;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export const DropdownMenu = JSX<DropdownMenuProps>(
|
|
21
|
-
|
|
20
|
+
export const DropdownMenu = JSX<DropdownMenuProps>(
|
|
21
|
+
({ className = '', items, activeItem, bgColor }) => {
|
|
22
|
+
const link = useLink();
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
const [visible, setVisible] = useState(false);
|
|
25
|
+
const handleToggle = useCallback(() => setVisible((_) => !_), []);
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
const handleClickOutside = useCallback(() => setVisible(false), []);
|
|
28
|
+
const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
<div
|
|
31
|
-
className={`${visible ? 'bg-white rounded-md shadow-blue-gray/24' : ''} ${className || ''}`}
|
|
32
|
-
ref={ref}
|
|
33
|
-
>
|
|
34
|
-
<button
|
|
35
|
-
className="flex justify-between items-center cursor-pointer h-6 ml-6"
|
|
36
|
-
aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
|
|
37
|
-
onClick={handleToggle}
|
|
38
|
-
>
|
|
39
|
-
{Array(3).fill(bgColor).map(renderDot)}
|
|
40
|
-
</button>
|
|
30
|
+
return (
|
|
41
31
|
<div
|
|
42
|
-
className={
|
|
43
|
-
|
|
32
|
+
className={`${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`}
|
|
33
|
+
ref={ref}
|
|
44
34
|
>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
35
|
+
<button
|
|
36
|
+
className="flex justify-between items-center cursor-pointer h-6 ml-6"
|
|
37
|
+
aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
|
|
38
|
+
onClick={handleToggle}
|
|
39
|
+
>
|
|
40
|
+
{Array(3).fill(bgColor).map(renderDot)}
|
|
41
|
+
</button>
|
|
42
|
+
<div
|
|
43
|
+
className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
|
|
44
|
+
aria-hidden={!visible}
|
|
45
|
+
>
|
|
46
|
+
{items?.map((item, i) => (
|
|
47
|
+
<a
|
|
48
|
+
key={item.href || String(i)}
|
|
49
|
+
className={`text-l-light pb-4 hover:text-primary-main ${
|
|
50
|
+
item === activeItem ? 'text-primary-main' : ''
|
|
51
|
+
}`}
|
|
52
|
+
{...link(item)}
|
|
53
|
+
>
|
|
54
|
+
{item.text}
|
|
55
|
+
</a>
|
|
56
|
+
))}
|
|
57
|
+
</div>
|
|
56
58
|
</div>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
);
|
|
60
|
+
},
|
|
61
|
+
);
|
|
60
62
|
|
|
61
63
|
const renderDot = (bgColor: BgColorVersion, i: number) => (
|
|
62
64
|
<div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
|
|
@@ -91,8 +91,8 @@ function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }: Insur
|
|
|
91
91
|
|
|
92
92
|
function renderNavButton({ slide, i, isActive, onClick }: NavButtonProps) {
|
|
93
93
|
const btnClassName = isActive
|
|
94
|
-
? 'shadow-dark-blue
|
|
95
|
-
: `ease-in duration-300 border-
|
|
94
|
+
? 'shadow-dark-blue border-primary-main'
|
|
95
|
+
: `ease-in duration-300 border-gray`;
|
|
96
96
|
|
|
97
97
|
return (
|
|
98
98
|
<button
|
|
@@ -49,12 +49,10 @@ export const InvestmentInfo = JSX<InvestmentInfoProps>((props) => {
|
|
|
49
49
|
{colums?.length ? (
|
|
50
50
|
<div>
|
|
51
51
|
<div className="flex items-end relative pl-9 pr-5 text-white">
|
|
52
|
-
{joinList(<div className="w-px h-4 bg-
|
|
53
|
-
|
|
54
|
-
)}
|
|
55
|
-
<div className="absolute right-[30px] w-px h-4 bg-main-stroke" />
|
|
52
|
+
{joinList(<div className="w-px h-4 bg-gray" />)(colums.map(renderInvestmentColumn))}
|
|
53
|
+
<div className="absolute right-[30px] w-px h-4 bg-gray" />
|
|
56
54
|
</div>
|
|
57
|
-
<div className="border-t border-
|
|
55
|
+
<div className="border-t border-gray -mt-2 ml-9 mr-8" />
|
|
58
56
|
<div className="flex justify-between text-primary-text mt-3 -mx-10">
|
|
59
57
|
{colums.map(renderInvestmentColumnTitle)}
|
|
60
58
|
</div>
|
|
@@ -10,7 +10,7 @@ export const LinkDocsHorizontalList = JSX<LinkDocsVerticalListProps>(
|
|
|
10
10
|
? documents.map((doc, i) => (
|
|
11
11
|
<LinkDocsListItem
|
|
12
12
|
key={String(i)}
|
|
13
|
-
className={hasBorder ? 'rounded-md border-
|
|
13
|
+
className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
|
|
14
14
|
doc={doc}
|
|
15
15
|
icon={icon}
|
|
16
16
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { LinkDocsItem } from './LinkDocsContent';
|
|
4
4
|
import { LinkDocsListItem } from './LinkDocsListItem';
|
|
5
5
|
|
|
6
6
|
export interface LinkDocsVerticalListProps {
|
|
@@ -20,9 +20,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
|
|
|
20
20
|
? documents.map((doc, i) => (
|
|
21
21
|
<div key={String(i)} role="listitem">
|
|
22
22
|
<LinkDocsListItem
|
|
23
|
-
className={
|
|
24
|
-
hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''
|
|
25
|
-
}
|
|
23
|
+
className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
|
|
26
24
|
doc={doc}
|
|
27
25
|
icon={icon}
|
|
28
26
|
/>
|
|
@@ -3,17 +3,18 @@ import type { UniBlockProps } from '../../model/JSXBlock';
|
|
|
3
3
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
4
4
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
|
|
5
5
|
import { nearbyOffices } from './nearbyOffices';
|
|
6
|
-
import type {
|
|
6
|
+
import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
|
|
7
7
|
import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
|
|
8
8
|
import { useOfficeMap } from './useOfficeMap';
|
|
9
9
|
|
|
10
|
+
export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
|
|
10
11
|
export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
|
|
11
12
|
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
12
13
|
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
13
14
|
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
14
15
|
const resultOfficeMap = useOfficeMap('000');
|
|
15
16
|
const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
|
|
16
|
-
resultOfficeMap as
|
|
17
|
+
resultOfficeMap as OfficeMapContent;
|
|
17
18
|
const {
|
|
18
19
|
workingMonday,
|
|
19
20
|
workingTuesday,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
2
1
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
2
|
+
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
3
3
|
|
|
4
4
|
export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
|
|
5
5
|
const hasTime = /\d+/gi.test(lunchHour as string);
|
|
@@ -10,7 +10,7 @@ export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkSc
|
|
|
10
10
|
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4">
|
|
11
11
|
{workTime ? workTime : null}
|
|
12
12
|
</div>
|
|
13
|
-
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-
|
|
13
|
+
<div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden">
|
|
14
14
|
{lunchHour ? lunchHourText : null}
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
@@ -91,7 +91,7 @@ function renderProductBlock(block: ProductBlockInnerContent & UniBlockProps, i:
|
|
|
91
91
|
|
|
92
92
|
function renderNavButton({ slide, i, isActive, onClick, version }: NavButtonProps) {
|
|
93
93
|
const btnClassName = isActive
|
|
94
|
-
? 'bg-white shadow-dark-blue
|
|
94
|
+
? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
|
|
95
95
|
: `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
|
|
96
96
|
${VersionStyleMap[version]}`;
|
|
97
97
|
const btnTitleClassName = isActive
|
|
@@ -10,7 +10,7 @@ export interface TariffsTableTileCellProps extends UniBlockProps {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ tile, ...rest }) => (
|
|
13
|
-
<div className="rounded-md border-
|
|
13
|
+
<div className="rounded-md border-gray h-full box-border border p-4">
|
|
14
14
|
<TableTileHeader {...tile?.header} />
|
|
15
15
|
{tile?.data?.length
|
|
16
16
|
? tile.data.map((cell, i) => (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GetButtonClassParams } from './GetButtonClassParams';
|
|
2
1
|
import { buttonStyle, buttonStyleMap } from './buttonClassNameConstants';
|
|
2
|
+
import type { GetButtonClassParams } from './GetButtonClassParams';
|
|
3
3
|
|
|
4
4
|
export const getRegularButtonClasses = ({
|
|
5
5
|
className,
|
|
@@ -8,7 +8,7 @@ export const getRegularButtonClasses = ({
|
|
|
8
8
|
}: GetButtonClassParams): string =>
|
|
9
9
|
[
|
|
10
10
|
buttonStyle,
|
|
11
|
-
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-
|
|
11
|
+
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
|
|
12
12
|
version ? buttonStyleMap[version] : '',
|
|
13
13
|
rounded ? 'rounded-full' : 'rounded-md',
|
|
14
14
|
className,
|
|
@@ -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)}
|
|
@@ -25,7 +25,7 @@ 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}
|
|
@@ -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"
|
|
@@ -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"
|
|
@@ -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"
|
|
@@ -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
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 */
|
|
@@ -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}
|
|
@@ -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
|
|
@@ -7,7 +7,7 @@ import type { CarouselCardContent } from './CarouselCardContent';
|
|
|
7
7
|
|
|
8
8
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {}
|
|
9
9
|
|
|
10
|
-
const BLOCK_CLASSES = 'absolute border border-solid border-
|
|
10
|
+
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
|
|
11
11
|
|
|
12
12
|
const CARD_WIDTH_MAP: Record<CarouselCardVersion, string> = {
|
|
13
13
|
normal: 'min-w-[1007px]',
|
|
@@ -3,7 +3,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @title Карточка
|
|
6
|
+
* @title Карточка карусели
|
|
7
7
|
*/
|
|
8
8
|
export interface CarouselCardContent extends HeadlineCommonProps {
|
|
9
9
|
/**
|
|
@@ -22,7 +22,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
|
22
22
|
export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
|
|
23
23
|
({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (
|
|
24
24
|
<section
|
|
25
|
-
className={`border box-border border-
|
|
25
|
+
className={`border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
|
|
26
26
|
role="listitem"
|
|
27
27
|
>
|
|
28
28
|
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
@@ -20,7 +20,7 @@ const descriptionStyleMap: Record<BlockVersion, string> = {
|
|
|
20
20
|
secondary: 'text-white/80',
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
const BORDER_STYLE = 'box-border border-solid border border-
|
|
23
|
+
const BORDER_STYLE = 'box-border border-solid border border-gray ';
|
|
24
24
|
|
|
25
25
|
export const CarouselProductCard = JSX<CarouselProductCardProps>(
|
|
26
26
|
({
|
|
@@ -13,7 +13,7 @@ export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, U
|
|
|
13
13
|
export const CarouselProgramsCard = JSX<CarouselTariffsCardProps>(
|
|
14
14
|
({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (
|
|
15
15
|
<BlockWrapper
|
|
16
|
-
className={`font-sans border border-
|
|
16
|
+
className={`font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
|
|
17
17
|
{...rest}
|
|
18
18
|
>
|
|
19
19
|
<div className="w-[200px] min-w-[200px] self-end">
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import { VNode } from '../../model/VNode';
|
|
1
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
2
6
|
import { Button } from '../../ui-kit/Button/Button';
|
|
3
7
|
import { Foldable } from '../../ui-kit/Foldable/Foldable';
|
|
@@ -6,11 +10,7 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
|
6
10
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
11
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
8
12
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
10
|
-
import { VNode } from '../../model/VNode';
|
|
11
13
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
12
|
-
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
13
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
14
14
|
|
|
15
15
|
export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<BlockWrapper
|
|
27
|
-
className={`font-sans relative bg-white border border-
|
|
27
|
+
className={`font-sans relative bg-white border border-gray min-w-[322px] p-8
|
|
28
28
|
${getHitStyle(isHighlighting)}
|
|
29
29
|
${className}`}
|
|
30
30
|
{...rest}
|
|
@@ -19,7 +19,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
|
19
19
|
export const CatalogCard = JSX<CatalogCardProps>(
|
|
20
20
|
({ className = '', title, description, image, price, button, colors }) => (
|
|
21
21
|
<section
|
|
22
|
-
className={`border border-solid box-border border-
|
|
22
|
+
className={`border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
|
|
23
23
|
role="listitem"
|
|
24
24
|
>
|
|
25
25
|
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
@@ -59,7 +59,7 @@ const renderShowMoreToggleButton = ({
|
|
|
59
59
|
<div className={FIRST_CELL_CLASSES} />
|
|
60
60
|
<button
|
|
61
61
|
onClick={onClick}
|
|
62
|
-
className="mt-5 flex-1 border-
|
|
62
|
+
className="mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
|
|
63
63
|
>
|
|
64
64
|
<div className="font-sans text-xs-light font-medium py-3">
|
|
65
65
|
{!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}
|