@redneckz/wildless-cms-uni-blocks 0.10.9 → 0.11.0
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/bin/migration-scripts/0.10.10.js +44 -0
- package/bin/migration-scripts/0.11.0.js +29 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +372 -329
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/bundle/hooks/useForm.d.ts +8 -4
- package/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/bundle/icons/IconName.d.ts +12 -2
- package/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/bundle/utils/identity.d.ts +1 -0
- package/bundle/utils/isEmpty.d.ts +1 -0
- package/bundle/utils/joinList.d.ts +1 -1
- package/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
- package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
- package/cosmos-static/icons/BagIcon.svg +1 -0
- package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
- package/cosmos-static/icons/ClientIcon.svg +1 -0
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/dist/components/BaseTile/BaseTile.js +2 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +6 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -2
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.page.json +0 -1
- package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/dist/{ui-kit/CurrencyInput/CurrencyInputProps.js → components/DepositFiltration/DepositFiltrationContent.js} +1 -1
- package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.js +3 -9
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +2 -8
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +3 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.js +4 -0
- package/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/dist/components/Header/Header.mobile.js +2 -2
- package/dist/components/Header/Header.mobile.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/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -8
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +19 -4
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.js +5 -0
- package/dist/components/RollupItem/getIconName.js.map +1 -0
- package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.mobile.js +5 -0
- package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.js +4 -0
- package/dist/components/RollupItem/labelSize.js.map +1 -0
- package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.mobile.js +4 -0
- package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +12 -4
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/dist/hooks/useForm.d.ts +8 -4
- package/dist/hooks/useForm.js +5 -3
- package/dist/hooks/useForm.js.map +1 -1
- package/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/dist/hooks/useNormalizedInput.js +23 -0
- package/dist/hooks/useNormalizedInput.js.map +1 -0
- package/dist/hooks/useSWRResource.js +2 -1
- package/dist/hooks/useSWRResource.js.map +1 -1
- package/dist/icons/IconName.d.ts +12 -2
- package/dist/icons/IconName.js +11 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/services/search/useSearch.js +3 -2
- package/dist/services/search/useSearch.js.map +1 -1
- package/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +1 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/ControlProps.d.ts +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/dist/ui-kit/Input/Input.d.ts +1 -1
- package/dist/ui-kit/Input/Input.js +3 -2
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/dist/ui-kit/List/List.js +2 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +5 -4
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/dist/utils/identity.d.ts +1 -0
- package/dist/utils/identity.js +5 -0
- package/dist/utils/identity.js.map +1 -0
- package/dist/utils/isEmpty.d.ts +1 -0
- package/dist/utils/isEmpty.js +9 -0
- package/dist/utils/isEmpty.js.map +1 -0
- package/dist/utils/joinList.d.ts +1 -1
- package/dist/utils/joinList.js +1 -3
- package/dist/utils/joinList.js.map +1 -1
- package/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/dist/utils/toLocalNumberFormat.js +8 -0
- package/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/lib/components/BaseTile/BaseTile.js +2 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/Blocks.js +6 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -2
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +1 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +1 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +1 -0
- package/lib/components/ContentPage/ContentPage.page.json +0 -1
- package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.js +3 -9
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -7
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +3 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.js +2 -0
- package/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/lib/components/Header/Header.mobile.js +2 -2
- package/lib/components/Header/Header.mobile.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/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/lib/components/{Filtration/Filtration.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -8
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +2 -0
- package/lib/components/RollupItem/RollupItem.js +19 -4
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.js +2 -0
- package/lib/components/RollupItem/getIconName.js.map +1 -0
- package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.mobile.js +2 -0
- package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.js +2 -0
- package/lib/components/RollupItem/labelSize.js.map +1 -0
- package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.mobile.js +2 -0
- package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
- package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
- package/lib/components/Video/Video.fixture.d.ts +1 -0
- package/lib/content-page-repository/transformContentPage.js +12 -4
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/lib/hooks/useForm.d.ts +8 -4
- package/lib/hooks/useForm.js +5 -3
- package/lib/hooks/useForm.js.map +1 -1
- package/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/lib/hooks/useNormalizedInput.js +20 -0
- package/lib/hooks/useNormalizedInput.js.map +1 -0
- package/lib/hooks/useSWRResource.js +2 -1
- package/lib/hooks/useSWRResource.js.map +1 -1
- package/lib/icons/IconName.d.ts +12 -2
- package/lib/icons/IconName.js +11 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/services/search/useSearch.js +3 -2
- package/lib/services/search/useSearch.js.map +1 -1
- package/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +1 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/ControlProps.d.ts +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/lib/ui-kit/Heading/Heading.fixture.d.ts +1 -0
- package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/lib/ui-kit/Input/Input.d.ts +1 -1
- package/lib/ui-kit/Input/Input.js +3 -2
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +1 -0
- package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
- package/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/lib/ui-kit/List/List.js +2 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +5 -4
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/lib/ui-kit/NumberInput/NumberInput.fixture.d.ts +7 -0
- package/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.fixture.d.ts +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.fixture.d.ts +1 -0
- package/lib/utils/identity.d.ts +1 -0
- package/lib/utils/identity.js +2 -0
- package/lib/utils/identity.js.map +1 -0
- package/lib/utils/isEmpty.d.ts +1 -0
- package/lib/utils/isEmpty.js +6 -0
- package/lib/utils/isEmpty.js.map +1 -0
- package/lib/utils/joinList.d.ts +1 -1
- package/lib/utils/joinList.js +1 -3
- package/lib/utils/joinList.js.map +1 -1
- package/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/lib/utils/toLocalNumberFormat.js +5 -0
- package/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +267 -242
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/bundle/hooks/useForm.d.ts +8 -4
- package/mobile/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/bundle/icons/IconName.d.ts +12 -2
- package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/bundle/utils/identity.d.ts +1 -0
- package/mobile/bundle/utils/isEmpty.d.ts +1 -0
- package/mobile/bundle/utils/joinList.d.ts +1 -1
- package/mobile/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -2
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.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/ContentPage/ContentPage.page.json +0 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.js +3 -9
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +2 -8
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +3 -3
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.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/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/dist/components/RollupItem/getIconName.js +5 -0
- package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/dist/components/RollupItem/labelSize.js +4 -0
- package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/dist/hooks/useForm.d.ts +8 -4
- package/mobile/dist/hooks/useForm.js +5 -3
- package/mobile/dist/hooks/useForm.js.map +1 -1
- package/mobile/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/dist/hooks/useNormalizedInput.js +23 -0
- package/mobile/dist/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/dist/hooks/useSWRResource.js +2 -1
- package/mobile/dist/hooks/useSWRResource.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +12 -2
- package/mobile/dist/icons/IconName.js +11 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/services/search/useSearch.js +3 -2
- package/mobile/dist/services/search/useSearch.js.map +1 -1
- package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +3 -2
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.js +2 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +5 -4
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/dist/utils/identity.d.ts +1 -0
- package/mobile/dist/utils/identity.js +5 -0
- package/mobile/dist/utils/identity.js.map +1 -0
- package/mobile/dist/utils/isEmpty.d.ts +1 -0
- package/mobile/dist/utils/isEmpty.js +9 -0
- package/mobile/dist/utils/isEmpty.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -1
- package/mobile/dist/utils/joinList.js +1 -3
- package/mobile/dist/utils/joinList.js.map +1 -1
- package/mobile/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/utils/toLocalNumberFormat.js +8 -0
- package/mobile/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -2
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.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/ContentPage/ContentPage.page.json +0 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.js +3 -9
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -7
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +3 -3
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/lib/components/Header/Header.js +2 -2
- package/mobile/lib/components/Header/Header.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/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/lib/components/RollupItem/getIconName.js +2 -0
- package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/lib/components/RollupItem/labelSize.js +2 -0
- package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/lib/hooks/useForm.d.ts +8 -4
- package/mobile/lib/hooks/useForm.js +5 -3
- package/mobile/lib/hooks/useForm.js.map +1 -1
- package/mobile/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/lib/hooks/useNormalizedInput.js +20 -0
- package/mobile/lib/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/lib/hooks/useSWRResource.js +2 -1
- package/mobile/lib/hooks/useSWRResource.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +12 -2
- package/mobile/lib/icons/IconName.js +11 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/services/search/useSearch.js +3 -2
- package/mobile/lib/services/search/useSearch.js.map +1 -1
- package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +3 -2
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.js +2 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +5 -4
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/lib/utils/identity.d.ts +1 -0
- package/mobile/lib/utils/identity.js +2 -0
- package/mobile/lib/utils/identity.js.map +1 -0
- package/mobile/lib/utils/isEmpty.d.ts +1 -0
- package/mobile/lib/utils/isEmpty.js +6 -0
- package/mobile/lib/utils/isEmpty.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -1
- package/mobile/lib/utils/joinList.js +1 -3
- package/mobile/lib/utils/joinList.js.map +1 -1
- package/mobile/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/lib/utils/toLocalNumberFormat.js +5 -0
- package/mobile/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
- package/mobile/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/mobile/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/mobile/src/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/mobile/src/components/Footer/Footer.tsx +21 -30
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
- package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/mobile/src/components/Footer/MediaButton.tsx +1 -10
- package/mobile/src/components/Footer/TextInformation.tsx +17 -17
- package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/mobile/src/components/PictureText/PictureText.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
- package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
- package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
- package/mobile/src/components/Tile/Tile.tsx +2 -8
- package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
- package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/mobile/src/hooks/useForm.ts +16 -8
- package/mobile/src/hooks/useNormalizedInput.ts +33 -0
- package/mobile/src/hooks/useSWRResource.ts +3 -1
- package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/mobile/src/icons/BagIcon.svg +1 -0
- package/mobile/src/icons/BriefcaseIcon.svg +7 -0
- package/mobile/src/icons/ClientIcon.svg +1 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/services/search/useSearch.ts +3 -2
- package/mobile/src/services/sitemap/SitemapData.ts +1 -1
- package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/ControlProps.ts +1 -1
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/mobile/src/ui-kit/Input/Input.tsx +33 -16
- package/mobile/src/ui-kit/Input/InputProps.ts +4 -5
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/mobile/src/ui-kit/List/List.tsx +10 -11
- package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
- package/mobile/src/ui-kit/List/ListProps.ts +0 -2
- package/mobile/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/mobile/src/utils/identity.ts +1 -0
- package/mobile/src/utils/isEmpty.ts +6 -0
- package/mobile/src/utils/joinList.ts +4 -4
- package/mobile/src/utils/toLocalNumberFormat.ts +7 -0
- package/package.json +3 -3
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -0
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/src/components/BaseTile/BaseTile.tsx +32 -9
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +6 -4
- package/src/components/Bonus/Bonus.fixture.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -0
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +1 -0
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/src/components/Calculator/renderProposal.tsx +2 -2
- package/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -0
- package/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +2 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -0
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +3 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +2 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -7
- package/src/components/ContentPage/ContentPage.page.json +0 -1
- package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
- package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +1 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +1 -0
- package/src/components/Footer/Footer.fixture.tsx +1 -0
- package/src/components/Footer/Footer.mobile.tsx +21 -30
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
- package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/src/components/Footer/MediaButton.tsx +1 -10
- package/src/components/Footer/TextInformation.tsx +5 -3
- package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
- package/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
- package/src/components/Footer/textInformationTextSize.ts +1 -0
- package/src/components/Header/Header.fixture.mobile.tsx +1 -0
- package/src/components/Header/Header.fixture.tsx +1 -0
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Headline/Headline.fixture.mobile.tsx +2 -1
- package/src/components/Headline/Headline.fixture.tsx +2 -1
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.tsx +2 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -0
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +7 -5
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -0
- package/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -0
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +1 -0
- package/src/components/PictureText/PictureText.fixture.tsx +2 -1
- package/src/components/PictureText/PictureText.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.tsx +14 -31
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
- package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -1
- package/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +1 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +24 -3
- package/src/components/RollupItem/RollupItem.fixture.tsx +2 -0
- package/src/components/RollupItem/RollupItem.tsx +73 -34
- package/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
- package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
- package/src/components/RollupItem/getIconName.tsx +1 -0
- package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
- package/src/components/RollupItem/labelSize.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
- package/src/components/RollupItem/rollupItemStyles.ts +2 -0
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +2 -0
- package/src/components/Tabs/Tabs.fixture.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +2 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +2 -1
- package/src/components/Tile/Tile.fixture.tsx +2 -1
- package/src/components/Tile/Tile.tsx +2 -8
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +71 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -2
- package/src/components/Video/Video.fixture.tsx +2 -0
- package/src/content-page-repository/transformContentPage.ts +19 -7
- package/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/src/hooks/useForm.ts +16 -8
- package/src/hooks/useNormalizedInput.ts +33 -0
- package/src/hooks/useSWRResource.ts +3 -1
- package/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/src/icons/BagIcon.svg +1 -0
- package/src/icons/BriefcaseIcon.svg +7 -0
- package/src/icons/ClientIcon.svg +1 -0
- package/src/icons/IconName.ts +19 -1
- package/src/services/search/useSearch.ts +3 -2
- package/src/services/sitemap/SitemapData.ts +1 -1
- package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/src/ui-kit/BlockWrapper.tsx +1 -9
- package/src/ui-kit/Button/Button.fixture.tsx +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/ControlProps.ts +1 -1
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +2 -0
- package/src/ui-kit/Heading/Heading.fixture.tsx +2 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +2 -1
- package/src/ui-kit/Icon/IconProps.ts +5 -0
- package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/src/ui-kit/Input/Input.tsx +33 -16
- package/src/ui-kit/Input/InputProps.ts +4 -5
- package/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +2 -0
- package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
- package/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
- package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/src/ui-kit/List/List.fixture.tsx +1 -0
- package/src/ui-kit/List/List.tsx +10 -11
- package/src/ui-kit/List/ListItem.tsx +11 -7
- package/src/ui-kit/List/ListProps.ts +0 -2
- package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +2 -1
- package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +31 -0
- package/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -0
- package/src/ui-kit/RichText/RichText.fixture.tsx +2 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/src/ui-kit/Select/Select.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +2 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +2 -0
- package/src/utils/identity.ts +1 -0
- package/src/utils/isEmpty.ts +6 -0
- package/src/utils/joinList.ts +4 -4
- package/src/utils/toLocalNumberFormat.ts +7 -0
- package/tailwind.config.cjs +10 -5
- package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/dist/components/Filtration/Filtration.d.ts +0 -6
- package/dist/components/Filtration/Filtration.js +0 -18
- package/dist/components/Filtration/Filtration.js.map +0 -1
- package/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/dist/components/Footer/TextInformation.mobile.js +0 -9
- package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
- package/dist/components/LinkList/LinkList.d.ts +0 -5
- package/dist/components/LinkList/LinkList.js +0 -13
- package/dist/components/LinkList/LinkList.js.map +0 -1
- package/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/dist/components/LinkList/linkListContentExample.js +0 -23
- package/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
- package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/lib/components/Filtration/Filtration.d.ts +0 -6
- package/lib/components/Filtration/Filtration.js +0 -16
- package/lib/components/Filtration/Filtration.js.map +0 -1
- package/lib/components/Filtration/FiltrationContent.js +0 -2
- package/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/lib/components/Filtration/renderFormItem.js +0 -19
- package/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/lib/components/Footer/TextInformation.mobile.js +0 -7
- package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
- package/lib/components/LinkList/LinkList.d.ts +0 -5
- package/lib/components/LinkList/LinkList.js +0 -11
- package/lib/components/LinkList/LinkList.js.map +0 -1
- package/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/lib/components/LinkList/LinkListContent.js +0 -2
- package/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/lib/components/LinkList/linkListContentExample.js +0 -21
- package/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
- package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/dist/components/Filtration/Filtration.js +0 -18
- package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/dist/components/LinkList/LinkList.js +0 -13
- package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
- package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
- package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/lib/components/Filtration/Filtration.js +0 -16
- package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
- package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/lib/components/LinkList/LinkList.js +0 -11
- package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
- package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
- package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/mobile/src/components/Filtration/Filtration.tsx +0 -38
- package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
- package/mobile/src/components/LinkList/LinkList.example.json +0 -23
- package/mobile/src/components/LinkList/LinkList.tsx +0 -29
- package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +0 -2
- package/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/src/components/Filtration/Filtration.tsx +0 -38
- package/src/components/Filtration/Filtration.ui.json +0 -1
- package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/src/components/Filtration/renderFormItem.tsx +0 -36
- package/src/components/Footer/TextInformation.mobile.tsx +0 -22
- package/src/components/Gallery/Gallery.ui.json +0 -1
- package/src/components/LinkList/LinkList.example.json +0 -23
- package/src/components/LinkList/LinkList.fixture.tsx +0 -11
- package/src/components/LinkList/LinkList.tsx +0 -29
- package/src/components/LinkList/LinkList.ui.json +0 -1
- package/src/components/LinkList/LinkListContent.ts +0 -10
- package/src/components/LinkList/linkListContentExample.ts +0 -22
- package/src/components/MiniGallery/MiniGallery.ui.json +0 -1
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
- package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
- package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/src/utils/addSpacesBetweenNumbers.ts +0 -2
- /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/lib/components/{LinkList/LinkList.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
- /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/mobile/src/components/{Gallery/Gallery.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
- /package/{mobile/src/components/LinkList/LinkList.ui.json → src/components/DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/{mobile/src/components/MiniGallery/MiniGallery.ui.json → src/components/MortgageFiltration/MortgageFiltration.ui.json} +0 -0
|
@@ -3,6 +3,7 @@ import type { UniBlockProps } from '../../model/JSXBlock';
|
|
|
3
3
|
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
4
4
|
|
|
5
5
|
import { Logo } from '../../ui-kit/Logo/Logo';
|
|
6
|
+
import { style } from '../../utils/style';
|
|
6
7
|
|
|
7
8
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {}
|
|
8
9
|
|
|
@@ -10,7 +11,10 @@ export const MobileAppTile = JSX<MobileAppTileProps>(
|
|
|
10
11
|
({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
|
|
11
12
|
return (
|
|
12
13
|
<div
|
|
13
|
-
className={
|
|
14
|
+
className={style(
|
|
15
|
+
'col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans',
|
|
16
|
+
className,
|
|
17
|
+
)}
|
|
14
18
|
>
|
|
15
19
|
{href ? (
|
|
16
20
|
<div className="flex">
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useForm } from '../../hooks/useForm';
|
|
3
|
+
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import { BaseFiltrationInner } from '../../ui-kit/BaseFiltration/BaseFiltrationInner';
|
|
5
|
+
import { renderFiltrationForm } from '../../ui-kit/BaseFiltration/renderFiltrationForm';
|
|
6
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
|
+
import { style } from '../../utils/style';
|
|
8
|
+
import type { MortgageFiltrationContent } from './MortgageFiltrationContent';
|
|
9
|
+
|
|
10
|
+
interface MortgageFiltrationProps extends MortgageFiltrationContent, UniBlockProps {}
|
|
11
|
+
|
|
12
|
+
const initialFiltrationState = {};
|
|
13
|
+
|
|
14
|
+
export const MortgageFiltration: JSXBlock<MortgageFiltrationProps> = JSX<MortgageFiltrationProps>(
|
|
15
|
+
({ className, filtrationSchema = {}, resetButton, ...rest }) => {
|
|
16
|
+
const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<BlockWrapper className={style(className)} version="transparent" {...rest}>
|
|
20
|
+
{renderFiltrationForm({ field, reset, filtrationSchema, resetButton })}
|
|
21
|
+
<BaseFiltrationInner filtrationState={filtrationState} {...rest} />
|
|
22
|
+
</BlockWrapper>
|
|
23
|
+
);
|
|
24
|
+
},
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
MortgageFiltration.childrenTypes = ['ProductTile'];
|
|
28
|
+
MortgageFiltration.childSchema = (content?: MortgageFiltrationContent) =>
|
|
29
|
+
content?.filtrationSchema || {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
BaseFiltrationInnerContent,
|
|
3
|
+
StringArray,
|
|
4
|
+
} from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
|
|
5
|
+
|
|
6
|
+
export type MortgageFiltrationSchema = {
|
|
7
|
+
/** @title Тип недвижимости */
|
|
8
|
+
propertyType?: StringArray;
|
|
9
|
+
/** @title Этап строительства */
|
|
10
|
+
stage?: StringArray;
|
|
11
|
+
/** @title Категории */
|
|
12
|
+
categories?: StringArray;
|
|
13
|
+
/** @title Дополнительно */
|
|
14
|
+
extraOptions?: StringArray;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @title Подборщик ипотек
|
|
19
|
+
*/
|
|
20
|
+
export interface MortgageFiltrationContent extends BaseFiltrationInnerContent {
|
|
21
|
+
/** @title Параметры фильтрации */
|
|
22
|
+
filtrationSchema?: MortgageFiltrationSchema;
|
|
23
|
+
}
|
|
@@ -2,17 +2,17 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
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
|
+
import { OFFICE_MAP } from './mockOfficeMap';
|
|
5
6
|
import { nearbyOffices } from './nearbyOffices';
|
|
6
7
|
import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
|
|
7
8
|
import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
|
|
8
|
-
import { useOfficeMap } from './useOfficeMap';
|
|
9
9
|
|
|
10
10
|
export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
|
|
11
11
|
export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
|
|
12
12
|
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
13
13
|
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
14
14
|
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
15
|
-
const resultOfficeMap =
|
|
15
|
+
const resultOfficeMap = OFFICE_MAP;
|
|
16
16
|
const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
|
|
17
17
|
resultOfficeMap as OfficeMapContent;
|
|
18
18
|
const {
|
|
@@ -12,9 +12,7 @@ export function useOfficeMap(regionCode?: string) {
|
|
|
12
12
|
fetchOfficeMap,
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return OFFICE_MAP;
|
|
15
|
+
return data || OFFICE_MAP;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
function fetchOfficeMap(url?: string) {
|
|
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
|
-
import {
|
|
5
|
+
import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat';
|
|
6
6
|
import { Headline } from '../Headline/Headline';
|
|
7
7
|
import type { PictureTextContent } from './PictureTextContent';
|
|
8
8
|
import { renderBenefit } from './renderBenefit';
|
|
@@ -54,7 +54,7 @@ function renderValueBlock(title: string, sum = 0, isAnotherBlock = false) {
|
|
|
54
54
|
return (
|
|
55
55
|
<div className={`flex justify-between items-center gap-2 w-full whitespace-pre ${widthStyle}`}>
|
|
56
56
|
<span className="text-secondary-text text-l-light">{title}</span>
|
|
57
|
-
<span className="text-primary-main text-h6">{
|
|
57
|
+
<span className="text-primary-main text-h6">{toLocalNumberFormat(2)(sum)} ₽</span>
|
|
58
58
|
</div>
|
|
59
59
|
);
|
|
60
60
|
}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
+
import { style } from '../../utils/style';
|
|
4
5
|
import type { ProductBlockContent } from './ProductBlockContent';
|
|
5
6
|
import { ProductBlockInner } from './ProductBlockInner';
|
|
7
|
+
import { renderBackwardButton } from './renderBackwardButton';
|
|
6
8
|
|
|
7
9
|
export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {}
|
|
8
10
|
|
|
9
|
-
export const ProductBlock = JSX<ProductBlockProps>((
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
export const ProductBlock = JSX<ProductBlockProps>(({ className, backwardButton, ...rest }) => (
|
|
12
|
+
<BlockWrapper
|
|
13
|
+
className={style('overflow-hidden p-default flex flex-col gap-10 box-border', className)}
|
|
14
|
+
{...rest}
|
|
15
|
+
>
|
|
16
|
+
{backwardButton?.text
|
|
17
|
+
? renderBackwardButton(
|
|
18
|
+
backwardButton,
|
|
19
|
+
!rest.version || rest.version === 'primary' ? 'primary' : 'white',
|
|
20
|
+
)
|
|
21
|
+
: null}
|
|
22
|
+
<ProductBlockInner className="grow" {...rest} />
|
|
23
|
+
</BlockWrapper>
|
|
24
|
+
));
|
|
@@ -2,7 +2,6 @@ import type { BulletsProps } from '../../model/Bullets';
|
|
|
2
2
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
4
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
-
import type { LinkProps } from '../../model/LinkProps';
|
|
6
5
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
7
6
|
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
8
7
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
@@ -15,11 +14,6 @@ export type ProductBlockInnerContent = HeadlineProps &
|
|
|
15
14
|
ButtonContent &
|
|
16
15
|
ImageContent &
|
|
17
16
|
BulletsProps & {
|
|
18
|
-
/**
|
|
19
|
-
* @title Количество преимуществ в строке
|
|
20
|
-
* @enumNames ["2", "3"]
|
|
21
|
-
*/
|
|
22
|
-
benefitsCountOfRow?: 2 | 3;
|
|
23
17
|
/**
|
|
24
18
|
* @title Список преимуществ
|
|
25
19
|
* @minItems 2
|
|
@@ -29,11 +23,6 @@ export type ProductBlockInnerContent = HeadlineProps &
|
|
|
29
23
|
benefitsVersion?: IconVersion;
|
|
30
24
|
/** @title Лейбл (моб.) */
|
|
31
25
|
label?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @title Стиль для текстовой части
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
textBlockClassName?: string;
|
|
37
26
|
/** @title Картинка справа/текст слева */
|
|
38
27
|
directionRight?: boolean;
|
|
39
28
|
};
|
|
@@ -43,8 +32,6 @@ export type ProductBlockInnerContent = HeadlineProps &
|
|
|
43
32
|
*/
|
|
44
33
|
export type ProductBlockContent = UniBlockContent &
|
|
45
34
|
ProductBlockInnerContent & {
|
|
46
|
-
/** @title Хлебные крошки */
|
|
47
|
-
breadcrumbs?: LinkProps[];
|
|
48
35
|
/** @title Кнопка возврата */
|
|
49
36
|
backwardButton?: BackwardButtonProps;
|
|
50
37
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
-
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
3
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
6
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
5
|
import { List } from '../../ui-kit/List/List';
|
|
8
|
-
import {
|
|
6
|
+
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
9
7
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
10
8
|
import { Headline } from '../Headline/Headline';
|
|
11
9
|
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
@@ -15,51 +13,51 @@ export type ProductBlockInnerProps = ProductBlockInnerContent & UniBlockProps;
|
|
|
15
13
|
|
|
16
14
|
export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
17
15
|
({
|
|
18
|
-
className
|
|
16
|
+
className,
|
|
17
|
+
version = 'primary',
|
|
19
18
|
headlineVersion = 'L',
|
|
19
|
+
title,
|
|
20
|
+
description,
|
|
20
21
|
benefits,
|
|
21
|
-
benefitsVersion
|
|
22
|
-
buttons,
|
|
23
|
-
image,
|
|
22
|
+
benefitsVersion,
|
|
24
23
|
items,
|
|
25
24
|
isDotted = true,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}) =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{label ? renderLabel(label) : null}
|
|
34
|
-
<Headline
|
|
35
|
-
className="!p-0 max-w-[600px]"
|
|
36
|
-
title={title}
|
|
37
|
-
description={description}
|
|
38
|
-
headlineVersion={headlineVersion}
|
|
39
|
-
align="text-left"
|
|
40
|
-
/>
|
|
41
|
-
<BaseTile buttons={renderButtonsSection(buttons, { className: 'mt-5', isVertical: true })}>
|
|
42
|
-
{benefits?.filter((_) => _.label)?.length ? (
|
|
43
|
-
<div className="mt-3">{benefits.map(renderBenefit('primary', benefitsVersion))}</div>
|
|
44
|
-
) : null}
|
|
45
|
-
{items?.length ? (
|
|
46
|
-
<List className="mt-3 text-m" items={items} isDotted={isDotted} />
|
|
47
|
-
) : null}
|
|
48
|
-
</BaseTile>
|
|
49
|
-
</div>
|
|
50
|
-
{renderImage(image)}
|
|
51
|
-
</BlockWrapper>
|
|
52
|
-
),
|
|
53
|
-
);
|
|
54
|
-
|
|
55
|
-
function renderImage(image?: Picture) {
|
|
56
|
-
return image?.src ? (
|
|
57
|
-
<Img imageClassName="mt-5 mx-auto block" image={{ className: 'block', ...image }} />
|
|
58
|
-
) : null;
|
|
59
|
-
}
|
|
25
|
+
__html,
|
|
26
|
+
buttons,
|
|
27
|
+
image,
|
|
28
|
+
directionRight = true,
|
|
29
|
+
}) => {
|
|
30
|
+
const benefitsWithLabel = benefits?.filter((_) => _.label);
|
|
31
|
+
const img = image?.src ? <Img className="mt-[-50px]" image={image} /> : null;
|
|
60
32
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
33
|
+
return (
|
|
34
|
+
<BaseTile
|
|
35
|
+
className={className}
|
|
36
|
+
insetTitle={
|
|
37
|
+
<Headline
|
|
38
|
+
className="max-w-[600px] xl:max-w-[800px]"
|
|
39
|
+
title={title}
|
|
40
|
+
description={description}
|
|
41
|
+
headlineVersion={headlineVersion}
|
|
42
|
+
align="text-left"
|
|
43
|
+
isPadding={false}
|
|
44
|
+
/>
|
|
45
|
+
}
|
|
46
|
+
{...(directionRight ? { rightImage: img } : { leftImage: img })}
|
|
47
|
+
buttons={renderButtonsSection(buttons)}
|
|
48
|
+
>
|
|
49
|
+
{benefitsWithLabel?.length ? (
|
|
50
|
+
<div className="flex flex-wrap gap-6">
|
|
51
|
+
{benefitsWithLabel.map(renderBenefit(version, benefitsVersion))}
|
|
52
|
+
</div>
|
|
53
|
+
) : null}
|
|
54
|
+
{__html ? (
|
|
55
|
+
<div className="mt-5">
|
|
56
|
+
<RichText __html={__html} />
|
|
57
|
+
</div>
|
|
58
|
+
) : null}
|
|
59
|
+
{items?.length ? <List className="mt-5" items={items} isDotted={isDotted} /> : null}
|
|
60
|
+
</BaseTile>
|
|
61
|
+
);
|
|
62
|
+
},
|
|
65
63
|
);
|
|
@@ -2,35 +2,32 @@ import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
|
2
2
|
import { Button } from '../../ui-kit/Button/Button';
|
|
3
3
|
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
|
-
import { style } from '../../utils/style';
|
|
6
5
|
|
|
7
6
|
export function renderBackwardButton(
|
|
8
|
-
|
|
7
|
+
{ text, href, target, icon }: BackwardButtonProps,
|
|
9
8
|
version: ButtonVersion,
|
|
10
|
-
className?: string,
|
|
11
9
|
) {
|
|
12
|
-
const { text, href, target } = button;
|
|
13
10
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
14
|
-
const
|
|
11
|
+
const commonProps = { text, href, target, ariaLabel: text };
|
|
15
12
|
|
|
16
13
|
return (
|
|
17
|
-
<div className=
|
|
14
|
+
<div className="flex items-center gap-3">
|
|
18
15
|
<Button
|
|
16
|
+
className="w-12 h-12 min-h-12 min-w-12 flex items-center justify-center"
|
|
19
17
|
version={version}
|
|
20
18
|
rounded
|
|
21
|
-
|
|
22
|
-
ariaLabel={text}
|
|
23
|
-
href={href}
|
|
24
|
-
target={target}
|
|
19
|
+
{...commonProps}
|
|
25
20
|
>
|
|
26
21
|
<Img
|
|
27
22
|
className="w-4 h-4"
|
|
28
|
-
image={{
|
|
23
|
+
image={{
|
|
24
|
+
...icon,
|
|
25
|
+
icon: icon?.icon || 'ArrowLeftIcon',
|
|
26
|
+
iconVersion: icon?.iconVersion || iconVersion,
|
|
27
|
+
}}
|
|
29
28
|
/>
|
|
30
29
|
</Button>
|
|
31
|
-
{
|
|
32
|
-
<Button version="link" text={text} href={href} target={target} ariaLabel={text} />
|
|
33
|
-
) : null}
|
|
30
|
+
<Button version="link" {...commonProps} />
|
|
34
31
|
</div>
|
|
35
32
|
);
|
|
36
33
|
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
3
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
3
|
import { BenefitItem } from '../../ui-kit/BenefitItem/BenefitItem';
|
|
4
|
+
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
5
5
|
|
|
6
6
|
export const renderBenefit =
|
|
7
7
|
(version: BlockVersion = 'primary', benefitsVersion: IconVersion = 'normal') =>
|
|
8
|
-
(
|
|
9
|
-
(
|
|
10
|
-
<BenefitItem
|
|
11
|
-
key={String(i)}
|
|
12
|
-
icon={icon}
|
|
13
|
-
label={label}
|
|
14
|
-
description={description}
|
|
15
|
-
version={version}
|
|
16
|
-
benefitsVersion={benefitsVersion}
|
|
17
|
-
/>
|
|
18
|
-
);
|
|
8
|
+
(props: BenefitItemProps, i: number) =>
|
|
9
|
+
<BenefitItem key={String(i)} version={version} benefitsVersion={benefitsVersion} {...props} />;
|
|
@@ -1,98 +1,75 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
3
|
-
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
|
-
import
|
|
5
|
+
import { style } from '../../utils/style';
|
|
7
6
|
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner';
|
|
8
|
-
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
7
|
+
import type { ProductGalleryContent, ProductSlide } from './ProductGalleryContent';
|
|
9
8
|
|
|
10
9
|
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {}
|
|
11
10
|
|
|
12
|
-
interface NavButtonProps {
|
|
13
|
-
slide?: HeadlineCommonProps;
|
|
14
|
-
i: number;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
onClick: () => void;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
11
|
export const ProductGallery = JSX<ProductGalleryProps>(
|
|
20
12
|
({ className = '', slides = [], ...rest }) => {
|
|
21
|
-
const galleryNav = slides.map((s) => s.nav);
|
|
22
|
-
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
23
13
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
24
|
-
const handleActiveSlideIndex = useCallback((_: number) => setActiveSlideIndex(_), []);
|
|
25
14
|
|
|
26
15
|
return (
|
|
27
|
-
<BlockWrapper
|
|
28
|
-
className={`box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`}
|
|
29
|
-
{...rest}
|
|
30
|
-
>
|
|
16
|
+
<BlockWrapper className={style('box-border py-default overflow-hidden', className)} {...rest}>
|
|
31
17
|
<div
|
|
32
|
-
className="flex duration-1000
|
|
33
|
-
style={{ transform: `translateX(-${activeSlideIndex}
|
|
18
|
+
className="flex duration-1000"
|
|
19
|
+
style={{ transform: `translateX(-${activeSlideIndex * 100}%)` }}
|
|
34
20
|
role="list"
|
|
35
21
|
>
|
|
36
|
-
{
|
|
22
|
+
{slides.map(({ productBlock }, i) => (
|
|
23
|
+
<div key={String(i)} className="box-border grow-0 shrink-0 basis-full" role="listitem">
|
|
24
|
+
<ProductBlockInner
|
|
25
|
+
className="pl-default h-full"
|
|
26
|
+
headlineVersion="XXL"
|
|
27
|
+
{...productBlock}
|
|
28
|
+
{...rest}
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
))}
|
|
37
32
|
</div>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
{galleryNav.map((slide, i) =>
|
|
41
|
-
renderNavButton({
|
|
42
|
-
slide,
|
|
43
|
-
i,
|
|
44
|
-
isActive: Boolean(i === activeSlideIndex),
|
|
45
|
-
onClick: () => handleActiveSlideIndex(i),
|
|
46
|
-
}),
|
|
47
|
-
)}
|
|
33
|
+
<div className="h-28 px-6 mt-6 -mb-6 flex items-center gap-2 box-border">
|
|
34
|
+
{slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex }))}
|
|
48
35
|
</div>
|
|
49
36
|
</BlockWrapper>
|
|
50
37
|
);
|
|
51
38
|
},
|
|
52
39
|
);
|
|
53
40
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
key={String(i)}
|
|
58
|
-
className="box-border relative flex grow-0 shrink-0 basis-full"
|
|
59
|
-
role="listitem"
|
|
60
|
-
>
|
|
61
|
-
<div className="flex grow">
|
|
62
|
-
<ProductBlockInner
|
|
63
|
-
className="pl-12 z-10 group-data-secondary:text-white"
|
|
64
|
-
textBlockClassName="mb-[154px]"
|
|
65
|
-
headlineVersion="XXL"
|
|
66
|
-
{...block}
|
|
67
|
-
/>
|
|
68
|
-
</div>
|
|
69
|
-
</section>
|
|
70
|
-
);
|
|
41
|
+
interface NavButtonProps {
|
|
42
|
+
activeSlideIndex: number;
|
|
43
|
+
onClick: (i: number) => void;
|
|
71
44
|
}
|
|
72
45
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
46
|
+
const renderNavButton =
|
|
47
|
+
({ activeSlideIndex, onClick }: NavButtonProps) =>
|
|
48
|
+
({ nav }: ProductSlide, i: number) => {
|
|
49
|
+
const isActive = i === activeSlideIndex;
|
|
50
|
+
const btnClassName = isActive
|
|
51
|
+
? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
|
|
52
|
+
: 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
|
|
53
|
+
const btnTitleClassName = isActive
|
|
54
|
+
? 'text-primary-text text-h6 py-2'
|
|
55
|
+
: 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
|
|
56
|
+
const btnDescClassName = isActive
|
|
57
|
+
? 'text-secondary-text text-l-light'
|
|
58
|
+
: 'text-m-light text-secondary-text group-data-secondary:text-white/80';
|
|
83
59
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
60
|
+
return (
|
|
61
|
+
<button
|
|
62
|
+
type="button"
|
|
63
|
+
key={String(i)}
|
|
64
|
+
onClick={() => onClick(i)}
|
|
65
|
+
aria-label={nav?.title}
|
|
66
|
+
className={style(
|
|
67
|
+
'relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50',
|
|
68
|
+
btnClassName,
|
|
69
|
+
)}
|
|
70
|
+
>
|
|
71
|
+
<div className={btnTitleClassName}>{nav?.title}</div>
|
|
72
|
+
<div className={btnDescClassName}>{nav?.description}</div>
|
|
73
|
+
</button>
|
|
74
|
+
);
|
|
75
|
+
};
|