@redneckz/wildless-cms-uni-blocks 0.12.4 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.12.3.js +2 -0
- package/bin/migration-scripts/0.9.10.js +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +99 -171
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -0
- package/bundle/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +3 -0
- package/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/bundle/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +4 -0
- package/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/bundle/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/bundle/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +2 -2
- package/bundle/components/Tabs/tabItemClasses.d.ts +2 -3
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/bundle/ui-kit/BenefitItem/renderBenefitDescription.d.ts +2 -0
- package/bundle/ui-kit/BenefitItem/renderBenefitIcon.d.ts +4 -0
- package/bundle/ui-kit/BenefitItem/renderBenefitLabel.d.ts +2 -0
- package/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +3 -0
- package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/bundle/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/bundle/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/bundle/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/cosmos-static/icons/BelarusianFlag.svg +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -6
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +4 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
- package/dist/components/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +4 -18
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js +4 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js +4 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js +4 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +4 -0
- package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +3 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +11 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +20 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +4 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +8 -0
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/dist/components/CarouselCatalogCard/CatalogCard.js +20 -0
- package/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +5 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/dist/components/CarouselProgramsCard/programCardStyles.js +5 -0
- package/dist/components/CarouselProgramsCard/programCardStyles.js.map +1 -0
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +2 -0
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.js +5 -0
- package/dist/components/CarouselProgramsCard/programCardStyles.mobile.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +3 -17
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js +16 -16
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/LinkTab.js +2 -1
- package/dist/components/Tabs/LinkTab.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +3 -2
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/renderGroupTab.js +7 -13
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +2 -3
- package/dist/components/Tabs/tabItemClasses.js +10 -46
- package/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +0 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +3 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -11
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitDescription.d.ts +2 -0
- package/dist/ui-kit/BenefitItem/renderBenefitDescription.js +7 -0
- package/dist/ui-kit/BenefitItem/renderBenefitDescription.js.map +1 -0
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.d.ts +4 -0
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +10 -0
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -0
- package/dist/ui-kit/BenefitItem/renderBenefitLabel.d.ts +2 -0
- package/dist/ui-kit/BenefitItem/renderBenefitLabel.js +7 -0
- package/dist/ui-kit/BenefitItem/renderBenefitLabel.js.map +1 -0
- package/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +3 -0
- package/dist/ui-kit/BenefitItem/renderBenefitText.js +12 -0
- package/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/dist/ui-kit/BenefitsList/BenefitsList.js +3 -9
- package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -1
- package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/dist/ui-kit/BenefitsList/BenefitsListProps.js +2 -0
- package/dist/ui-kit/BenefitsList/BenefitsListProps.js.map +1 -0
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +14 -0
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -0
- package/dist/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/dist/ui-kit/BenefitsList/TabularBenefitsList.js +8 -0
- package/dist/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -0
- package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/dist/ui-kit/CookiePopup/CookiePopup.js +13 -7
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/dist/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/dist/ui-kit/Dialog/useDialogProps.js +9 -7
- package/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js +2 -1
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.js +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/ui-kit/Text/Text.js +2 -1
- package/dist/ui-kit/Text/Text.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/{ui-kit/Heading/Heading.fixture.mobile.d.ts → components/BenefitsBlock/BenefitsBlock.fixture.mobile.d.ts} +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -6
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +2 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
- package/lib/components/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.mobile.d.ts +7 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +4 -18
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js +2 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js +2 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js +2 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +2 -0
- package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +2 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +8 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +17 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +3 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +5 -0
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +0 -11
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +6 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/lib/components/CarouselCatalogCard/CatalogCard.js +18 -0
- package/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +7 -0
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +5 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/lib/components/CarouselProgramsCard/programCardStyles.js +3 -0
- package/lib/components/CarouselProgramsCard/programCardStyles.js.map +1 -0
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.d.ts +2 -0
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.js +3 -0
- package/lib/components/CarouselProgramsCard/programCardStyles.mobile.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +4 -18
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +6 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js +16 -16
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/LinkTab.js +3 -2
- package/lib/components/Tabs/LinkTab.js.map +1 -1
- package/lib/components/Tabs/Tabs.fixture.mobile.d.ts +8 -0
- package/lib/components/Tabs/Tabs.js +3 -2
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/Tabs/renderGroupTab.d.ts +0 -1
- package/lib/components/Tabs/renderGroupTab.js +9 -15
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/Tabs/renderTab.d.ts +0 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +2 -3
- package/lib/components/Tabs/tabItemClasses.js +8 -43
- package/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +0 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +3 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -11
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitDescription.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/renderBenefitDescription.js +4 -0
- package/lib/ui-kit/BenefitItem/renderBenefitDescription.js.map +1 -0
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.d.ts +3 -0
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +7 -0
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -0
- package/lib/ui-kit/BenefitItem/renderBenefitLabel.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/renderBenefitLabel.js +4 -0
- package/lib/ui-kit/BenefitItem/renderBenefitLabel.js.map +1 -0
- package/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +2 -0
- package/lib/ui-kit/BenefitItem/renderBenefitText.js +9 -0
- package/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/lib/ui-kit/BenefitsList/BenefitsList.js +3 -9
- package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -1
- package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/lib/ui-kit/BenefitsList/BenefitsListProps.js +2 -0
- package/lib/ui-kit/BenefitsList/BenefitsListProps.js.map +1 -0
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +12 -0
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -0
- package/lib/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/lib/ui-kit/BenefitsList/TabularBenefitsList.js +6 -0
- package/lib/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -0
- package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/lib/ui-kit/CookiePopup/CookiePopup.js +12 -6
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/lib/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/lib/ui-kit/Dialog/useDialogProps.js +9 -7
- package/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js +2 -1
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.js +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/lib/ui-kit/Text/Text.js +2 -1
- package/lib/ui-kit/Text/Text.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +547 -361
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/mobile/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +3 -0
- package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/mobile/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/mobile/bundle/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +2 -2
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -3
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitDescription.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitIcon.d.ts +4 -0
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitLabel.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +3 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/mobile/bundle/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -6
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/mobile/dist/components/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +4 -18
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js +4 -0
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js +4 -0
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js.map +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +3 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +11 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +8 -0
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js +20 -0
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js.map +1 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +5 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/mobile/dist/components/CarouselProgramsCard/programCardStyles.js +5 -0
- package/mobile/dist/components/CarouselProgramsCard/programCardStyles.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +3 -17
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js +16 -16
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/LinkTab.js +2 -1
- package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +3 -2
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js +7 -13
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -3
- package/mobile/dist/components/Tabs/tabItemClasses.js +10 -46
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +3 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -11
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitDescription.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitDescription.js +7 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitDescription.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.d.ts +4 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +10 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitLabel.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitLabel.js +7 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitLabel.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +3 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js +12 -0
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +3 -9
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.js +2 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +14 -0
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/mobile/dist/ui-kit/BenefitsList/TabularBenefitsList.js +8 -0
- package/mobile/dist/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -0
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +13 -7
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js +9 -7
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +2 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/dist/ui-kit/Text/Text.js +2 -1
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -6
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/mobile/lib/components/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +4 -18
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js +2 -0
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js +2 -0
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js.map +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.d.ts +3 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +8 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +4 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +5 -0
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.d.ts +9 -0
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js +18 -0
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js.map +1 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +5 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/programCardStyles.d.ts +2 -0
- package/mobile/lib/components/CarouselProgramsCard/programCardStyles.js +3 -0
- package/mobile/lib/components/CarouselProgramsCard/programCardStyles.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +4 -18
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -26
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js +16 -16
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/LinkTab.js +3 -2
- package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +3 -2
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js +9 -15
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -3
- package/mobile/lib/components/Tabs/tabItemClasses.js +8 -43
- package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +3 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +3 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +4 -4
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -11
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitDescription.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitDescription.js +4 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitDescription.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.d.ts +4 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +7 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitLabel.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitLabel.js +4 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitLabel.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +3 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js +9 -0
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +1 -5
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +3 -9
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +3 -1
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +4 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.js +2 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +12 -0
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/TabularBenefitsList.d.ts +2 -0
- package/mobile/lib/ui-kit/BenefitsList/TabularBenefitsList.js +6 -0
- package/mobile/lib/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -0
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +2 -3
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +12 -6
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/useDialogProps.d.ts +3 -1
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js +9 -7
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +2 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/lib/ui-kit/Text/Text.js +2 -1
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/src/common.css +3 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +37 -34
- package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
- package/mobile/src/components/Blocks.ts +6 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +13 -49
- package/mobile/src/components/BonusBenefitsBlock/bonusBenefitAlign.ts +1 -0
- package/mobile/src/components/BonusBenefitsBlock/bonusBenefitStyles.ts +1 -0
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +29 -0
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +14 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +3 -3
- package/mobile/src/components/CarouselCatalogCard/CatalogCard.ts +22 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -11
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -11
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +21 -11
- package/mobile/src/components/CarouselProgramsCard/programCardStyles.ts +2 -0
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -12
- package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +1 -11
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +1 -11
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.example.json +8 -13
- package/mobile/src/components/PictureText/PictureText.tsx +14 -3
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +5 -13
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +20 -16
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -17
- package/mobile/src/components/ProductTile/ProductTile.example.json +7 -12
- package/mobile/src/components/ProductTile/ProductTile.tsx +23 -58
- package/mobile/src/components/ProductTile/ProductTileContent.ts +4 -35
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -3
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +50 -49
- package/mobile/src/components/Tabs/LinkTab.tsx +19 -8
- package/mobile/src/components/Tabs/Tabs.tsx +7 -4
- package/mobile/src/components/Tabs/renderGroupTab.tsx +21 -33
- package/mobile/src/components/Tabs/tabItemClasses.ts +12 -45
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +0 -1
- package/mobile/src/components/Tile/Tile.example.json +7 -13
- package/mobile/src/components/Tile/Tile.tsx +4 -3
- package/mobile/src/icons/BelarusianFlag.svg +4 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +19 -6
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +3 -1
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -49
- package/mobile/src/ui-kit/BenefitItem/renderBenefitDescription.tsx +13 -0
- package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +24 -0
- package/mobile/src/ui-kit/BenefitItem/renderBenefitLabel.tsx +12 -0
- package/mobile/src/ui-kit/BenefitItem/renderBenefitText.tsx +14 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +5 -32
- package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +3 -1
- package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +5 -0
- package/mobile/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +33 -0
- package/mobile/src/ui-kit/BenefitsList/TabularBenefitsList.tsx +17 -0
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +17 -9
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/useDialogProps.ts +11 -9
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +3 -2
- package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +5 -1
- package/mobile/src/ui-kit/Text/Text.tsx +3 -2
- package/mobile/src/ui-kit/Text/TextProps.ts +0 -2
- package/package.json +1 -1
- package/src/common.css +3 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.mobile.tsx +43 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +0 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +37 -34
- package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +1 -0
- package/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
- package/src/components/Blocks.mobile.ts +6 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.mobile.tsx +67 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +13 -49
- package/src/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.ts +1 -0
- package/src/components/BonusBenefitsBlock/bonusBenefitAlign.ts +1 -0
- package/src/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.ts +1 -0
- package/src/components/BonusBenefitsBlock/bonusBenefitStyles.ts +1 -0
- package/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +29 -0
- package/src/components/BonusBenefitsBlock/renderBonusBenefits.mobile.tsx +14 -0
- package/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +27 -0
- package/src/components/Carousel/Carousel.fixture.tsx +13 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +23 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +3 -25
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +3 -3
- package/src/components/CarouselCatalogCard/CatalogCard.ts +22 -0
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -11
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -11
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +34 -0
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -7
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +21 -11
- package/src/components/CarouselProgramsCard/programCardStyles.mobile.ts +2 -0
- package/src/components/CarouselProgramsCard/programCardStyles.ts +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -12
- package/src/components/ErrorBlock/ErrorBlock.example.json +1 -11
- package/src/components/MobileAppTile/MobileAppTile.example.json +1 -11
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/PictureText/PictureText.example.json +8 -13
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +0 -6
- package/src/components/PictureText/PictureText.fixture.tsx +0 -6
- package/src/components/PictureText/PictureText.tsx +14 -3
- package/src/components/ProductBlock/ProductBlock.example.json +5 -13
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -6
- package/src/components/ProductBlock/ProductBlock.tsx +20 -16
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -17
- package/src/components/ProductGallery/ProductGallery.tsx +2 -1
- package/src/components/ProductTile/ProductTile.example.json +7 -12
- package/src/components/ProductTile/ProductTile.fixture.tsx +13 -14
- package/src/components/ProductTile/ProductTile.tsx +23 -58
- package/src/components/ProductTile/ProductTileContent.ts +4 -35
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +47 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +18 -9
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +16 -8
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +50 -49
- package/src/components/Tabs/LinkTab.tsx +19 -8
- package/src/components/Tabs/Tabs.fixture.mobile.tsx +55 -0
- package/src/components/Tabs/Tabs.fixture.tsx +8 -17
- package/src/components/Tabs/Tabs.tsx +7 -4
- package/src/components/Tabs/renderGroupTab.tsx +21 -33
- package/src/components/Tabs/tabItemClasses.ts +12 -45
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +0 -1
- package/src/components/Tile/Tile.example.json +7 -13
- package/src/components/Tile/Tile.fixture.tsx +1 -1
- package/src/components/Tile/Tile.tsx +4 -3
- package/src/icons/BelarusianFlag.svg +4 -0
- package/src/icons/IconName.ts +5 -5
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +19 -6
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +3 -1
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -49
- package/src/ui-kit/BenefitItem/renderBenefitDescription.tsx +13 -0
- package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +24 -0
- package/src/ui-kit/BenefitItem/renderBenefitLabel.tsx +12 -0
- package/src/ui-kit/BenefitItem/renderBenefitText.tsx +14 -0
- package/src/ui-kit/BenefitsList/BenefitsList.tsx +5 -32
- package/src/ui-kit/BenefitsList/BenefitsListContent.ts +3 -1
- package/src/ui-kit/BenefitsList/BenefitsListProps.ts +5 -0
- package/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +33 -0
- package/src/ui-kit/BenefitsList/TabularBenefitsList.tsx +17 -0
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +17 -9
- package/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/src/ui-kit/Dialog/useDialogProps.ts +11 -9
- package/src/ui-kit/Paragraph/Paragraph.tsx +3 -2
- package/src/ui-kit/PhoneInput/PhoneInput.tsx +5 -1
- package/src/ui-kit/Text/Text.tsx +3 -2
- package/src/ui-kit/Text/TextProps.ts +0 -2
- package/tailwind.config.cjs +12 -15
- package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/bundle/components/ProductTile/renderBenefit.d.ts +0 -3
- package/bundle/components/ProductTile/renderImage.d.ts +0 -3
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +0 -1
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +0 -1
- package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +0 -4
- package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/dist/components/MobileAppTile/renderButtonSection.js +0 -1
- package/dist/components/MobileAppTile/renderButtonSection.js.map +0 -1
- package/dist/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/dist/components/ProductTile/renderAdditionalDescription.js +0 -14
- package/dist/components/ProductTile/renderAdditionalDescription.js.map +0 -1
- package/dist/components/ProductTile/renderBenefit.d.ts +0 -3
- package/dist/components/ProductTile/renderBenefit.js +0 -29
- package/dist/components/ProductTile/renderBenefit.js.map +0 -1
- package/dist/components/ProductTile/renderImage.d.ts +0 -3
- package/dist/components/ProductTile/renderImage.js +0 -13
- package/dist/components/ProductTile/renderImage.js.map +0 -1
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +0 -1
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +0 -4
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +0 -1
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/dist/ui-kit/BenefitItem/labelSize.js +0 -4
- package/dist/ui-kit/BenefitItem/labelSize.js.map +0 -1
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +0 -1
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +0 -4
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +0 -1
- package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +0 -4
- package/dist/ui-kit/BenefitsList/renderBenefit.js +0 -13
- package/dist/ui-kit/BenefitsList/renderBenefit.js.map +0 -1
- package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/lib/components/MobileAppTile/renderButtonSection.js +0 -1
- package/lib/components/MobileAppTile/renderButtonSection.js.map +0 -1
- package/lib/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/lib/components/ProductTile/renderAdditionalDescription.js +0 -11
- package/lib/components/ProductTile/renderAdditionalDescription.js.map +0 -1
- package/lib/components/ProductTile/renderBenefit.d.ts +0 -2
- package/lib/components/ProductTile/renderBenefit.js +0 -26
- package/lib/components/ProductTile/renderBenefit.js.map +0 -1
- package/lib/components/ProductTile/renderImage.d.ts +0 -3
- package/lib/components/ProductTile/renderImage.js +0 -10
- package/lib/components/ProductTile/renderImage.js.map +0 -1
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +0 -1
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +0 -2
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +0 -1
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/lib/ui-kit/BenefitItem/labelSize.js +0 -2
- package/lib/ui-kit/BenefitItem/labelSize.js.map +0 -1
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +0 -1
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +0 -2
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +0 -1
- package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +0 -3
- package/lib/ui-kit/BenefitsList/renderBenefit.js +0 -10
- package/lib/ui-kit/BenefitsList/renderBenefit.js.map +0 -1
- package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +0 -3
- package/mobile/bundle/components/ProductTile/renderImage.d.ts +0 -3
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +0 -4
- package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js +0 -1
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +0 -1
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +0 -14
- package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +0 -1
- package/mobile/dist/components/ProductTile/renderBenefit.d.ts +0 -3
- package/mobile/dist/components/ProductTile/renderBenefit.js +0 -29
- package/mobile/dist/components/ProductTile/renderBenefit.js.map +0 -1
- package/mobile/dist/components/ProductTile/renderImage.d.ts +0 -3
- package/mobile/dist/components/ProductTile/renderImage.js +0 -13
- package/mobile/dist/components/ProductTile/renderImage.js.map +0 -1
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +0 -4
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +0 -1
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +0 -4
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +0 -13
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +0 -1
- package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js +0 -1
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +0 -1
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +0 -3
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +0 -11
- package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +0 -1
- package/mobile/lib/components/ProductTile/renderBenefit.d.ts +0 -3
- package/mobile/lib/components/ProductTile/renderBenefit.js +0 -26
- package/mobile/lib/components/ProductTile/renderBenefit.js.map +0 -1
- package/mobile/lib/components/ProductTile/renderImage.d.ts +0 -3
- package/mobile/lib/components/ProductTile/renderImage.js +0 -10
- package/mobile/lib/components/ProductTile/renderImage.js.map +0 -1
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +0 -1
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +0 -2
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +0 -1
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +0 -4
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +0 -10
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +0 -1
- package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +0 -19
- package/mobile/src/components/ProductTile/renderBenefit.tsx +0 -41
- package/mobile/src/components/ProductTile/renderImage.tsx +0 -16
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +0 -1
- package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +0 -14
- package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/src/components/ProductTile/renderAdditionalDescription.tsx +0 -19
- package/src/components/ProductTile/renderBenefit.tsx +0 -41
- package/src/components/ProductTile/renderImage.tsx +0 -16
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +0 -1
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +0 -1
- package/src/ui-kit/BenefitItem/labelSize.tsx +0 -1
- package/src/ui-kit/BenefitsList/renderBenefit.tsx +0 -14
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +0 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated. Do not touch
|
|
2
2
|
/* eslint-disable max-len, max-lines */
|
|
3
3
|
export const IconsWithoutInversion = new Set([
|
|
4
|
-
'ActualBalanceIcon', 'AirPlaneIcon', 'BagIcon', 'BriefcaseIcon', 'CardWithGemIcon', 'CarIcon', 'ChevronLeft', 'CinemaIcon', 'ClientIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'HeadphonesIcon', 'HeartIcon', 'HuaweiIcon', 'InterestGrowthIcon', 'JCBIcon', 'MailIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'PhoneIcon', 'PowerIcon', 'PumpkinIcon', 'ResponceFailIcon', 'ResponceOKIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
|
|
4
|
+
'ActualBalanceIcon', 'AirPlaneIcon', 'BagIcon', 'BelarusianFlag', 'BriefcaseIcon', 'CardWithGemIcon', 'CarIcon', 'ChevronLeft', 'CinemaIcon', 'ClientIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'HeadphonesIcon', 'HeartIcon', 'HuaweiIcon', 'InterestGrowthIcon', 'JCBIcon', 'MailIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'PhoneIcon', 'PowerIcon', 'PumpkinIcon', 'ResponceFailIcon', 'ResponceOKIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
|
|
5
5
|
]);
|
|
6
6
|
export var IconMap;
|
|
7
7
|
(function (IconMap) {
|
|
@@ -18,6 +18,7 @@ export var IconMap;
|
|
|
18
18
|
IconMap["AtmIcon"] = "AtmIcon";
|
|
19
19
|
IconMap["BagIcon"] = "BagIcon";
|
|
20
20
|
IconMap["BankIcon"] = "BankIcon";
|
|
21
|
+
IconMap["BelarusianFlag"] = "BelarusianFlag";
|
|
21
22
|
IconMap["BriefcaseIcon"] = "BriefcaseIcon";
|
|
22
23
|
IconMap["BuildingIcon"] = "BuildingIcon";
|
|
23
24
|
IconMap["BurgerIcon"] = "BurgerIcon";
|
|
@@ -132,6 +133,7 @@ export var IconTitleMap;
|
|
|
132
133
|
IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
|
|
133
134
|
IconTitleMap["BagIcon"] = "\u0421\u0443\u043C\u043A\u0430";
|
|
134
135
|
IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
|
|
136
|
+
IconTitleMap["BelarusianFlag"] = "\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439 \u0444\u043B\u0430\u0433";
|
|
135
137
|
IconTitleMap["BriefcaseIcon"] = "BriefcaseIcon";
|
|
136
138
|
IconTitleMap["BuildingIcon"] = "\u0417\u0434\u0430\u043D\u0438\u0435 \u0441 \u0434\u0435\u0440\u0435\u0432\u043E\u043C";
|
|
137
139
|
IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconName.js","sourceRoot":"","sources":["../../src/icons/IconName.ts"],"names":[],"mappings":"AACA,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AAE,4EAA8B,CAAA;AAC96G,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
1
2
|
import type { BaseProductTileContent } from './BaseProductTileContent';
|
|
2
|
-
interface BaseProductTileProps extends BaseProductTileContent {
|
|
3
|
-
className?: string;
|
|
3
|
+
interface BaseProductTileProps extends UniBlockProps, BaseProductTileContent {
|
|
4
4
|
isInsetTitle?: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const BaseProductTile: import("@redneckz/uni-jsx").UNIComponent<BaseProductTileProps, any, any>;
|
|
@@ -8,9 +8,10 @@ import { Img } from '../Img/Img.js';
|
|
|
8
8
|
import { List } from '../List/List.js';
|
|
9
9
|
import { RichText } from '../RichText/RichText.js';
|
|
10
10
|
import { Tags } from '../Tags/Tags.js';
|
|
11
|
-
export const BaseProductTile = JSX(({ className, title, description, headlineVersion = 'L', align = 'text-left', isInsetTitle = true,
|
|
11
|
+
export const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', isInsetTitle = true, benefitsVersion, isTabularBenefits, benefits, __html, items, isDotted = true, listItemSize, tags, buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground } = {}, children, }) => {
|
|
12
12
|
const img = image?.src ? _jsx(Img, { image: image }) : null;
|
|
13
13
|
const headline = (_jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isPadding: false }));
|
|
14
|
-
return (_jsx(BaseTile, { className: className, ...(isInsetTitle ? { insetTitle: headline } : { title: headline }), ...(
|
|
14
|
+
return (_jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isInsetTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: _jsxs("div", { className: "flex flex-col gap-m", children: [_jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: benefits }), __html ? _jsx(RichText, { __html: __html }) : null, items?.length ? (_jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, tags?.length ? _jsx(Tags, { tags: tags }) : null] }) }));
|
|
15
15
|
});
|
|
16
|
+
const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
|
|
16
17
|
//# sourceMappingURL=BaseProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOpC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EACC,SAAS,EACT,OAAO,EACP,cAAc,EACd,KAAK,EACL,WAAW,EACX,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,WA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,CAAC,CAAC,IAAI,EAC5C,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,GAAI,CACvE,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,EACR,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,IACvC,GACG,CACZ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,GAAU,EAAE,cAAuB,EAAE,EAAE,CAC/D,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -8,15 +8,16 @@ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
|
8
8
|
import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
|
|
9
9
|
import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
10
10
|
/** @title Доп. настройки картинки */
|
|
11
|
-
interface TileImageOptions {
|
|
11
|
+
export interface TileImageOptions {
|
|
12
12
|
/** @title Картинка справа/текст слева */
|
|
13
13
|
directionRight?: boolean;
|
|
14
14
|
/** @title Выравнивание изображения */
|
|
15
15
|
imageAlign?: Align;
|
|
16
|
+
/** @title Фоновое изображение */
|
|
17
|
+
isBackground?: boolean;
|
|
16
18
|
}
|
|
17
19
|
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonContent & ImageContent & {
|
|
18
20
|
/** @title Лейбл (моб.) */
|
|
19
21
|
label?: string;
|
|
20
22
|
imageOptions?: TileImageOptions;
|
|
21
23
|
};
|
|
22
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IconVersion } from '../../model/IconVersion';
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
2
|
+
import type { ComplexBenefitContent } from './BenefitItemContent';
|
|
3
|
+
export declare type BenefitItemProps = ComplexBenefitContent & {
|
|
4
4
|
className?: string;
|
|
5
5
|
benefitsVersion?: IconVersion;
|
|
6
|
-
}
|
|
7
|
-
export declare const BenefitItem: import("@redneckz/uni-jsx").UNIComponent<
|
|
6
|
+
};
|
|
7
|
+
export declare const BenefitItem: import("@redneckz/uni-jsx").UNIComponent<BenefitItemProps, any, any>;
|
|
@@ -1,15 +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 { style } from '../../utils/style.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
import { labelSize } from './labelSize.js';
|
|
8
|
-
export const BenefitItem = JSX(({ className, icon, label, description, benefitsVersion = 'normal' }) => (_jsxs("div", { className: style('flex gap-s', description ? 'items-start' : 'items-center', className), children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? (_jsx(Text, { color: "text-primary-text group-data-secondary:text-white", size: labelSize, children: label })) : null, description ? (_jsx(Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
|
|
9
|
-
function getBenefitIconBgStyle(benefitsVersion) {
|
|
10
|
-
const bgColorStyle = benefitsVersion === 'normal'
|
|
11
|
-
? 'bg-secondary-light text-primary-main'
|
|
12
|
-
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black';
|
|
13
|
-
return style('w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon', bgColorStyle);
|
|
14
|
-
}
|
|
4
|
+
import { renderBenefitIcon } from './renderBenefitIcon.js';
|
|
5
|
+
import { renderBenefitText } from './renderBenefitText.js';
|
|
6
|
+
export const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (_jsxs("div", { className: style('flex gap-s', 'description' in _ && _.description ? 'items-start' : 'items-center', className), children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, _jsx("div", { children: renderBenefitText(_) })] })));
|
|
15
7
|
//# sourceMappingURL=BenefitItem.js.map
|
|
@@ -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;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,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;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAOxD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CACzF,eACE,SAAS,EAAE,KAAK,CACd,YAAY,EACZ,aAAa,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,EACpE,SAAS,CACV,aAEA,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,EAChE,wBAAM,iBAAiB,CAAC,CAAC,CAAC,GAAO,IAC7B,CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Paragraph } from '../Paragraph/Paragraph.js';
|
|
3
|
+
export const renderBenefitDescription = (description, i) => description ? (_jsx(Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description }, `description-${i}`)) : null;
|
|
4
|
+
//# sourceMappingURL=renderBenefitDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefitDescription.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitDescription.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,WAAoB,EAAE,CAAU,EAAE,EAAE,CAC3E,WAAW,CAAC,CAAC,CAAC,CACZ,KAAC,SAAS,IAER,IAAI,EAAC,YAAY,EACjB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,qDAAqD,YAE1D,WAAW,IALP,eAAe,CAAC,EAAE,CAMb,CACb,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (_jsx("div", { className: style('w-12 h-12 min-w-12 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
|
|
5
|
+
? 'bg-secondary-light text-primary-main'
|
|
6
|
+
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: _jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
|
|
7
|
+
//# sourceMappingURL=renderBenefitIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefitIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitIcon.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAAyB,EACzB,kBAA+B,QAAQ,EACvC,EAAE,CACF,IAAI,CAAC,CAAC,CAAC,CACL,cACE,SAAS,EAAE,KAAK,CACd,6EAA6E,EAC7E,eAAe,KAAK,QAAQ;QAC1B,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,6FAA6F,CAClG,YAED,KAAC,GAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,eAAe,EAAE,GACpE,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Text } from '../Text/Text.js';
|
|
3
|
+
export const renderBenefitLabel = (label, i) => label ? (_jsx(Text, { color: "text-primary-text group-data-secondary:text-white", size: "text-h6", children: label }, `label-${i}`)) : null;
|
|
4
|
+
//# sourceMappingURL=renderBenefitLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefitLabel.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitLabel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAE,CAAU,EAAE,EAAE,CAC/D,KAAK,CAAC,CAAC,CAAC,CACN,KAAC,IAAI,IAEH,KAAK,EAAC,mDAAmD,EACzD,IAAI,EAAC,SAAS,YAEb,KAAK,IAJD,SAAS,CAAC,EAAE,CAKZ,CACR,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { RichText } from '../RichText/RichText.js';
|
|
3
|
+
import { renderBenefitDescription } from './renderBenefitDescription.js';
|
|
4
|
+
import { renderBenefitLabel } from './renderBenefitLabel.js';
|
|
5
|
+
export const renderBenefitText = (_, i) => _.type === 'rte' && '__html' in _ && _.__html ? (_jsx(RichText, { ..._ }, `rte-${i}`)) : ([
|
|
6
|
+
'label' in _ ? renderBenefitLabel(_.label, i) : null,
|
|
7
|
+
'description' in _ ? renderBenefitDescription(_.description, i) : null,
|
|
8
|
+
]);
|
|
9
|
+
//# sourceMappingURL=renderBenefitText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderBenefitText.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAwB,EAAE,CAAU,EAAE,EAAE,CACxE,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,QAAQ,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAC9C,KAAC,QAAQ,OAAsB,CAAC,IAAjB,OAAO,CAAC,EAAE,CAAW,CACrC,CAAC,CAAC,CAAC,CACF;IACE,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;IACpD,aAAa,IAAI,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;CACvE,CACF,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
interface BenefitsListProps extends BenefitsListContent {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
1
|
+
import { BenefitsListProps } from './BenefitsListProps';
|
|
5
2
|
export declare const BenefitsList: import("@redneckz/uni-jsx").UNIComponent<BenefitsListProps, any, any>;
|
|
6
|
-
export {};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const MAX_BENEFITS_LEN_DEVIATION = 16;
|
|
7
|
-
const benefitLength = (_) => _.type === 'rte'
|
|
8
|
-
? _.__html?.length || 0
|
|
9
|
-
: Math.max(_.label?.length || 0, _.description?.length || 0);
|
|
10
|
-
const isDistortedBenefits = (benefits) => deviation(benefits.map(benefitLength)) > MAX_BENEFITS_LEN_DEVIATION;
|
|
11
|
-
export const BenefitsList = JSX(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? (_jsx("div", { className: style('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), children: benefits.map(renderBenefit(benefitsVersion)) })) : null);
|
|
3
|
+
import { DefaultBenefitsList } from './DefaultBenefitsList.js';
|
|
4
|
+
import { TabularBenefitsList } from './TabularBenefitsList.js';
|
|
5
|
+
export const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? _jsx(TabularBenefitsList, { ...rest }) : _jsx(DefaultBenefitsList, { ...rest }));
|
|
12
6
|
//# sourceMappingURL=BenefitsList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsList.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/BenefitsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"BenefitsList.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/BenefitsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CACpF,iBAAiB,CAAC,CAAC,CAAC,KAAC,mBAAmB,OAAK,IAAI,GAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,OAAK,IAAI,GAAI,CAC1F,CAAC"}
|
|
@@ -5,10 +5,12 @@ import type { ComplexBenefitContent } from '../BenefitItem/BenefitItemContent';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface BenefitsListContent {
|
|
7
7
|
benefitsVersion?: IconVersion;
|
|
8
|
+
/** @title Табличный вид преимуществ */
|
|
9
|
+
isTabularBenefits?: boolean;
|
|
8
10
|
/**
|
|
9
11
|
* @title Список преимуществ
|
|
10
12
|
* @minItems 2
|
|
11
|
-
* @maxItems
|
|
13
|
+
* @maxItems 8
|
|
12
14
|
*/
|
|
13
15
|
benefits?: ComplexBenefitContent[];
|
|
14
16
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsListProps.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/BenefitsListProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { deviation } from '../../utils/deviation.js';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
import { BenefitItem } from '../BenefitItem/BenefitItem.js';
|
|
6
|
+
const MAX_BENEFITS_LEN_DEVIATION = 16;
|
|
7
|
+
const benefitLength = (_) => _.type === 'rte'
|
|
8
|
+
? _.__html?.length || 0
|
|
9
|
+
: Math.max(_.label?.length || 0, _.description?.length || 0);
|
|
10
|
+
const isDistortedBenefits = (benefits) => deviation(benefits.map(benefitLength)) > MAX_BENEFITS_LEN_DEVIATION;
|
|
11
|
+
export const DefaultBenefitsList = JSX(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? (_jsx("div", { className: style('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), children: benefits.map((_, i) => (_jsx(BenefitItem, { benefitsVersion: benefitsVersion, ..._ }, String(i)))) })) : null);
|
|
12
|
+
//# sourceMappingURL=DefaultBenefitsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultBenefitsList.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/DefaultBenefitsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAIzD,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,aAAa,GAAG,CAAC,CAAwB,EAAE,EAAE,CACjD,CAAC,CAAC,IAAI,KAAK,KAAK;IACd,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC;IACvB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC;AAEjE,MAAM,mBAAmB,GAAG,CAAC,QAAiC,EAAE,EAAE,CAChE,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,GAAG,0BAA0B,CAAC;AAEtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,CACtD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,cACE,SAAS,EAAE,KAAK,CACd,sBAAsB,EACtB,mBAAmB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,EACxD,SAAS,CACV,YAEA,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,WAAW,IAAiB,eAAe,EAAE,eAAe,KAAM,CAAC,IAAlD,MAAM,CAAC,CAAC,CAAC,CAA6C,CACzE,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { style } from '../../utils/style.js';
|
|
4
|
+
import { renderBenefitText } from '../BenefitItem/renderBenefitText.js';
|
|
5
|
+
export const TabularBenefitsList = JSX(({ className, benefits }) => benefits?.length ? (_jsx("div", { className: style('grid grid-cols-[max-content_1fr] auto-rows-auto items-baseline gap-x-m gap-y-xs', className), children: benefits.flatMap(renderBenefitText) })) : null);
|
|
6
|
+
//# sourceMappingURL=TabularBenefitsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabularBenefitsList.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitsList/TabularBenefitsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAoB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CACpF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,cACE,SAAS,EAAE,KAAK,CACd,iFAAiF,EACjF,SAAS,CACV,YAEA,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
2
|
-
|
|
2
|
+
interface CookiePopupProps {
|
|
3
3
|
termLink?: LinkCommonProps;
|
|
4
4
|
personalDataPolicyLink?: LinkCommonProps;
|
|
5
5
|
}
|
|
6
|
-
export declare const COOKIE_DIALOG_ID = "cookie";
|
|
7
|
-
export declare const LOCAL_STORAGE_NAME = "cookieClose";
|
|
8
6
|
export declare const CookiePopup: import("@redneckz/uni-jsx").UNIComponent<CookiePopupProps, any, any>;
|
|
7
|
+
export {};
|
|
@@ -2,18 +2,24 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { style } from '../../utils/style.js';
|
|
5
|
+
import { useDebouncedEffect } from '../../utils/useDebouncedEffect.js';
|
|
5
6
|
import { CloseButton } from '../Dialog/CloseButton.js';
|
|
6
7
|
import { useDialogProps } from '../Dialog/useDialogProps.js';
|
|
7
8
|
import { LinkWrapper } from '../LinkWrapper/LinkWrapper.js';
|
|
8
9
|
import { Paragraph } from '../Paragraph/Paragraph.js';
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
const COOKIE_DIALOG_ID = 'cookie';
|
|
11
|
+
const DIALOG_INITIAL_DELAY = 3 * 1000;
|
|
11
12
|
export const CookiePopup = JSX(({ termLink, personalDataPolicyLink }) => {
|
|
12
|
-
const { isOpened,
|
|
13
|
+
const { isOpened, open, close } = useDialogProps(COOKIE_DIALOG_ID);
|
|
14
|
+
useDebouncedEffect(() => {
|
|
15
|
+
if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
|
|
16
|
+
open();
|
|
17
|
+
}
|
|
18
|
+
}, [], DIALOG_INITIAL_DELAY);
|
|
13
19
|
const handleClose = useCallback(() => {
|
|
14
|
-
globalThis.localStorage?.setItem(
|
|
15
|
-
|
|
16
|
-
}, [
|
|
20
|
+
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
21
|
+
close();
|
|
22
|
+
}, [close]);
|
|
17
23
|
return isOpened ? (_jsx("div", { className: "container z-40 fixed bottom-0 left-0 right-0 pointer-events-none", children: _jsxs("div", { className: "bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [_jsx("div", { className: "flex-1", children: _jsxs(Paragraph, { size: "text-s-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", _jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(termLink?.href)), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", _jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(personalDataPolicyLink?.href)), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), _jsx("div", { className: "w-24 flex justify-end", children: _jsx(CloseButton, { className: "bg-main-gray rounded-md", onClick: handleClose }) })] }) })) : null;
|
|
18
24
|
});
|
|
19
25
|
const getStyleLinkWrapper = (href) => ['inline mx-1', href ? 'text-green-dark' : ''];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnD,MAAM,
|
|
1
|
+
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,oBAAo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I,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -15,6 +15,6 @@ export const Dialog = JSX(({ className, isOpened, head, children, onClose }) =>
|
|
|
15
15
|
globalThis.document?.removeEventListener('keydown', handleEscape);
|
|
16
16
|
};
|
|
17
17
|
}, [onClose]);
|
|
18
|
-
return isOpened ? (_jsx("div", { className: style('fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: _jsxs("div", { className: "relative container pb-12 min-h-full", children: [_jsxs("div", { className: "sticky bg-white pt-6 top-0", children: [_jsx(CloseButton, { className: "absolute top-
|
|
18
|
+
return isOpened ? (_jsx("div", { className: style('fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: _jsxs("div", { className: "relative container pb-12 min-h-full", children: [_jsxs("div", { className: "sticky bg-white pt-6 top-0", children: [_jsx(CloseButton, { className: "absolute top-0 -right-12", onClick: onClose }), head] }), children] }) })) : null;
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=Dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.js","sourceRoot":"","sources":["../../../src/ui-kit/Dialog/Dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAS5C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,QAA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,QAAQ,EAAE;gBACpB,OAAO,IAAI,OAAO,EAAE,CAAC;aACtB;QACH,CAAC,CAAC;QAEF,UAAU,CAAC,QAAQ,EAAE,gBAAgB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAE/D,OAAO,GAAG,EAAE;YACV,UAAU,CAAC,QAAQ,EAAE,mBAAmB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACpE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,cACE,SAAS,EAAE,KAAK,CACd,2FAA2F,EAC3F,SAAS,CACV,EACD,IAAI,EAAC,QAAQ,YAEb,eAAK,SAAS,EAAC,qCAAqC,aAClD,eAAK,SAAS,EAAC,4BAA4B,aACzC,KAAC,WAAW,IAAC,SAAS,EAAC,0BAA0B,EAAC,OAAO,EAAE,OAAO,GAAI,EACrE,IAAI,IACD,EACL,QAAQ,IACL,GACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { DialogProps } from './Dialog';
|
|
2
2
|
import type { DialogInitialParams } from './DialogAction';
|
|
3
|
-
export declare function useDialogProps(id: string,
|
|
3
|
+
export declare function useDialogProps(id: string, isOpenedOnInit?: boolean): DialogProps & DialogInitialParams & {
|
|
4
4
|
wasOpened: boolean;
|
|
5
|
+
open: () => void;
|
|
6
|
+
close: () => void;
|
|
5
7
|
};
|
|
@@ -2,8 +2,8 @@ import { useCallback, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
2
2
|
import { defaultEventBus } from '../../EventBus/defaultEventBus.js';
|
|
3
3
|
import { useBool } from '../../hooks/useBool.js';
|
|
4
4
|
import { useDialogHandlers } from './useDialogHandlers.js';
|
|
5
|
-
export function useDialogProps(id,
|
|
6
|
-
const [isOpened, { setTrue: open, setFalse: close }] = useBool(
|
|
5
|
+
export function useDialogProps(id, isOpenedOnInit = false) {
|
|
6
|
+
const [isOpened, { setTrue: open, setFalse: close }] = useBool(isOpenedOnInit);
|
|
7
7
|
const [params, setParams] = useState({ id });
|
|
8
8
|
const wasOpened = useRef(isOpened);
|
|
9
9
|
wasOpened.current ||= isOpened;
|
|
@@ -16,19 +16,21 @@ export function useDialogProps(id, initOpen = false) {
|
|
|
16
16
|
close();
|
|
17
17
|
}
|
|
18
18
|
}, [id]);
|
|
19
|
+
const handleClose = useCallback(() => {
|
|
20
|
+
close();
|
|
21
|
+
defaultEventBus.fire('dialog', { type: 'close' });
|
|
22
|
+
}, []);
|
|
19
23
|
useDialogHandlers({
|
|
20
24
|
onOpen: handleOpen,
|
|
21
25
|
onClose: close,
|
|
22
26
|
});
|
|
23
|
-
const handleCloseAsEventSource = useCallback(() => {
|
|
24
|
-
close();
|
|
25
|
-
defaultEventBus.fire('dialog', { type: 'close' });
|
|
26
|
-
}, []);
|
|
27
27
|
return {
|
|
28
28
|
...params,
|
|
29
29
|
isOpened,
|
|
30
30
|
wasOpened: wasOpened.current,
|
|
31
|
-
|
|
31
|
+
open,
|
|
32
|
+
close,
|
|
33
|
+
onClose: handleClose,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
//# sourceMappingURL=useDialogProps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialogProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Dialog/useDialogProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,UAAU,cAAc,CAC5B,EAAU,EACV,
|
|
1
|
+
{"version":3,"file":"useDialog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AG,MAAM;QACT,QAAQ;QACR,SAAS,EAAE,SAAS,CAAC,OAAO;QAC5B,IAAI;QACJ,KAAK;QACL,OAAO,EAAE,WAAW;KACrB,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
|
|
3
|
+
import { style } from '../../utils/style.js';
|
|
4
|
+
export const Paragraph = JSX(({ children, ...styleProps }) => (_jsx("p", { className: style('font-sans', Object.values(styleProps)), children: children })));
|
|
4
5
|
//# sourceMappingURL=Paragraph.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.js","sourceRoot":"","sources":["../../../src/ui-kit/Paragraph/Paragraph.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Paragraph.js","sourceRoot":"","sources":["../../../src/ui-kit/Paragraph/Paragraph.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC,CAC5E,YAAG,SAAS,EAAE,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,YAAG,QAAQ,GAAK,CAC5E,CAAC,CAAC"}
|
|
@@ -5,6 +5,6 @@ import { Input } from '../Input/Input.js';
|
|
|
5
5
|
import { normalizePhone } from './normalizePhone.js';
|
|
6
6
|
export const PhoneInput = JSX(({ children, onChange, ...inputProps }) => {
|
|
7
7
|
const handleChange = useCallback((value) => onChange && onChange(normalizePhone(value)), [onChange]);
|
|
8
|
-
return (_jsx(Input, { onChange: handleChange, onFocus: handleChange, ...inputProps, children: children }));
|
|
8
|
+
return (_jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=PhoneInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInput.js","sourceRoot":"","sources":["../../../src/ui-kit/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,EAAE;IAClF,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAa,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAC9D,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,KAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"PhoneInput.js","sourceRoot":"","sources":["../../../src/ui-kit/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,EAAE;IAClF,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAa,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAC9D,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,KAAC,KAAK,IACJ,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAE,KAAK,EAAE,MAAM,EAAE,KAAgB,IAAI,EAAE,CAAC,KACpE,UAAU,YAEb,QAAQ,GACH,CACT,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
|
|
3
|
+
import { style } from '../../utils/style.js';
|
|
4
|
+
export const Text = JSX(({ children, ...styleProps }) => (_jsx("span", { className: style('font-sans', Object.values(styleProps)), children: children })));
|
|
4
5
|
//# sourceMappingURL=Text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/ui-kit/Text/Text.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/ui-kit/Text/Text.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC,CAClE,eAAM,SAAS,EAAE,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,YAAG,QAAQ,GAAQ,CAClF,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare type TextSize = '' | 'text-xs' | 'text-xs-light' | 'text-s-light'
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Размер текста
|
|
8
8
|
*/
|
|
9
|
-
export declare type TitleSize = '' | 'text-h6' | 'text-h5' | 'text-h5-light' | 'text-h4' | 'text-h3' | 'text-h2' | 'text-h1' | 'text-h0' | '
|
|
9
|
+
export declare type TitleSize = '' | 'text-h6' | 'text-h5' | 'text-h5-light' | 'text-h4' | 'text-h3' | 'text-h2' | 'text-h1' | 'text-h0' | 'title-extra' | 'title-huge';
|
|
10
10
|
/**
|
|
11
11
|
* @title Цвет текста
|
|
12
12
|
*/
|
package/mobile/src/common.css
CHANGED
|
@@ -27,6 +27,7 @@ html {
|
|
|
27
27
|
--color-gradient-from: 141, 189, 76;
|
|
28
28
|
--color-gradient-to: 69, 172, 69;
|
|
29
29
|
}
|
|
30
|
+
|
|
30
31
|
/* Business clients | Light-Green */
|
|
31
32
|
[data-theme='bc'] {
|
|
32
33
|
--color-primary-main: var(--color-green-light);
|
|
@@ -37,6 +38,7 @@ html {
|
|
|
37
38
|
--color-gradient-from: 141, 189, 76; /* TODO: change color to theme bc */
|
|
38
39
|
--color-gradient-to: 69, 172, 69; /* TODO: change color to theme bc */
|
|
39
40
|
}
|
|
41
|
+
|
|
40
42
|
/* Ecosystem own | Yellow */
|
|
41
43
|
[data-theme='eo'] {
|
|
42
44
|
--color-primary-main: var(--color-yellow);
|
|
@@ -255,6 +257,7 @@ html {
|
|
|
255
257
|
table-layout: fixed;
|
|
256
258
|
text-align: left;
|
|
257
259
|
}
|
|
260
|
+
|
|
258
261
|
.striped.md-container table thead,
|
|
259
262
|
.horizontal-separator.md-container table thead {
|
|
260
263
|
color: rgb(var(--color-secondary-text));
|