@redneckz/wildless-cms-uni-blocks 0.6.45 → 0.6.47
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.6.43.js +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +193 -173
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +2 -2
- package/bundle/components/Headline/headlineStyles.d.ts +7 -0
- package/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/bundle/content-page-repository/transformHTML.d.ts +1 -0
- package/bundle/model/AlignText.d.ts +2 -1
- package/bundle/model/BlockVersion.d.ts +9 -0
- package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
- package/bundle/ui-kit/RichText/RichText.d.ts +2 -0
- package/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/dist/components/AccordionItem/AccordionItem.js +1 -1
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/Blocks.js +15 -11
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +3 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +2 -2
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +1 -1
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js +1 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Headline/Headline.js +7 -6
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.js +5 -5
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +2 -2
- package/dist/components/Headline/headlineStyles.d.ts +7 -0
- package/dist/components/Headline/headlineStyles.js +18 -0
- package/dist/components/Headline/headlineStyles.js.map +1 -0
- package/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/dist/components/Headline/headlineVersionStyles.js +46 -0
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/dist/components/ProductTile/renderBenefit.js +4 -4
- package/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/dist/components/RichTextBlock/RichTextBlock.js +11 -0
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +3 -16
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/dist/content-page-repository/replaceHeadingTags.js +5 -0
- package/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/dist/content-page-repository/transformContentPage.js +5 -0
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformHTML.d.ts +1 -0
- package/dist/content-page-repository/transformHTML.js +23 -0
- package/dist/content-page-repository/transformHTML.js.map +1 -0
- package/dist/content-page-repository/transformMarkdown.js +2 -1
- package/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/dist/model/AlignText.d.ts +2 -1
- package/dist/model/AlignText.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +9 -0
- package/dist/model/BlockVersion.js +20 -1
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/services/BlockRouter/BlockRouter.js +4 -3
- package/dist/services/BlockRouter/BlockRouter.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/dist/ui-kit/Img/ImgAsPicture.js +9 -3
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +2 -2
- package/dist/ui-kit/Img/ImgInner.js +3 -9
- package/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +5 -5
- package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/Location/Location.js +3 -3
- package/dist/ui-kit/Location/Location.js.map +1 -1
- package/dist/ui-kit/Logo/renderImage.js +1 -1
- package/dist/ui-kit/Logo/renderImage.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.js +1 -5
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/RichText/RichText.d.ts +2 -0
- package/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
- package/dist/ui-kit/RichText/RichText.js.map +1 -0
- package/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
- package/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/Blocks.js +15 -11
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +3 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +1 -1
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js +1 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Headline/Headline.js +7 -6
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.js +5 -5
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +2 -2
- package/lib/components/Headline/headlineStyles.d.ts +7 -0
- package/lib/components/Headline/headlineStyles.js +16 -0
- package/lib/components/Headline/headlineStyles.js.map +1 -0
- package/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/lib/components/Headline/headlineVersionStyles.js +44 -0
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.fixture.d.ts +11 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/lib/components/ProductTile/renderBenefit.js +4 -4
- package/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +6 -0
- package/lib/components/RichTextBlock/RichTextBlock.js +9 -0
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +3 -16
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/lib/content-page-repository/replaceHeadingTags.js +2 -0
- package/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/lib/content-page-repository/transformContentPage.js +5 -0
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformHTML.d.ts +1 -0
- package/lib/content-page-repository/transformHTML.js +17 -0
- package/lib/content-page-repository/transformHTML.js.map +1 -0
- package/lib/content-page-repository/transformMarkdown.js +2 -1
- package/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/lib/model/AlignText.d.ts +2 -1
- package/lib/model/AlignText.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +9 -0
- package/lib/model/BlockVersion.js +19 -0
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/services/BlockRouter/BlockRouter.js +4 -3
- package/lib/services/BlockRouter/BlockRouter.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +2 -2
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/lib/ui-kit/Img/ImgAsPicture.js +9 -3
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +2 -2
- package/lib/ui-kit/Img/ImgInner.js +3 -9
- package/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +5 -5
- package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/Location/Location.js +3 -3
- package/lib/ui-kit/Location/Location.js.map +1 -1
- package/lib/ui-kit/Logo/renderImage.js +1 -1
- package/lib/ui-kit/Logo/renderImage.js.map +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.js +1 -5
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.d.ts +2 -0
- package/lib/ui-kit/RichText/RichText.fixture.d.ts +5 -0
- package/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
- package/lib/ui-kit/RichText/RichText.js.map +1 -0
- package/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/lib/ui-kit/RichText/RichTextProps.js +2 -0
- package/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +35 -49
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -2
- package/mobile/bundle/components/Headline/headlineStyles.d.ts +7 -0
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/bundle/model/AlignText.d.ts +2 -1
- package/mobile/bundle/model/BlockVersion.d.ts +9 -0
- package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
- package/mobile/bundle/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +3 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -2
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +5 -5
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
- package/mobile/dist/components/Headline/headlineStyles.d.ts +7 -0
- package/mobile/dist/components/Headline/headlineStyles.js +18 -0
- package/mobile/dist/components/Headline/headlineStyles.js.map +1 -0
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/mobile/dist/components/Headline/headlineVersionStyles.js +46 -0
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/dist/components/ProductTile/renderBenefit.js +4 -4
- package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +11 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -16
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/dist/content-page-repository/replaceHeadingTags.js +5 -0
- package/mobile/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +5 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/dist/content-page-repository/transformHTML.js +23 -0
- package/mobile/dist/content-page-repository/transformHTML.js.map +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/dist/model/AlignText.d.ts +2 -1
- package/mobile/dist/model/AlignText.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +9 -0
- package/mobile/dist/model/BlockVersion.js +20 -1
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/services/BlockRouter/BlockRouter.js +4 -3
- package/mobile/dist/services/BlockRouter/BlockRouter.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +9 -3
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/ImgInner.js +3 -9
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +5 -5
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/Location/Location.js +3 -3
- package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/renderImage.js +1 -1
- package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -5
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
- package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -0
- package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
- package/mobile/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +3 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +5 -5
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
- package/mobile/lib/components/Headline/headlineStyles.d.ts +7 -0
- package/mobile/lib/components/Headline/headlineStyles.js +16 -0
- package/mobile/lib/components/Headline/headlineStyles.js.map +1 -0
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
- package/mobile/lib/components/Headline/headlineVersionStyles.js +44 -0
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
- package/mobile/lib/components/ProductTile/renderBenefit.js +4 -4
- package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +9 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -16
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
- package/mobile/lib/content-page-repository/replaceHeadingTags.js +2 -0
- package/mobile/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +5 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformHTML.d.ts +1 -0
- package/mobile/lib/content-page-repository/transformHTML.js +17 -0
- package/mobile/lib/content-page-repository/transformHTML.js.map +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
- package/mobile/lib/model/AlignText.d.ts +2 -1
- package/mobile/lib/model/AlignText.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +9 -0
- package/mobile/lib/model/BlockVersion.js +19 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/services/BlockRouter/BlockRouter.js +4 -3
- package/mobile/lib/services/BlockRouter/BlockRouter.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +9 -3
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/ImgInner.js +3 -9
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +5 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/Location/Location.js +3 -3
- package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/renderImage.js +1 -1
- package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -5
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichText.d.ts +2 -0
- package/mobile/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
- package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.js +2 -0
- package/mobile/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/src/common.css +27 -10
- package/mobile/src/components/Bonus/Bonus.tsx +0 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -6
- package/mobile/src/components/Carousel/Carousel.tsx +3 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -7
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/mobile/src/components/Catalog/Catalog.tsx +0 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -1
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +10 -13
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -2
- package/mobile/src/components/Headline/headlineStyles.ts +25 -0
- package/mobile/src/components/Headline/headlineVersionStyles.ts +55 -0
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -3
- package/mobile/src/components/PictureText/PictureText.tsx +0 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -1
- package/mobile/src/components/ProductTile/ProductTileContent.ts +5 -5
- package/mobile/src/components/ProductTile/renderBenefit.tsx +4 -4
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
- package/mobile/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
- package/mobile/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
- package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
- package/mobile/src/content-page-repository/replaceHeadingTags.ts +2 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +4 -0
- package/mobile/src/content-page-repository/transformHTML.ts +19 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +2 -1
- package/mobile/src/model/AlignText.ts +2 -1
- package/mobile/src/model/BlockVersion.ts +30 -0
- package/mobile/src/services/BlockRouter/BlockRouter.ts +5 -3
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Img/Img.tsx +2 -3
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
- package/mobile/src/ui-kit/Img/ImgInner.tsx +15 -22
- package/mobile/src/ui-kit/Img/ImgProps.ts +5 -6
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/mobile/src/ui-kit/Location/Location.tsx +8 -6
- package/mobile/src/ui-kit/Logo/renderImage.tsx +2 -1
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
- package/mobile/src/ui-kit/RichText/RichText.tsx +8 -0
- package/mobile/src/ui-kit/RichText/RichTextProps.ts +6 -0
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
- package/mobile/src/ui-kit/Text/TextProps.ts +1 -0
- package/package.json +4 -1
- package/src/common.css +27 -10
- package/src/components/AccordionItem/AccordionItem.tsx +7 -1
- package/src/components/Blocks.ts +15 -11
- package/src/components/Bonus/Bonus.tsx +0 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +2 -6
- package/src/components/Carousel/Carousel.tsx +3 -1
- package/src/components/CarouselCard/CarouselCard.tsx +1 -7
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +9 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
- package/src/components/Catalog/Catalog.tsx +0 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
- package/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/src/components/Gallery/GalleryContainer.tsx +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +0 -1
- package/src/components/Header/HeaderBurger.tsx +2 -2
- package/src/components/Headline/Headline.fixture.mobile.tsx +10 -10
- package/src/components/Headline/Headline.fixture.tsx +7 -7
- package/src/components/Headline/Headline.mobile.tsx +10 -13
- package/src/components/Headline/Headline.tsx +18 -12
- package/src/components/Headline/HeadlineContent.ts +2 -2
- package/src/components/Headline/headlineStyles.ts +25 -0
- package/src/components/Headline/headlineVersionStyles.ts +55 -0
- package/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +85 -0
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
- package/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +3 -3
- package/src/components/PictureText/PictureText.tsx +0 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/components/ProductTile/ProductTile.ui.json +1 -1
- package/src/components/ProductTile/ProductTileContent.ts +5 -5
- package/src/components/ProductTile/renderBenefit.tsx +4 -4
- package/src/components/PromoTile/PromoTile.tsx +1 -1
- package/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +29 -0
- package/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
- package/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
- package/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
- package/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
- package/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
- package/src/content-page-repository/replaceHeadingTags.ts +2 -0
- package/src/content-page-repository/transformContentPage.ts +4 -0
- package/src/content-page-repository/transformHTML.ts +19 -0
- package/src/content-page-repository/transformMarkdown.ts +2 -1
- package/src/model/AlignText.ts +2 -1
- package/src/model/BlockVersion.ts +30 -0
- package/src/services/BlockRouter/BlockRouter.ts +5 -3
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Img/Img.mobile.tsx +2 -3
- package/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
- package/src/ui-kit/Img/ImgInner.tsx +15 -22
- package/src/ui-kit/Img/ImgProps.ts +5 -6
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/src/ui-kit/Location/Location.tsx +8 -6
- package/src/ui-kit/Logo/renderImage.tsx +2 -1
- package/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
- package/src/ui-kit/RichText/RichText.fixture.tsx +28 -0
- package/src/ui-kit/RichText/RichText.tsx +8 -0
- package/src/ui-kit/RichText/RichTextProps.ts +6 -0
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
- package/src/ui-kit/Text/TextProps.ts +1 -0
- package/tailwind.config.cjs +7 -7
- package/bundle/components/Headline/constants.d.ts +0 -18
- package/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/dist/components/Headline/constants.d.ts +0 -18
- package/dist/components/Headline/constants.js +0 -68
- package/dist/components/Headline/constants.js.map +0 -1
- package/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/dist/ui-kit/Img/getIconVersion.js +0 -7
- package/dist/ui-kit/Img/getIconVersion.js.map +0 -1
- package/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/lib/components/Headline/constants.d.ts +0 -18
- package/lib/components/Headline/constants.js +0 -66
- package/lib/components/Headline/constants.js.map +0 -1
- package/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/lib/ui-kit/Img/getIconVersion.js +0 -4
- package/lib/ui-kit/Img/getIconVersion.js.map +0 -1
- package/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
- package/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/bundle/components/Headline/constants.d.ts +0 -18
- package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/dist/components/Headline/constants.d.ts +0 -18
- package/mobile/dist/components/Headline/constants.js +0 -68
- package/mobile/dist/components/Headline/constants.js.map +0 -1
- package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/dist/ui-kit/Img/getIconVersion.js +0 -7
- package/mobile/dist/ui-kit/Img/getIconVersion.js.map +0 -1
- package/mobile/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/lib/components/Headline/constants.d.ts +0 -18
- package/mobile/lib/components/Headline/constants.js +0 -66
- package/mobile/lib/components/Headline/constants.js.map +0 -1
- package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
- package/mobile/lib/ui-kit/Img/getIconVersion.js +0 -4
- package/mobile/lib/ui-kit/Img/getIconVersion.js.map +0 -1
- package/mobile/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
- package/mobile/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
- package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
- package/mobile/src/components/Headline/constants.ts +0 -84
- package/mobile/src/ui-kit/Img/getIconVersion.tsx +0 -5
- package/mobile/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
- package/mobile/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
- package/src/components/Headline/constants.ts +0 -84
- package/src/ui-kit/Img/getIconVersion.tsx +0 -5
- package/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
- package/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BlockVersionWithGray } from '../../model/BlockVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
@@ -40,5 +40,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
40
40
|
* }
|
|
41
41
|
*/
|
|
42
42
|
button?: ButtonProps;
|
|
43
|
-
version?:
|
|
43
|
+
version?: BlockVersionWithGray;
|
|
44
44
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { AlignType } from '../../model/AlignType';
|
|
2
1
|
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
3
2
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
4
3
|
import type { Picture } from '../../model/Picture';
|
|
5
4
|
import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
+
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
6
6
|
/**
|
|
7
7
|
* @title Заголовок
|
|
8
8
|
*/
|
|
9
9
|
export declare type HeadlineContent = HeadlineProps & {
|
|
10
10
|
/** @title Изображение (моб.) */
|
|
11
11
|
image?: Picture;
|
|
12
|
-
align?:
|
|
12
|
+
align?: TextAlign;
|
|
13
13
|
bgColorHeadline?: BlockVersionWithTransparent;
|
|
14
14
|
/** @hidden */
|
|
15
15
|
as?: HeadingTagType;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
2
|
+
import type { TextColor } from '../../ui-kit/Text/TextProps';
|
|
3
|
+
export declare const headlineStyles: Record<BlockVersionWithTransparent, {
|
|
4
|
+
wrapper: string;
|
|
5
|
+
titleColor: TextColor;
|
|
6
|
+
descriptionColor?: TextColor;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { HeadlineSmallVersion, HeadlineVersion } from '../../model/HeadlineType';
|
|
2
|
+
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
3
|
+
import type { TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
|
|
4
|
+
export declare const headlineVersionStyles: Record<HeadlineVersion, {
|
|
5
|
+
wrapper: string;
|
|
6
|
+
title: HeadingCommonProps;
|
|
7
|
+
descriptionSize: TextSize | TitleSize;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { HorizontalLayoutContent } from './HorizontalLayoutContent';
|
|
3
|
+
export interface HorizontalLayoutProps extends HorizontalLayoutContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const HorizontalLayout: JSXBlock<HorizontalLayoutProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
2
|
+
/**
|
|
3
|
+
* @title Отсуп между компонентами
|
|
4
|
+
* @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький", "Самый маленький", "Без отступа"]
|
|
5
|
+
*/
|
|
6
|
+
export declare type GapVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S' | 'XS' | '';
|
|
7
|
+
/**
|
|
8
|
+
* @title Горизонтальный компоновщик
|
|
9
|
+
*/
|
|
10
|
+
export interface HorizontalLayoutContent {
|
|
11
|
+
version?: BlockVersionWithTransparent;
|
|
12
|
+
gap?: GapVersion;
|
|
13
|
+
/** @title Внутренний отступ компоновщика */
|
|
14
|
+
isPadding?: boolean;
|
|
15
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
1
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
-
import type { AlignType } from '../../model/AlignType';
|
|
3
3
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
5
|
-
import type {
|
|
5
|
+
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
6
6
|
/**
|
|
7
7
|
* @title Отображение списка
|
|
8
8
|
* @enumNames [
|
|
@@ -39,5 +39,5 @@ export declare type LinkDocsContent = HeadlineCommonProps & {
|
|
|
39
39
|
/** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
|
|
40
40
|
orientation?: ListOrientation;
|
|
41
41
|
/** @title Рамка элементов (моб.) */ hasBorder?: boolean;
|
|
42
|
-
align?:
|
|
42
|
+
align?: TextAlign;
|
|
43
43
|
};
|
|
@@ -2,7 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
2
2
|
import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
-
import type {
|
|
5
|
+
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
6
6
|
/**
|
|
7
7
|
* @title Стандартный
|
|
8
8
|
*/
|
|
@@ -13,9 +13,9 @@ declare type TextBenefit = DescriptionProps & LabelProps & {
|
|
|
13
13
|
/**
|
|
14
14
|
* @title Форматированный текст
|
|
15
15
|
*/
|
|
16
|
-
declare type
|
|
17
|
-
/** @default
|
|
18
|
-
type: '
|
|
16
|
+
declare type RichText = RichTextProps & {
|
|
17
|
+
/** @default rte */
|
|
18
|
+
type: 'rte';
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* @title Преимущество
|
|
@@ -23,7 +23,7 @@ declare type MarkdownTextContent = MarkdownTextProps & {
|
|
|
23
23
|
* "type": "default"
|
|
24
24
|
* }
|
|
25
25
|
*/
|
|
26
|
-
export declare type Benefit = TextBenefit |
|
|
26
|
+
export declare type Benefit = TextBenefit | RichText;
|
|
27
27
|
/**
|
|
28
28
|
* @title Продуктовая плитка
|
|
29
29
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { RichTextBlockContent } from './RichTextBlockContent';
|
|
3
|
+
interface RichTextBlockProps extends RichTextBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const RichTextBlock: import("@redneckz/uni-jsx").UNIComponent<RichTextBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const replaceHeadingTags: (html: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function transformHTML(html: string | null | undefined): Promise<string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GapVersion } from '../components/HorizontalLayout/HorizontalLayoutContent';
|
|
1
2
|
/**
|
|
2
3
|
* @title Цвет блока
|
|
3
4
|
* @enumNames ["Основная", "Второстепенная"]
|
|
@@ -8,6 +9,14 @@ export declare type BlockVersion = 'primary' | 'secondary';
|
|
|
8
9
|
* @enumNames ["Прозрачная", "Основная", "Второстепенная"]
|
|
9
10
|
*/
|
|
10
11
|
export declare type BlockVersionWithTransparent = 'transparent' | 'primary' | 'secondary';
|
|
12
|
+
/**
|
|
13
|
+
* @title Цвет блока
|
|
14
|
+
* @enumNames [ "Основная", "Второстепенная", "Серая"]
|
|
15
|
+
*/
|
|
16
|
+
export declare type BlockVersionWithGray = 'primary' | 'secondary' | 'gray';
|
|
11
17
|
export declare const VersionStyleMap: Record<BlockVersion, string>;
|
|
12
18
|
export declare const VersionAdditionalStyleMap: Record<BlockVersion, string>;
|
|
13
19
|
export declare const VersionWithTransparentStyleMap: Record<BlockVersionWithTransparent, string>;
|
|
20
|
+
export declare const VersionWithGrayStyleMap: Record<BlockVersionWithGray, string>;
|
|
21
|
+
export declare const GapStyleMap: Record<GapVersion, string>;
|
|
22
|
+
export declare const LayoutBackgroundStyleMap: Record<BlockVersionWithTransparent, string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps
|
|
1
|
+
import type { ImageProps } from './ImgProps';
|
|
2
|
+
export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImgSource
|
|
1
|
+
import type { ImgSource } from '../../model/Picture';
|
|
2
2
|
import type { ImageProps } from './ImgProps';
|
|
3
|
-
export declare const ImgAsPicture: import("@redneckz/uni-jsx").UNIComponent<ImageProps
|
|
3
|
+
export declare const ImgAsPicture: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
|
|
4
4
|
export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const ImgInner: import("@redneckz/uni-jsx").UNIComponent<ImageProps
|
|
1
|
+
import type { ImageProps } from './ImgProps';
|
|
2
|
+
export declare const ImgInner: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
-
import type { IconCompatibilityFields
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
image?: T;
|
|
2
|
+
import type { IconCompatibilityFields } from '../Icon/IconProps';
|
|
3
|
+
export interface ImageContent {
|
|
4
|
+
image?: Picture;
|
|
6
5
|
}
|
|
7
|
-
export interface ImageProps
|
|
6
|
+
export interface ImageProps extends ImageContent, IconCompatibilityFields {
|
|
8
7
|
className?: string;
|
|
9
8
|
imageClassName?: string;
|
|
10
9
|
isMobile?: boolean;
|
|
10
|
+
pathPrefix?: string;
|
|
11
11
|
}
|
|
@@ -9,7 +9,7 @@ export declare type TitleSize = '' | 'text-h6' | 'text-h5' | 'text-h5-light' | '
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Цвет текста
|
|
11
11
|
*/
|
|
12
|
-
export declare type TextColor = '' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-error' | 'text-white' | 'text-green';
|
|
12
|
+
export declare type TextColor = '' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-error' | 'text-white' | 'text-white/80' | 'text-green';
|
|
13
13
|
/**
|
|
14
14
|
* @title Выравнивание
|
|
15
15
|
* @enumNames [
|
|
@@ -10,5 +10,5 @@ const Text_1 = require("../../ui-kit/Text/Text");
|
|
|
10
10
|
const icons = ['PlusIcon', 'MinusIcon'];
|
|
11
11
|
exports.AccordionItem = (0, uni_jsx_1.JSX)(({ className = '', label = '', isExpanded, ...rest }) => ((0, jsx_runtime_1.jsx)("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: (0, renderChildren_1.renderChildren)(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsx)(FoldButton, { label: label, icon: icons[Number(isUnfolded)], onClick: onToggle })) }) })));
|
|
12
12
|
exports.AccordionItem.childrenTypes = [];
|
|
13
|
-
const FoldButton = (0, uni_jsx_1.JSX)(({ label, icon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", font: "font-medium", children: label }), (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
|
|
13
|
+
const FoldButton = (0, uni_jsx_1.JSX)(({ label, icon, onClick }) => ((0, jsx_runtime_1.jsxs)("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", font: "font-medium", children: label }), (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
|
|
14
14
|
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,6DAA0D;AAC1D,2EAAwE;AAExE,8CAA2C;AAC3C,iDAA8C;AAG9C,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEvC,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvD,+BACE,SAAS,EAAE,sEAAsE,SAAS,EAAE,YAE5F,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,IAAI,EACvB,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IAAC,SAAS,EAAC,mCAAmC,EAAC,UAAU,EAAE,UAAU,YAClF,IAAA,+BAAc,EAAC,IAAI,CAAC,GACL,CACnB,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9C,uBAAC,UAAU,IAAC,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AC,CAC9C,uBAAC,UAAU,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAI,CACjF,GACD,GACC,CACN,CACF,CAAC;AAEF,qBAAa,CAAC,aAAa,GAAG,EAAE,CAAC;AAQjC,MAAM,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACpE,oCACE,SAAS,EAAC,0HAA0H,EACpI,OAAO,EAAE,OAAO,aAEhB,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,EACP,uBAAC,SAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,EACf,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC,CAAC"}
|
|
@@ -16,6 +16,7 @@ const CarouselInvestmentCard_1 = require("./CarouselInvestmentCard/CarouselInves
|
|
|
16
16
|
const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
|
|
17
17
|
const CarouselProductCard_1 = require("./CarouselProductCard/CarouselProductCard");
|
|
18
18
|
const CarouselProgramsCard_1 = require("./CarouselProgramsCard/CarouselProgramsCard");
|
|
19
|
+
const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
|
|
19
20
|
const CarouselTariffsCard_1 = require("./CarouselTariffsCard/CarouselTariffsCard");
|
|
20
21
|
const Catalog_1 = require("./Catalog/Catalog");
|
|
21
22
|
const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
|
|
@@ -27,6 +28,7 @@ const Gallery_1 = require("./Gallery/Gallery");
|
|
|
27
28
|
const GracePeriod_1 = require("./GracePeriod/GracePeriod");
|
|
28
29
|
const Header_1 = require("./Header/Header");
|
|
29
30
|
const Headline_1 = require("./Headline/Headline");
|
|
31
|
+
const HorizontalLayout_1 = require("./HorizontalLayout/HorizontalLayout");
|
|
30
32
|
const ImgBlock_1 = require("./ImgBlock/ImgBlock");
|
|
31
33
|
const InsuranceAmountBlock_1 = require("./InsuranceAmountBlock/InsuranceAmountBlock");
|
|
32
34
|
const InvestmentInfo_1 = require("./InvestmentInfo/InvestmentInfo");
|
|
@@ -44,8 +46,8 @@ const ProductBlock_1 = require("./ProductBlock/ProductBlock");
|
|
|
44
46
|
const ProductGallery_1 = require("./ProductGallery/ProductGallery");
|
|
45
47
|
const ProductTile_1 = require("./ProductTile/ProductTile");
|
|
46
48
|
const PromoTile_1 = require("./PromoTile/PromoTile");
|
|
47
|
-
const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
|
|
48
49
|
const Recommendation_1 = require("./Recommendation/Recommendation");
|
|
50
|
+
const RichTextBlock_1 = require("./RichTextBlock/RichTextBlock");
|
|
49
51
|
const RollupItem_1 = require("./RollupItem/RollupItem");
|
|
50
52
|
const SafeDepositRental_1 = require("./SafeDepositRental/SafeDepositRental");
|
|
51
53
|
const StepsBlock_1 = require("./StepsBlock/StepsBlock");
|
|
@@ -59,12 +61,12 @@ exports.Blocks = {
|
|
|
59
61
|
Accordion: Accordion_1.Accordion,
|
|
60
62
|
AccordionItem: AccordionItem_1.AccordionItem,
|
|
61
63
|
BenefitsBlock: BenefitsBlock_1.BenefitsBlock,
|
|
62
|
-
BusinessBlock: BusinessBlock_1.BusinessBlock,
|
|
63
|
-
ButtonBlock: ButtonBlock_1.ButtonBlock,
|
|
64
64
|
Bonus: Bonus_1.Bonus,
|
|
65
65
|
BonusBenefitsBlock: BonusBenefitsBlock_1.BonusBenefitsBlock,
|
|
66
|
-
|
|
66
|
+
BusinessBlock: BusinessBlock_1.BusinessBlock,
|
|
67
|
+
ButtonBlock: ButtonBlock_1.ButtonBlock,
|
|
67
68
|
Calculator: Calculator_1.Calculator,
|
|
69
|
+
CardTransfer: CardTransfer_1.CardTransfer,
|
|
68
70
|
Carousel: Carousel_1.Carousel,
|
|
69
71
|
CarouselCard: CarouselCard_1.CarouselCard,
|
|
70
72
|
CarouselCatalogCard: CarouselCatalogCard_1.CarouselCatalogCard,
|
|
@@ -72,10 +74,11 @@ exports.Blocks = {
|
|
|
72
74
|
CarouselLinks: CarouselLinks_1.CarouselLinks,
|
|
73
75
|
CarouselProductCard: CarouselProductCard_1.CarouselProductCard,
|
|
74
76
|
CarouselProgramsCard: CarouselProgramsCard_1.CarouselProgramsCard,
|
|
77
|
+
CarouselRecommendationCard: CarouselRecommendationCard_1.CarouselRecommendationCard,
|
|
75
78
|
CarouselTariffsCard: CarouselTariffsCard_1.CarouselTariffsCard,
|
|
76
79
|
Catalog: Catalog_1.Catalog,
|
|
77
|
-
ContactsBlock: ContactsBlock_1.ContactsBlock,
|
|
78
80
|
ComparisonTable: ComparisonTable_1.ComparisonTable,
|
|
81
|
+
ContactsBlock: ContactsBlock_1.ContactsBlock,
|
|
79
82
|
ErrorBlock: ErrorBlock_1.ErrorBlock,
|
|
80
83
|
ExchangeRateTile: ExchangeRateTile_1.ExchangeRateTile,
|
|
81
84
|
Footer: Footer_1.Footer,
|
|
@@ -83,12 +86,17 @@ exports.Blocks = {
|
|
|
83
86
|
GracePeriod: GracePeriod_1.GracePeriod,
|
|
84
87
|
Header: Header_1.Header,
|
|
85
88
|
Headline: Headline_1.Headline,
|
|
89
|
+
HorizontalLayout: HorizontalLayout_1.HorizontalLayout,
|
|
86
90
|
ImgBlock: ImgBlock_1.ImgBlock,
|
|
87
91
|
InsuranceAmountBlock: InsuranceAmountBlock_1.InsuranceAmountBlock,
|
|
88
92
|
InvestmentInfo: InvestmentInfo_1.InvestmentInfo,
|
|
89
93
|
LinkDocs: LinkDocs_1.LinkDocs,
|
|
90
94
|
MiniGallery: MiniGallery_1.MiniGallery,
|
|
91
95
|
MobileAppTile: MobileAppTile_1.MobileAppTile,
|
|
96
|
+
OfficeMap: OfficeMap_1.OfficeMap,
|
|
97
|
+
OfficeServicesBlock: OfficeServicesBlock_1.OfficeServicesBlock,
|
|
98
|
+
OtherProducts: OtherProducts_1.OtherProducts,
|
|
99
|
+
OtherProductsItem: OtherProductsItem_1.OtherProductsItem,
|
|
92
100
|
ParagraphBlock: ParagraphBlock_1.ParagraphBlock,
|
|
93
101
|
PictureText: PictureText_1.PictureText,
|
|
94
102
|
Placeholder: Placeholder_1.Placeholder,
|
|
@@ -96,10 +104,8 @@ exports.Blocks = {
|
|
|
96
104
|
ProductGallery: ProductGallery_1.ProductGallery,
|
|
97
105
|
ProductTile: ProductTile_1.ProductTile,
|
|
98
106
|
PromoTile: PromoTile_1.PromoTile,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
OtherProductsItem: OtherProductsItem_1.OtherProductsItem,
|
|
102
|
-
CarouselRecommendationCard: CarouselRecommendationCard_1.CarouselRecommendationCard,
|
|
107
|
+
Recommendation: Recommendation_1.Recommendation,
|
|
108
|
+
RichTextBlock: RichTextBlock_1.RichTextBlock,
|
|
103
109
|
RollupItem: RollupItem_1.RollupItem,
|
|
104
110
|
SafeDepositRental: SafeDepositRental_1.SafeDepositRental,
|
|
105
111
|
StepsBlock: StepsBlock_1.StepsBlock,
|
|
@@ -109,7 +115,5 @@ exports.Blocks = {
|
|
|
109
115
|
Tile: Tile_1.Tile,
|
|
110
116
|
VerticalLayout: VerticalLayout_1.VerticalLayout,
|
|
111
117
|
Video: Video_1.Video,
|
|
112
|
-
Recommendation: Recommendation_1.Recommendation,
|
|
113
|
-
OfficeMap: OfficeMap_1.OfficeMap,
|
|
114
118
|
};
|
|
115
119
|
//# sourceMappingURL=Blocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,2DAAwD;AACxD,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,8DAA2D;AAC3D,mFAAgF;AAChF,4FAAyF;AACzF,iEAA8D;AAC9D,mFAAgF;AAChF,sFAAmF;AACnF,mFAAgF;AAChF,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,oEAAiE;AACjE,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,2DAAwD;AACxD,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,8DAA2D;AAC3D,mFAAgF;AAChF,4FAAyF;AACzF,iEAA8D;AAC9D,mFAAgF;AAChF,sFAAmF;AACnF,wGAAqG;AACrG,mFAAgF;AAChF,+CAA4C;AAC5C,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D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qBAAS;IACT,mBAAmB,EAAnB,yCAAmB;IACnB,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,cAAc,EAAd,+BAAc;IACd,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,cAAc,EAAd,+BAAc;IACd,KAAK,EAAL,aAAK;CACN,CAAC"}
|
|
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
9
|
exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
|
|
10
10
|
const { className = '', title, description, bonusItems, ...rest } = props;
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M",
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
|
|
12
12
|
? bonusItems.map((_, i) => {
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between mr-4", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? (0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
|
|
14
14
|
? renderBonusItemContent(_.bonusItemContent)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,mDAAgD;AAKnC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,gCAAgC,SAAS,EAAE,KAAM,IAAI,YAC5E,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;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CAAC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CAAC,CAClF,0CACG,gBAAgB,CAAC,SAAS,KAAK,OAAO;QACrC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;QACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,GACnD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,yDAAyD,aACrE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -6,7 +6,7 @@ const AlignText_1 = require("../../model/AlignText");
|
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
|
-
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M",
|
|
9
|
+
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
|
|
10
10
|
const renderBonusBenefit = ({ icon, label, description }, i) => {
|
|
11
11
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
|
|
@@ -11,6 +11,6 @@ exports.BusinessCard = (0, uni_jsx_1.JSX)((props) => {
|
|
|
11
11
|
});
|
|
12
12
|
const renderItem = (item, key) => {
|
|
13
13
|
const { icon, text } = item;
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className:
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=BusinessCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/Busin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AAI,EACvF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,gCAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAC,qDAAqD,EAAC,KAAK,SAAG,CAC3F,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KALtC,GAAG,CAMP,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -22,9 +22,11 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
|
|
|
22
22
|
exports.Carousel.childrenTypes = [
|
|
23
23
|
'CarouselCard',
|
|
24
24
|
'CarouselCatalogCard',
|
|
25
|
-
'
|
|
25
|
+
'CarouselInvestmentCard',
|
|
26
26
|
'CarouselProductCard',
|
|
27
27
|
'CarouselProgramsCard',
|
|
28
|
+
'CarouselRecommendationCard',
|
|
29
|
+
'CarouselTariffsCard',
|
|
28
30
|
'CarouselInvestmentCard',
|
|
29
31
|
];
|
|
30
32
|
const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => ((0, jsx_runtime_1.jsxs)("div", { children: [canScrollLeft ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,iEAAsF;AACtF,yFAAsF;AACtF,yFAG0D;AAO1D,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,aAAa,GAAG,uCAAuC,CAAC;AAC9D,MAAM,iBAAiB,GAAG,oCAAoC,CAAC;AAElD,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;IAEpD,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,IAAA,uCAAkB,EAAiB;QAChE,SAAS,EAAE,KAAK;QAChB,QAAQ;KACT,CAAC,CAAC;IAEH,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,kBAAkB,SAAS,EAAE,KAAM,IAAI,YAC9D,iCAAK,SAAS,EAAC,qBAAqB,aAClC,uBAAC,uCAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAC,YAAY,EACtB,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,YAExD,IAAA,+BAAc,EAAC,I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
10
|
mini: 'min-w-[355px]',
|
|
11
11
|
};
|
|
12
|
-
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, version = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M"
|
|
12
|
+
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, version = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), button ? (0, jsx_runtime_1.jsx)("div", { className: "mt-6", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] })] }) })));
|
|
13
13
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,oCAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,0EAA0E,aACvF,uBAAC,mBAAQ,
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,oCAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,0EAA0E,aACvF,uBAAC,mBAAQ,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAC,GAAG,GAAG,EACxF,MAAM,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
|
|
@@ -9,7 +9,7 @@ const Carousel_1 = require("../Carousel/Carousel");
|
|
|
9
9
|
const Headline_1 = require("../Headline/Headline");
|
|
10
10
|
const MAX_LINKS_COUNT = 12;
|
|
11
11
|
exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, ...rest }) => {
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, as: "h1", description: description, align: "left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, as: "h1", description: description, align: "text-left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
|
|
13
13
|
});
|
|
14
14
|
const renderLinks = (links) => {
|
|
15
15
|
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D,mDAAgD;AAChD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,8EAA8E,SAAS,EAAE,KAChG,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aACnE,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,EAAE,EAAC,IAAI,EACP,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D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AK,CAAC,UAAU,GAAG,eAAe,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;iBACvE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpB,uBAAC,uBAAU,IAAqB,SAAS,EAAC,KAAK,KAAK,IAAI,IAAvC,MAAM,CAAC,KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ const List_1 = require("../../ui-kit/List/List");
|
|
|
10
10
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
11
11
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
12
12
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
13
|
-
const
|
|
13
|
+
const headlineVersionStyles_1 = require("../Headline/headlineVersionStyles");
|
|
14
14
|
const descriptionStyleMap = {
|
|
15
15
|
primary: 'text-secondary-text',
|
|
16
16
|
secondary: 'text-white/80',
|
|
@@ -25,7 +25,7 @@ exports.CarouselProductCard = (0, uni_jsx_1.JSX)(({ title, headlineSmallVersion
|
|
|
25
25
|
].join(' '), role: "listitem", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col h-full", children: [renderImage(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, version)] }), (0, ButtonSection_1.renderButton)({ button, buttonClassName: 'mt-6' })] }));
|
|
26
26
|
});
|
|
27
27
|
const renderImage = (image, version) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: (0, getIconWithVersion_1.getIconWithVersion)(image, version), asSVG: true })) : null] }));
|
|
28
|
-
const renderCardTitle = (headlineSmallVersion, title) => title ? (0, jsx_runtime_1.jsx)(Text_1.Text, { size:
|
|
28
|
+
const renderCardTitle = (headlineSmallVersion, title) => title ? (0, jsx_runtime_1.jsx)(Text_1.Text, { size: headlineVersionStyles_1.HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
|
|
29
29
|
const renderDescription = (description, title) => description ? ((0, jsx_runtime_1.jsx)("div", { className: title ? 'mt-2' : '', children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-l", children: description }) })) : null;
|
|
30
30
|
const renderAdditionalDescription = (additionalDescription, version = 'primary') => additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-auto", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
|
|
31
31
|
const renderItems = (items, isDotted, version = 'primary') => items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,2DAA2D;AAG3D,qEAAiE;AACjE,8CAA2C;AAC3C,iDAA8C;AAC9C,gEAA6D;AAC7D,iDAA8C;AAC9C,uEAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,2DAA2D;AAG3D,qEAAiE;AACjE,8CAA2C;AAC3C,iDAA8C;AAC9C,gEAA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C,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC7F,aAAa,EAAC,WAAW,EACzB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -15,8 +15,9 @@ exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ button, className = '
|
|
|
15
15
|
const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
16
16
|
const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
17
17
|
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
|
|
18
|
-
${BorderVersion_1.BorderVersionStyleMap[version]}
|
|
19
|
-
${BlockVersion_1.
|
|
20
|
-
${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "mb-2", children: description }) : null, items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null, button?.text ? (0, jsx_runtime_1.jsx)("div", { className: "pt-2 mt-16", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] }) }) }));
|
|
18
|
+
${BorderVersion_1.BorderVersionStyleMap[getOmitVersion(version)]}
|
|
19
|
+
${BlockVersion_1.VersionWithGrayStyleMap[version]}
|
|
20
|
+
${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "mb-2", children: description }) : null, items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? (0, jsx_runtime_1.jsx)("div", { className: "pt-2 mt-16", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] }) }) }));
|
|
21
21
|
});
|
|
22
|
+
const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
|
|
22
23
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,mDAAgD;AAChD,4DAAyD;AACzD,6DAAkE;AAClE,0DAAuD;AACvD,8CAA2C;AAC3C,+CAAwC;AACxC,iDAA8C;AAC9C,qEAAiE;AACjE,uDAAoD;
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,mDAAgD;AAChD,4DAAyD;AACzD,6DAAkE;AAClE,0DAAuD;AACvD,8CAA2C;AAC3C,+CAAwC;AACxC,iDAA8C;AAC9C,qEAAiE;AACjE,uDAAoD;AAEpD,2DAAmE;AAO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,YAAY,EACtB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,GAChC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,YAAY,YAAE,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IAC/E,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAA6B,EAAgB,EAAE,CACrE,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BlockVersionWithGray } from '../../model/BlockVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
@@ -40,5 +40,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
40
40
|
* }
|
|
41
41
|
*/
|
|
42
42
|
button?: ButtonProps;
|
|
43
|
-
version?:
|
|
43
|
+
version?: BlockVersionWithGray;
|
|
44
44
|
}
|