@redneckz/wildless-cms-uni-blocks 0.13.3 → 0.13.4
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.11.js +28 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +114 -87
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/bundle/components/Carousel/Carousel.d.ts +1 -1
- package/bundle/components/Carousel/renderCardHighlight.d.ts +7 -0
- package/bundle/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/bundle/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/bundle/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
- package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
- package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +3 -0
- package/bundle/components/RollupItem/RollupItem.d.ts +6 -1
- package/bundle/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/bundle/utils/style.d.ts +2 -1
- package/dist/components/Bonus/Bonus.js +6 -4
- 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/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +9 -6
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/dist/components/Carousel/Carousel.d.ts +1 -1
- package/dist/components/Carousel/Carousel.js +8 -12
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/renderCardHighlight.d.ts +7 -0
- package/dist/components/Carousel/renderCardHighlight.js +9 -0
- package/dist/components/Carousel/renderCardHighlight.js.map +1 -0
- package/dist/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/dist/components/Carousel/renderCarouselCards.js +28 -0
- package/dist/components/Carousel/renderCarouselCards.js.map +1 -0
- package/dist/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/dist/components/Carousel/visibleItemCountStyle.js +4 -0
- package/dist/components/Carousel/visibleItemCountStyle.js.map +1 -0
- package/dist/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
- package/dist/components/Carousel/visibleItemCountStyle.mobile.js +4 -0
- package/dist/components/Carousel/visibleItemCountStyle.mobile.js.map +1 -0
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +3 -6
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.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/buttonsConditionStyle.d.ts +3 -0
- package/dist/components/MobileAppTile/buttonsConditionStyle.js +6 -0
- package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +3 -0
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +13 -0
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.d.ts +6 -1
- package/dist/components/RollupItem/RollupItem.js +2 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +6 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/utils/style.d.ts +2 -1
- package/dist/utils/style.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Bonus/Bonus.js +6 -4
- 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/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +9 -6
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/lib/components/Carousel/Carousel.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js +8 -12
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/renderCardHighlight.d.ts +6 -0
- package/lib/components/Carousel/renderCardHighlight.js +6 -0
- package/lib/components/Carousel/renderCardHighlight.js.map +1 -0
- package/lib/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/lib/components/Carousel/renderCarouselCards.js +25 -0
- package/lib/components/Carousel/renderCarouselCards.js.map +1 -0
- package/lib/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/lib/components/Carousel/visibleItemCountStyle.js +2 -0
- package/lib/components/Carousel/visibleItemCountStyle.js.map +1 -0
- package/lib/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
- package/lib/components/Carousel/visibleItemCountStyle.mobile.js +2 -0
- package/lib/components/Carousel/visibleItemCountStyle.mobile.js.map +1 -0
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -6
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.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/buttonsConditionStyle.d.ts +3 -0
- package/lib/components/MobileAppTile/buttonsConditionStyle.js +3 -0
- package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +2 -0
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +10 -0
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.d.ts +6 -1
- package/lib/components/RollupItem/RollupItem.js +2 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +6 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/utils/style.d.ts +2 -1
- package/lib/utils/style.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +113 -82
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +7 -0
- package/mobile/bundle/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/mobile/bundle/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
- package/mobile/bundle/components/RollupItem/RollupItem.d.ts +6 -1
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/mobile/bundle/utils/style.d.ts +2 -1
- package/mobile/dist/components/Bonus/Bonus.js +6 -4
- 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/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +9 -6
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +8 -12
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +7 -0
- package/mobile/dist/components/Carousel/renderCardHighlight.js +9 -0
- package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -0
- package/mobile/dist/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/mobile/dist/components/Carousel/renderCarouselCards.js +28 -0
- package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -0
- package/mobile/dist/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/mobile/dist/components/Carousel/visibleItemCountStyle.js +4 -0
- package/mobile/dist/components/Carousel/visibleItemCountStyle.js.map +1 -0
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +3 -6
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.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/buttonsConditionStyle.d.ts +3 -0
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +13 -0
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
- package/mobile/dist/components/RollupItem/RollupItem.d.ts +6 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +2 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +6 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/utils/style.d.ts +2 -1
- package/mobile/dist/utils/style.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +6 -4
- 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/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +9 -6
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +5 -0
- package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +8 -12
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +7 -0
- package/mobile/lib/components/Carousel/renderCardHighlight.js +6 -0
- package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -0
- package/mobile/lib/components/Carousel/renderCarouselCards.d.ts +5 -0
- package/mobile/lib/components/Carousel/renderCarouselCards.js +25 -0
- package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -0
- package/mobile/lib/components/Carousel/visibleItemCountStyle.d.ts +1 -0
- package/mobile/lib/components/Carousel/visibleItemCountStyle.js +2 -0
- package/mobile/lib/components/Carousel/visibleItemCountStyle.js.map +1 -0
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +3 -6
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.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/buttonsConditionStyle.d.ts +3 -0
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +10 -0
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
- package/mobile/lib/components/RollupItem/RollupItem.d.ts +6 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +2 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +0 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +6 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/utils/style.d.ts +2 -1
- package/mobile/lib/utils/style.js.map +1 -1
- package/mobile/src/components/Bonus/Bonus.tsx +25 -21
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -2
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -0
- package/mobile/src/components/CardTransfer/CardTransfer.example.json +2 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +13 -7
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +5 -0
- package/mobile/src/components/Carousel/Carousel.tsx +11 -20
- package/mobile/src/components/Carousel/renderCardHighlight.tsx +22 -0
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +58 -0
- package/mobile/src/components/Carousel/visibleItemCountStyle.tsx +1 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -2
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +3 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -30
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +12 -0
- package/mobile/src/components/RollupItem/RollupItem.tsx +9 -6
- package/mobile/src/components/RollupItem/RollupItem.ui.json +1 -5
- package/mobile/src/components/RollupItem/RollupItemContent.ts +0 -4
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +15 -4
- package/mobile/src/utils/style.ts +2 -1
- package/package.json +1 -1
- package/src/components/Bonus/Bonus.tsx +25 -21
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -2
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -0
- package/src/components/CardTransfer/CardTransfer.example.json +2 -1
- package/src/components/CardTransfer/CardTransfer.tsx +13 -7
- package/src/components/CardTransfer/CardTransferContent.ts +5 -0
- package/src/components/Carousel/Carousel.tsx +11 -20
- package/src/components/Carousel/renderCardHighlight.tsx +22 -0
- package/src/components/Carousel/renderCarouselCards.tsx +58 -0
- package/src/components/Carousel/visibleItemCountStyle.mobile.tsx +1 -0
- package/src/components/Carousel/visibleItemCountStyle.tsx +1 -0
- package/src/components/CarouselCard/CarouselCard.tsx +4 -2
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +6 -6
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +10 -13
- package/src/components/CarouselLinks/CarouselLinks.tsx +3 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +1 -6
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +0 -5
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -30
- package/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +12 -0
- package/src/components/MobileAppTile/buttonsConditionStyle.tsx +5 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +6 -3
- package/src/components/RollupItem/RollupItem.tsx +9 -6
- package/src/components/RollupItem/RollupItem.ui.json +1 -5
- package/src/components/RollupItem/RollupItemContent.ts +0 -4
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +15 -4
- package/src/utils/style.ts +2 -1
- package/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/bundle/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.js +0 -5
- package/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +0 -5
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +0 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.js +0 -2
- package/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +0 -2
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +0 -1
- package/mobile/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +0 -5
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +0 -2
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
- package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +0 -2
- package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +0 -2
- package/src/components/CarouselTariffsCard/getPaddingStyle.tsx +0 -2
|
@@ -6,7 +6,7 @@ const link = {
|
|
|
6
6
|
text: 'Аудиторские заключения',
|
|
7
7
|
href: '#',
|
|
8
8
|
};
|
|
9
|
-
const links = Array(
|
|
9
|
+
const links = Array(10).fill(link);
|
|
10
10
|
|
|
11
11
|
const description = `Акционерное общество «Российский Сельскохозяйственный банк»* —
|
|
12
12
|
один из крупнейших банков в России. Был основан в 2000 году в целях развития
|
|
@@ -21,17 +21,14 @@ const MAX_LINKS_COUNT = 10;
|
|
|
21
21
|
|
|
22
22
|
export default {
|
|
23
23
|
default: (
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
block={{ type: 'Carousel', blocks: new Array(3).fill(link).flat() }}
|
|
34
|
-
/>
|
|
35
|
-
</div>
|
|
24
|
+
<CarouselLinks
|
|
25
|
+
links={links}
|
|
26
|
+
title="О Банке"
|
|
27
|
+
description={description}
|
|
28
|
+
additionalDescription={additionalDescription}
|
|
29
|
+
maxLinksCount={MAX_LINKS_COUNT}
|
|
30
|
+
version="secondary"
|
|
31
|
+
block={{ type: 'Carousel', blocks: new Array(1).fill(link).flat() }}
|
|
32
|
+
/>
|
|
36
33
|
),
|
|
37
34
|
};
|
|
@@ -53,16 +53,16 @@ const renderLinks = (links: LinkProps[], maxLinksCount: number) => {
|
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
55
|
<Carousel
|
|
56
|
-
className="
|
|
56
|
+
className="sm:w-2/3 w-full p-0 sm:p-xs"
|
|
57
57
|
version="secondary"
|
|
58
58
|
itemCount={itemCount}
|
|
59
59
|
arrowsPadded={false}
|
|
60
|
-
showDots={
|
|
60
|
+
showDots={false}
|
|
61
61
|
>
|
|
62
62
|
{new Array(itemCount).fill(null).map((_, groupIndex) => (
|
|
63
63
|
<div
|
|
64
64
|
key={String(groupIndex)}
|
|
65
|
-
className={style('flex flex-wrap self-start sm:w-[672px]
|
|
65
|
+
className={style('flex flex-wrap self-start w-full sm:w-[672px]')}
|
|
66
66
|
>
|
|
67
67
|
{links
|
|
68
68
|
.slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
4
5
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
6
|
import { CarouselTariffsCard } from './CarouselTariffsCard';
|
|
6
7
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
7
|
-
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
8
8
|
|
|
9
9
|
const imageMonth: Picture = {
|
|
10
10
|
src: 'monthly-payment.png',
|
|
@@ -67,11 +67,6 @@ export const TARIFFS_CARD_HIT: CarouselTariffsCardContent = {
|
|
|
67
67
|
|
|
68
68
|
const CAROUSEL_TARIFFS_CARD = <CarouselTariffsCard className="col-span-12" {...TARIFFS_CARD} />;
|
|
69
69
|
|
|
70
|
-
const CAROUSEL_TARIFFS_CARD_HIT = (
|
|
71
|
-
<CarouselTariffsCard className="col-span-12" {...TARIFFS_CARD_HIT} />
|
|
72
|
-
);
|
|
73
|
-
|
|
74
70
|
export default {
|
|
75
71
|
default: <div className="container grid grid-cols-12">{CAROUSEL_TARIFFS_CARD}</div>,
|
|
76
|
-
hit: <div className="container grid grid-cols-12">{CAROUSEL_TARIFFS_CARD_HIT}</div>,
|
|
77
72
|
};
|
|
@@ -66,11 +66,6 @@ export const TARIFFS_CARD_HIT: CarouselTariffsCardContent = {
|
|
|
66
66
|
|
|
67
67
|
const CAROUSEL_TARIFFS_CARD = <CarouselTariffsCard className="col-span-4" {...TARIFFS_CARD} />;
|
|
68
68
|
|
|
69
|
-
const CAROUSEL_TARIFFS_CARD_HIT = (
|
|
70
|
-
<CarouselTariffsCard className="col-span-4" {...TARIFFS_CARD_HIT} />
|
|
71
|
-
);
|
|
72
|
-
|
|
73
69
|
export default {
|
|
74
70
|
default: <div className="container grid grid-cols-12">{CAROUSEL_TARIFFS_CARD}</div>,
|
|
75
|
-
hit: <div className="container grid grid-cols-12">{CAROUSEL_TARIFFS_CARD_HIT}</div>,
|
|
76
71
|
};
|
|
@@ -10,10 +10,8 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
|
10
10
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
11
11
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
12
12
|
import { Img } from '../../ui-kit/Img/Img';
|
|
13
|
-
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
14
13
|
import { style } from '../../utils/style';
|
|
15
14
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
16
|
-
import { getPaddingStyle } from './getPaddingStyle';
|
|
17
15
|
import { renderCardInfo } from './renderCardInfo';
|
|
18
16
|
|
|
19
17
|
export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
|
|
@@ -21,27 +19,13 @@ export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, Un
|
|
|
21
19
|
const VISIBLE_CELLS_COUNT = 1;
|
|
22
20
|
|
|
23
21
|
export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
|
|
24
|
-
({
|
|
25
|
-
className = '',
|
|
26
|
-
title,
|
|
27
|
-
align = 'text-center',
|
|
28
|
-
icon,
|
|
29
|
-
isHighlighting = false,
|
|
30
|
-
button,
|
|
31
|
-
cardCells = [],
|
|
32
|
-
...rest
|
|
33
|
-
}) => {
|
|
22
|
+
({ className = '', title, align = 'text-center', icon, button, cardCells = [], ...rest }) => {
|
|
34
23
|
const cellsNode = cardCells.map(renderCardInfo);
|
|
35
24
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
36
25
|
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
37
26
|
|
|
38
27
|
return (
|
|
39
|
-
<BlockWrapper
|
|
40
|
-
className={style('relative flex flex-col', className)}
|
|
41
|
-
defaultPadding={getPaddingStyle(isHighlighting)}
|
|
42
|
-
{...rest}
|
|
43
|
-
>
|
|
44
|
-
{isHighlighting ? renderHitIcon() : null}
|
|
28
|
+
<BlockWrapper className={style('flex flex-col', className)} defaultPadding="p-3xl" {...rest}>
|
|
45
29
|
{renderIconBlock(icon)}
|
|
46
30
|
{title ? (
|
|
47
31
|
<Heading className={style('pt-xs', align)} headingType="h5" title={title} />
|
|
@@ -64,9 +48,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
|
|
|
64
48
|
);
|
|
65
49
|
|
|
66
50
|
const renderIconBlock = (icon?: Picture) => (
|
|
67
|
-
<div className="
|
|
68
|
-
{icon?.src || icon?.icon ? <Img image={icon} /> : null}
|
|
69
|
-
</div>
|
|
51
|
+
<div className="self-center">{icon?.src || icon?.icon ? <Img image={icon} /> : null}</div>
|
|
70
52
|
);
|
|
71
53
|
|
|
72
54
|
const renderFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps): VNode => (
|
|
@@ -83,12 +65,3 @@ const renderFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps): VNode =>
|
|
|
83
65
|
/>
|
|
84
66
|
</button>
|
|
85
67
|
);
|
|
86
|
-
|
|
87
|
-
const renderHitIcon = (): VNode => (
|
|
88
|
-
<div className="absolute -top-6 -right-4 h-14 w-14 bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
|
|
89
|
-
<Icon iconVersion="black" name="HeartIcon" width="24" height="24" />
|
|
90
|
-
<Paragraph size="text-s" font="font-normal" align="text-center" color="text-primary-text">
|
|
91
|
-
ХИТ
|
|
92
|
-
</Paragraph>
|
|
93
|
-
</div>
|
|
94
|
-
);
|
|
@@ -3,13 +3,13 @@ import { AlignText } from '../../model/AlignText';
|
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BaseTile } from '../../ui-kit/BaseTile/BaseTile';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
7
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
8
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
9
8
|
import { style } from '../../utils/style';
|
|
10
9
|
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
11
10
|
import { renderDescription } from './renderDescription';
|
|
12
11
|
import { renderList } from './renderList';
|
|
12
|
+
import { buttonsConditionStyle } from './buttonsConditionStyle';
|
|
13
13
|
|
|
14
14
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {}
|
|
15
15
|
|
|
@@ -51,7 +51,7 @@ export const MobileAppTile = JSX<MobileAppTileProps>(
|
|
|
51
51
|
) : null
|
|
52
52
|
}
|
|
53
53
|
rightImage={image?.src ? <Img className="hidden lg:block" image={image} /> : null}
|
|
54
|
-
buttons={
|
|
54
|
+
buttons={buttonsConditionStyle(buttons)}
|
|
55
55
|
>
|
|
56
56
|
{renderDescription(description)}
|
|
57
57
|
<div className="flex flex-1 flex-wrap gap-m items-center">
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
2
|
+
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import { style } from '../../utils/style';
|
|
4
|
+
|
|
5
|
+
export const buttonsConditionStyle = (buttons: ButtonProps[]) => {
|
|
6
|
+
const buttonsLengthMoreThanTwo = buttons.length > 2;
|
|
7
|
+
|
|
8
|
+
return renderButtonsSection(buttons, {
|
|
9
|
+
className: style(buttonsLengthMoreThanTwo ? 'w-full' : 'flex-nowrap'),
|
|
10
|
+
isVertical: buttonsLengthMoreThanTwo,
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
2
|
+
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
|
|
4
|
+
export const buttonsConditionStyle = (buttons: ButtonProps[]) =>
|
|
5
|
+
renderButtonsSection(buttons, { isVertical: false });
|
|
@@ -22,6 +22,7 @@ export const ROLLUP_ITEM: BlockDef = {
|
|
|
22
22
|
{ type: 'TextBlock', content: TEXT_BLOCK },
|
|
23
23
|
],
|
|
24
24
|
};
|
|
25
|
+
|
|
25
26
|
const labelIcon: Picture = { icon: 'BriefcaseIcon' };
|
|
26
27
|
|
|
27
28
|
export default {
|
|
@@ -29,9 +30,11 @@ export default {
|
|
|
29
30
|
<div>
|
|
30
31
|
<RollupItem
|
|
31
32
|
{...ROLLUP_ITEM.content}
|
|
32
|
-
version="secondary"
|
|
33
33
|
block={ROLLUP_ITEM}
|
|
34
|
+
labelIcon={labelIcon}
|
|
35
|
+
labelIconBgVersion="primary"
|
|
34
36
|
options={options}
|
|
37
|
+
version="secondary"
|
|
35
38
|
/>
|
|
36
39
|
<RollupItem {...ROLLUP_ITEM.content} block={ROLLUP_ITEM} options={options} />
|
|
37
40
|
</div>
|
|
@@ -39,11 +42,11 @@ export default {
|
|
|
39
42
|
labelIcon: (
|
|
40
43
|
<div>
|
|
41
44
|
<RollupItem
|
|
45
|
+
block={ROLLUP_ITEM}
|
|
46
|
+
isExpanded={true}
|
|
42
47
|
label="RollupItem label 1"
|
|
43
48
|
labelIcon={labelIcon}
|
|
44
49
|
labelIconBgVersion="primary"
|
|
45
|
-
isExpanded={true}
|
|
46
|
-
block={ROLLUP_ITEM}
|
|
47
50
|
options={options}
|
|
48
51
|
/>
|
|
49
52
|
</div>
|
|
@@ -2,33 +2,36 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { renderChildren } from '../../BlockRenderer/renderChildren';
|
|
3
3
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
4
|
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
5
|
-
import type { Picture } from '../../model/Picture';
|
|
6
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
6
|
import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
|
|
8
7
|
import { Foldable } from '../../ui-kit/Foldable/Foldable';
|
|
9
8
|
import type { FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
|
|
10
9
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
11
10
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
12
|
-
import type {
|
|
11
|
+
import type { IconName, IconBgVersion, IconProps } from '../../ui-kit/Icon/IconProps';
|
|
13
12
|
import { Text } from '../../ui-kit/Text/Text';
|
|
14
13
|
import { style } from '../../utils/style';
|
|
15
14
|
import { foldableSectionStyles } from './foldableSectionStyles';
|
|
16
15
|
import { getIconName } from './getIconName';
|
|
17
|
-
import { renderRoundedIcon } from './renderRoundedIcon';
|
|
18
16
|
import { rollupIconVersion } from './rollupIconVersion';
|
|
19
17
|
import type { RollupItemContent } from './RollupItemContent';
|
|
20
18
|
import { rollupItemStyles } from './rollupItemStyles';
|
|
19
|
+
import type { Picture } from '../../model/Picture';
|
|
20
|
+
import { renderRoundedIcon } from './renderRoundedIcon';
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
interface RollupItemProps extends RollupItemContent, UniBlockProps {
|
|
23
|
+
labelIcon?: Picture;
|
|
24
|
+
labelIconBgVersion?: IconBgVersion;
|
|
25
|
+
}
|
|
23
26
|
|
|
24
27
|
export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
25
28
|
({
|
|
26
29
|
className = '',
|
|
30
|
+
isExpanded,
|
|
31
|
+
isFoldButtonOnTop = true,
|
|
27
32
|
label = 'Развернуть',
|
|
28
33
|
labelIcon,
|
|
29
34
|
labelIconBgVersion,
|
|
30
|
-
isExpanded,
|
|
31
|
-
isFoldButtonOnTop = true,
|
|
32
35
|
version = 'primary',
|
|
33
36
|
...rest
|
|
34
37
|
}) => {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* @title Сворачивающаяся секция
|
|
@@ -12,6 +10,4 @@ export type RollupItemContent = UniBlockContent &
|
|
|
12
10
|
isExpanded?: boolean;
|
|
13
11
|
/** @title Кнопка сверху */
|
|
14
12
|
isFoldButtonOnTop?: boolean;
|
|
15
|
-
labelIcon?: Picture; // TODO: только для мобильной версии
|
|
16
|
-
labelIconBgVersion?: IconBgVersion;
|
|
17
13
|
};
|
|
@@ -17,7 +17,7 @@ export const SafeDepositRentalTotal = JSX<SafeDepositRentalTotalProps>(({ days,
|
|
|
17
17
|
{renderTotal('Аренда за', days)}
|
|
18
18
|
{renderTotal('Цена', price + ' ₽')}
|
|
19
19
|
</div>
|
|
20
|
-
<span className="sm:hidden order-3 mb-xs text-s-light text-secondary-text">
|
|
20
|
+
<span className="sm:hidden order-3 mb-xs text-s font-light text-secondary-text">
|
|
21
21
|
{imageDescription}
|
|
22
22
|
</span>
|
|
23
23
|
<div className="flex flex-col items-center gap-s order-3 sm:order-none mb-xl sm:mb-0 bg-primary-main py-s sm:p-3xl text-center">
|
|
@@ -46,7 +46,7 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
46
46
|
{renderImageContainer(leftImage, { imageAlign })}
|
|
47
47
|
<div
|
|
48
48
|
className={style(
|
|
49
|
-
'flex flex-col gap-3xl max-w-[600px] xl:max-w-[728px]',
|
|
49
|
+
'flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]',
|
|
50
50
|
leftImage ? '' : 'grow',
|
|
51
51
|
)}
|
|
52
52
|
>
|
|
@@ -66,9 +66,20 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
66
66
|
const renderImageContainer = (
|
|
67
67
|
image: VNode | undefined,
|
|
68
68
|
{ className, imageAlign }: { className?: string; imageAlign?: Align },
|
|
69
|
-
) =>
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
) => {
|
|
70
|
+
//TODO Спорное решение
|
|
71
|
+
const fullWidth = image?.props?.image.size?.width > 400;
|
|
72
|
+
|
|
73
|
+
return image ? (
|
|
74
|
+
<div
|
|
75
|
+
className={style(
|
|
76
|
+
'flex-shrink-0',
|
|
77
|
+
fullWidth ? 'w-full @xl:w-auto' : '',
|
|
78
|
+
imageAlign && imageAlignmentMap[imageAlign],
|
|
79
|
+
className,
|
|
80
|
+
)}
|
|
81
|
+
>
|
|
72
82
|
{image}
|
|
73
83
|
</div>
|
|
74
84
|
) : null;
|
|
85
|
+
};
|
package/src/utils/style.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.getPaddingStyle = void 0;
|
|
3
|
-
const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-3xl mt-3xl pt-20' : 'p-3xl mt-20';
|
|
4
|
-
exports.getPaddingStyle = getPaddingStyle;
|
|
5
|
-
//# sourceMappingURL=getPaddingStyle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,aAAa,CAAC;AAD3C,QAAA,eAAe,mBAC4B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.getPaddingStyle = void 0;
|
|
3
|
-
const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-6xl mt-xl' : 'mt-xl p-6xl'; // Хак для мобильной версии т.к. контракт должен быть идентичный
|
|
4
|
-
exports.getPaddingStyle = getPaddingStyle;
|
|
5
|
-
//# sourceMappingURL=getPaddingStyle.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx"],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,gEAAgE;AADrG,QAAA,eAAe,mBACqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,gEAAgE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.getPaddingStyle = void 0;
|
|
3
|
-
const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-6xl mt-xl' : 'mt-xl p-6xl'; // Хак для мобильной версии т.к. контракт должен быть идентичный
|
|
4
|
-
exports.getPaddingStyle = getPaddingStyle;
|
|
5
|
-
//# sourceMappingURL=getPaddingStyle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,gEAAgE;AADrG,QAAA,eAAe,mBACqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,gEAAgE"}
|