@redneckz/wildless-cms-uni-blocks 0.6.50 → 0.7.2
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 +346 -500
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
- package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/bundle/components/Footer/MediaButton.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.d.ts +1 -3
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
- package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/bundle/components/Tile/Tile.d.ts +0 -1
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/bundle/components/Video/getPaddings.d.ts +1 -1
- package/bundle/icons/IconName.d.ts +6 -4
- package/bundle/model/BlockVersion.d.ts +6 -20
- package/bundle/model/ButtonVersion.d.ts +3 -3
- package/bundle/model/JSXBlock.d.ts +2 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
- package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/bundle/ui-kit/List/ListItem.d.ts +1 -2
- package/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
- package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/bundle/utils/getColSpan.d.ts +1 -1
- package/bundle/utils/style.d.ts +3 -0
- package/cosmos-static/icons/YoutubeIcon.svg +1 -0
- package/dist/BlockRenderer/renderBlock.js +4 -3
- package/dist/BlockRenderer/renderBlock.js.map +1 -1
- 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/AccordionItem/AccordionItem.js +1 -1
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +1 -4
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +5 -7
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
- package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +5 -3
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/dist/components/CarouselCard/CarouselCard.js +3 -3
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +2 -2
- 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/ContactsBlock/ContactsBlock.js +3 -4
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/MediaButton.d.ts +2 -2
- package/dist/components/Footer/MediaButton.js +12 -13
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -3
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/dist/components/Footer/SocialMedia.mobile.js +1 -1
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/dist/components/Gallery/Gallery.js +1 -1
- package/dist/components/Gallery/Gallery.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +6 -7
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +8 -11
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.js +5 -4
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +5 -5
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/dist/components/Header/DropdownMenu.js +4 -7
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.js +6 -6
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +7 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenu.js +2 -2
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenuItem.js +2 -2
- package/dist/components/Header/HeaderSubMenuItem.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.js +4 -5
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/dist/components/HorizontalLayout/gapStyles.js +12 -0
- package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +2 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/dist/components/LinkDocs/LinkDocsList.js +1 -1
- package/dist/components/LinkDocs/LinkDocsList.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/MiniGallery/MiniGallery.js +1 -1
- package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/dist/components/PictureText/PictureText.js +1 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.js +2 -1
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -7
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +7 -20
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/dist/components/ProductTile/ProductTile.js +5 -6
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
- package/dist/components/ProductTile/renderBenefit.js +2 -6
- package/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +3 -3
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +2 -4
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/dist/components/Recommendation/RecommendationCard.js +4 -3
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +7 -15
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -6
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/StepsBlock/renderStepContent.js +2 -7
- package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/dist/components/Tabs/renderGroupTab.js +1 -1
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
- package/dist/components/Tabs/tabItemClasses.js +2 -2
- package/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/Tile/Tile.d.ts +0 -1
- package/dist/components/Tile/Tile.js +5 -10
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/dist/components/Video/Video.js +2 -4
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/components/Video/getPaddings.d.ts +1 -1
- package/dist/components/Video/getPaddings.js.map +1 -1
- package/dist/icons/IconName.d.ts +6 -4
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +6 -20
- package/dist/model/BlockVersion.js +0 -33
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +3 -3
- package/dist/model/JSXBlock.d.ts +2 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +2 -0
- package/dist/ui-kit/BlockWrapper.js +11 -3
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ArrowButton.js +2 -2
- package/dist/ui-kit/Button/ArrowButton.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/buttonClassNameConstants.js +9 -3
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/dist/ui-kit/Foldable/Foldable.js +2 -2
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +2 -5
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +3 -8
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/dist/ui-kit/List/List.js +1 -12
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +1 -2
- package/dist/ui-kit/List/ListItem.js +1 -8
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/dist/ui-kit/Location/Location.js +1 -1
- package/dist/ui-kit/Location/Location.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/dist/ui-kit/Text/Text.js +1 -1
- package/dist/ui-kit/Text/Text.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +2 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/dist/ui-kit/TopItem/TopItem.js +9 -18
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/utils/getColSpan.d.ts +1 -1
- package/dist/utils/getColSpan.js +1 -1
- package/dist/utils/getColSpan.js.map +1 -1
- package/dist/utils/style.d.ts +3 -0
- package/dist/utils/style.js +8 -0
- package/dist/utils/style.js.map +1 -0
- package/lib/BlockRenderer/renderBlock.js +4 -3
- package/lib/BlockRenderer/renderBlock.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/AccordionItem/AccordionItem.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +1 -4
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +5 -7
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
- package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +5 -3
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/lib/components/CarouselCard/CarouselCard.js +3 -3
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +2 -2
- 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/ContactsBlock/ContactsBlock.js +3 -4
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/MediaButton.d.ts +2 -2
- package/lib/components/Footer/MediaButton.js +12 -13
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -3
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
- package/lib/components/Footer/SocialMedia.mobile.js +1 -1
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/lib/components/Gallery/Gallery.js +1 -1
- package/lib/components/Gallery/Gallery.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +6 -7
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +8 -11
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.js +5 -4
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +5 -5
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/lib/components/Header/DropdownMenu.js +4 -7
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.js +6 -6
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +7 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenu.js +2 -2
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenuItem.js +2 -2
- package/lib/components/Header/HeaderSubMenuItem.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 +0 -2
- package/lib/components/Headline/Headline.js +4 -5
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/lib/components/HorizontalLayout/gapStyles.js +10 -0
- package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +2 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/lib/components/LinkDocs/LinkDocsList.js +1 -1
- package/lib/components/LinkDocs/LinkDocsList.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/MiniGallery/MiniGallery.js +1 -1
- package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/lib/components/PictureText/PictureText.js +1 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/Placeholder/Placeholder.js +2 -1
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -7
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +7 -20
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +5 -6
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
- package/lib/components/ProductTile/renderBenefit.js +2 -6
- package/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +3 -3
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.js +2 -4
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/lib/components/Recommendation/RecommendationCard.js +4 -3
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +7 -15
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +3 -6
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/StepsBlock/renderStepContent.js +3 -8
- package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +5 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/lib/components/Tabs/renderGroupTab.js +1 -1
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
- package/lib/components/Tabs/tabItemClasses.js +2 -2
- package/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/Tile/Tile.d.ts +0 -1
- package/lib/components/Tile/Tile.js +5 -10
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/lib/components/Video/Video.js +2 -4
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/getPaddings.d.ts +1 -1
- package/lib/components/Video/getPaddings.js.map +1 -1
- package/lib/icons/IconName.d.ts +6 -4
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +6 -20
- package/lib/model/BlockVersion.js +1 -32
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +3 -3
- package/lib/model/JSXBlock.d.ts +2 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +2 -0
- package/lib/ui-kit/BlockWrapper.js +10 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ArrowButton.js +2 -2
- package/lib/ui-kit/Button/ArrowButton.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/buttonClassNameConstants.js +9 -3
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/lib/ui-kit/Foldable/Foldable.js +2 -2
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +2 -5
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.js +3 -8
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/lib/ui-kit/List/List.fixture.d.ts +0 -2
- package/lib/ui-kit/List/List.js +1 -12
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +1 -2
- package/lib/ui-kit/List/ListItem.js +1 -8
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/lib/ui-kit/Location/Location.js +1 -1
- package/lib/ui-kit/Location/Location.js.map +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/lib/ui-kit/Text/Text.js +1 -1
- package/lib/ui-kit/Text/Text.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +2 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/lib/ui-kit/TopItem/TopItem.js +9 -18
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/utils/getColSpan.d.ts +1 -1
- package/lib/utils/getColSpan.js +1 -1
- package/lib/utils/getColSpan.js.map +1 -1
- package/lib/utils/style.d.ts +3 -0
- package/lib/utils/style.js +5 -0
- package/lib/utils/style.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +168 -169
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
- package/mobile/bundle/icons/IconName.d.ts +6 -4
- package/mobile/bundle/model/BlockVersion.d.ts +6 -20
- package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
- package/mobile/bundle/model/JSXBlock.d.ts +2 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/bundle/utils/getColSpan.d.ts +1 -1
- package/mobile/bundle/utils/style.d.ts +3 -0
- package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
- package/mobile/dist/BlockRenderer/renderBlock.js.map +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/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +5 -7
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +5 -3
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/dist/components/CarouselCard/CarouselCard.js +3 -3
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/dist/components/Footer/MediaButton.js +12 -13
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/dist/components/Footer/SocialMedia.js +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +6 -7
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/dist/components/Header/DropdownMenu.js +4 -7
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +7 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.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 +6 -5
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
- package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.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/MiniGallery/MiniGallery.js +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/dist/components/PictureText/PictureText.js +1 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
- package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
- package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +0 -1
- package/mobile/dist/components/Tile/Tile.js +5 -10
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/dist/components/Video/Video.js +2 -4
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
- package/mobile/dist/components/Video/getPaddings.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +6 -4
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +6 -20
- package/mobile/dist/model/BlockVersion.js +0 -33
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +3 -3
- package/mobile/dist/model/JSXBlock.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
- package/mobile/dist/ui-kit/Button/ArrowButton.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/buttonClassNameConstants.js +9 -3
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -12
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/dist/ui-kit/List/ListItem.js +1 -8
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/dist/ui-kit/Location/Location.js +1 -1
- package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Text/Text.js +1 -1
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/utils/getColSpan.d.ts +1 -1
- package/mobile/dist/utils/getColSpan.js +1 -1
- package/mobile/dist/utils/getColSpan.js.map +1 -1
- package/mobile/dist/utils/style.d.ts +3 -0
- package/mobile/dist/utils/style.js +8 -0
- package/mobile/dist/utils/style.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
- package/mobile/lib/BlockRenderer/renderBlock.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/BaseTile/BaseTile.d.ts +1 -4
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +5 -7
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +5 -3
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/lib/components/CarouselCard/CarouselCard.js +3 -3
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
- package/mobile/lib/components/Footer/MediaButton.js +12 -13
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
- package/mobile/lib/components/Footer/SocialMedia.js +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +6 -7
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/lib/components/Header/DropdownMenu.js +4 -7
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +7 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.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 +6 -5
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
- package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
- package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
- package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
- package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.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/MiniGallery/MiniGallery.js +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
- package/mobile/lib/components/PictureText/PictureText.js +1 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
- package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
- package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
- package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
- package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
- package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
- package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
- package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
- package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
- package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +0 -1
- package/mobile/lib/components/Tile/Tile.js +5 -10
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
- package/mobile/lib/components/Video/Video.js +2 -4
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
- package/mobile/lib/components/Video/getPaddings.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +6 -4
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +6 -20
- package/mobile/lib/model/BlockVersion.js +1 -32
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +3 -3
- package/mobile/lib/model/JSXBlock.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
- package/mobile/lib/ui-kit/Button/ArrowButton.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/buttonClassNameConstants.js +9 -3
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -12
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
- package/mobile/lib/ui-kit/List/ListItem.js +1 -8
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/lib/ui-kit/Location/Location.js +1 -1
- package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Text/Text.js +1 -1
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/utils/getColSpan.d.ts +1 -1
- package/mobile/lib/utils/getColSpan.js +1 -1
- package/mobile/lib/utils/getColSpan.js.map +1 -1
- package/mobile/lib/utils/style.d.ts +3 -0
- package/mobile/lib/utils/style.js +5 -0
- package/mobile/lib/utils/style.js.map +1 -0
- package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
- package/mobile/src/common.css +11 -0
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
- package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
- package/mobile/src/components/Bonus/Bonus.tsx +19 -27
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
- package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/Calculator.tsx +1 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
- package/mobile/src/components/Carousel/Carousel.example.json +2 -1
- package/mobile/src/components/Carousel/Carousel.tsx +14 -3
- package/mobile/src/components/Carousel/Carousel.ui.json +8 -0
- package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -7
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
- package/mobile/src/components/Catalog/Catalog.tsx +1 -4
- package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/mobile/src/components/Footer/MediaButton.tsx +27 -25
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
- package/mobile/src/components/Gallery/Gallery.tsx +23 -24
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
- package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
- package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
- package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
- package/mobile/src/components/Header/Header.tsx +57 -48
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
- package/mobile/src/components/Header/HeaderTop.tsx +2 -5
- package/mobile/src/components/Headline/Headline.tsx +28 -16
- package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
- package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -0
- package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/mobile/src/components/LinkList/LinkList.tsx +1 -1
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
- package/mobile/src/components/PictureText/PictureText.tsx +3 -14
- package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
- package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
- package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
- package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
- package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
- package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
- package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
- package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
- package/mobile/src/components/Tile/Tile.tsx +22 -42
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
- package/mobile/src/components/Video/Video.tsx +17 -20
- package/mobile/src/components/Video/getPaddings.ts +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/YoutubeIcon.svg +3 -0
- package/mobile/src/model/BlockVersion.ts +11 -53
- package/mobile/src/model/ButtonVersion.ts +3 -3
- package/mobile/src/model/JSXBlock.ts +2 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
- package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
- package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
- package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
- package/mobile/src/ui-kit/List/List.tsx +23 -43
- package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
- package/mobile/src/ui-kit/List/ListProps.ts +0 -7
- package/mobile/src/ui-kit/Location/Location.tsx +1 -1
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
- package/mobile/src/ui-kit/Text/Text.tsx +2 -4
- package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
- package/mobile/src/utils/getColSpan.ts +2 -2
- package/mobile/src/utils/style.ts +7 -0
- package/package.json +2 -2
- package/src/BlockRenderer/renderBlock.tsx +8 -3
- package/src/common.css +11 -0
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/Accordion.tsx +1 -4
- package/src/components/AccordionItem/AccordionItem.tsx +1 -1
- package/src/components/BaseTile/BaseTile.tsx +1 -5
- package/src/components/BaseTile/BaseTileProps.ts +3 -4
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
- package/src/components/Blocks.ts +2 -0
- package/src/components/Bonus/Bonus.tsx +19 -27
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
- package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
- package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
- package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
- package/src/components/Calculator/Calculator.tsx +1 -4
- package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
- package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +1 -4
- package/src/components/Carousel/Carousel.example.json +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +20 -28
- package/src/components/Carousel/Carousel.tsx +14 -3
- package/src/components/Carousel/Carousel.ui.json +8 -0
- package/src/components/Carousel/CarouselContent.ts +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
- package/src/components/CarouselCard/CarouselCard.tsx +15 -7
- package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
- package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +3 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
- package/src/components/Catalog/Catalog.tsx +1 -4
- package/src/components/Catalog/CatalogCard.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
- package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
- package/src/components/ContentPage/ContentPage.tsx +2 -5
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/MediaButton.tsx +27 -25
- package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
- package/src/components/Footer/SocialMedia.tsx +4 -12
- package/src/components/Gallery/Gallery.fixture.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +23 -24
- package/src/components/Gallery/Gallery.tsx +3 -1
- package/src/components/Gallery/GalleryCardInner.tsx +21 -26
- package/src/components/Gallery/GalleryContainer.tsx +22 -10
- package/src/components/Gallery/GalleryInner.tsx +12 -7
- package/src/components/GracePeriod/GracePeriod.tsx +2 -8
- package/src/components/Header/DropdownMenu.tsx +41 -47
- package/src/components/Header/Header.mobile.tsx +57 -48
- package/src/components/Header/Header.tsx +21 -17
- package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
- package/src/components/Header/HeaderSubMenu.tsx +1 -5
- package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
- package/src/components/Header/HeaderTop.tsx +2 -5
- package/src/components/Headline/Headline.fixture.tsx +40 -43
- package/src/components/Headline/Headline.tsx +11 -11
- package/src/components/Headline/HeadlineContent.ts +0 -2
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
- package/src/components/HorizontalLayout/gapStyles.ts +11 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
- package/src/components/LinkDocs/LinkDocs.tsx +2 -2
- package/src/components/LinkDocs/LinkDocsContent.ts +4 -0
- package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
- package/src/components/LinkList/LinkList.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
- package/src/components/PictureText/PictureText.tsx +3 -14
- package/src/components/Placeholder/Placeholder.tsx +6 -3
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
- package/src/components/ProductBlock/ProductBlock.tsx +5 -13
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
- package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
- package/src/components/ProductGallery/ProductGallery.tsx +10 -31
- package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
- package/src/components/ProductTile/ProductTile.tsx +14 -17
- package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
- package/src/components/ProductTile/renderBenefit.tsx +6 -9
- package/src/components/PromoTile/PromoTile.tsx +12 -13
- package/src/components/Recommendation/Recommendation.tsx +3 -4
- package/src/components/Recommendation/RecommendationCard.tsx +12 -14
- package/src/components/RollupItem/RollupItem.tsx +36 -41
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
- package/src/components/StepsBlock/StepsBlock.tsx +3 -5
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
- package/src/components/StepsBlock/renderStepContent.tsx +9 -8
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +27 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
- package/src/components/Tabs/renderGroupTab.tsx +2 -1
- package/src/components/Tabs/tabItemClasses.ts +2 -2
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
- package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
- package/src/components/TariffsTable/TariffsTable.tsx +1 -3
- package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
- package/src/components/Tile/Tile.tsx +22 -42
- package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
- package/src/components/Video/Video.tsx +17 -20
- package/src/components/Video/getPaddings.ts +1 -1
- package/src/icons/IconName.ts +336 -6
- package/src/icons/YoutubeIcon.svg +3 -0
- package/src/model/BlockVersion.ts +11 -53
- package/src/model/ButtonVersion.ts +3 -3
- package/src/model/JSXBlock.ts +2 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
- package/src/ui-kit/BlockWrapper.tsx +17 -2
- package/src/ui-kit/Button/ArrowButton.tsx +2 -2
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
- package/src/ui-kit/Foldable/Foldable.tsx +4 -2
- package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
- package/src/ui-kit/Heading/Heading.tsx +6 -8
- package/src/ui-kit/Icon/Icon.tsx +6 -9
- package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
- package/src/ui-kit/List/List.fixture.tsx +4 -14
- package/src/ui-kit/List/List.tsx +23 -43
- package/src/ui-kit/List/ListItem.tsx +13 -22
- package/src/ui-kit/List/ListProps.ts +0 -7
- package/src/ui-kit/Location/Location.tsx +1 -1
- package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +6 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
- package/src/ui-kit/Text/Text.tsx +2 -4
- package/src/ui-kit/Text/TextProps.ts +5 -2
- package/src/ui-kit/TopItem/TopItem.tsx +21 -27
- package/src/utils/getColSpan.ts +2 -2
- package/src/utils/style.ts +7 -0
- package/tailwind.config.cjs +6 -0
- package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
- package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
- package/bundle/components/Headline/headlineStyles.d.ts +0 -7
- package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
- package/bundle/model/BorderVersion.d.ts +0 -6
- package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/bundle/utils/style2className.d.ts +0 -1
- package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
- package/dist/components/Calculator/renderButtonSection.js +0 -9
- package/dist/components/Calculator/renderButtonSection.js.map +0 -1
- package/dist/components/Headline/Headline.mobile.d.ts +0 -5
- package/dist/components/Headline/Headline.mobile.js +0 -13
- package/dist/components/Headline/Headline.mobile.js.map +0 -1
- package/dist/components/Headline/headlineStyles.d.ts +0 -7
- package/dist/components/Headline/headlineStyles.js +0 -18
- package/dist/components/Headline/headlineStyles.js.map +0 -1
- package/dist/components/StepsBlock/renderItems.d.ts +0 -8
- package/dist/components/StepsBlock/renderItems.js +0 -7
- package/dist/components/StepsBlock/renderItems.js.map +0 -1
- package/dist/model/BorderVersion.d.ts +0 -6
- package/dist/model/BorderVersion.js +0 -7
- package/dist/model/BorderVersion.js.map +0 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/dist/ui-kit/Button/ButtonSection.js +0 -23
- package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
- package/dist/utils/style2className.d.ts +0 -1
- package/dist/utils/style2className.js +0 -7
- package/dist/utils/style2className.js.map +0 -1
- package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
- package/lib/components/Calculator/renderButtonSection.js +0 -6
- package/lib/components/Calculator/renderButtonSection.js.map +0 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
- package/lib/components/Headline/Headline.mobile.d.ts +0 -5
- package/lib/components/Headline/Headline.mobile.js +0 -11
- package/lib/components/Headline/Headline.mobile.js.map +0 -1
- package/lib/components/Headline/headlineStyles.d.ts +0 -7
- package/lib/components/Headline/headlineStyles.js +0 -16
- package/lib/components/Headline/headlineStyles.js.map +0 -1
- package/lib/components/StepsBlock/renderItems.d.ts +0 -8
- package/lib/components/StepsBlock/renderItems.js +0 -4
- package/lib/components/StepsBlock/renderItems.js.map +0 -1
- package/lib/model/BorderVersion.d.ts +0 -6
- package/lib/model/BorderVersion.js +0 -5
- package/lib/model/BorderVersion.js.map +0 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/lib/ui-kit/Button/ButtonSection.js +0 -20
- package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
- package/lib/utils/style2className.d.ts +0 -1
- package/lib/utils/style2className.js +0 -4
- package/lib/utils/style2className.js.map +0 -1
- package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/bundle/model/BorderVersion.d.ts +0 -6
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/bundle/utils/style2className.d.ts +0 -1
- package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
- package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
- package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/dist/components/Headline/headlineStyles.js +0 -18
- package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
- package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
- package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
- package/mobile/dist/model/BorderVersion.d.ts +0 -6
- package/mobile/dist/model/BorderVersion.js +0 -7
- package/mobile/dist/model/BorderVersion.js.map +0 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
- package/mobile/dist/utils/style2className.d.ts +0 -1
- package/mobile/dist/utils/style2className.js +0 -7
- package/mobile/dist/utils/style2className.js.map +0 -1
- package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
- package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
- package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
- package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
- package/mobile/lib/components/Headline/headlineStyles.js +0 -16
- package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
- package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
- package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
- package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
- package/mobile/lib/model/BorderVersion.d.ts +0 -6
- package/mobile/lib/model/BorderVersion.js +0 -5
- package/mobile/lib/model/BorderVersion.js.map +0 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
- package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
- package/mobile/lib/utils/style2className.d.ts +0 -1
- package/mobile/lib/utils/style2className.js +0 -4
- package/mobile/lib/utils/style2className.js.map +0 -1
- package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
- package/mobile/src/components/Headline/headlineStyles.ts +0 -25
- package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
- package/mobile/src/model/BorderVersion.ts +0 -10
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
- package/mobile/src/utils/style2className.ts +0 -3
- package/src/components/Calculator/renderButtonSection.tsx +0 -8
- package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
- package/src/components/Headline/Headline.mobile.tsx +0 -40
- package/src/components/Headline/headlineStyles.ts +0 -25
- package/src/components/StepsBlock/renderItems.tsx +0 -23
- package/src/model/BorderVersion.ts +0 -10
- package/src/ui-kit/Button/ButtonSection.tsx +0 -51
- package/src/utils/style2className.ts +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @title
|
|
3
|
-
* @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка"]
|
|
2
|
+
* @title Тема кнопки
|
|
3
|
+
* @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Наследуемая"]
|
|
4
4
|
* @default primary
|
|
5
5
|
*/
|
|
6
|
-
export declare type ButtonVersion = 'primary' | 'secondary' | 'white' | 'link';
|
|
6
|
+
export declare type ButtonVersion = 'primary' | 'secondary' | 'white' | 'link' | 'transparent' | '';
|
package/lib/model/JSXBlock.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { UNIComponent } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockRendererOptions } from '../BlockRenderer/BlockRendererOptions';
|
|
3
3
|
import type { SlotName } from './BlockDecorator';
|
|
4
|
+
import type { BlockVersion } from './BlockVersion';
|
|
4
5
|
import type { BlockDef } from './ContentPageDef';
|
|
5
6
|
import type { VNode } from './VNode';
|
|
6
7
|
export interface UniBlockProps {
|
|
7
8
|
className?: string;
|
|
9
|
+
version?: BlockVersion;
|
|
8
10
|
block?: BlockDef;
|
|
9
11
|
options?: BlockRendererOptions;
|
|
10
12
|
}
|
|
@@ -2,19 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
4
4
|
import { Img } from '../Img/Img.js';
|
|
5
|
-
const titleStyleMap = {
|
|
6
|
-
primary: 'text-primary-text',
|
|
7
|
-
secondary: 'text-white',
|
|
8
|
-
};
|
|
9
|
-
const descStyleMap = {
|
|
10
|
-
primary: 'text-secondary-text',
|
|
11
|
-
secondary: 'text-white',
|
|
12
|
-
};
|
|
13
5
|
export const BenefitItem = JSX((props) => {
|
|
14
6
|
const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
|
|
15
7
|
const listItemAlign = description ? 'items-start' : 'items-center';
|
|
16
8
|
const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
|
|
17
|
-
return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? _jsx("div", { className:
|
|
9
|
+
return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? (_jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (_jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
|
|
18
10
|
});
|
|
19
11
|
function getBenefitIconBgStyle(version, benefitsVersion) {
|
|
20
12
|
let bgColorStyle = 'bg-primary-main text-black';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKjC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAsB,CAAC,KAAK,EAAE,EAAE;IAC5D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,QAAQ,GAC3B,GAAG,KAAK,CAAC;IACV,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;IACnE,MAAM,WAAW,GAAG,eAAe,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IAE1E,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,aAAa,IAAI,SAAS,EAAE,aACvD,IAAI,CAAC,CAAC,CAAC,CACN,cAAK,SAAS,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,YAC7D,KAAC,GAAG,IAAC,SAAS,EAAC,SAAS,EAAC,KAAK,EAAE,kBAAkB,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,KAAK,SAAG,GAC3E,CACP,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,SAAS,aACrB,KAAK,CAAC,CAAC,CAAC,CACP,cAAK,SAAS,EAAC,2DAA2D,YAAE,KAAK,GAAO,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,kEAAkE,YAC9E,WAAW,GACR,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,OAAqB,EAAE,eAA4B;IAChF,IAAI,YAAY,GAAG,4BAA4B,CAAC;IAEhD,IAAI,OAAO,KAAK,WAAW,EAAE;QAC3B,YAAY,GAAG,wBAAwB,CAAC;KACzC;SAAM,IAAI,eAAe,KAAK,QAAQ,EAAE;QACvC,YAAY,GAAG,sCAAsC,CAAC;KACvD;IAED,OAAO,qFAAqF,YAAY,EAAE,CAAC;AAC7G,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { BlockVersion } from '../model/BlockVersion';
|
|
1
2
|
import type { UniBlockProps } from '../model/JSXBlock';
|
|
2
3
|
interface BlockWrapperProps extends UniBlockProps {
|
|
3
4
|
tag?: keyof HTMLElementTagNameMap;
|
|
4
5
|
role?: string;
|
|
5
6
|
}
|
|
7
|
+
export declare const blockStyles: Record<BlockVersion, string>;
|
|
6
8
|
export declare const BlockWrapper: import("@redneckz/uni-jsx").UNIComponent<BlockWrapperProps, any, any>;
|
|
7
9
|
export {};
|
|
@@ -3,7 +3,15 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { EventBus } from '../EventBus/EventBus.js';
|
|
5
5
|
import { useBlockIntersectionObserver } from '../services/BlockRouter/useBlockIntersectionObserver.js';
|
|
6
|
-
|
|
6
|
+
import { style } from '../utils/style.js';
|
|
7
|
+
export const blockStyles = {
|
|
8
|
+
primary: 'bg-white text-primary-text',
|
|
9
|
+
secondary: 'bg-primary-main text-white',
|
|
10
|
+
gray: 'bg-main-divider text-primary-text',
|
|
11
|
+
transparent: 'bg-transparent text-primary-text',
|
|
12
|
+
'': '',
|
|
13
|
+
};
|
|
14
|
+
export const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
|
|
7
15
|
const Tag = tag;
|
|
8
16
|
const ref = useBlockIntersectionObserver(block);
|
|
9
17
|
const [isVisible, setVisible] = useState(true);
|
|
@@ -16,6 +24,6 @@ export const BlockWrapper = JSX(({ className, block, tag = 'section', role, chil
|
|
|
16
24
|
setVisible(true);
|
|
17
25
|
}
|
|
18
26
|
}), [block]);
|
|
19
|
-
return isVisible ? (_jsx(Tag, { className: className,
|
|
27
|
+
return isVisible ? (_jsx(Tag, { className: style('group', blockStyles[version], className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children })) : null;
|
|
20
28
|
});
|
|
21
29
|
//# sourceMappingURL=BlockWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAOvC,MAAM,CAAC,MAAM,WAAW,GAAiC;IACvD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,kCAAkC;IAC/C,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,GAAG,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClF,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,GAAG,GAAG,4BAA4B,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC/C,SAAS,CACP,GAAG,EAAE,CACH,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACvC,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE;YAC1B,MAAM,WAAW,GAAG,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,CAAC;YAC3D,UAAU,CACR,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CACnF,CAAC;SACH;aAAM;YACL,UAAU,CAAC,IAAI,CAAC,CAAC;SAClB;IACH,CAAC,CAAC,EACJ,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,KAAC,GAAG,IACF,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,KACtD,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACxC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { Img } from '../Img/Img.js';
|
|
4
4
|
import { Button } from './Button.js';
|
|
5
|
-
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
|
|
5
|
+
export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
|
|
6
6
|
? 'bg-secondary-light text-secondary-text'
|
|
7
|
-
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
|
|
7
|
+
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
|
|
8
8
|
export const ScrollLeftButton = JSX((props) => (_jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
|
|
9
9
|
export const ScrollRightButton = JSX((props) => (_jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
|
|
10
10
|
//# sourceMappingURL=ArrowButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChF,KAAC,MAAM,IACL,OAAO,QACP,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChF,KAAC,MAAM,IACL,OAAO,QACP,SAAS,EAAE,+GACT,QAAQ;QACN,CAAC,CAAC,wCAAwC;QAC1C,CAAC,CAAC,oDACN,IAAI,SAAS,IAAI,EAAE,EAAE,EACrB,QAAQ,EAAE,QAAQ,KACd,IAAI,YAER,KAAC,GAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,EACtD,cAAc,EAAC,mCAAmC,EAClD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACK,CACV,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAc,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1D,KAAC,WAAW,OAAK,KAAK,EAAE,SAAS,EAAC,6FAAkB,wBAAoB,aAAa,GAAG,CACzF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAc,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,KAAC,WAAW,OACN,KAAK,EACT,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,IAAI,EAAE,aAAa,EAChD,SAAS,EAAC,mGAAmB,wBACV,cAAc,GACjC,CACH,CAAC,CAAC"}
|
|
@@ -12,7 +12,7 @@ const getButtonStyle = (props) => {
|
|
|
12
12
|
}
|
|
13
13
|
const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
|
|
14
14
|
return [
|
|
15
|
-
'group flex items-center justify-center',
|
|
15
|
+
'group/btn flex items-center justify-center',
|
|
16
16
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
17
17
|
rounded ? 'rounded-full' : '',
|
|
18
18
|
].join(' ');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAO1D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhF,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,YAAG,UAAU,GAAO,CAAC,CAAC,CAAC,IAAI,EAC7E,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,0BACG,SAAS,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,yBAAyB,YAAE,SAAS,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,cAAK,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IAC5E,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,
|
|
1
|
+
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAO1D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhF,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,YAAG,UAAU,GAAO,CAAC,CAAC,CAAC,IAAI,EAC7E,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,0BACG,SAAS,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,yBAAyB,YAAE,SAAS,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,cAAK,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IAC5E,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,4CAA4C;QAC5C,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -3,6 +3,8 @@ export const buttonStyleMap = {
|
|
|
3
3
|
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
4
4
|
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
5
5
|
link: '',
|
|
6
|
+
transparent: '',
|
|
7
|
+
'': '',
|
|
6
8
|
};
|
|
7
9
|
const DisabledStyle = 'bg-main-divider text-main-disabled';
|
|
8
10
|
export const buttonDisabledStyleMap = {
|
|
@@ -10,12 +12,16 @@ export const buttonDisabledStyleMap = {
|
|
|
10
12
|
secondary: DisabledStyle,
|
|
11
13
|
white: DisabledStyle,
|
|
12
14
|
link: '',
|
|
15
|
+
transparent: '',
|
|
16
|
+
'': '',
|
|
13
17
|
};
|
|
14
18
|
export const buttonStyle = 'text-center font-sans select-none';
|
|
15
19
|
export const iconStyleMap = {
|
|
16
|
-
primary: 'group-hover:brightness-0 group-hover:invert',
|
|
17
|
-
secondary: 'group-hover:brightness-0 group-hover:invert',
|
|
18
|
-
white: 'group-hover:brightness-0 group-hover:invert',
|
|
20
|
+
primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
21
|
+
secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
22
|
+
white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
|
|
19
23
|
link: '',
|
|
24
|
+
transparent: '',
|
|
25
|
+
'': '',
|
|
20
26
|
};
|
|
21
27
|
//# sourceMappingURL=buttonClassNameConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC;AAE/D,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD,OAAO,EAAE,qDAAqD;IAC9D,SAAS,EAAE,qDAAqD;IAChE,KAAK,EAAE,qDAAqD;IAC5D,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ButtonWithIconProps } from './ButtonProps';
|
|
2
|
+
interface ButtonsSectionOptions {
|
|
3
|
+
className?: string;
|
|
4
|
+
buttonClassName?: string;
|
|
5
|
+
isVertical?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const renderButtonsSection: (buttons?: (ButtonWithIconProps | undefined)[], { className, buttonClassName, isVertical }?: ButtonsSectionOptions) => JSX.Element | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { style } from '../../utils/style.js';
|
|
3
|
+
import { Img } from '../Img/Img.js';
|
|
4
|
+
import { Button } from './Button.js';
|
|
5
|
+
export const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? (_jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
6
|
+
const renderButton = (buttonClassName = '') => (button, index) => {
|
|
7
|
+
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
8
|
+
const iconVersion = version === 'secondary' ? 'color' : 'white';
|
|
9
|
+
return text ? (_jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
|
|
10
|
+
};
|
|
11
|
+
const DEFAULT_ICON_W = 24;
|
|
12
|
+
const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (_jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
|
|
13
|
+
//# sourceMappingURL=renderButtonsSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EAC3E,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAChD,cAAK,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,YAC9E,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAA4B,EAAE,KAAc,EAAE,EAAE;IAC/C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IAEL,SAAS,EAAE,eAAe,EAC1B,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,CAAC,EAC5D,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,EAC9B,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -10,7 +10,7 @@ const CHECK_PATHS = [
|
|
|
10
10
|
},
|
|
11
11
|
];
|
|
12
12
|
export const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
|
|
13
|
-
return (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
|
|
13
|
+
return (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer group/box", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover/box:border-primary-hover
|
|
14
14
|
${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
|
|
15
15
|
${checked ? 'border-black' : 'border-gray'}
|
|
16
16
|
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,qDAAqD,aACpE,gBACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa;wCACV,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,EAClE,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACpE,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { VNode } from '../../model/VNode';
|
|
2
2
|
import type { FoldablePartProps } from './FoldablePartProps';
|
|
3
3
|
export interface FoldableProps {
|
|
4
|
+
className?: string;
|
|
4
5
|
unfoldedByDefault?: boolean;
|
|
5
6
|
isFoldButtonOnTop?: boolean;
|
|
6
7
|
renderFoldableSection: (props: FoldablePartProps) => VNode;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
export const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
|
|
4
|
+
export const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
|
|
5
5
|
const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
|
|
6
6
|
const onToggle = useCallback(() => {
|
|
7
7
|
setIsUnfolded((_) => !_);
|
|
8
8
|
}, []);
|
|
9
9
|
const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
|
|
10
10
|
const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
|
|
11
|
-
return isFoldButtonOnTop ? (_jsxs("div", { children: [buttonNode, sectionNode] })) : (_jsxs("div", { children: [sectionNode, buttonNode] }));
|
|
11
|
+
return isFoldButtonOnTop ? (_jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (_jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
|
|
12
12
|
});
|
|
13
13
|
//# 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;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAYpE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,iBAAiB,GAAG,KAAK,EACzB,iBAAiB,GAAG,KAAK,EACzB,qBAAqB,EACrB,gBAAgB,GACjB,EAAE,EAAE;IACH,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAExF,OAAO,iBAAiB,CAAC,CAAC,CAAC,CACzB,eAAK,SAAS,EAAE,SAAS,aACtB,UAAU,EACV,WAAW,IACR,CACP,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAE,SAAS,aACtB,WAAW,EACX,UAAU,IACP,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
export const HeaderItem = JSX(({ className = '', active, bgColor = 'bg-white', dataItemName, children, ...rest }) => {
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
export const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
|
|
7
6
|
const link = useLink();
|
|
8
7
|
const { href, target, text, onClick } = link(rest);
|
|
9
|
-
return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [_jsx("span", { className:
|
|
8
|
+
return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [_jsx("span", { className: getTextStyle(active), children: text || children }), active ? _jsx("div", { className: getBorderStyle(active) }) : null] }));
|
|
10
9
|
});
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
if (bgColor === 'bg-white') {
|
|
14
|
-
classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
|
|
15
|
-
}
|
|
16
|
-
return `${classes} ${TEXT_CLASSES}`;
|
|
17
|
-
};
|
|
18
|
-
const getBorderClasses = (bgColor, active = false) => {
|
|
19
|
-
if (!active) {
|
|
20
|
-
return BORDER_CLASSES;
|
|
21
|
-
}
|
|
22
|
-
return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
|
|
23
|
-
};
|
|
10
|
+
const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
|
|
11
|
+
const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
|
|
24
12
|
//# sourceMappingURL=HeaderItem.js.map
|
|
@@ -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;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,aACE,SAAS,EAAE,iEAAiE,SAAS,EAAE,EACvF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,oBACE,YAAY,EAC5B,OAAO,EAAE,OAAO,aAEhB,eAAM,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,EAC/D,MAAM,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,IACzD,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,EAAE,CACtC,KAAK,CACH,wBAAwB,EACxB,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,2CAA2C,EAC1E,mFAAmF,CACpF,CAAC;AAEJ,MAAM,cAAc,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,EAAE,CACxC,KAAK,CACH,wCAAwC,EACxC,MAAM,CAAC,CAAC,CAAC,uDAAuD,CAAC,CAAC,CAAC,EAAE,CACtE,CAAC"}
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export const HeaderItem = JSX(({ className = '',
|
|
6
|
-
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
export const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
|
|
6
|
+
const link = useLink();
|
|
7
|
+
const { href, target, text, onClick } = link(rest);
|
|
8
|
+
return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [_jsx("span", { className: getTextStyle(active), children: text || children }), active ? _jsx("div", { className: getBorderStyle(active) }) : null] }));
|
|
7
9
|
});
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
if (bgColor === 'bg-white') {
|
|
11
|
-
classes = active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main';
|
|
12
|
-
}
|
|
13
|
-
return `${classes} ${TEXT_CLASSES}`;
|
|
14
|
-
};
|
|
15
|
-
const getBorderClasses = (bgColor, active = false) => {
|
|
16
|
-
if (!active) {
|
|
17
|
-
return BORDER_CLASSES;
|
|
18
|
-
}
|
|
19
|
-
return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
|
|
20
|
-
};
|
|
10
|
+
const getTextStyle = (active = false) => style('font-sans text-s', active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
|
|
11
|
+
const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
|
|
21
12
|
//# sourceMappingURL=HeaderItem.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderItem.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderItem.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAK1C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,aACE,SAAS,EAAE,iEAAiE,SAAS,EAAE,EACvF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,oBACE,YAAY,EAC5B,OAAO,EAAE,OAAO,aAEhB,eAAM,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,EAC/D,MAAM,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,IACzD,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,EAAE,CACtC,KAAK,CACH,kBAAkB,EAClB,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,6CAA6C,EAC5E,mFAAmF,CACpF,CAAC;AAEJ,MAAM,cAAc,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,EAAE,CACxC,KAAK,CACH,wCAAwC,EACxC,MAAM,CAAC,CAAC,CAAC,uDAAuD,CAAC,CAAC,CAAC,EAAE,CACtE,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
|
|
3
|
+
const styles = {
|
|
4
4
|
h0: 'text-h0',
|
|
5
5
|
h1: 'text-h1',
|
|
6
6
|
h2: 'text-h2',
|
|
@@ -9,8 +9,5 @@ const HEADING_STYLE_MAP = {
|
|
|
9
9
|
h5: 'text-h5',
|
|
10
10
|
h6: 'text-h6', // 20
|
|
11
11
|
};
|
|
12
|
-
export const Heading = JSX((
|
|
13
|
-
const { className = '', headingType = 'h3', title, as: Tag = 'h3' } = props;
|
|
14
|
-
return (_jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
|
|
15
|
-
});
|
|
12
|
+
export const Heading = JSX(({ className = '', headingType = 'h3', as: Tag = 'h3', title, children }) => (_jsx(Tag, { className: `font-sans m-0 ${styles[headingType]} ${className}`, children: title || children })));
|
|
16
13
|
//# sourceMappingURL=Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,MAAM,GAAgC;IAC1C,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS,EAAE,KAAK;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,GAAG,IAAI,EAAE,EAAE,EAAE,GAAG,GAAG,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,GAAG,IAAC,SAAS,EAAE,iBAAiB,MAAM,CAAC,WAAW,CAAC,IAAI,SAAS,EAAE,YAAG,KAAK,IAAI,QAAQ,GAAO,CAC/F,CACF,CAAC"}
|
package/lib/ui-kit/Icon/Icon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { projectSettings } from '../../ProjectSettings.js';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
4
5
|
const svgUseStyleMap = {
|
|
5
6
|
normal: '',
|
|
6
7
|
color: 'text-primary-main',
|
|
@@ -10,16 +11,10 @@ const svgUseStyleMap = {
|
|
|
10
11
|
export const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
|
|
11
12
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
12
13
|
if (asSVG && iconVersion !== 'normal') {
|
|
13
|
-
return (_jsx(Background, { className: className, children: _jsxs("svg", { className: [
|
|
14
|
-
getSvgSize(className, imgProps.width),
|
|
15
|
-
svgUseStyleMap[iconVersion],
|
|
16
|
-
imageClassName,
|
|
17
|
-
getInvertStyle(iconVersion),
|
|
18
|
-
].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
14
|
+
return (_jsx(Background, { className: className, children: _jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
19
15
|
}
|
|
20
16
|
return (_jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
|
|
21
17
|
});
|
|
22
|
-
const
|
|
23
|
-
const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
|
|
18
|
+
const getSvgSize = (width) => (width ? '' : 'w-full h-full');
|
|
24
19
|
const Background = JSX(({ className, children }) => className ? _jsx("div", { className: className, children: children }) : children);
|
|
25
20
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,cAAc,GAAG,EAAE,EACnB,IAAI,GAAG,EAAE,EACT,GAAG,GAAG,UAAU,IAAI,EAAE,EACtB,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,OAAO,EACrB,KAAK,EACL,GAAG,QAAQ,EACZ,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,IAAI,WAAW,KAAK,QAAQ,EAAE;QACrC,OAAO,CACL,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,YAC9B,eACE,SAAS,EAAE,KAAK,CACd,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC1B,cAAc,CAAC,WAAW,CAAC,EAC3B,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EACvC,cAAc,CACf,KACG,QAAQ,iBACA,MAAM,aAEjB,KAAK,CAAC,CAAC,CAAC,0BAAQ,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EACrC,GAAG,CAAC,CAAC,CAAC,yBAAO,GAAG,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChC,cAAK,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,OAAO,GAAI,IACpD,GACK,CACd,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;AAEtE,MAAM,UAAU,GAAG,GAAG,CAAyB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CACzE,SAAS,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAO,CAAC,CAAC,CAAC,QAAQ,CACnE,CAAC"}
|
|
@@ -3,12 +3,12 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Img } from '../Img/Img.js';
|
|
4
4
|
const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
|
|
5
5
|
text-l-light bg-white text-primary-text flex w-[316px]
|
|
6
|
-
justify-between items-center group-hover:text-primary-main z-10`;
|
|
6
|
+
justify-between items-center group-hover/link:text-primary-main z-10`;
|
|
7
7
|
const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
|
|
8
8
|
export const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
|
|
9
9
|
if (!text) {
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
12
|
-
return (_jsxs("div", { className: `relative group cursor-pointer w-[328px] h-[82px] ${className}`, children: [_jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [_jsx("div", { className: "p-0.5", children: text }), _jsx("div", { className: "w-6 h-6", children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
|
|
12
|
+
return (_jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [_jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [_jsx("div", { className: "p-0.5", children: text }), _jsx("div", { className: "w-6 h-6", children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=LinkButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/LinkButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,eAAe,GAAG;;
|
|
1
|
+
{"version":3,"file":"LinkButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/LinkButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,eAAe,GAAG;;uEAE+C,CAAC;AAExE,MAAM,sBAAsB,GAC1B,sEAAsE,CAAC;AAMzE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACnD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,eAAK,SAAS,EAAE,yDAAyD,SAAS,EAAE,aAClF,aAAG,SAAS,EAAE,eAAe,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aACnE,cAAK,SAAS,EAAC,OAAO,YAAE,IAAI,GAAO,EACnC,cAAK,SAAS,EAAC,SAAS,YACtB,KAAC,GAAG,IACF,SAAS,EAAC,8FAA8F,EACxG,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EACvD,cAAc,EAAC,oCAAoC,EACnD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACE,IACJ,EACJ,cAAK,SAAS,EAAE,GAAG,sBAAsB,gBAAgB,GAAI,EAC7D,cAAK,SAAS,EAAE,GAAG,sBAAsB,YAAY,GAAI,IACrD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/ui-kit/List/List.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { ListItem } from './ListItem.js';
|
|
4
|
-
const TEXT_STYLE_MAP = {
|
|
5
|
-
primary: 'text-primary-text',
|
|
6
|
-
secondary: 'text-white',
|
|
7
|
-
gray: 'text-secondary-text',
|
|
8
|
-
};
|
|
9
4
|
const TEXT_SIZE_MAP = {
|
|
10
5
|
S: 'text-l-light',
|
|
11
6
|
M: 'text-h6',
|
|
@@ -16,11 +11,5 @@ const ITEM_INDENT_MAP = {
|
|
|
16
11
|
M: 'ml-3',
|
|
17
12
|
L: 'ml-4',
|
|
18
13
|
};
|
|
19
|
-
export const List = JSX((
|
|
20
|
-
const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
|
|
21
|
-
if (!items?.length) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return (_jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (_jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
|
|
25
|
-
});
|
|
14
|
+
export const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (_jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (_jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
|
|
26
15
|
//# sourceMappingURL=List.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CACzF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,kBACE,SAAS,EAAE,yFACT,aAAa,CAAC,YAAY,CAC5B,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,QAAQ,IAEP,SAAS,EAAE,GAAG,aAAa,SAAS,EACpC,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,YAAY,YAEjB,IAAI,IALA,MAAM,CAAC,CAAC,CAAC,CAML,CACZ,CAAC,GACM,CACX,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { ListItemSize
|
|
1
|
+
import type { ListItemSize } from './ListProps';
|
|
2
2
|
/**
|
|
3
3
|
* @title Параметры элемента списка
|
|
4
4
|
*/
|
|
5
5
|
export interface ListItemProps {
|
|
6
6
|
className?: string;
|
|
7
|
-
version?: ListItemVersion;
|
|
8
7
|
text?: string;
|
|
9
8
|
isDotted?: boolean;
|
|
10
9
|
size?: ListItemSize;
|
|
@@ -1,16 +1,9 @@
|
|
|
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 LIST_DOT_STYLE_MAP = {
|
|
4
|
-
primary: 'bg-primary-text',
|
|
5
|
-
secondary: 'bg-white',
|
|
6
|
-
gray: 'bg-secondary-text',
|
|
7
|
-
};
|
|
8
3
|
const DOT_SIZE_MAP = {
|
|
9
4
|
L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
|
|
10
5
|
M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
|
|
11
6
|
S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
|
|
12
7
|
};
|
|
13
|
-
export const ListItem = JSX(({ className = '', isDotted = true, children,
|
|
14
|
-
return (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (_jsx("div", { children: _jsx("div", { className: `rounded-full align-middle inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` }) })) : null, _jsx("span", { children: children })] }));
|
|
15
|
-
});
|
|
8
|
+
export const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (_jsx("div", { children: _jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, _jsx("span", { children: children })] })));
|
|
16
9
|
//# sourceMappingURL=ListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,YAAY,GAAG;IACnB,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,8BAA8B;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CAC7D,eAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,CAAC,CAAC,CAAC,CACV,wBACE,cACE,SAAS,EAAE,wFAAwF,YAAY,CAAC,IAAI,CAAC,EAAE,GACvH,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,QAAQ,GAAQ,IACnB,CACP,CACF,CAAC"}
|
|
@@ -4,11 +4,6 @@ import type { ListContent } from './ListContent';
|
|
|
4
4
|
* @enumNames ["Маленький", "Средний", "Большой"]
|
|
5
5
|
*/
|
|
6
6
|
export declare type ListItemSize = 'S' | 'M' | 'L';
|
|
7
|
-
/**
|
|
8
|
-
* @title Версия списка
|
|
9
|
-
* @enumNames ["Основной", "Второстепенный", "Серый"]
|
|
10
|
-
*/
|
|
11
|
-
export declare type ListItemVersion = 'primary' | 'secondary' | 'gray';
|
|
12
7
|
/**
|
|
13
8
|
* @title Содержимое списка
|
|
14
9
|
*/
|
|
@@ -22,5 +17,4 @@ export interface ListProps extends ListContent {
|
|
|
22
17
|
/** @title Буллиты */
|
|
23
18
|
isDotted?: boolean;
|
|
24
19
|
listItemSize?: ListItemSize;
|
|
25
|
-
version?: ListItemVersion;
|
|
26
20
|
}
|
|
@@ -33,7 +33,7 @@ const renderRegion = ({ onChangeLocation, close }) => (region) => (_jsx("div", {
|
|
|
33
33
|
onChangeLocation && onChangeLocation(region);
|
|
34
34
|
close && close();
|
|
35
35
|
}, children: region.name || '' }) }, region.id));
|
|
36
|
-
const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [_jsx("div", { className: "mb-4", children: _jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
|
|
36
|
+
const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [_jsx("div", { className: "mb-4", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
|
|
37
37
|
const ForeignOffice = JSX(({ icon, ...rest }) => {
|
|
38
38
|
const link = useLink();
|
|
39
39
|
const { text, target, href, onClick } = link(rest);
|