@redneckz/wildless-cms-uni-blocks 0.6.38 → 0.6.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/bundle/ProjectSettings.d.ts +0 -2
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +140 -116
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +1 -1
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/bundle/model/BlockVersion.d.ts +1 -0
- package/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/dist/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/dist/BlockRenderer/renderBlock.js +2 -2
- package/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/dist/ProjectSettings.d.ts +0 -2
- package/dist/ProjectSettings.js +0 -3
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Blocks.js +6 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +3 -2
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +17 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.js +2 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.js.map +1 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +12 -8
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/dist/components/CarouselProductCard/CarouselProductCard.js +32 -0
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -0
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js +2 -0
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +1 -0
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +3 -2
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +10 -22
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +18 -13
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/dist/model/BlockVersion.d.ts +1 -0
- package/dist/model/BlockVersion.js +5 -1
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/utils/adjustHref.js +1 -3
- package/dist/utils/adjustHref.js.map +1 -1
- package/lib/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/lib/BlockRenderer/renderBlock.js +2 -2
- package/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/lib/ProjectSettings.d.ts +0 -2
- package/lib/ProjectSettings.js +0 -3
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +6 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +4 -1
- package/lib/components/Carousel/Carousel.js +3 -2
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +16 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +15 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.js +2 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.js.map +1 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +12 -8
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +8 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +30 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js +2 -0
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +1 -0
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +3 -2
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -1
- package/lib/components/ProductTile/ProductTile.js +11 -23
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +2 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +18 -13
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/lib/model/BlockVersion.d.ts +1 -0
- package/lib/model/BlockVersion.js +4 -0
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/utils/adjustHref.js +1 -3
- package/lib/utils/adjustHref.js.map +1 -1
- package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/mobile/bundle/ProjectSettings.d.ts +0 -2
- package/mobile/bundle/bundle.umd.js +7 -11
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +1 -1
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/mobile/bundle/model/BlockVersion.d.ts +1 -0
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/mobile/dist/BlockRenderer/renderBlock.js +2 -2
- package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/dist/ProjectSettings.d.ts +0 -2
- package/mobile/dist/ProjectSettings.js +0 -3
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +3 -2
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +17 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.js +2 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +12 -8
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +32 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +2 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +3 -2
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +10 -22
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +18 -13
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/mobile/dist/model/BlockVersion.d.ts +1 -0
- package/mobile/dist/model/BlockVersion.js +5 -1
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/utils/adjustHref.js +1 -3
- package/mobile/dist/utils/adjustHref.js.map +1 -1
- package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +1 -0
- package/mobile/lib/BlockRenderer/renderBlock.js +2 -2
- package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/lib/ProjectSettings.d.ts +0 -2
- package/mobile/lib/ProjectSettings.js +0 -3
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +3 -2
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +7 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +15 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +23 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.js +2 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +12 -8
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -4
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +5 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +30 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +49 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +2 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +3 -2
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +11 -23
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +18 -13
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +4 -0
- package/mobile/lib/model/BlockVersion.d.ts +1 -0
- package/mobile/lib/model/BlockVersion.js +4 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/utils/adjustHref.js +1 -3
- package/mobile/lib/utils/adjustHref.js.map +1 -1
- package/mobile/src/BlockRenderer/BlockRendererOptions.ts +1 -0
- package/mobile/src/BlockRenderer/renderBlock.tsx +2 -1
- package/mobile/src/ProjectSettings.ts +0 -4
- package/mobile/src/components/Carousel/Carousel.example.json +0 -1
- package/mobile/src/components/Carousel/Carousel.tsx +21 -18
- package/mobile/src/components/Carousel/CarouselContent.ts +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +17 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +62 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.ui.json +10 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +25 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +33 -14
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +5 -5
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +21 -0
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +102 -0
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +18 -0
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +51 -0
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +1 -1
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -3
- package/mobile/src/components/ProductTile/ProductTile.tsx +8 -26
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +7 -4
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +35 -20
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +4 -0
- package/mobile/src/model/BlockVersion.ts +5 -0
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +4 -4
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
- package/mobile/src/utils/adjustHref.ts +1 -3
- package/package.json +1 -1
- package/src/BlockRenderer/BlockRendererOptions.ts +1 -0
- package/src/BlockRenderer/renderBlock.tsx +2 -1
- package/src/ProjectSettings.ts +0 -4
- package/src/components/Blocks.ts +6 -2
- package/src/components/Carousel/Carousel.example.json +0 -1
- package/src/components/Carousel/Carousel.fixture.tsx +64 -4
- package/src/components/Carousel/Carousel.tsx +21 -18
- package/src/components/Carousel/CarouselContent.ts +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +17 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +43 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +62 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.ui.json +10 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +25 -0
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +33 -14
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +5 -5
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +21 -0
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +62 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +102 -0
- package/src/components/CarouselProductCard/CarouselProductCard.ui.json +18 -0
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +51 -0
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +1 -1
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +1 -1
- package/src/components/ContactsBlock/ContactsBlock.example.json +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +6 -3
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
- package/src/components/ProductTile/ProductTile.tsx +8 -26
- package/src/components/VerticalLayout/VerticalLayout.example.json +7 -4
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +59 -2
- package/src/components/VerticalLayout/VerticalLayout.tsx +35 -20
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +4 -0
- package/src/model/BlockVersion.ts +5 -0
- package/src/ui-kit/Button/ButtonSection.tsx +4 -4
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
- package/src/utils/adjustHref.ts +1 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,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Map = {
|
|
11
|
-
XXL: 'gap-
|
|
12
|
-
XL: 'gap-
|
|
13
|
-
L: 'gap-
|
|
14
|
-
M: 'gap-
|
|
11
|
+
XXL: 'gap-12',
|
|
12
|
+
XL: 'gap-10',
|
|
13
|
+
L: 'gap-8',
|
|
14
|
+
M: 'gap-4',
|
|
15
15
|
S: 'gap-2',
|
|
16
16
|
XS: 'gap-1',
|
|
17
17
|
'': '',
|
|
@@ -21,15 +21,20 @@ const backgroundStyleMap = {
|
|
|
21
21
|
primary: 'bg-white',
|
|
22
22
|
secondary: 'bg-primary-main',
|
|
23
23
|
};
|
|
24
|
-
export const VerticalLayout = JSX(({ className = '', gap = '', align, version = 'transparent', ...rest }) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
export const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
|
|
25
|
+
const paddingStyle = isPadding ? 'p-12' : '';
|
|
26
|
+
const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
|
|
27
|
+
return (_jsx(BlockWrapper, { className: [
|
|
28
|
+
'flex flex-col [&>*]:max-w-full',
|
|
29
|
+
paddingStyle,
|
|
30
|
+
gapStyleMap[gap],
|
|
31
|
+
align && alignStyle[align],
|
|
32
|
+
backgroundStyleMap[version],
|
|
33
|
+
className,
|
|
34
|
+
]
|
|
35
|
+
.filter(Boolean)
|
|
36
|
+
.join(' '), ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
|
|
37
|
+
});
|
|
33
38
|
VerticalLayout.childrenTypes = {
|
|
34
39
|
exclude: ['VerticalLayout'],
|
|
35
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,WAAW,GAA+B;IAC9C,GAAG,EAAE,QAAQ;IACb,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,WAAW,GAA+B;IAC9C,GAAG,EAAE,QAAQ;IACb,EAAE,EAAE,QAAQ;IACZ,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,kBAAkB,GAAgD;IACtE,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,GAAG,CAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,KAAK,EACL,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,MAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE;YACT,gCAAgC;YAChC,YAAY;YACZ,WAAW,CAAC,GAAG,CAAC;YAChB,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC;YAC1B,kBAAkB,CAAC,OAAO,CAAC;YAC3B,SAAS;SACV;aACE,MAAM,CAAC,OAAO,CAAC;aACf,IAAI,CAAC,GAAG,CAAC,KACR,IAAI,YAEP,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,GACtE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,cAAc,CAAC,aAAa,GAAG;IAC7B,OAAO,EAAE,CAAC,gBAAgB,CAAC;CAC5B,CAAC"}
|
|
@@ -14,4 +14,8 @@ export interface VerticalLayoutContent {
|
|
|
14
14
|
version?: BlockVersionWithTransparent;
|
|
15
15
|
align?: AlignType;
|
|
16
16
|
gap?: GapVersion;
|
|
17
|
+
/** @title Внутренний отступ компоновщика */
|
|
18
|
+
isPadding?: boolean;
|
|
19
|
+
/** @title Отступы вложенных компонентов */
|
|
20
|
+
isInnerPadding?: boolean;
|
|
17
21
|
}
|
|
@@ -9,4 +9,5 @@ export declare type BlockVersion = 'primary' | 'secondary';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare type BlockVersionWithTransparent = 'transparent' | 'primary' | 'secondary';
|
|
11
11
|
export declare const VersionStyleMap: Record<BlockVersion, string>;
|
|
12
|
+
export declare const VersionAdditionalStyleMap: Record<BlockVersion, string>;
|
|
12
13
|
export declare const VersionWithTransparentStyleMap: Record<BlockVersionWithTransparent, string>;
|
|
@@ -2,6 +2,10 @@ export const VersionStyleMap = {
|
|
|
2
2
|
primary: 'bg-white text-primary-text',
|
|
3
3
|
secondary: 'bg-primary-main text-white',
|
|
4
4
|
};
|
|
5
|
+
export const VersionAdditionalStyleMap = {
|
|
6
|
+
primary: 'text-secondary-text',
|
|
7
|
+
secondary: 'text-white',
|
|
8
|
+
};
|
|
5
9
|
export const VersionWithTransparentStyleMap = {
|
|
6
10
|
transparent: '',
|
|
7
11
|
primary: 'bg-white text-primary-text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockVersion.js","sourceRoot":"","sources":["../../src/model/BlockVersion.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,eAAe,GAAiC;IAC3D,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgD;IACzF,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"BlockVersion.js","sourceRoot":"","sources":["../../src/model/BlockVersion.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,eAAe,GAAiC;IAC3D,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAiC;IACrE,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgD;IACzF,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC"}
|
|
@@ -9,5 +9,5 @@ interface RenderButtonProps {
|
|
|
9
9
|
index?: number;
|
|
10
10
|
}
|
|
11
11
|
export declare const ButtonSection: import("@redneckz/uni-jsx").UNIComponent<ButtonSectionProps, any, any>;
|
|
12
|
-
export declare function renderButton({ button, buttonClassName, index }: RenderButtonProps): JSX.Element;
|
|
12
|
+
export declare function renderButton({ button, buttonClassName, index }: RenderButtonProps): JSX.Element | null;
|
|
13
13
|
export {};
|
|
@@ -4,11 +4,11 @@ import { Img } from '../Img/Img.js';
|
|
|
4
4
|
import { Button } from './Button.js';
|
|
5
5
|
export const ButtonSection = JSX(({ className = '', buttons }) => buttons && buttons?.length ? (_jsx("div", { className: className, children: buttons.map((button, index) => renderButton({ button, index })) })) : null);
|
|
6
6
|
export function renderButton({ button, buttonClassName, index }) {
|
|
7
|
-
const { icon, iconRight, version, ...rest } = button;
|
|
7
|
+
const { icon, iconRight, version, text, ...rest } = button;
|
|
8
8
|
const iconVersion = version === 'secondary' ? 'color' : 'white';
|
|
9
9
|
const leftIcon = renderButtonIcon({ ...icon, iconVersion: iconVersion });
|
|
10
10
|
const rightIcon = renderButtonIcon({ ...iconRight, iconVersion: iconVersion });
|
|
11
|
-
return (_jsx(Button, { className: buttonClassName, appendLeft: leftIcon, appendRight: rightIcon, version: version, ...rest }, index ? String(index) : ''));
|
|
11
|
+
return text ? (_jsx(Button, { className: buttonClassName, appendLeft: leftIcon, appendRight: rightIcon, version: version, text: text, ...rest }, index ? String(index) : '')) : null;
|
|
12
12
|
}
|
|
13
13
|
const renderButtonIcon = (icon) => {
|
|
14
14
|
if (!icon?.icon && !icon?.src) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAYlC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CACnF,OAAO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AAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAChE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,WAAW,EAAa,CAAC,CAAC;IACpF,MAAM,SAAS,GAAG,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,WAAW,EAAa,CAAC,CAAC;IAE1F,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IAEL,SAAS,EAAE,eAAe,EAC1B,UAAU,EAAE,QAAQ,EACpB,WAAW,EAAE,SAAS,EACtB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;QAC7B,OAAO,IAAI,CAAC;KACb;IACD,MAAM,SAAS,GAAG,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAElE,OAAO,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC;AACzE,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ interface SwipeListContainerProps extends SwipeContainerProps {
|
|
|
10
10
|
current: HTMLDivElement | null;
|
|
11
11
|
};
|
|
12
12
|
activeIndex?: number;
|
|
13
|
-
visibleItemCount?: SwipeListItemWidthAuto | 1 | 2 | 3;
|
|
13
|
+
visibleItemCount?: SwipeListItemWidthAuto | 1 | 2 | 3 | 4;
|
|
14
14
|
snapAlign?: 'snap-start' | 'snap-center' | 'snap-end';
|
|
15
15
|
onVisibleItemsChange?: (itemsVisibilityList: ItemsVisibilityList) => void;
|
|
16
16
|
onVisibleIndicesChange?: (indices: number[]) => void;
|
|
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useCallback, useRef } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { mapChildren } from '../../utils/mapChildren.js';
|
|
5
5
|
import { SwipeListItem } from './SwipeListItem.js';
|
|
6
|
-
const childStyleMap = ['min-w-[100%]', 'min-w-[50%]', 'min-w-[33.33%]'];
|
|
6
|
+
const childStyleMap = ['min-w-[100%]', 'min-w-[50%]', 'min-w-[33.33%]', 'min-w-[25%]'];
|
|
7
7
|
export const SwipeListContainer = JSX(({ className = '', containerRef, activeIndex, visibleItemCount, gap = 0, padding = 0, snapAlign = 'snap-center', children, onVisibleItemsChange, onVisibleIndicesChange, }) => {
|
|
8
8
|
const observerOptions = {
|
|
9
9
|
sensitivity: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListContainer.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAmBhD,MAAM,aAAa,GAAG,CAAC,cAAc,EAAE,aAAa,EAAE,gBAAgB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SwipeListContainer.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListContainer.tsx"],"names":[],"mappings":";AAAA,OAA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,12 +1,10 @@
|
|
|
1
|
-
import { projectSettings } from '../ProjectSettings.js';
|
|
2
1
|
import { getOrigin } from './url.js';
|
|
3
2
|
export const adjustHref = (href, router) => {
|
|
4
3
|
if (!href) {
|
|
5
4
|
return href;
|
|
6
5
|
}
|
|
7
|
-
const hrefWithBasePath = `${projectSettings.BASE_PATH || ''}${href}`;
|
|
8
6
|
const origin = getOrigin(router?.href);
|
|
9
7
|
// Relative URL
|
|
10
|
-
return origin ?
|
|
8
|
+
return origin ? href.replace(origin, '') || '/' : href;
|
|
11
9
|
};
|
|
12
10
|
//# sourceMappingURL=adjustHref.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,IAAwB,EACxB,MAA2C,EAC3C,EAAE;IACF,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEvC,eAAe;IACf,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@ export function renderBlock(block: BlockDef, options: BlockRendererOptions) {
|
|
|
13
13
|
blockDecorator = defaultBlockDecorator,
|
|
14
14
|
blocksRegistry = {},
|
|
15
15
|
ancestors = DEFAULT_ANCESTORS,
|
|
16
|
+
className = '',
|
|
16
17
|
} = options;
|
|
17
18
|
const { type } = block;
|
|
18
19
|
|
|
@@ -24,7 +25,7 @@ export function renderBlock(block: BlockDef, options: BlockRendererOptions) {
|
|
|
24
25
|
|
|
25
26
|
return blockDecorator(
|
|
26
27
|
{
|
|
27
|
-
blockClassName: `scroll-mt-12 ${style2className(block.style || DEFAULT_STYLE)}`, // TODO scroll-mt-12 ? here?
|
|
28
|
+
blockClassName: `scroll-mt-12 ${className} ${style2className(block.style || DEFAULT_STYLE)}`, // TODO scroll-mt-12 ? here?
|
|
28
29
|
block,
|
|
29
30
|
ancestors,
|
|
30
31
|
// Adjusted by decorator block and blockClassName
|
|
@@ -7,7 +7,6 @@ export interface ProjectSettings {
|
|
|
7
7
|
SITEMAP?: string;
|
|
8
8
|
FOOTER?: string;
|
|
9
9
|
CDN?: string; // Should ends with "/"
|
|
10
|
-
BASE_PATH?: string; // Should ends with "/"
|
|
11
10
|
YANDEX_MAP_API_KEY?: string;
|
|
12
11
|
YANDEX_METRIKA_ID?: string;
|
|
13
12
|
}
|
|
@@ -46,9 +45,6 @@ export const projectSettings = new (class implements ProjectSettings {
|
|
|
46
45
|
get CDN() {
|
|
47
46
|
return this._.CDN;
|
|
48
47
|
}
|
|
49
|
-
get BASE_PATH() {
|
|
50
|
-
return this._.BASE_PATH;
|
|
51
|
-
}
|
|
52
48
|
get YANDEX_MAP_API_KEY() {
|
|
53
49
|
return this._.YANDEX_MAP_API_KEY;
|
|
54
50
|
}
|
|
@@ -30,23 +30,25 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
return (
|
|
33
|
-
<BlockWrapper className={`
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<div
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
33
|
+
<BlockWrapper className={`font-sans p-12 ${className}`} {...rest}>
|
|
34
|
+
<div className="relative max-w-full">
|
|
35
|
+
<SwipeListContainer
|
|
36
|
+
containerRef={containerRef}
|
|
37
|
+
visibleItemCount={visibleItemCount}
|
|
38
|
+
snapAlign="snap-start"
|
|
39
|
+
gap={ITEMS_GAP}
|
|
40
|
+
onVisibleIndicesChange={scroll.handleVisibleIndicesChange}
|
|
41
|
+
>
|
|
42
|
+
{renderChildren(rest)}
|
|
43
|
+
</SwipeListContainer>
|
|
44
|
+
{(scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (
|
|
45
|
+
<div>
|
|
46
|
+
<div className={`${blurBaseStyle} left-0 bg-opacity-from-white`} />
|
|
47
|
+
<div className={`${blurBaseStyle} right-0 bg-opacity-to-white`} />
|
|
48
|
+
</div>
|
|
49
|
+
) : null}
|
|
50
|
+
{renderScrollButtons(scroll)}
|
|
51
|
+
</div>
|
|
50
52
|
</BlockWrapper>
|
|
51
53
|
);
|
|
52
54
|
},
|
|
@@ -54,8 +56,9 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
|
|
|
54
56
|
|
|
55
57
|
Carousel.childrenTypes = [
|
|
56
58
|
'CarouselCard',
|
|
59
|
+
'CarouselCatalogCard',
|
|
57
60
|
'CarouselTariffsCard',
|
|
58
|
-
'
|
|
61
|
+
'CarouselProductCard',
|
|
59
62
|
'CarouselProgramsCard',
|
|
60
63
|
'CarouselInvestmentCard',
|
|
61
64
|
];
|
|
@@ -6,7 +6,7 @@ export interface CarouselContent {
|
|
|
6
6
|
* @title Количество видимых карточек
|
|
7
7
|
* @enumNames ["auto", "1", "2", "3"]
|
|
8
8
|
*/
|
|
9
|
-
visibleItemCount?: 0 | 1 | 2 | 3;
|
|
9
|
+
visibleItemCount?: 0 | 1 | 2 | 3 | 4;
|
|
10
10
|
/** @title Добавление блюра */
|
|
11
11
|
isBlur?: boolean;
|
|
12
12
|
/** @title Цикличность */
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Заголовок карточки 1",
|
|
3
|
+
"description": "Описание карточки",
|
|
4
|
+
"image": {
|
|
5
|
+
"format": "webp",
|
|
6
|
+
"size": {
|
|
7
|
+
"width": 230,
|
|
8
|
+
"height": 230
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"button": {
|
|
12
|
+
"href": "",
|
|
13
|
+
"text": "Подробнее",
|
|
14
|
+
"target": "_self",
|
|
15
|
+
"version": "primary"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
4
|
+
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
5
|
+
import { renderButton } from '../../ui-kit/Button/ButtonSection';
|
|
6
|
+
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
8
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
9
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
10
|
+
import type { CarouselCatalogCardContent } from './CarouselCatalogCardContent';
|
|
11
|
+
|
|
12
|
+
export interface CarouselCatalogCardProps extends CarouselCatalogCardContent {
|
|
13
|
+
className?: string;
|
|
14
|
+
version?: BlockVersion;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const cardStyleMap: Record<ProductColorVersion, string> = {
|
|
18
|
+
black: 'bg-black',
|
|
19
|
+
white: 'bg-white',
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
|
|
23
|
+
({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (
|
|
24
|
+
<section
|
|
25
|
+
className={`border box-border border-main-stroke p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
|
|
26
|
+
role="listitem"
|
|
27
|
+
>
|
|
28
|
+
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
29
|
+
{title ? (
|
|
30
|
+
<Heading headingType="h6" as="h4" className="text-left mb-1.5" title={title} />
|
|
31
|
+
) : null}
|
|
32
|
+
{description ? (
|
|
33
|
+
<div className="mb-4">
|
|
34
|
+
<Paragraph size="text-m" align="text-left" font="font-light">
|
|
35
|
+
{description}
|
|
36
|
+
</Paragraph>
|
|
37
|
+
</div>
|
|
38
|
+
) : null}
|
|
39
|
+
{colors?.length ? (
|
|
40
|
+
<div className="flex mb-4 text-s-light text-secondary-text">
|
|
41
|
+
<div className="mr-1.5">
|
|
42
|
+
<Text>Доступные цвета: </Text>
|
|
43
|
+
</div>
|
|
44
|
+
{colors.map(renderColorOption)}
|
|
45
|
+
</div>
|
|
46
|
+
) : null}
|
|
47
|
+
{price ? (
|
|
48
|
+
<Text size="text-h3" align="text-left">
|
|
49
|
+
{price} ₽
|
|
50
|
+
</Text>
|
|
51
|
+
) : null}
|
|
52
|
+
{button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null}
|
|
53
|
+
</section>
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
const renderColorOption = (color: ProductColorVersion, i: number) => (
|
|
58
|
+
<span
|
|
59
|
+
key={String(i)}
|
|
60
|
+
className={`w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}`}
|
|
61
|
+
/>
|
|
62
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
4
|
+
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @title Карточка каталога
|
|
9
|
+
*/
|
|
10
|
+
export type CarouselCatalogCardContent = HeadlineCommonProps &
|
|
11
|
+
ImageContent & {
|
|
12
|
+
/** @title Цена в рублях */
|
|
13
|
+
price?: number;
|
|
14
|
+
/** @title Доступные цвета */
|
|
15
|
+
colors?: ProductColorVersion[];
|
|
16
|
+
/**
|
|
17
|
+
* @title Кнопка
|
|
18
|
+
* @default {
|
|
19
|
+
* "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
|
|
20
|
+
* "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
button?: ButtonWithIconProps;
|
|
24
|
+
version?: BlockVersion;
|
|
25
|
+
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { VersionAdditionalStyleMap, VersionStyleMap } from '../../model/BlockVersion';
|
|
3
3
|
import { BorderVersionStyleMap } from '../../model/BorderVersion';
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
|
+
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
8
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
9
|
+
import type { TextColor } from '../../ui-kit/Text/TextProps';
|
|
10
|
+
import { BaseTile } from '../BaseTile/BaseTile';
|
|
4
11
|
import type {
|
|
5
12
|
CardColumnsMode,
|
|
6
13
|
CardsListItem,
|
|
7
14
|
CarouselInvestmentCardContent,
|
|
8
15
|
} from './CarouselInvestmentCardContent';
|
|
9
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
10
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
11
|
-
import { Img } from '../../ui-kit/Img/Img';
|
|
12
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
13
16
|
|
|
14
17
|
export interface CarouselInvestmentCardProps extends CarouselInvestmentCardContent, UniBlockProps {}
|
|
15
18
|
|
|
@@ -42,17 +45,29 @@ export const CarouselInvestmentCard = JSX<CarouselInvestmentCardProps>(
|
|
|
42
45
|
|
|
43
46
|
return (
|
|
44
47
|
<BlockWrapper
|
|
45
|
-
className={
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
className={[
|
|
49
|
+
'relative text-left border border-solid box-border p-9 w-[697px]',
|
|
50
|
+
VersionStyleMap[version],
|
|
51
|
+
BorderVersionStyleMap[version],
|
|
52
|
+
className,
|
|
53
|
+
].join(' ')}
|
|
49
54
|
{...rest}
|
|
50
55
|
>
|
|
51
56
|
<BaseTile title={tileTitle} image={tileImage}>
|
|
52
57
|
<div className="flex justify-between mb-4">
|
|
53
|
-
{description ?
|
|
58
|
+
{description ? (
|
|
59
|
+
<div className="w-1/3">
|
|
60
|
+
<Text size="text-h6">{description}</Text>
|
|
61
|
+
</div>
|
|
62
|
+
) : null}
|
|
54
63
|
{additionalDescription ? (
|
|
55
|
-
<
|
|
64
|
+
<Text
|
|
65
|
+
size="text-m"
|
|
66
|
+
font="font-light"
|
|
67
|
+
color={VersionAdditionalStyleMap[version] as TextColor}
|
|
68
|
+
>
|
|
69
|
+
{additionalDescription}
|
|
70
|
+
</Text>
|
|
56
71
|
) : null}
|
|
57
72
|
</div>
|
|
58
73
|
{cardsList.length ? (
|
|
@@ -73,10 +88,14 @@ const renderCardList = (cardsList: CardsListItem[], columnsMode: number) => {
|
|
|
73
88
|
return visibleCardsList.map((item, i) => (
|
|
74
89
|
<li key={String(i)} className={columnsMode === 2 ? 'basis-[calc(50%-20px)]' : ''}>
|
|
75
90
|
{item?.parameter ? (
|
|
76
|
-
<
|
|
91
|
+
<div className="pr-2.5">
|
|
92
|
+
<Text size={getItemListFontSize(columnsMode)}>{item.parameter}</Text>
|
|
93
|
+
</div>
|
|
77
94
|
) : null}
|
|
78
95
|
{item?.parameterDescription ? (
|
|
79
|
-
<
|
|
96
|
+
<Text size="text-m" font="font-light" color="text-secondary-text">
|
|
97
|
+
{item.parameterDescription}
|
|
98
|
+
</Text>
|
|
80
99
|
) : null}
|
|
81
100
|
</li>
|
|
82
101
|
));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { Picture } from '../../model/Picture';
|
|
3
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @title Карточка галереи инвестиций
|
|
7
|
-
*/
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
8
4
|
|
|
9
5
|
/**
|
|
10
6
|
* @title Количество колонок
|
|
@@ -21,6 +17,10 @@ export interface CardsListItem {
|
|
|
21
17
|
/** @title Описание */
|
|
22
18
|
parameterDescription?: string;
|
|
23
19
|
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @title Карточка галереи инвестиций
|
|
23
|
+
*/
|
|
24
24
|
export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
|
|
25
25
|
/** @title Доп. описание карточки */
|
|
26
26
|
additionalDescription?: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"content": {
|
|
3
|
+
"icon": {
|
|
4
|
+
"format": "webp",
|
|
5
|
+
"size": {
|
|
6
|
+
"width": 140,
|
|
7
|
+
"height": 140
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"title": "Заголовок 1",
|
|
11
|
+
"description": "Описание 1",
|
|
12
|
+
"href": "/credit-cards",
|
|
13
|
+
"version": "primary",
|
|
14
|
+
"isDotted": true,
|
|
15
|
+
"items": [
|
|
16
|
+
{ "text": "Элемент списка 1", "title": "Элемент заголовка 1" },
|
|
17
|
+
{ "text": "Элемент списка 2", "title": "Элемент заголовка 2" },
|
|
18
|
+
{ "text": "Элемент списка 3", "title": "Элемент заголовка 3" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
}
|