@redneckz/wildless-cms-uni-blocks 0.3.94 → 0.3.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +154 -108
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/StateMortgageIcon.svg +1 -0
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.js +3 -3
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.js +1 -1
- package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +4 -4
- package/dist/components/Bonus/Bonus.js +3 -3
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -3
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +3 -3
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +2 -3
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.js +2 -2
- package/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.mobile.js +1 -1
- package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.js +1 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/TextInformation.mobile.js +1 -1
- package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +1 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +4 -4
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +2 -2
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +4 -4
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlockTabs.js +3 -3
- package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js +2 -2
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.js +1 -1
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/constants.js +1 -1
- package/dist/components/Headline/constants.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -4
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +7 -7
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +4 -11
- package/dist/components/Navigation/Navigation.js +1 -1
- package/dist/components/Navigation/Navigation.js.map +1 -1
- package/dist/components/Navigation/NavigationItem.js +1 -1
- package/dist/components/Navigation/NavigationItem.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +2 -2
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.js +2 -2
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +62 -3
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +3 -3
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/renderTab.js +2 -2
- package/dist/components/Tabs/renderTab.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +2 -2
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +2 -2
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/hooks/useSafeDepositRental.js +5 -1
- package/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.js +2 -2
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/dist/ui-kit/Img/Img.mobile.js +2 -2
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.js +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -5
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Tabs/Tabs.js +2 -2
- package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.js +1 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +1 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.js +3 -3
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.js +1 -1
- package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +4 -4
- package/lib/components/Bonus/Bonus.js +3 -3
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -3
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +3 -3
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Catalog/Catalog.js +2 -3
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.js +2 -2
- package/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.mobile.js +1 -1
- package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.js +1 -1
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/TextInformation.mobile.js +1 -1
- package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +4 -4
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +2 -2
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +4 -4
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlockTabs.js +3 -3
- package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js +2 -2
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +1 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -1
- package/lib/components/Headline/Headline.mobile.js +1 -1
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/constants.js +1 -1
- package/lib/components/Headline/constants.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -4
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
- package/lib/components/LinkList/LinkList.js +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +7 -7
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +4 -11
- package/lib/components/Navigation/Navigation.js +1 -1
- package/lib/components/Navigation/Navigation.js.map +1 -1
- package/lib/components/Navigation/NavigationItem.js +1 -1
- package/lib/components/Navigation/NavigationItem.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.js +1 -1
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +2 -2
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.js +2 -2
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +62 -3
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +3 -3
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/renderTab.js +2 -2
- package/lib/components/Tabs/renderTab.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +2 -2
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +2 -2
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/hooks/useSafeDepositRental.js +5 -1
- package/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.js +2 -2
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/lib/ui-kit/Img/Img.mobile.js +2 -2
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.js +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -5
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Tabs/Tabs.js +2 -2
- package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.js +1 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +45 -45
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +4 -4
- package/mobile/dist/components/Bonus/Bonus.js +3 -3
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -3
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +3 -3
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +2 -3
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableCell.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +4 -4
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -4
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +3 -3
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +2 -2
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/constants.js +1 -1
- package/mobile/dist/components/Headline/constants.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -4
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.js +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +4 -11
- package/mobile/dist/components/Navigation/Navigation.js +1 -1
- package/mobile/dist/components/Navigation/Navigation.js.map +1 -1
- package/mobile/dist/components/Navigation/NavigationItem.js +1 -1
- package/mobile/dist/components/Navigation/NavigationItem.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -2
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +62 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +3 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/renderTab.js +2 -2
- package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +2 -2
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/hooks/useSafeDepositRental.js +5 -1
- package/mobile/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/Button/Button.js +2 -2
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.js +2 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -5
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
- package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.js +1 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +4 -4
- package/mobile/lib/components/Bonus/Bonus.js +3 -3
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -3
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +3 -3
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +2 -3
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableCell.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +4 -4
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -4
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +3 -3
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +2 -2
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/constants.js +1 -1
- package/mobile/lib/components/Headline/constants.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -4
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.js +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +4 -11
- package/mobile/lib/components/Navigation/Navigation.js +1 -1
- package/mobile/lib/components/Navigation/Navigation.js.map +1 -1
- package/mobile/lib/components/Navigation/NavigationItem.js +1 -1
- package/mobile/lib/components/Navigation/NavigationItem.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -2
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +62 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +3 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/renderTab.js +2 -2
- package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +2 -2
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/hooks/useSafeDepositRental.js +5 -1
- package/mobile/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/Button/Button.js +2 -2
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.js +2 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -5
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
- package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +12 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +13 -18
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +4 -4
- package/mobile/src/components/Bonus/Bonus.tsx +15 -7
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +12 -5
- package/mobile/src/components/Calculator/Calculator.tsx +3 -3
- package/mobile/src/components/Catalog/Catalog.tsx +10 -5
- package/mobile/src/components/Catalog/CatalogCard.tsx +3 -5
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableCell.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/mobile/src/components/ComparisonTable/TableRow.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +4 -0
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +2 -2
- package/mobile/src/components/Footer/TextInformation.tsx +2 -2
- package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
- package/mobile/src/components/Gallery/Gallery.tsx +5 -7
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -4
- package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -7
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +5 -15
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +17 -7
- package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +3 -3
- package/mobile/src/components/Header/Header.tsx +4 -4
- package/mobile/src/components/Header/HeaderBurger.tsx +3 -3
- package/mobile/src/components/Header/HeaderTop.tsx +3 -3
- package/mobile/src/components/Headline/Headline.tsx +1 -5
- package/mobile/src/components/Headline/constants.ts +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +7 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +6 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +3 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/mobile/src/components/LinkList/LinkList.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +0 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +4 -11
- package/mobile/src/components/Navigation/Navigation.tsx +1 -1
- package/mobile/src/components/Navigation/NavigationItem.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.tsx +2 -8
- package/mobile/src/components/Placeholder/Placeholder.tsx +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +4 -2
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.example.json +3 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +63 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +4 -4
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +4 -4
- package/mobile/src/components/Tabs/renderTab.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +3 -3
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -5
- package/mobile/src/components/TextBlock/TextBlock.tsx +4 -4
- package/mobile/src/components/Tile/Tile.tsx +1 -6
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +296 -33
- package/mobile/src/hooks/useSafeDepositRental.ts +5 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/StateMortgageIcon.svg +1 -0
- package/mobile/src/ui-kit/Button/Button.tsx +2 -2
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/mobile/src/ui-kit/Img/Img.tsx +13 -3
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -5
- package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/Accordion.tsx +2 -2
- package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
- package/src/components/Accordion/AccordionItem.tsx +3 -3
- package/src/components/Accordion/AccordionItemInner.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +12 -2
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +60 -5
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +13 -18
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +4 -4
- package/src/components/Bonus/Bonus.tsx +15 -7
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +12 -5
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/Calculator.tsx +3 -3
- package/src/components/Catalog/Catalog.tsx +10 -5
- package/src/components/Catalog/CatalogCard.tsx +3 -5
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/src/components/ComparisonTable/TableCell.mobile.tsx +1 -1
- package/src/components/ComparisonTable/TableCell.tsx +2 -2
- package/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/src/components/ComparisonTable/TableRow.tsx +1 -1
- package/src/components/ContentPage/ContentPage.page.json +4 -0
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +2 -2
- package/src/components/Footer/TextInformation.mobile.tsx +2 -2
- package/src/components/Footer/TextInformation.tsx +1 -2
- package/src/components/Footer/TextInformationLink.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +5 -7
- package/src/components/Gallery/GalleryCardInner.tsx +2 -4
- package/src/components/Gallery/GalleryContainer.tsx +10 -7
- package/src/components/GracePeriod/GracePeriod.example.json +5 -15
- package/src/components/GracePeriod/GracePeriod.tsx +17 -7
- package/src/components/GroupBlock/GroupBlockTabs.tsx +3 -3
- package/src/components/Header/Header.mobile.tsx +4 -4
- package/src/components/Header/HeaderBurger.tsx +3 -3
- package/src/components/Header/HeaderTop.tsx +3 -3
- package/src/components/Headline/Headline.fixture.mobile.tsx +2 -2
- package/src/components/Headline/Headline.fixture.tsx +1 -1
- package/src/components/Headline/Headline.mobile.tsx +1 -5
- package/src/components/Headline/constants.ts +1 -1
- package/src/components/Insurance/Insurance.fixture.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +7 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +13 -4
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +6 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +3 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
- package/src/components/LinkList/LinkList.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +0 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +28 -15
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +13 -18
- package/src/components/MobileAppTile/MobileAppTileContent.ts +4 -11
- package/src/components/Navigation/Navigation.tsx +1 -1
- package/src/components/Navigation/NavigationItem.tsx +1 -1
- package/src/components/PictureText/PictureText.tsx +2 -8
- package/src/components/Placeholder/Placeholder.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.tsx +1 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
- package/src/components/ProductBlock/renderBenefit.tsx +3 -1
- package/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/src/components/ProductTile/ProductTile.tsx +4 -2
- package/src/components/PromoTile/PromoTile.tsx +1 -1
- package/src/components/Recommendation/RecommendationCard.tsx +2 -2
- package/src/components/SafeDepositRental/SafeDepositRental.example.json +3 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +63 -3
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +4 -4
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +4 -4
- package/src/components/StepsBlock/StepsBlock.tsx +4 -6
- package/src/components/Tabs/renderTab.tsx +2 -2
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableCell.tsx +3 -3
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -5
- package/src/components/TextBlock/TextBlock.mobile.tsx +4 -4
- package/src/components/TextBlock/TextBlock.tsx +3 -3
- package/src/components/Tile/Tile.tsx +1 -6
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +296 -33
- package/src/hooks/useSafeDepositRental.ts +5 -1
- package/src/icons/IconName.ts +4 -1
- package/src/icons/StateMortgageIcon.svg +1 -0
- package/src/ui-kit/Button/Button.mobile.tsx +2 -2
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/ButtonProps.ts +2 -2
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +1 -1
- package/src/ui-kit/Img/Img.mobile.tsx +13 -3
- package/src/ui-kit/Img/ImgAsPicture.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/Logo/Logo.mobile.tsx +1 -1
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -5
- package/src/ui-kit/Tabs/Tabs.tsx +2 -2
- package/src/ui-kit/TopItem/TopItem.tsx +1 -1
|
@@ -16,7 +16,7 @@ export const Foldable = JSX(({ blocks = [], context, hiddenBlocksNum = 0, foldBu
|
|
|
16
16
|
});
|
|
17
17
|
const renderBlocks = (blocks, render, { blocksToHide, isActive, containerClasses }) => {
|
|
18
18
|
const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
|
|
19
|
-
const hiddenBlocks = blocks.slice(-blocksToHide);
|
|
19
|
+
const hiddenBlocks = blocksToHide > 0 ? blocks.slice(-blocksToHide) : [];
|
|
20
20
|
return render(_jsxs("div", { children: [visibleBlocks, _jsx("div", { className: `${foldableBlockClassNames} ${containerClasses}`, children: hiddenBlocks })] }), isActive);
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=Foldable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAuB/E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,MAAM,GAAG,EAAE,EACX,OAAO,EACP,eAAe,GAAG,CAAC,EACnB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAClB,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACxD,OAAO;QACP,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,MAAM,eAAe,GACnB,iBAAiB;QACjB,2HAA2H,CAAC;IAC9H,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;IAEjE,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,0BACG,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC,EAC1E,eAAe,CAAC,CA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,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEzE,OAAO,MAAM,CACX,0BACG,aAAa,EACd,cAAK,SAAS,EAAE,GAAG,uBAAuB,IAAI,gBAAgB,EAAE,YAAG,YAAY,GAAO,IAClF,EACN,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
const TEXT_CLASSES = 'font-sans
|
|
3
|
+
const TEXT_CLASSES = 'font-sans text-s';
|
|
4
4
|
const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
|
|
5
5
|
export const HeaderItem = JSX(({ className = '', text, href, target, active, onClick, children, bgColor = 'bg-white' }) => {
|
|
6
6
|
return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, onClick: onClick, children: [_jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? _jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAMxC,MAAM,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAMxC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AACxC,MAAM,cAAc,GAAG,0CAA0C,CAAC;AAElE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,GAA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
export const Img = JSX(({ className = '', image }) => {
|
|
5
|
-
return _jsx(ImgInner, { className: className, image: image, isMobile: true });
|
|
4
|
+
export const Img = JSX(({ className = '', image, imageClassName, ...iconProps }) => {
|
|
5
|
+
return (_jsx(ImgInner, { className: className, image: image, imageClassName: imageClassName, ...iconProps, isMobile: true }));
|
|
6
6
|
});
|
|
7
7
|
//# sourceMappingURL=Img.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CACpB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IAC1D,OAAO,CACL,KAAC,QAAQ,IACP,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,KAC1B,SAAS,EACb,QAAQ,EAAE,IAAI,GACd,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -7,7 +7,7 @@ const sourcesComparator = (a, b) => {
|
|
|
7
7
|
return 0;
|
|
8
8
|
};
|
|
9
9
|
export const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false }) => {
|
|
10
|
-
if (!image) {
|
|
10
|
+
if (!image || (!image?.sources && !image?.src)) {
|
|
11
11
|
return null;
|
|
12
12
|
}
|
|
13
13
|
const pictureStyles = isMobile ? 'flex' : 'flex-none';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImgAsPicture.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/ImgAsPicture.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,iBAAiB,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE;IACnD,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,EAAE;QACtB,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;KAC1B;IAED,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IACnE,IAAI,CAAC,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"ImgAsPicture.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/ImgAsPicture.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,iBAAiB,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE;IACnD,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,EAAE;QACtB,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;KAC1B;IAED,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IACnE,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,EAA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GAAG,EACR,KAAK,EAAE,KAAK,KACR,KAAK,CAAC,IAAI,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
|
|
@@ -24,6 +24,6 @@ export const InputRange = JSX(({ className, title, items = [], min = 1, max = 10
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? _jsx("span", { className: "text-l text-secondary-text pl-4", children: title }) : null, _jsx("input", { className: `m-0 mt-[5px] font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
27
|
-
outline-none p-0 pl-4 box-border text-primary-text`, value: addSpacesBetweenNumbers(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), _jsx("div", { className: "absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]", children: _jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), _jsx("div", { className: "flex justify-between my-3", children: items.map((item, i) => (_jsx("span", { className: "text-
|
|
27
|
+
outline-none p-0 pl-4 box-border text-primary-text`, value: addSpacesBetweenNumbers(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), _jsx("div", { className: "absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]", children: _jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), _jsx("div", { className: "flex justify-between my-3", children: items.map((item, i) => (_jsx("span", { className: "text-s leading-[14px] text-secondary-text pl-4", children: item }, String(i)))) })] }));
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=InputRange.js.map
|
|
@@ -1 +1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AAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,KAAK,EAAE,UAAU,GACjB,GACE,IACA,EACR,cAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,eAAsB,SAAS,EAAC,gDAAgD,YAC7E,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -10,6 +10,6 @@ const TEXT_COLOR = {
|
|
|
10
10
|
transparent: 'text-white',
|
|
11
11
|
};
|
|
12
12
|
export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
|
|
13
|
-
return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'Logo' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), hideTitle ? null : (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-
|
|
13
|
+
return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'Logo' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), hideTitle ? null : (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=Logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,SAAG,EACvF,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,SAAG,EACvF,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,4BAA4B,YAChE,QAAQ,IAAI,gBAAgB,GACxB,CACR,IACC,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
export const Radio = JSX(({ name, text, value, checked, onChange, className }) => (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer", children: [_jsx("input", { className: "appearance-none flex justify-center items-center w-5 h-5 border-2 border-primary-main rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? _jsx("span", { className: "font-sans ml-3
|
|
3
|
+
export const Radio = JSX(({ name, text, value, checked, onChange, className }) => (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer", children: [_jsx("input", { className: "appearance-none flex justify-center items-center w-5 h-5 border-2 border-primary-main rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? _jsx("span", { className: "font-sans ml-3 cursor-pointer", children: text }) : null] }) })));
|
|
4
4
|
//# sourceMappingURL=Radio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,2CAA2C,aAC1D,gBACE,SAAS,EAAC,wMAAwM,EAClN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,EACD,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,2CAA2C,aAC1D,gBACE,SAAS,EAAC,wMAAwM,EAClN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,EACD,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,+BAA+B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACtE,GACJ,CACP,CAAC,CAAC"}
|
|
@@ -5,10 +5,8 @@ import { Img } from '../Img/Img.js';
|
|
|
5
5
|
export const SearchBarInner = JSX(({ className, context, isMobile = false }) => {
|
|
6
6
|
const { term, setTerm } = context.useSearch();
|
|
7
7
|
const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
|
|
8
|
-
const SearchBarLabelClassName = isMobile ? '
|
|
9
|
-
const SearchBarInputClassName = isMobile
|
|
10
|
-
? ' placeholder-transparent font-normal'
|
|
11
|
-
: 'font-light h-full';
|
|
8
|
+
const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
|
|
9
|
+
const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
|
|
12
10
|
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
13
11
|
return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
14
12
|
outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
@@ -17,6 +15,6 @@ export const SearchBarInner = JSX(({ className, context, isMobile = false }) =>
|
|
|
17
15
|
}, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (_jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (ev) => {
|
|
18
16
|
ev?.preventDefault();
|
|
19
17
|
console.log('click');
|
|
20
|
-
}, children: _jsx("div", { className: "
|
|
18
|
+
}, children: _jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
|
|
21
19
|
});
|
|
22
20
|
//# sourceMappingURL=SearchBarInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SearchBarInner.js","sourceRo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AE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EAClD,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,oBAAoB,+CAAY,GACxC,CACV,IACI,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -6,10 +6,10 @@ const ACTIVE_TAB_STYLE = 'px-2 h-16 pt-4 pb-2 text-white bg-primary-main';
|
|
|
6
6
|
export const Tabs = JSX(({ tabs, currentTabIndex, onTabClick }) => {
|
|
7
7
|
return (_jsx("div", { className: "flex items-end border-b border-main-stroke", role: "tablist", children: tabs?.map(renderTab(currentTabIndex, onTabClick)) }));
|
|
8
8
|
});
|
|
9
|
-
const tabDescriptionStyle = (isActive = false) => `
|
|
9
|
+
const tabDescriptionStyle = (isActive = false) => `text-xs-light ${isActive ? '' : 'text-secondary-text'}`;
|
|
10
10
|
const renderTab = (currentTabIndex, onTabClick) => (tab, index) => {
|
|
11
11
|
const isActive = currentTabIndex === index;
|
|
12
|
-
return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": isActive, children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "
|
|
12
|
+
return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": isActive, children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "m-0 text-l font-medium", children: tab?.title }) : null, tab?.description ? (_jsx("span", { className: tabDescriptionStyle(isActive), children: tab?.description })) : null] })] }, String(index)));
|
|
13
13
|
};
|
|
14
14
|
const renderIcon = (tab, isActive) => (_jsx("div", { className: "h-full mt-1", children: _jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
|
|
15
15
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,SAAS,GAAG,0DAA0D,CAAC;AAC7E,MAAM,gBAAgB,GAAG,gDAAgD,CAAC;AAE1E,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,cAAK,SAAS,EAAC,4CAA4C,EAAC,IAAI,EAAC,SAAS,Y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AAK,CAAC,mBACjB,QAAQ,aAEtB,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAC7C,0BACG,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,wBAAwB,YAAE,GAAG,EAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC5E,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,mBAAmB,CAAC,QAAQ,CAAC,YAAG,GAAG,EAAE,WAAW,GAAQ,CAC1E,CAAC,CAAC,CAAC,IAAI,IACJ,KAdD,MAAM,CAAC,KAAK,CAAC,CAed,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,GAAQ,EAAE,QAAiB,EAAE,EAAE,CAAC,CAClD,cAAK,SAAS,EAAC,aAAa,YAC1B,KAAC,GAAG,IACF,SAAS,EAAE,gBAAgB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,KAAK,EAAE,GAAG,EAAE,IAAI,IAAI,UAAU,EAC9B,KAAK,EAAE,CAAC,QAAQ,GAChB,GACE,CACP,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
const TEXT_CLASSES = 'font-sans
|
|
3
|
+
const TEXT_CLASSES = 'font-sans text-s-light';
|
|
4
4
|
const LINK_CLASSES = 'inline-block border border-solid bg-transparent text-center no-underline';
|
|
5
5
|
export const TopItem = JSX(({ className = '', text, href, target, active, flat, onClick, children, ariaLabel, bgColor = 'bg-white', }) => (_jsx("a", { className: `${getLinkClasses(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: _jsx("span", { className: getTextClasses(bgColor, active, flat), children: text || children }) })));
|
|
6
6
|
const getLinkClasses = (bgColor, active = false, flat = false) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAiBxC,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAiBxC,MAAM,YAAY,GAAG,wBAAwB,CAAC;AAC9C,MAAM,YAAY,GAAG,0EAA0E,CAAC;AAEhG,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,UAAU,GACrB,EAAE,EAAE,CAAC,CACJ,YACE,SAAS,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,SAAS,EAAE,EAClE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAqB,gBACb,SAAS,YAErB,eAAM,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,GAC/E,CACL,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAM,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE;IAC/E,IAAI,OAAO,GAAG,oBAAoB,CAAC;IACnC,IAAI,MAAM,EAAE;QACV,OAAO,GAAG,cAAc,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;KAC3F;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAM,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE;IAC/E,IAAI,OAAO,KAAK,UAAU,EAAE;QAC1B,OAAO,cAAc,YAAY,EAAE,CAAC;KACrC;IACD,MAAM,cAAc,GAAG,GACrB,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAC/B,0BAA0B,CAAC;IAE3B,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,cAAc,IAAI,YAAY,EAAE,CAAC;AAC5E,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ export const Accordion = JSX<AccordionProps>(
|
|
|
11
11
|
return (
|
|
12
12
|
<section className={`py-6 px-4 font-sans bg-white text-primary-text ${className}`}>
|
|
13
13
|
{title ? <Heading headingType="h3" className="mb-2 text-center" title={title} /> : null}
|
|
14
|
-
{description ? <div className="mb-5 text-m-
|
|
14
|
+
{description ? <div className="mb-5 text-m-light text-center">{description}</div> : null}
|
|
15
15
|
{accordionItems?.length ? (
|
|
16
16
|
<ul className="list-none m-0 p-0">
|
|
17
17
|
{accordionItems.map((item, i) => (
|
|
@@ -23,7 +23,7 @@ export const AccordionItem = JSX<AccordionItemProps>(
|
|
|
23
23
|
onClick={handleToggle}
|
|
24
24
|
>
|
|
25
25
|
<span
|
|
26
|
-
className={`text-m-title-xs pr-2.5
|
|
26
|
+
className={`text-m-title-xs font-medium pr-2.5 flex ${
|
|
27
27
|
hasContent ? 'group-hover:text-primary-main' : ''
|
|
28
28
|
}`}
|
|
29
29
|
>
|
|
@@ -32,7 +32,7 @@ export const AccordionItem = JSX<AccordionItemProps>(
|
|
|
32
32
|
) : null}
|
|
33
33
|
{label}
|
|
34
34
|
</span>
|
|
35
|
-
{hasContent ? <Img image={icon} width="24" height="24" asSVG /> : null}
|
|
35
|
+
{hasContent ? <Img className="w-6" image={icon} width="24" height="24" asSVG /> : null}
|
|
36
36
|
</button>
|
|
37
37
|
{hasContent ? <AccordionItemInner blocks={blocks} context={context} /> : null}
|
|
38
38
|
</li>
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
"benefitType": "description"
|
|
9
9
|
},
|
|
10
10
|
"icon": {
|
|
11
|
-
"icon": "ClockIcon"
|
|
11
|
+
"icon": "ClockIcon",
|
|
12
|
+
"format": "webp",
|
|
13
|
+
"size": {
|
|
14
|
+
"width": 70,
|
|
15
|
+
"height": 70
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
},
|
|
14
19
|
{
|
|
@@ -18,7 +23,12 @@
|
|
|
18
23
|
"benefitType": "description"
|
|
19
24
|
},
|
|
20
25
|
"icon": {
|
|
21
|
-
"icon": "SignDocsIcon"
|
|
26
|
+
"icon": "SignDocsIcon",
|
|
27
|
+
"format": "webp",
|
|
28
|
+
"size": {
|
|
29
|
+
"width": 70,
|
|
30
|
+
"height": 70
|
|
31
|
+
}
|
|
22
32
|
}
|
|
23
33
|
}
|
|
24
34
|
]
|
|
@@ -3,25 +3,20 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
|
3
3
|
import type { UniBlockProps } from '../../types';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
|
-
import type {
|
|
6
|
+
import type { BenefitItemProps, BenefitsBlockContent } from './BenefitsBlockContent';
|
|
7
7
|
import { DescriptionType, ListBenefitDef, TextBenefitDef } from './BenefitsBlockContent';
|
|
8
8
|
|
|
9
9
|
export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
|
|
10
10
|
|
|
11
11
|
export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
12
|
-
({ className = '',
|
|
12
|
+
({ className = '', title, benefitList, ...rest }) => {
|
|
13
13
|
return (
|
|
14
14
|
<BlockWrapper
|
|
15
15
|
className={`font-sans text-primary-text bg-white p-12 flex flex-col items-center ${className}`}
|
|
16
16
|
{...rest}
|
|
17
17
|
>
|
|
18
18
|
{title ? (
|
|
19
|
-
<Heading
|
|
20
|
-
headingType={headingType}
|
|
21
|
-
as="h2"
|
|
22
|
-
className="max-w-[47rem] text-center"
|
|
23
|
-
title={title}
|
|
24
|
-
/>
|
|
19
|
+
<Heading headingType="h3" as="h2" className="max-w-[47rem] text-center" title={title} />
|
|
25
20
|
) : null}
|
|
26
21
|
{benefitList?.length ? renderBenefits(benefitList) : null}
|
|
27
22
|
</BlockWrapper>
|
|
@@ -29,29 +24,29 @@ export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
|
29
24
|
},
|
|
30
25
|
);
|
|
31
26
|
|
|
32
|
-
const renderBenefits = (benefits:
|
|
27
|
+
const renderBenefits = (benefits: BenefitItemProps[]) => {
|
|
33
28
|
return (
|
|
34
|
-
<div className="flex flex-wrap w-full justify-center gap-x-20 mt-
|
|
29
|
+
<div className="flex flex-wrap w-full justify-center gap-x-20 mt-8">
|
|
35
30
|
{benefits.map(renderStep)}
|
|
36
31
|
</div>
|
|
37
32
|
);
|
|
38
33
|
};
|
|
39
34
|
|
|
40
|
-
const renderStep = (benefit:
|
|
35
|
+
const renderStep = (benefit: BenefitItemProps, i: number) => {
|
|
41
36
|
const description = benefit?.description || undefined;
|
|
42
37
|
|
|
43
38
|
return (
|
|
44
|
-
<div key={String(i)} className="flex items-center basis-1/2 max-w-[500px] mb-
|
|
45
|
-
{benefit?.icon ? (
|
|
39
|
+
<div key={String(i)} className="flex items-center basis-1/2 max-w-[500px] mb-14">
|
|
40
|
+
{benefit?.icon?.icon ? (
|
|
46
41
|
<Img
|
|
47
|
-
className="
|
|
42
|
+
className="w-[50px] h-[50px] min-w-[50px] p-3 rounded-full bg-main-divider"
|
|
48
43
|
image={benefit.icon}
|
|
49
|
-
|
|
50
|
-
height="70"
|
|
44
|
+
asSVG
|
|
51
45
|
/>
|
|
52
46
|
) : null}
|
|
53
|
-
<
|
|
54
|
-
|
|
47
|
+
{benefit?.icon?.src ? <Img image={benefit.icon} /> : null}
|
|
48
|
+
<div className="ml-5">
|
|
49
|
+
{benefit?.label ? <h3 className="text-h6 m-0">{benefit.label}</h3> : null}
|
|
55
50
|
{renderDescription(description)}
|
|
56
51
|
</div>
|
|
57
52
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TitleProp } from '../../model/HeadlineType';
|
|
3
3
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -37,7 +37,7 @@ export type DescriptionType = EmptyOption | TextBenefitDef | ListBenefitDef;
|
|
|
37
37
|
/**
|
|
38
38
|
* @title Преимущество
|
|
39
39
|
*/
|
|
40
|
-
export interface
|
|
40
|
+
export interface BenefitItemProps {
|
|
41
41
|
/** @title Название */
|
|
42
42
|
label?: string;
|
|
43
43
|
/** @title Описание */
|
|
@@ -48,10 +48,10 @@ export interface BenefitItem {
|
|
|
48
48
|
/**
|
|
49
49
|
* @title Блок преимущества
|
|
50
50
|
*/
|
|
51
|
-
export type BenefitsBlockContent =
|
|
51
|
+
export type BenefitsBlockContent = TitleProp & {
|
|
52
52
|
/**
|
|
53
53
|
* @title Список преимуществ
|
|
54
54
|
* @maxItems 6
|
|
55
55
|
*/
|
|
56
|
-
benefitList?:
|
|
56
|
+
benefitList?: BenefitItemProps[];
|
|
57
57
|
};
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
3
|
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import type { BonusContent } from './BonusContent';
|
|
5
|
+
import { Headline } from '../Headline/Headline';
|
|
6
6
|
|
|
7
7
|
export interface BonusProps extends BonusContent, UniBlockProps {}
|
|
8
8
|
|
|
9
9
|
export const Bonus = JSX<BonusProps>((props) => {
|
|
10
|
-
const { className = '', title, description, bonusItems, ...rest } = props;
|
|
10
|
+
const { context, className = '', title, description, bonusItems, ...rest } = props;
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
|
-
<BlockWrapper
|
|
13
|
+
<BlockWrapper
|
|
14
|
+
className={`font-sans bg-white p-[50px] pb-9 ${className}`}
|
|
15
|
+
context={context}
|
|
16
|
+
{...rest}
|
|
17
|
+
>
|
|
14
18
|
<div className="container">
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
<Headline
|
|
20
|
+
context={context}
|
|
21
|
+
className="!p-0"
|
|
22
|
+
title={title}
|
|
23
|
+
description={description}
|
|
24
|
+
headlineVersion="M"
|
|
25
|
+
align="center"
|
|
26
|
+
/>
|
|
19
27
|
<div className="flex flex-wrap w-full mt-9">
|
|
20
28
|
{bonusItems
|
|
21
29
|
? bonusItems.map((_, i) => {
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
3
|
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
5
|
import type { BonusBenefit, BonusBenefitsBlockContent } from './BonusBenefitsBlockContent';
|
|
7
6
|
import { getElementsColsValue } from './getElementsColsValue';
|
|
7
|
+
import { Headline } from '../Headline/Headline';
|
|
8
8
|
|
|
9
9
|
export interface BenefitsBlockProps extends BonusBenefitsBlockContent, UniBlockProps {}
|
|
10
10
|
|
|
11
11
|
export const BonusBenefitsBlock = JSX<BenefitsBlockProps>(
|
|
12
|
-
({ className = '', title, subtitle, bonusBenefits, ...rest }) => {
|
|
12
|
+
({ context, className = '', title, subtitle, bonusBenefits, ...rest }) => {
|
|
13
13
|
return (
|
|
14
14
|
<BlockWrapper
|
|
15
15
|
className={`font-sans text-primary-text bg-white p-50 flex flex-col text-center ${className}`}
|
|
16
|
+
context={context}
|
|
16
17
|
{...rest}
|
|
17
18
|
>
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
<Headline
|
|
20
|
+
context={context}
|
|
21
|
+
className="!p-0"
|
|
22
|
+
title={title}
|
|
23
|
+
description={subtitle}
|
|
24
|
+
headlineVersion="M"
|
|
25
|
+
align="center"
|
|
26
|
+
/>
|
|
20
27
|
{bonusBenefits?.length ? (
|
|
21
|
-
<div className={`grid gap-1 ${getElementsColsValue(className)}`}>
|
|
28
|
+
<div className={`grid gap-1 mt-8 ${getElementsColsValue(className)}`}>
|
|
22
29
|
{bonusBenefits.map(renderBonusBenefit)}
|
|
23
30
|
</div>
|
|
24
31
|
) : null}
|
|
@@ -76,7 +76,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
|
|
|
76
76
|
? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
|
|
77
77
|
: `h-[77px] w-[322px] min-w-[322px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
|
|
78
78
|
const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
|
|
79
|
-
const btnDescClassName = isActiveBtn ? 'text-l text-white' : `text-m-
|
|
79
|
+
const btnDescClassName = isActiveBtn ? 'text-l font-light text-white' : `text-m font-light`;
|
|
80
80
|
const iconClassName = isActiveBtn ? '' : `text-primary-main`;
|
|
81
81
|
|
|
82
82
|
return (
|
|
@@ -85,7 +85,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
|
|
|
85
85
|
key={String(i)}
|
|
86
86
|
onClick={onClick}
|
|
87
87
|
aria-label={tab?.title}
|
|
88
|
-
className={`box-border font-sans relative border border-main-stroke cursor-pointer text-left border-b-0 flex
|
|
88
|
+
className={`box-border font-sans relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
|
|
89
89
|
${btnClassName}`}
|
|
90
90
|
>
|
|
91
91
|
<Img
|
|
@@ -96,7 +96,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
|
|
|
96
96
|
asSVG
|
|
97
97
|
/>
|
|
98
98
|
<div className="border-0">
|
|
99
|
-
<div className={
|
|
99
|
+
<div className={`${btnTitleClassName}`}>{tab?.title}</div>
|
|
100
100
|
<div className={`text-secondary-text ${btnDescClassName}`}>{tab.description}</div>
|
|
101
101
|
</div>
|
|
102
102
|
</button>
|
|
@@ -2,11 +2,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
4
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
5
|
-
import { Description } from '../../ui-kit/Description/Description';
|
|
6
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
5
|
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
8
6
|
import { CatalogCard } from './CatalogCard';
|
|
9
7
|
import type { CatalogCardType, CatalogContent } from './CatalogContent';
|
|
8
|
+
import { Headline } from '../Headline/Headline';
|
|
10
9
|
|
|
11
10
|
export interface CatalogProps extends CatalogContent, UniBlockProps {}
|
|
12
11
|
|
|
@@ -24,10 +23,16 @@ export const Catalog = JSX<CatalogProps>(
|
|
|
24
23
|
className={`bg-white relative font-sans p-12 overflow-hidden text-center ${className}`}
|
|
25
24
|
{...rest}
|
|
26
25
|
>
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
<Headline
|
|
27
|
+
context={context}
|
|
28
|
+
className="!p-0"
|
|
29
|
+
title={title}
|
|
30
|
+
description={description}
|
|
31
|
+
headlineVersion="M"
|
|
32
|
+
align="center"
|
|
33
|
+
/>
|
|
29
34
|
<div
|
|
30
|
-
className="flex duration-1000 gap-3.5"
|
|
35
|
+
className="flex duration-1000 gap-3.5 mt-8"
|
|
31
36
|
style={{ transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }}
|
|
32
37
|
role="list"
|
|
33
38
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import { Picture } from '../../model/Picture';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { UniBlockProps } from '../../types';
|
|
5
5
|
import { Button } from '../../ui-kit/Button/Button';
|
|
6
6
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
@@ -28,11 +28,9 @@ export const CatalogCard = JSX<CatalogCardProps>(
|
|
|
28
28
|
{title ? (
|
|
29
29
|
<Heading headingType="h6" as="h4" className="text-left mb-1.5" title={title} />
|
|
30
30
|
) : null}
|
|
31
|
-
{description ?
|
|
32
|
-
<div className="text-m-md text-left mb-4 font-light">{description}</div>
|
|
33
|
-
) : null}
|
|
31
|
+
{description ? <div className="text-m-light text-left mb-4">{description}</div> : null}
|
|
34
32
|
{colors?.length ? (
|
|
35
|
-
<div className="flex mb-4 text-m-
|
|
33
|
+
<div className="flex mb-4 text-m-light text-secondary-text">
|
|
36
34
|
<div className="mr-1.5">Доступные цвета: </div>
|
|
37
35
|
{colors.map(renderColorOption)}
|
|
38
36
|
</div>
|
|
@@ -15,7 +15,7 @@ export interface HeaderCellProps {
|
|
|
15
15
|
|
|
16
16
|
const headingStyle = (isFillGradient = false): string => (isFillGradient ? 'text-white' : '');
|
|
17
17
|
const subtitleStyle = (isFillGradient = false): string =>
|
|
18
|
-
`text-
|
|
18
|
+
`text-s mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
|
|
19
19
|
|
|
20
20
|
export const HeaderCell = JSX<HeaderCellProps>(
|
|
21
21
|
({ icon, image, title, subtitle, isFillGradient }) => (
|
|
@@ -26,7 +26,7 @@ const renderCellInner =
|
|
|
26
26
|
(isFillGradient: boolean, rowHeader?: string) =>
|
|
27
27
|
({ label, description }: CellData, i: number) =>
|
|
28
28
|
(
|
|
29
|
-
<div key={String(i)} className="flex justify-between text-
|
|
29
|
+
<div key={String(i)} className="flex justify-between text-s py-3.5">
|
|
30
30
|
<div className={`${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`}>
|
|
31
31
|
{rowHeader}
|
|
32
32
|
</div>
|
|
@@ -51,7 +51,7 @@ const renderButton = ({ header, buttonVersion }) => (
|
|
|
51
51
|
href={header.link.href}
|
|
52
52
|
target={header.link.target}
|
|
53
53
|
version={buttonVersion}
|
|
54
|
-
className="font-medium
|
|
54
|
+
className="text-s font-medium mt-4 py-[11px]"
|
|
55
55
|
>
|
|
56
56
|
{header.link.text}
|
|
57
57
|
</Button>
|
|
@@ -62,7 +62,7 @@ const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow }) => (
|
|
|
62
62
|
<a
|
|
63
63
|
role="link"
|
|
64
64
|
onClick={onToggleColumn}
|
|
65
|
-
className={`font-medium
|
|
65
|
+
className={`text-s font-medium cursor-pointer ${
|
|
66
66
|
isFillGradient ? 'text-white/80' : 'text-primary-main'
|
|
67
67
|
}`}
|
|
68
68
|
>
|
|
@@ -15,7 +15,7 @@ export interface TableRowProps {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
const titleStyle = (isLastRow = false) =>
|
|
18
|
-
`text-
|
|
18
|
+
`text-s py-7 ${DIVIDER_CLASSES} ${FIRST_CELL_CLASSES} ${
|
|
19
19
|
isLastRow ? 'border-b-0' : 'border-solid'
|
|
20
20
|
}`;
|
|
21
21
|
|
|
@@ -3,7 +3,7 @@ import { Img } from '../../ui-kit/Img/Img';
|
|
|
3
3
|
import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
|
|
4
4
|
import { formatCurrency } from './formatCurrency';
|
|
5
5
|
|
|
6
|
-
const TABLE_HEAD_STYLE = 'text-left text-m text-secondary-text';
|
|
6
|
+
const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
|
|
7
7
|
|
|
8
8
|
const CURRENCY_ICONS_MAP = {
|
|
9
9
|
USD: 'DollarIcon',
|