@redneckz/wildless-cms-uni-blocks 0.14.27 → 0.14.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.12.12.js +0 -10
- package/bin/migration-scripts/0.14.28.js +28 -0
- package/bin/migration-scripts/0.14.29.js +105 -0
- package/bin/migration-scripts/0.14.4.js +4 -4
- package/bin/utils.js +20 -9
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +79 -120
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/bundle/components/Bonus/BonusContent.d.ts +1 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/bundle/components/MobileAppTile/renderList.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/bundle/components/Tile/Tile.d.ts +5 -0
- package/bundle/components/Tile/TileContent.d.ts +6 -0
- package/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +14 -2
- package/bundle/model/HeadlineType.d.ts +0 -8
- package/bundle/utils/getBorderStyle.d.ts +1 -0
- package/cosmos-static/icons/CardSendIcon.svg +1 -0
- package/cosmos-static/icons/CoinIcon.svg +1 -0
- package/cosmos-static/icons/ConvertCardIcon.svg +1 -0
- package/cosmos-static/icons/HeartTickIcon.svg +1 -0
- package/cosmos-static/icons/NotificationBingIcon.svg +1 -0
- package/cosmos-static/icons/Security/320/241ardIcon.svg +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/dist/components/Blocks.js +2 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +2 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +1 -0
- package/dist/components/Calculator/Calculator.mobile.js +2 -1
- package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +3 -0
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/dist/components/Footer/SocialMedia.js +2 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -3
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.js +6 -14
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +4 -3
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/dist/components/MobileAppTile/renderList.d.ts +1 -1
- package/dist/components/MobileAppTile/renderList.js +3 -2
- package/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/dist/components/ProductBlock/ProductBlock.js +4 -4
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -2
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/dist/components/Tile/Tile.d.ts +5 -0
- package/dist/components/Tile/Tile.js +8 -0
- package/dist/components/Tile/Tile.js.map +1 -0
- package/dist/components/Tile/TileContent.d.ts +6 -0
- package/{mobile/dist/components/PromoTile/PromoTileContent.js → dist/components/Tile/TileContent.js} +1 -1
- package/dist/components/Tile/TileContent.js.map +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +6 -2
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/icons/IconName.d.ts +14 -2
- package/dist/icons/IconName.js +12 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/HeadlineType.d.ts +0 -8
- package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +1 -1
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/utils/getBorderStyle.d.ts +1 -0
- package/dist/utils/getBorderStyle.js +7 -0
- package/dist/utils/getBorderStyle.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/lib/components/Blocks.js +2 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +2 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +1 -0
- package/lib/components/Calculator/Calculator.mobile.js +2 -1
- package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +3 -0
- package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -2
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/lib/components/Footer/SocialMedia.js +2 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -3
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.js +6 -14
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +4 -3
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/lib/components/MobileAppTile/renderList.d.ts +1 -1
- package/lib/components/MobileAppTile/renderList.js +3 -2
- package/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.js +4 -4
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +1 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -2
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/lib/components/Tile/Tile.d.ts +5 -0
- package/lib/components/Tile/Tile.fixture.d.ts +15 -0
- package/lib/components/{PromoTile/PromoTile.fixture.d.ts → Tile/Tile.fixture.mobile.d.ts} +3 -0
- package/lib/components/Tile/Tile.js +6 -0
- package/lib/components/Tile/Tile.js.map +1 -0
- package/lib/components/Tile/TileContent.d.ts +6 -0
- package/lib/components/Tile/TileContent.js +2 -0
- package/lib/components/Tile/TileContent.js.map +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +6 -2
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/icons/IconName.d.ts +14 -2
- package/lib/icons/IconName.js +12 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/HeadlineType.d.ts +0 -8
- package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +1 -1
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/utils/getBorderStyle.d.ts +1 -0
- package/lib/utils/getBorderStyle.js +4 -0
- package/lib/utils/getBorderStyle.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +76 -99
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/bundle/components/Tile/Tile.d.ts +5 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +6 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +14 -2
- package/mobile/bundle/model/HeadlineType.d.ts +0 -8
- package/mobile/bundle/utils/getBorderStyle.d.ts +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/dist/components/Blocks.js +2 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/dist/components/Calculator/Calculator.js +2 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/dist/components/Footer/SocialMedia.js +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.js +6 -14
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +4 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/renderList.js +3 -2
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +4 -4
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +5 -0
- package/mobile/dist/components/Tile/Tile.js +8 -0
- package/mobile/dist/components/Tile/Tile.js.map +1 -0
- package/mobile/dist/components/Tile/TileContent.d.ts +6 -0
- package/{dist/components/PromoTile/PromoTileContent.js → mobile/dist/components/Tile/TileContent.js} +1 -1
- package/mobile/dist/components/Tile/TileContent.js.map +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +6 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +14 -2
- package/mobile/dist/icons/IconName.js +12 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/HeadlineType.d.ts +0 -8
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/utils/getBorderStyle.d.ts +1 -0
- package/mobile/dist/utils/getBorderStyle.js +7 -0
- package/mobile/dist/utils/getBorderStyle.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/lib/components/Blocks.js +2 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/lib/components/Calculator/Calculator.js +2 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/lib/components/Footer/SocialMedia.js +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.js +6 -14
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +4 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/renderList.js +3 -2
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +4 -4
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +5 -0
- package/mobile/lib/components/Tile/Tile.js +6 -0
- package/mobile/lib/components/Tile/Tile.js.map +1 -0
- package/mobile/lib/components/Tile/TileContent.d.ts +6 -0
- package/mobile/lib/components/Tile/TileContent.js +2 -0
- package/mobile/lib/components/Tile/TileContent.js.map +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +6 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +14 -2
- package/mobile/lib/icons/IconName.js +12 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/HeadlineType.d.ts +0 -8
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/utils/getBorderStyle.d.ts +1 -0
- package/mobile/lib/utils/getBorderStyle.js +4 -0
- package/mobile/lib/utils/getBorderStyle.js.map +1 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -0
- package/mobile/src/components/Blocks.ts +2 -2
- package/mobile/src/components/Bonus/BonusContent.ts +1 -0
- package/mobile/src/components/Calculator/Calculator.tsx +4 -2
- package/mobile/src/components/Calculator/CalculatorContent.ts +3 -0
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +3 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
- package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +24 -34
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +5 -3
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +6 -0
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/mobile/src/components/MobileAppTile/renderList.tsx +9 -4
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +8 -5
- package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -3
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
- package/mobile/src/components/Tile/Tile.example.json +28 -0
- package/mobile/src/components/Tile/Tile.tsx +23 -0
- package/mobile/src/components/Tile/Tile.ui.json +17 -0
- package/mobile/src/components/Tile/TileContent.ts +7 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
- package/mobile/src/icons/CardSendIcon.svg +9 -0
- package/mobile/src/icons/CoinIcon.svg +5 -0
- package/mobile/src/icons/ConvertCardIcon.svg +8 -0
- package/mobile/src/icons/HeartTickIcon.svg +5 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/NotificationBingIcon.svg +5 -0
- package/mobile/src/icons/Security/320/241ardIcon.svg +7 -0
- package/mobile/src/model/HeadlineType.ts +0 -10
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/List/ListItem.tsx +15 -17
- package/mobile/src/utils/getBorderStyle.ts +4 -0
- package/package.json +1 -1
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -0
- package/src/components/Blocks.mobile.ts +2 -2
- package/src/components/Blocks.ts +2 -6
- package/src/components/Bonus/BonusContent.ts +1 -0
- package/src/components/Calculator/Calculator.mobile.tsx +4 -2
- package/src/components/Calculator/CalculatorContent.ts +3 -0
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -34
- package/src/components/Carousel/Carousel.fixture.tsx +2 -52
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/Carousel/renderCarouselCards.tsx +3 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +44 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -3
- package/src/components/LinkDocs/LinkDocItem.tsx +24 -34
- package/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/src/components/LinkDocs/LinkDocs.tsx +5 -3
- package/src/components/LinkDocs/LinkDocsContent.ts +6 -0
- package/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
- package/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/src/components/MobileAppTile/renderList.tsx +9 -4
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
- package/src/components/ProductBlock/ProductBlock.tsx +8 -5
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +15 -0
- package/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/src/components/TariffsTable/TariffsTable.tsx +2 -3
- package/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
- package/src/components/Tile/Tile.example.json +28 -0
- package/src/components/Tile/Tile.fixture.mobile.tsx +48 -0
- package/src/components/Tile/Tile.fixture.tsx +146 -0
- package/src/components/Tile/Tile.tsx +23 -0
- package/src/components/Tile/Tile.ui.json +17 -0
- package/src/components/Tile/TileContent.ts +7 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +4 -12
- package/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
- package/src/icons/CardSendIcon.svg +9 -0
- package/src/icons/CoinIcon.svg +5 -0
- package/src/icons/ConvertCardIcon.svg +8 -0
- package/src/icons/HeartTickIcon.svg +5 -0
- package/src/icons/IconName.ts +19 -1
- package/src/icons/NotificationBingIcon.svg +5 -0
- package/src/icons/Security/320/241ardIcon.svg +7 -0
- package/src/model/HeadlineType.ts +0 -10
- package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/List/ListItem.tsx +15 -17
- package/src/utils/getBorderStyle.ts +4 -0
- package/bin/migration-scripts/0.14.12.js +0 -34
- package/bin/migration-scripts/0.14.27.js +0 -38
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/bundle/components/PromoTile/PromoTile.d.ts +0 -5
- package/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/bundle/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/dist/components/PromoTile/PromoTile.d.ts +0 -5
- package/dist/components/PromoTile/PromoTile.js +0 -20
- package/dist/components/PromoTile/PromoTile.js.map +0 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/dist/components/PromoTile/PromoTileContent.js.map +0 -1
- package/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/dist/components/TariffsTable/headlineAlign.js +0 -4
- package/dist/components/TariffsTable/headlineAlign.js.map +0 -1
- package/dist/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/dist/components/TariffsTable/headlineAlign.mobile.js +0 -4
- package/dist/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +0 -8
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/lib/components/PromoTile/PromoTile.d.ts +0 -5
- package/lib/components/PromoTile/PromoTile.js +0 -18
- package/lib/components/PromoTile/PromoTile.js.map +0 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/lib/components/PromoTile/PromoTileContent.js +0 -2
- package/lib/components/PromoTile/PromoTileContent.js.map +0 -1
- package/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/lib/components/TariffsTable/headlineAlign.js +0 -2
- package/lib/components/TariffsTable/headlineAlign.js.map +0 -1
- package/lib/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/lib/components/TariffsTable/headlineAlign.mobile.js +0 -2
- package/lib/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/bundle/components/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/dist/components/PromoTile/PromoTile.js +0 -20
- package/mobile/dist/components/PromoTile/PromoTile.js.map +0 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/dist/components/PromoTile/PromoTileContent.js.map +0 -1
- package/mobile/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/dist/components/TariffsTable/headlineAlign.js +0 -4
- package/mobile/dist/components/TariffsTable/headlineAlign.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/lib/components/PromoTile/PromoTile.js +0 -18
- package/mobile/lib/components/PromoTile/PromoTile.js.map +0 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/lib/components/PromoTile/PromoTileContent.js +0 -2
- package/mobile/lib/components/PromoTile/PromoTileContent.js.map +0 -1
- package/mobile/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/lib/components/TariffsTable/headlineAlign.js +0 -2
- package/mobile/lib/components/TariffsTable/headlineAlign.js.map +0 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/mobile/src/components/PromoTile/PromoTile.example.json +0 -16
- package/mobile/src/components/PromoTile/PromoTile.tsx +0 -53
- package/mobile/src/components/PromoTile/PromoTile.ui.json +0 -1
- package/mobile/src/components/PromoTile/PromoTileContent.ts +0 -14
- package/mobile/src/components/TariffsTable/headlineAlign.tsx +0 -1
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +0 -92
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +0 -96
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +0 -26
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/src/components/PromoTile/PromoTile.example.json +0 -16
- package/src/components/PromoTile/PromoTile.fixture.tsx +0 -25
- package/src/components/PromoTile/PromoTile.tsx +0 -53
- package/src/components/PromoTile/PromoTile.ui.json +0 -1
- package/src/components/PromoTile/PromoTileContent.ts +0 -14
- package/src/components/TariffsTable/headlineAlign.mobile.tsx +0 -1
- package/src/components/TariffsTable/headlineAlign.tsx +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
+
import { type AdditionalDescriptionProps, type AlignProps, type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
3
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
4
|
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
4
5
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -9,7 +10,7 @@ import { type ListContent } from '../../ui-kit/List/ListContent';
|
|
|
9
10
|
/**
|
|
10
11
|
* @title Карточка рекомендаций
|
|
11
12
|
*/
|
|
12
|
-
export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & ListContent & IconProps & LinkCommonProps & AlignProps & BenefitsListContent & {
|
|
13
|
+
export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & ListContent & IconProps & LinkCommonProps & BulletsProps & AlignProps & BenefitsListContent & {
|
|
13
14
|
/** @title Соц сети */
|
|
14
15
|
socialMedia?: ButtonContent[];
|
|
15
16
|
imageOptions?: TileImageOptions;
|
|
@@ -22,12 +22,12 @@ exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media, showButtonTex
|
|
|
22
22
|
..._,
|
|
23
23
|
...buttonText,
|
|
24
24
|
icon: { ...iconCustom, iconVersion: 'color' },
|
|
25
|
-
version,
|
|
25
|
+
version: _?.version ?? version,
|
|
26
26
|
};
|
|
27
27
|
});
|
|
28
28
|
const buttonClassName = (0, style_1.style)('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : 'basis-auto', stretched ? 'flex-1 justify-center' : '');
|
|
29
29
|
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col gap-xs', className), children: [(0, jsx_runtime_1.jsx)("div", { className: "flex gap-xs", children: (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
|
|
30
|
-
className: stretched ? '
|
|
30
|
+
className: (0, style_1.style)(stretched || hasText ? 'basis-full' : ''),
|
|
31
31
|
buttonClassName,
|
|
32
32
|
}) }), children ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null] }));
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,mFAAgF;AAChF,iDAA8C;AAC9C,+CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAUrC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,GAAG,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAuB,CAAC;IAC9D,MAAM,OAAO,GAAgC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC5D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;QAC/B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,+BAAc,EAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAA,eAAM,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC;QACpD,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QAE5D,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,IAAI,CAAC,CAAC;SAClB;QAED,OAAO;YACL,GAAG,CAAC;YACJ,GAAG,UAAU;YACb,IAAI,EAAE,EAAE,GAAG,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE;YAC7C,OAAO;
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,mFAAgF;AAChF,iDAA8C;AAC9C,+CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAUrC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,GAAG,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAuB,CAAC;IAC9D,MAAM,OAAO,GAAgC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC5D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;QAC/B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,+BAAc,EAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAA,eAAM,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC;QACpD,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QAE5D,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,IAAI,CAAC,CAAC;SAClB;QAED,OAAO;YACL,GAAG,CAAC;YACJ,GAAG,UAAU;YACb,IAAI,EAAE,EAAE,GAAG,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE;YAC7C,OAAO,EAAE,CAAC,EAAE,OAAO,IAAI,OAAO;SAC/B,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,IAAA,aAAK,EAC3B,kJAAkJ,EAClJ,cAAc,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,EAC7C,SAAS,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,CACzC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,sBAAsB,EAAE,SAAS,CAAC,aACtD,gCAAK,SAAS,EAAC,aAAa,YACzB,IAAA,2CAAoB,EAAC,OAAO,EAAE;oBAC7B,SAAS,EAAE,IAAA,aAAK,EAAC,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;oBAC1D,eAAe;iBAChB,CAAC,GACE,EACL,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,QAAQ,GACJ,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type HeadlineVersion } from '../../model/HeadlineType';
|
|
2
2
|
import { type HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
3
3
|
import { type FontWeight, type TextSize, type TitleSize } from '../../ui-kit/Text/TextProps';
|
|
4
4
|
export declare const headlineVersionStyles: Record<HeadlineVersion, {
|
|
@@ -7,4 +7,3 @@ export declare const headlineVersionStyles: Record<HeadlineVersion, {
|
|
|
7
7
|
descriptionWeight: FontWeight;
|
|
8
8
|
descriptionStyle: string;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.
|
|
2
|
+
exports.headlineVersionStyles = void 0;
|
|
3
3
|
exports.headlineVersionStyles = {
|
|
4
4
|
XXL: {
|
|
5
5
|
title: { headingType: 'h0', as: 'h1' },
|
|
@@ -38,15 +38,4 @@ exports.headlineVersionStyles = {
|
|
|
38
38
|
descriptionStyle: 'mt-xs',
|
|
39
39
|
},
|
|
40
40
|
};
|
|
41
|
-
// TODO: Move to Gallery and rename
|
|
42
|
-
exports.HEADLINE_SMALL_VERSION = {
|
|
43
|
-
H6: 'text-h6',
|
|
44
|
-
XL_L: 'text-xl-light',
|
|
45
|
-
XL_R: 'text-xl',
|
|
46
|
-
L_L: 'text-l-light',
|
|
47
|
-
L_R: 'text-l',
|
|
48
|
-
M: 'text-m-light',
|
|
49
|
-
S: 'text-s-light',
|
|
50
|
-
XS: 'text-xs-light',
|
|
51
|
-
};
|
|
52
41
|
//# sourceMappingURL=headlineVersionStyles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":";;AAIa,QAAA,qBAAqB,GAQ9B;IACF,GAAG,EAAE;QACH,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,aAAa;QAChC,gBAAgB,EAAE,OAAO;KAC1B;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,OAAO;KAC1B;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,QAAQ;QACzB,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,OAAO;KAC1B;CACF,CAAC
|
|
1
|
+
{"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":";;AAIa,QAAA,qBAAqB,GAQ9B;IACF,GAAG,EAAE;QACH,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,aAAa;QAChC,gBAAgB,EAAE,OAAO;KAC1B;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,OAAO;KAC1B;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,QAAQ;QACzB,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,OAAO;KAC1B;CACF,CAAC"}
|
|
@@ -4,14 +4,13 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
+
const getBorderStyle_1 = require("../../utils/getBorderStyle");
|
|
7
8
|
const style_1 = require("../../utils/style");
|
|
8
9
|
const gapStyles_1 = require("./gapStyles");
|
|
9
10
|
exports.HorizontalLayout = (0, uni_jsx_1.JSX)(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, isCardBorder, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative', 'grid grid-cols-12', gapStyles_1.gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: (0, renderChildren_1.renderChildren)({
|
|
10
11
|
...rest,
|
|
11
12
|
extraProps: {
|
|
12
|
-
className: isCardBorder
|
|
13
|
-
? 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'
|
|
14
|
-
: '',
|
|
13
|
+
className: (0, getBorderStyle_1.getBorderStyle)(isCardBorder),
|
|
15
14
|
},
|
|
16
15
|
}) })));
|
|
17
16
|
exports.HorizontalLayout.childrenTypes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../src/components/HorizontalLayout/HorizontalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,6CAA0C;AAC1C,2CAAwC;AAK3B,QAAA,gBAAgB,GAAoC,IAAA,aAAG,EAClE,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,IAAI,EACV,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,mBAAmB,EAAE,qBAAS,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,EAC5E,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACxC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,IAAA,+BAAc,EAAC;QACd,GAAG,IAAI;QACP,UAAU,EAAE;YACV,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../src/components/HorizontalLayout/HorizontalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,+DAA4D;AAC5D,6CAA0C;AAC1C,2CAAwC;AAK3B,QAAA,gBAAgB,GAAoC,IAAA,aAAG,EAClE,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,IAAI,EACV,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,mBAAmB,EAAE,qBAAS,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,EAC5E,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACxC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,IAAA,+BAAc,EAAC;QACd,GAAG,IAAI;QACP,UAAU,EAAE;YACV,SAAS,EAAE,IAAA,+BAAc,EAAC,YAAY,CAAC;SACxC;KACF,CAAC,GACW,CAChB,CACF,CAAC;AAEF,wBAAgB,CAAC,aAAa,GAAG;IAC/B,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAC9B,CAAC"}
|
|
@@ -3,18 +3,10 @@ exports.LinkDocItem = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
exports.LinkDocItem = (0, uni_jsx_1.JSX)(({ icon, text, fileSize, ...linkProps }) =>
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
const getExtFromHref = (href) => {
|
|
14
|
-
if (!href) {
|
|
15
|
-
return '';
|
|
16
|
-
}
|
|
17
|
-
const index = href.lastIndexOf('.');
|
|
18
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
19
|
-
};
|
|
6
|
+
exports.LinkDocItem = (0, uni_jsx_1.JSX)(({ icon, text, fileFormat, fileSize, ...linkProps }) => {
|
|
7
|
+
const prefix = fileFormat || fileSize ? ',' : '';
|
|
8
|
+
const size = fileSize ?? '';
|
|
9
|
+
const format = fileFormat ? String(fileFormat) : '';
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? ((0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-l", font: "font-light", children: [text, (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", children: linkProps?.href && `${size} ${prefix} ${format}` })] })) : null] }));
|
|
11
|
+
});
|
|
20
12
|
//# sourceMappingURL=LinkDocItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAOjC,QAAA,WAAW,GAAG,IAAA,aAAG,
|
|
1
|
+
{"version":3,"file":"LinkDocItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAOjC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IACrD,MAAM,MAAM,GAAG,UAAU,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IACjD,MAAM,IAAI,GAAG,QAAQ,IAAI,EAAE,CAAC;IAC5B,MAAM,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEpD,OAAO,CACL,+BACE,SAAS,EAAC,qGAAqG,EAC/G,IAAI,EAAC,MAAM,KACP,SAAS,aAEZ,IAAI,EACJ,IAAI,CAAC,CAAC,CAAC,CACN,wBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,IAAI,EACL,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,YAC9B,SAAS,EAAE,IAAI,IAAI,GAAG,IAAI,IAAI,MAAM,IAAI,MAAM,EAAE,GAC5C,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -17,15 +17,16 @@ const linkColumnsModeStyleMap = {
|
|
|
17
17
|
};
|
|
18
18
|
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
19
19
|
const router = (0, useRouter_1.useRouter)();
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router,
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
|
|
21
21
|
});
|
|
22
|
-
const renderLinkDocItem = (router,
|
|
22
|
+
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
23
23
|
const href = docBlockDef?.docType === 'Attachment'
|
|
24
24
|
? (0, adjustHref_1.adjustHref)(router)(docBlockDef?.attachment?.src)
|
|
25
25
|
: docBlockDef?.href;
|
|
26
26
|
const fileSize = docBlockDef?.docType === 'Attachment'
|
|
27
27
|
? (0, formatBytes_1.formatBytes)(docBlockDef?.attachment?.fileSize || 0)
|
|
28
28
|
: docBlockDef?.fileSize;
|
|
29
|
-
|
|
29
|
+
const fileFormat = docBlockDef?.docType !== 'Attachment' ? docBlockDef?.fileFormat : '';
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)("div", { role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocItem_1.LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: linkIconStyle_1.linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
|
|
30
31
|
};
|
|
31
32
|
//# sourceMappingURL=LinkDocs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAA+D;AAG/D,4DAAyD;AACzD,8CAA2C;AAC3C,uDAAoD;AACpD,yDAAsD;AACtD,6CAA0C;AAC1C,mDAAgD;AAChD,+CAA4C;AAE5C,mDAAgD;AAEhD,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,aAAa;CACtB,CAAC;AAIW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,GAAG,aAAa,EACrB,SAAS,EACT,IAAI,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,EAC1B,WAAW,GAAG,QAAQ,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,IAAA,qBAAS,GAAE,CAAC;IAE3B,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,SAAS,CAAC,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,aACtF,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,GAAG,EACnB,EAAE,EAAC,IAAI,EACP,UAAU,EAAE,IAAI,GAChB,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACnB,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,aAAa,EACb,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,EAC5D,uBAAuB,CAAC,WAAW,CAAC,CACrC,EACD,IAAI,EAAC,MAAM,YAEV,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAA+D;AAG/D,4DAAyD;AACzD,8CAA2C;AAC3C,uDAAoD;AACpD,yDAAsD;AACtD,6CAA0C;AAC1C,mDAAgD;AAChD,+CAA4C;AAE5C,mDAAgD;AAEhD,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,aAAa;CACtB,CAAC;AAIW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,GAAG,aAAa,EACrB,SAAS,EACT,IAAI,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,EAC1B,WAAW,GAAG,QAAQ,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,IAAA,qBAAS,GAAE,CAAC;IAE3B,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,SAAS,CAAC,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,aACtF,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,GAAG,EACnB,EAAE,EAAC,IAAI,EACP,UAAU,EAAE,IAAI,GAChB,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACnB,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,aAAa,EACb,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,EAC5D,uBAAuB,CAAC,WAAW,CAAC,CACrC,EACD,IAAI,EAAC,MAAM,YAEV,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,GAC3C,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,iBAAiB,GACrB,CAAC,MAAc,EAAE,IAAa,EAAE,EAAE,CAAC,CAAC,WAAwB,EAAE,CAAS,EAAE,EAAE;IACzE,MAAM,IAAI,GACR,WAAW,EAAE,OAAO,KAAK,YAAY;QACnC,CAAC,CAAC,IAAA,uBAAU,EAAC,MAAM,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,CAAC;QAClD,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC;IAExB,MAAM,QAAQ,GACZ,WAAW,EAAE,OAAO,KAAK,YAAY;QACnC,CAAC,CAAC,IAAA,yBAAW,EAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,IAAI,CAAC,CAAC;QACrD,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC;IAE5B,MAAM,UAAU,GAAG,WAAW,EAAE,OAAO,KAAK,YAAY,CAAC,CAAC,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAExF,OAAO,CACL,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,yBAAW,IACV,IAAI,EAAE,WAAW,EAAE,IAAI,EACvB,MAAM,EAAE,WAAW,EAAE,MAAM,EAC3B,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,6BAAa,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GACzF,IARM,MAAM,CAAC,CAAC,CAAC,CASb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -15,6 +15,8 @@ export declare type LinkColumnsMode = 'single' | 'double';
|
|
|
15
15
|
export interface LinkDoc extends LinkProps {
|
|
16
16
|
/** @title размер файла */
|
|
17
17
|
fileSize?: string;
|
|
18
|
+
/** @title формат файла */
|
|
19
|
+
fileFormat?: string;
|
|
18
20
|
}
|
|
19
21
|
export interface AttachmentDoc {
|
|
20
22
|
/** @title Текст */
|
|
@@ -38,6 +40,10 @@ export declare type LinkDocDef = LinkDoc & {
|
|
|
38
40
|
export declare type AttachmentDocDef = AttachmentDoc & {
|
|
39
41
|
docType: 'Attachment';
|
|
40
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* @title Документ
|
|
45
|
+
* @default null
|
|
46
|
+
*/
|
|
41
47
|
export declare type DocBlockDef = EmptyOption | LinkDocDef | AttachmentDocDef;
|
|
42
48
|
/**
|
|
43
49
|
* @title Список документов
|
|
@@ -10,28 +10,37 @@ exports.linkDocsContentExample = {
|
|
|
10
10
|
attachment: { src: '/abc1/cooldoc.doc' },
|
|
11
11
|
target: '_self',
|
|
12
12
|
},
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
{
|
|
14
|
+
docType: 'Link',
|
|
15
|
+
text: 'target blank',
|
|
16
|
+
href: '/abc2/wtf.rtf',
|
|
17
|
+
fileFormat: 'rtf',
|
|
18
|
+
target: '_blank',
|
|
19
|
+
},
|
|
20
|
+
{ docType: 'Link', text: 'GlassIcon', href: '/abc3/map.jpeg', fileFormat: 'jpeg' },
|
|
21
|
+
{ docType: 'Link', text: 'no icon', href: '/abc4', fileFormat: 'rtf' },
|
|
16
22
|
{ docType: 'Link', text: 'документ 5', href: '/abc5' },
|
|
17
|
-
{ docType: 'Link', text: 'документ 6', href: '/abc6/abc.pdf' },
|
|
18
|
-
{ docType: 'Link', text: 'Text text text', href: '/abc7/yolo.png' },
|
|
23
|
+
{ docType: 'Link', text: 'документ 6', href: '/abc6/abc.pdf', fileFormat: 'pdf' },
|
|
24
|
+
{ docType: 'Link', text: 'Text text text', href: '/abc7/yolo.png', fileFormat: 'png' },
|
|
19
25
|
{
|
|
20
26
|
docType: 'Link',
|
|
21
27
|
text: 'Some more generic text to stretch item, and even more, more text, and more generic text, and even more, more text, and even more',
|
|
22
28
|
href: '/abc8/archive.zip',
|
|
29
|
+
fileFormat: 'zip',
|
|
23
30
|
fileSize: '2.3МБ',
|
|
24
31
|
},
|
|
25
32
|
{
|
|
26
33
|
docType: 'Link',
|
|
27
34
|
text: 'И ещё немного текста',
|
|
28
35
|
href: '/abc9/rarniw.rar',
|
|
36
|
+
fileFormat: 'rar',
|
|
29
37
|
fileSize: '666МБ',
|
|
30
38
|
},
|
|
31
39
|
{
|
|
32
40
|
docType: 'Link',
|
|
33
41
|
text: 'Форматируем, сортируем, смотрим как отображается...',
|
|
34
42
|
href: '/abc10/',
|
|
43
|
+
fileFormat: 'pdf',
|
|
35
44
|
fileSize: '65ГБ',
|
|
36
45
|
},
|
|
37
46
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkDocsContentExample.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/linkDocsContentExample.ts"],"names":[],"mappings":";;AAEa,QAAA,sBAAsB,GAAoB;IACrD,KAAK,EAAE,0BAA0B;IACjC,WAAW,EAAE,oCAAoC;IACjD,SAAS,EAAE;QACT;YACE,OAAO,EAAE,YAAY;YACrB,IAAI,EAAE,aAAa;YACnB,UAAU,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE;YACxC,MAAM,EAAE,OAAO;SAChB;QACD,
|
|
1
|
+
{"version":3,"file":"linkDocsContentExample.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/linkDocsContentExample.ts"],"names":[],"mappings":";;AAEa,QAAA,sBAAsB,GAAoB;IACrD,KAAK,EAAE,0BAA0B;IACjC,WAAW,EAAE,oCAAoC;IACjD,SAAS,EAAE;QACT;YACE,OAAO,EAAE,YAAY;YACrB,IAAI,EAAE,aAAa;YACnB,UAAU,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE;YACxC,MAAM,EAAE,OAAO;SAChB;QACD;YACE,OAAO,EAAE,MAAM;YACf,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,eAAe;YACrB,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,QAAQ;SACjB;QACD,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,EAAE;QAClF,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE;QACtE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE;QACtD,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE;QACjF,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE;QACtF;YACE,OAAO,EAAE,MAAM;YACf,IAAI,EAAE,kIAAkI;YACxI,IAAI,EAAE,mBAAmB;YACzB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,OAAO;SAClB;QACD;YACE,OAAO,EAAE,MAAM;YACf,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,kBAAkB;YACxB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,OAAO;SAClB;QACD;YACE,OAAO,EAAE,MAAM;YACf,IAAI,EAAE,qDAAqD;YAC3D,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,MAAM;SACjB;KACF;CACF,CAAC"}
|
|
@@ -10,9 +10,9 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
10
10
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
11
11
|
const style_1 = require("../../utils/style");
|
|
12
12
|
const renderList_1 = require("./renderList");
|
|
13
|
-
exports.MobileAppTile = (0, uni_jsx_1.JSX)(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
13
|
+
exports.MobileAppTile = (0, uni_jsx_1.JSX)(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
14
14
|
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
15
15
|
const img = image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "hidden lg:block", image: image }) : null;
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('min-h-80', className), padding: "p-0", version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, title: title, className: (0, style_1.style)('whitespace-pre-wrap', align) })) : null, rightImage: img, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'flex-wrap' }), children: [description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [(0, renderList_1.renderList)(items, listItemSize), qr?.src ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-fit", image: qr }) })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('min-h-80', className), padding: "p-0", version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, title: title, className: (0, style_1.style)('whitespace-pre-wrap', align) })) : null, rightImage: img, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'flex-wrap' }), children: [description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [(0, renderList_1.renderList)(items, listItemSize, additionalDescription), qr?.src ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-fit", image: qr }) })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=MobileAppTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAE1C,6CAA0C;AAI7B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,GAAG,WAAW,EACnB,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,WAAW,GAAG,IAAI,EAClB,KAAK,EACL,KAAK,EACL,YAAY,EACZ,EAAE,EACF,KAAK,GAAG,sBAAsB,EAC9B,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,cAAc,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC;IAE7E,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAElF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,SAAS,CAAC,EACvC,OAAO,EAAC,KAAK,EACb,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,OAAO,EACtB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,KAAK,CAAC,GAC9C,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,UAAU,EAAE,GAAG,EACf,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,aAEjE,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,iBAAa,YAAY,YAC1C,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,EACR,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,OAAO,EACP,sBAAsB,EACtB,oDAAoD,CACrD,aAEA,IAAA,uBAAU,EAAC,KAAK,EAAE,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAE1C,6CAA0C;AAI7B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,GAAG,WAAW,EACnB,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,WAAW,GAAG,IAAI,EAClB,KAAK,EACL,KAAK,EACL,YAAY,EACZ,EAAE,EACF,qBAAqB,GAAG,EAAE,EAC1B,KAAK,GAAG,sBAAsB,EAC9B,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,cAAc,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC;IAE7E,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAElF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,SAAS,CAAC,EACvC,OAAO,EAAC,KAAK,EACb,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,OAAO,EACtB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,KAAK,CAAC,GAC9C,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,UAAU,EAAE,GAAG,EACf,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,aAEjE,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,iBAAa,YAAY,YAC1C,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,EACR,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,OAAO,EACP,sBAAsB,EACtB,oDAAoD,CACrD,aAEA,IAAA,uBAAU,EAAC,KAAK,EAAE,YAAY,EAAE,qBAAqB,CAAC,EACtD,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CACT,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,cAAc,CACf,YAED,uBAAC,SAAG,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,GAAI,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,IACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
1
|
+
import { type AdditionalDescriptionProps, type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import { type Picture } from '../../model/Picture';
|
|
4
4
|
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
@@ -8,7 +8,7 @@ import { type ListContent } from '../../ui-kit/List/ListContent';
|
|
|
8
8
|
/**
|
|
9
9
|
* @title Мобильное приложение
|
|
10
10
|
*/
|
|
11
|
-
export declare type MobileAppTileContent = UniBlockContent & HeadlineCommonProps & HeadingCommonProps & ButtonsSectionContent & ListContent & ImageContent & {
|
|
11
|
+
export declare type MobileAppTileContent = UniBlockContent & AdditionalDescriptionProps & HeadlineCommonProps & HeadingCommonProps & ButtonsSectionContent & ListContent & ImageContent & {
|
|
12
12
|
/** @title QR-код */
|
|
13
13
|
qr?: Picture;
|
|
14
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type ListItemSize } from '../../ui-kit/List/ListContent';
|
|
3
|
-
export declare const renderList: (items?: string[], listItemSize?: ListItemSize) => JSX.Element;
|
|
3
|
+
export declare const renderList: (items?: string[], listItemSize?: ListItemSize, additionalDescription?: string) => JSX.Element;
|
|
@@ -2,8 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.renderList = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const List_1 = require("../../ui-kit/List/List");
|
|
5
|
-
const
|
|
6
|
-
|
|
5
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
+
const renderList = (items, listItemSize, additionalDescription) => {
|
|
7
|
+
return items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { items: items, listItemSize: listItemSize, className: "text-l font-light" })) : ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }));
|
|
7
8
|
};
|
|
8
9
|
exports.renderList = renderList;
|
|
9
10
|
//# sourceMappingURL=renderList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderList.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/renderList.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;
|
|
1
|
+
{"version":3,"file":"renderList.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/renderList.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C,iDAA8C;AAEvC,MAAM,UAAU,GAAG,CACxB,KAAgB,EAChB,YAA2B,EAC3B,qBAA8B,EAC9B,EAAE;IACF,OAAO,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAC,mBAAmB,GAAG,CACjF,CAAC,CAAC,CAAC,CACF,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,iBAAa,YAAY,EAAC,KAAK,EAAC,qBAAqB,YACrE,qBAAqB,GACjB,CACR,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
|
|
@@ -6,6 +6,7 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
|
6
6
|
const useRouter_1 = require("../../hooks/useRouter");
|
|
7
7
|
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
8
8
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
9
|
+
const getBorderStyle_1 = require("../../utils/getBorderStyle");
|
|
9
10
|
const style_1 = require("../../utils/style");
|
|
10
11
|
const renderBackwardButton_1 = require("./renderBackwardButton");
|
|
11
12
|
exports.ProductBlock = (0, uni_jsx_1.JSX)(({ className, padding, backwardButton, showBorder, ...rest }) => {
|
|
@@ -14,9 +15,8 @@ exports.ProductBlock = (0, uni_jsx_1.JSX)(({ className, padding, backwardButton,
|
|
|
14
15
|
ev?.preventDefault();
|
|
15
16
|
router.back();
|
|
16
17
|
}, []);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden flex flex-col gap-3xl box-border', borderStyle, className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton ? (0, renderBackwardButton_1.renderBackwardButton)(rest.version || 'primary', handleClick) : null, (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "grow h-full", ...rest })] }));
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden flex flex-col gap-3xl box-border', (0, getBorderStyle_1.getBorderStyle)(showBorder), className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
|
|
19
|
+
? (0, renderBackwardButton_1.renderBackwardButton)(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
|
|
20
|
+
: null, (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "grow h-full", ...rest })] }));
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,qDAAkD;AAElD,kFAA+E;AAC/E,4DAAyD;AAEzD,6CAA0C;AAE1C,iEAA8D;AAIjD,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,IAAA,qBAAS,GAAE,CAAC;IAC3B,MAAM,WAAW,GAAG,IAAA,mBAAW,EAAC,CAAC,EAAqB,EAAE,EAAE;QACxD,EAAE,EAAE,cAAc,EAAE,CAAC;QACrB,MAAM,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC,EAAE,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,qDAAkD;AAElD,kFAA+E;AAC/E,4DAAyD;AAEzD,+DAA4D;AAC5D,6CAA0C;AAE1C,iEAA8D;AAIjD,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,IAAA,qBAAS,GAAE,CAAC;IAC3B,MAAM,WAAW,GAAG,IAAA,mBAAW,EAAC,CAAC,EAAqB,EAAE,EAAE;QACxD,EAAE,EAAE,cAAc,EAAE,CAAC;QACrB,MAAM,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,kDAAkD,EAClD,IAAA,+BAAc,EAAC,UAAU,CAAC,EAC1B,SAAS,CACV,EACD,cAAc,EAAC,OAAO,EACtB,OAAO,EAAE,OAAO,KACZ,IAAI,aAEP,cAAc;gBACb,CAAC,CAAC,IAAA,2CAAoB,EAClB,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EACjE,WAAW,CACZ;gBACH,CAAC,CAAC,IAAI,EACR,uBAAC,iCAAe,IAAC,SAAS,EAAC,aAAa,KAAK,IAAI,GAAI,IACxC,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
1
2
|
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
2
3
|
/**
|
|
3
4
|
* @title Форматированный текст
|
|
4
5
|
*/
|
|
5
|
-
export declare type RichTextBlockContent = RichTextProps;
|
|
6
|
+
export declare type RichTextBlockContent = UniBlockContent & RichTextProps;
|
|
@@ -10,7 +10,6 @@ const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
|
10
10
|
const style_1 = require("../../utils/style");
|
|
11
11
|
const Headline_1 = require("../Headline/Headline");
|
|
12
12
|
const constants_1 = require("./constants");
|
|
13
|
-
const headlineAlign_1 = require("./headlineAlign");
|
|
14
13
|
const TariffsTableRow_1 = require("./TariffsTableRow");
|
|
15
14
|
const TariffsTableWrapper_1 = require("./TariffsTableWrapper");
|
|
16
15
|
exports.TariffsTable = (0, uni_jsx_1.JSX)(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
@@ -26,6 +25,6 @@ exports.TariffsTable = (0, uni_jsx_1.JSX)(({ className = '', title, description,
|
|
|
26
25
|
});
|
|
27
26
|
const rows = (rowData || []).map((row, i) => ((0, jsx_runtime_1.jsx)(TariffsTableRow_1.TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
|
|
28
27
|
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
29
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden relative space-y-
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden relative space-y-6xl @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), (0, jsx_runtime_1.jsx)("div", { className: "space-y-m", children: hiddenRowsNum > 0 ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)(TariffsTableWrapper_1.TariffsTableWrapper, { controls: controls, children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: DefaultFoldButton_1.renderDefaultFoldButton })) : ((0, jsx_runtime_1.jsx)(TariffsTableWrapper_1.TariffsTableWrapper, { controls: controls, children: rows })) })] }));
|
|
30
29
|
});
|
|
31
30
|
//# sourceMappingURL=TariffsTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,+EAAkF;AAClF,6DAA0D;AAC1D,2EAAwE;AACxE,6CAA0C;AAC1C,mDAAgD;AAChD,2CAAqD;
|
|
1
|
+
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,+EAAkF;AAClF,6DAA0D;AAC1D,2EAAwE;AACxE,6CAA0C;AAC1C,mDAAgD;AAChD,2CAAqD;AAErD,uDAAoD;AACpD,+DAA4D;AAI/C,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,UAAU,EACV,cAAc,EAAE,OAAO,EACvB,aAAa,GAAG,CAAC,EACjB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9C,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;KAC3C,CAAC,CAAC,CAAC;IACJ,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;IACjC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,SAAS;QACpB,gBAAgB,EAAE,kCAAsB;KACzC,CAAC,CAAC;IACH,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3C,uBAAC,iCAAe,IAAiB,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,KAAM,IAAI,IAAlE,MAAM,CAAC,CAAC,CAAC,CAA6D,CAC7F,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAC7B,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAE/F,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,sDAAsD,EAAE,SAAS,CAAC,EACnF,cAAc,EAAC,OAAO,KAClB,IAAI,aAER,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,aAAa,GACnB,EACF,gCAAK,SAAS,EAAC,WAAW,YACvB,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CACnB,uBAAC,mBAAQ,IACP,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,wBAAC,yCAAmB,IAAC,QAAQ,EAAE,QAAQ,aACpC,WAAW,EACZ,uBAAC,iCAAe,IAAC,UAAU,EAAE,UAAU,YAAG,UAAU,GAAmB,IACnD,CACvB,EACD,gBAAgB,EAAE,2CAAuB,GACzC,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,yCAAmB,IAAC,QAAQ,EAAE,QAAQ,YAAG,IAAI,GAAuB,CACtE,GACG,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,qEAA2D;AAe9C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,EAAE;IACH,OAAO,CACL,gCAAK,SAAS,EAAC,gDAAgD,EAAC,IAAI,EAAC,MAAM,YACxE,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CACP,IAAA,wCAAe,EAAC;gBACd,MAAM;gBACN,OAAO;gBACP,aAAa;gBACb,UAAU;gBACV,iBAAiB;gBACjB,oBAAoB;aACrB,CAAC,CACH;YACH,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -79,6 +79,7 @@ export declare type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* @title Содержимое ячейки
|
|
82
|
+
* @default null
|
|
82
83
|
*/
|
|
83
84
|
export declare type CellDef = EmptyOption | ImageCellDef | ButtonsCellDef | LabelDescriptionCellDef | ListBlockDef | InnerTableBlockDef;
|
|
84
85
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableVertical.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableVertical.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"TariffsTableVertical.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableVertical.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iEAA8D;AAEjD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAChF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,gCAAK,SAAS,EAAC,qBAAqB,YACjC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,2CAAoB,IAAiB,IAAI,EAAE,IAAI,KAAM,IAAI,IAA/B,MAAM,CAAC,CAAC,CAAC,CAA0B,CAC/D,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import { type TileContent } from './TileContent';
|
|
3
|
+
export interface TileProps extends TileContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.Tile = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
6
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
+
exports.Tile = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, isFullWidthTitle: false, ...rest }) })));
|
|
8
|
+
//# sourceMappingURL=Tile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AAK5C,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9E,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,KAAK,KACnB,IAAI,GACR,GACW,CAChB,CACF,CAAC"}
|
package/{mobile/dist/components/PromoTile/PromoTileContent.js → dist/components/Tile/TileContent.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=TileContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileContent.js","sourceRoot":"","sources":["../../../src/components/Tile/TileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type JSXBlock, type UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import { type VerticalLayoutContent } from './VerticalLayoutContent';
|
|
3
3
|
export interface VerticalLayoutProps extends VerticalLayoutContent, UniBlockProps {
|
|
4
|
+
isInnerBorder?: boolean;
|
|
4
5
|
}
|
|
5
6
|
export declare const VerticalLayout: JSXBlock<VerticalLayoutProps>;
|
|
@@ -4,11 +4,15 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderChildren_1 = require("../../BlockRenderer/renderChildren");
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
+
const getBorderStyle_1 = require("../../utils/getBorderStyle");
|
|
7
8
|
const style_1 = require("../../utils/style");
|
|
8
9
|
const gapStyles_1 = require("../HorizontalLayout/gapStyles");
|
|
9
|
-
exports.VerticalLayout = (0, uni_jsx_1.JSX)(({ className = '', gap = '', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative flex flex-col', gapStyles_1.gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: (0, renderChildren_1.renderChildren)({
|
|
10
|
+
exports.VerticalLayout = (0, uni_jsx_1.JSX)(({ className = '', gap = '', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, isInnerBorder = false, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative flex flex-col', gapStyles_1.gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: (0, renderChildren_1.renderChildren)({
|
|
10
11
|
...rest,
|
|
11
|
-
extraProps: {
|
|
12
|
+
extraProps: {
|
|
13
|
+
className: (0, style_1.style)('w-full', (0, getBorderStyle_1.getBorderStyle)(isInnerBorder)),
|
|
14
|
+
padding: isInnerPadding ? '' : 'p-0',
|
|
15
|
+
},
|
|
12
16
|
}) })));
|
|
13
17
|
exports.VerticalLayout.childrenTypes = [];
|
|
14
18
|
//# sourceMappingURL=VerticalLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,6CAA0C;AAC1C,6DAA0D;
|
|
1
|
+
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,+DAA4D;AAC5D,6CAA0C;AAC1C,6DAA0D;AAO7C,QAAA,cAAc,GAAkC,IAAA,aAAG,EAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,aAAa,GAAG,KAAK,EACrB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,wBAAwB,EAAE,qBAAS,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,EACrE,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACxC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,IAAA,+BAAc,EAAC;QACd,GAAG,IAAI;QACP,UAAU,EAAE;YACV,SAAS,EAAE,IAAA,aAAK,EAAC,QAAQ,EAAE,IAAA,+BAAc,EAAC,aAAa,CAAC,CAAC;YACzD,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK;SACrC;KACF,CAAC,GACW,CAChB,CACF,CAAC;AAEF,sBAAc,CAAC,aAAa,GAAG,EAAE,CAAC"}
|