@redneckz/wildless-cms-uni-blocks 0.14.12 → 0.14.14

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.
Files changed (129) hide show
  1. package/bin/migration-scripts/0.14.12.js +34 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +14 -12
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  6. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
  7. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  8. package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  9. package/dist/components/PictureText/PictureText.js +1 -1
  10. package/dist/components/PictureText/PictureText.js.map +1 -1
  11. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  12. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  13. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  14. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  15. package/dist/components/ProductTile/ProductTile.js +1 -1
  16. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  17. package/dist/components/Tile/Tile.js +1 -1
  18. package/dist/components/Tile/Tile.js.map +1 -1
  19. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  20. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  21. package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  22. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  23. package/dist/ui-kit/Button/renderButtonsSection.js +3 -1
  24. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  25. package/lib/common.css +1 -1
  26. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
  27. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  28. package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  29. package/lib/components/PictureText/PictureText.js +1 -1
  30. package/lib/components/PictureText/PictureText.js.map +1 -1
  31. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  32. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  33. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  34. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  35. package/lib/components/ProductTile/ProductTile.js +1 -1
  36. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  37. package/lib/components/Tile/Tile.js +1 -1
  38. package/lib/components/Tile/Tile.js.map +1 -1
  39. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  40. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  41. package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  42. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  43. package/lib/ui-kit/Button/renderButtonsSection.js +3 -1
  44. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  45. package/mobile/bundle/bundle.umd.js +11 -9
  46. package/mobile/bundle/bundle.umd.min.js +1 -1
  47. package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  48. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  49. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  50. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  51. package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -2
  52. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  53. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  54. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  55. package/mobile/dist/components/Tile/Tile.js +1 -1
  56. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  57. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  58. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  59. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  60. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  61. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +3 -1
  62. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  63. package/mobile/lib/common.css +1 -1
  64. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +0 -4
  65. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  66. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  67. package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -2
  68. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  69. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  70. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  71. package/mobile/lib/components/Tile/Tile.js +1 -1
  72. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  73. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  74. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  75. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  76. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  77. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +3 -1
  78. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  79. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
  80. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +0 -14
  81. package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +0 -4
  82. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  83. package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -3
  84. package/mobile/src/components/ProductTile/ProductTile.example.json +1 -0
  85. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
  86. package/mobile/src/components/Tile/Tile.tsx +1 -0
  87. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +2 -2
  88. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +2 -2
  89. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +3 -1
  90. package/package.json +1 -1
  91. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
  92. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  93. package/src/components/DepositFiltration/DepositFiltration.example.json +0 -14
  94. package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +1 -15
  95. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +0 -14
  96. package/src/components/DepositFiltration/DepositFiltrationContent.ts +0 -4
  97. package/src/components/PictureText/PictureText.tsx +1 -1
  98. package/src/components/ProductBlock/ProductBlock.tsx +3 -3
  99. package/src/components/ProductGallery/ProductGallery.tsx +1 -0
  100. package/src/components/ProductTile/ProductTile.example.json +1 -0
  101. package/src/components/ProductTile/ProductTile.tsx +2 -0
  102. package/src/components/Tile/Tile.tsx +1 -0
  103. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +2 -2
  104. package/src/ui-kit/BaseTile/BaseTile.tsx +2 -2
  105. package/src/ui-kit/Button/renderButtonsSection.tsx +3 -1
  106. package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  107. package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  108. package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  109. package/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
  110. package/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  111. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  112. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -4
  113. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
  114. package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  115. package/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
  116. package/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  117. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  118. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -2
  119. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
  120. package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  121. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  122. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
  123. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  124. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  125. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
  126. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  127. package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
  128. package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +0 -1
  129. package/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU,CAAC,CA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OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU;QACR,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,2CAA2C,EAC/C,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE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CAAC,CACxB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -19,6 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "version": "primary",
22
- "listItemSize": "S"
22
+ "listItemSize": "S",
23
+ "isImageAlwaysOnRight": true
23
24
  }
24
25
  }
@@ -41,20 +41,6 @@
41
41
  "type": "number"
42
42
  }
43
43
  }
44
- },
45
- "period": {
46
- "title": "Срок",
47
- "type": "object",
48
- "properties": {
49
- "min": {
50
- "title": "Минимум",
51
- "type": "number"
52
- },
53
- "max": {
54
- "title": "Максимум",
55
- "type": "number"
56
- }
57
- }
58
44
  }
59
45
  },
60
46
  "sumInput": {
@@ -13,8 +13,6 @@ export type DepositFiltrationSchema = {
13
13
  percents?: StringArray;
14
14
  /** @hidden */
15
15
  sum?: NumberRange;
16
- /** @hidden */
17
- period?: NumberRange;
18
16
  };
19
17
 
20
18
  /**
@@ -32,7 +30,5 @@ export interface DepositFiltrationContent extends BaseFiltrationInnerContent {
32
30
  periodInput?: {
33
31
  /** @title Лейбл */
34
32
  title?: string;
35
- min?: number;
36
- max?: number;
37
33
  };
38
34
  }
@@ -25,7 +25,7 @@ export const PictureText = JSX<PictureTextProps>(
25
25
  padding={padding}
26
26
  headlineVersion={headlineVersion}
27
27
  align={align}
28
- isFullWidthTitle={false}
28
+ isFullWidthTitle={true}
29
29
  imageOptions={{ directionRight: false, imageAlign: 'center', ...imageOptions }}
30
30
  {...rest}
31
31
  >
@@ -1,13 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useRouter } from '../../hooks/useRouter';
2
4
  import type { UniBlockProps } from '../../model/JSXBlock';
3
5
  import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile';
4
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
+ import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
5
8
  import { style } from '../../utils/style';
6
9
  import type { ProductBlockContent } from './ProductBlockContent';
7
10
  import { renderBackwardButton } from './renderBackwardButton';
8
- import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
9
- import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
10
- import { useRouter } from '../../hooks/useRouter';
11
11
 
12
12
  export interface ProductBlockProps extends UniBlockProps, ProductBlockContent {}
13
13
 
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "version": "primary",
13
13
  "isTabularBenefits": true,
14
+ "isFullWidthTitle": true,
14
15
  "benefits": [
15
16
  {
16
17
  "type": "default",
@@ -15,6 +15,7 @@ export const ProductTile = JSX<ProductTileProps>(
15
15
  isTabularBenefits = true,
16
16
  additionalDescription,
17
17
  imageOptions,
18
+ isFullWidthTitle = true,
18
19
  ...rest
19
20
  }) => (
20
21
  <BlockWrapper className={className} padding="p-0" {...rest}>
@@ -25,6 +26,7 @@ export const ProductTile = JSX<ProductTileProps>(
25
26
  headlineVersion={headlineVersion}
26
27
  isTabularBenefits={isTabularBenefits}
27
28
  imageOptions={{ isImageSecondary: true, ...imageOptions }}
29
+ isFullWidthTitle={isFullWidthTitle}
28
30
  {...rest}
29
31
  >
30
32
  {additionalDescription ? (
@@ -15,6 +15,7 @@ export const Tile = JSX<TileProps>(
15
15
  padding={padding}
16
16
  headlineVersion={headlineVersion}
17
17
  listItemSize={listItemSize}
18
+ isFullWidthTitle={false}
18
19
  {...rest}
19
20
  />
20
21
  </BlockWrapper>
@@ -28,7 +28,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
28
28
  isTabularBenefits,
29
29
  benefits,
30
30
  __html,
31
- isFullWidthTitle = true,
31
+ isFullWidthTitle,
32
32
  items,
33
33
  isDotted = true,
34
34
  listItemSize,
@@ -54,7 +54,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
54
54
  className={className}
55
55
  padding={padding}
56
56
  defaultPadding={defaultPadding}
57
- {...(isFullWidthTitle ? { insetTitle: headline } : { title: headline })}
57
+ {...(isFullWidthTitle ? { title: headline } : { insetTitle: headline })}
58
58
  {...leftOrRightImage(img, directionRight)}
59
59
  isImageSecondary={isImageSecondary}
60
60
  imageAlign={imageAlign}
@@ -33,7 +33,7 @@ export const BaseTile = JSX<BaseTileProps>(
33
33
  rightImage,
34
34
  imageAlign,
35
35
  isImageAlwaysOnRight = false,
36
- isImageSecondary,
36
+ isImageSecondary = false,
37
37
  children,
38
38
  }) => (
39
39
  <div
@@ -63,7 +63,7 @@ export const BaseTile = JSX<BaseTileProps>(
63
63
  </div>
64
64
  {renderImageContainer(rightImage, {
65
65
  className: style(
66
- '@xl:justify-self-end row-start-1 @xl:row-end-3 @xl:col-start-2',
66
+ '@xl:justify-self-end @xl:row-start-1 @xl:row-end-3 @xl:col-start-2 ',
67
67
  positionStyle(isImageAlwaysOnRight),
68
68
  isImageSecondary ? 'hidden @xl:block' : '',
69
69
  ),
@@ -18,7 +18,9 @@ export const renderButtonsSection = (
18
18
  <div
19
19
  className={style(
20
20
  'flex',
21
- isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-lg sm:gap-m',
21
+ isVertical
22
+ ? 'flex-col gap-xs justify-items-stretch'
23
+ : 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m',
22
24
  className,
23
25
  )}
24
26
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.12",
3
+ "version": "0.14.14",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -19,6 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "version": "primary",
22
- "listItemSize": "S"
22
+ "listItemSize": "S",
23
+ "isImageAlwaysOnRight": true
23
24
  }
24
25
  }
@@ -26,7 +26,7 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
26
26
  target,
27
27
  title,
28
28
  align = 'text-left',
29
- isImageAlwaysOnRight,
29
+ isImageAlwaysOnRight = true,
30
30
  ...rest
31
31
  }) => {
32
32
  return (
@@ -40,7 +40,7 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
40
40
  className="h-full"
41
41
  defaultPadding="p-m"
42
42
  padding={padding}
43
- title={
43
+ insetTitle={
44
44
  title ? (
45
45
  <Headline
46
46
  title={title}
@@ -41,20 +41,6 @@
41
41
  "type": "number"
42
42
  }
43
43
  }
44
- },
45
- "period": {
46
- "title": "Срок",
47
- "type": "object",
48
- "properties": {
49
- "min": {
50
- "title": "Минимум",
51
- "type": "number"
52
- },
53
- "max": {
54
- "title": "Максимум",
55
- "type": "number"
56
- }
57
- }
58
44
  }
59
45
  },
60
46
  "sumInput": {
@@ -90,20 +90,6 @@ const SCHEMA: DepositFiltrationContent['filtrationSchema'] = {
90
90
  },
91
91
  },
92
92
  },
93
- period: {
94
- title: 'Срок',
95
- type: 'object',
96
- properties: {
97
- min: {
98
- title: 'Минимум',
99
- type: 'number',
100
- },
101
- max: {
102
- title: 'Максимум',
103
- type: 'number',
104
- },
105
- },
106
- },
107
93
  };
108
94
 
109
95
  const options = {
@@ -119,7 +105,7 @@ export default {
119
105
  filtrationSchema={SCHEMA}
120
106
  topItemsCount={2}
121
107
  sumInput={{ title: 'Сумма' }}
122
- periodInput={{ title: 'Срок, месяцев', min: 3, max: 60 }}
108
+ periodInput={{ title: 'Срок, месяцев' }}
123
109
  resetButton={{ text: 'Очистить фильтры', version: 'secondary' }}
124
110
  notFound={{
125
111
  title: 'Нет подходящей программы',
@@ -90,20 +90,6 @@ const SCHEMA: DepositFiltrationContent['filtrationSchema'] = {
90
90
  },
91
91
  },
92
92
  },
93
- period: {
94
- title: 'Срок',
95
- type: 'object',
96
- properties: {
97
- min: {
98
- title: 'Минимум',
99
- type: 'number',
100
- },
101
- max: {
102
- title: 'Максимум',
103
- type: 'number',
104
- },
105
- },
106
- },
107
93
  };
108
94
 
109
95
  const options = {
@@ -13,8 +13,6 @@ export type DepositFiltrationSchema = {
13
13
  percents?: StringArray;
14
14
  /** @hidden */
15
15
  sum?: NumberRange;
16
- /** @hidden */
17
- period?: NumberRange;
18
16
  };
19
17
 
20
18
  /**
@@ -32,7 +30,5 @@ export interface DepositFiltrationContent extends BaseFiltrationInnerContent {
32
30
  periodInput?: {
33
31
  /** @title Лейбл */
34
32
  title?: string;
35
- min?: number;
36
- max?: number;
37
33
  };
38
34
  }
@@ -25,7 +25,7 @@ export const PictureText = JSX<PictureTextProps>(
25
25
  padding={padding}
26
26
  headlineVersion={headlineVersion}
27
27
  align={align}
28
- isFullWidthTitle={false}
28
+ isFullWidthTitle={true}
29
29
  imageOptions={{ directionRight: false, imageAlign: 'center', ...imageOptions }}
30
30
  {...rest}
31
31
  >
@@ -1,13 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useRouter } from '../../hooks/useRouter';
2
4
  import type { UniBlockProps } from '../../model/JSXBlock';
3
5
  import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile';
4
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
+ import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
5
8
  import { style } from '../../utils/style';
6
9
  import type { ProductBlockContent } from './ProductBlockContent';
7
10
  import { renderBackwardButton } from './renderBackwardButton';
8
- import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
9
- import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
10
- import { useRouter } from '../../hooks/useRouter';
11
11
 
12
12
  export interface ProductBlockProps extends UniBlockProps, ProductBlockContent {}
13
13
 
@@ -29,6 +29,7 @@ export const ProductGallery = JSX<ProductGalleryProps>(
29
29
  <BaseProductTile
30
30
  className="pl-6xl h-full"
31
31
  headlineVersion="XXL"
32
+ isFullWidthTitle={false}
32
33
  {...productBlock}
33
34
  {...rest}
34
35
  />
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "version": "primary",
13
13
  "isTabularBenefits": true,
14
+ "isFullWidthTitle": true,
14
15
  "benefits": [
15
16
  {
16
17
  "type": "default",
@@ -15,6 +15,7 @@ export const ProductTile = JSX<ProductTileProps>(
15
15
  isTabularBenefits = true,
16
16
  additionalDescription,
17
17
  imageOptions,
18
+ isFullWidthTitle = true,
18
19
  ...rest
19
20
  }) => (
20
21
  <BlockWrapper className={className} padding="p-0" {...rest}>
@@ -25,6 +26,7 @@ export const ProductTile = JSX<ProductTileProps>(
25
26
  headlineVersion={headlineVersion}
26
27
  isTabularBenefits={isTabularBenefits}
27
28
  imageOptions={{ isImageSecondary: true, ...imageOptions }}
29
+ isFullWidthTitle={isFullWidthTitle}
28
30
  {...rest}
29
31
  >
30
32
  {additionalDescription ? (
@@ -15,6 +15,7 @@ export const Tile = JSX<TileProps>(
15
15
  padding={padding}
16
16
  headlineVersion={headlineVersion}
17
17
  listItemSize={listItemSize}
18
+ isFullWidthTitle={false}
18
19
  {...rest}
19
20
  />
20
21
  </BlockWrapper>
@@ -28,7 +28,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
28
28
  isTabularBenefits,
29
29
  benefits,
30
30
  __html,
31
- isFullWidthTitle = true,
31
+ isFullWidthTitle,
32
32
  items,
33
33
  isDotted = true,
34
34
  listItemSize,
@@ -54,7 +54,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
54
54
  className={className}
55
55
  padding={padding}
56
56
  defaultPadding={defaultPadding}
57
- {...(isFullWidthTitle ? { insetTitle: headline } : { title: headline })}
57
+ {...(isFullWidthTitle ? { title: headline } : { insetTitle: headline })}
58
58
  {...leftOrRightImage(img, directionRight)}
59
59
  isImageSecondary={isImageSecondary}
60
60
  imageAlign={imageAlign}
@@ -33,7 +33,7 @@ export const BaseTile = JSX<BaseTileProps>(
33
33
  rightImage,
34
34
  imageAlign,
35
35
  isImageAlwaysOnRight = false,
36
- isImageSecondary,
36
+ isImageSecondary = false,
37
37
  children,
38
38
  }) => (
39
39
  <div
@@ -63,7 +63,7 @@ export const BaseTile = JSX<BaseTileProps>(
63
63
  </div>
64
64
  {renderImageContainer(rightImage, {
65
65
  className: style(
66
- '@xl:justify-self-end row-start-1 @xl:row-end-3 @xl:col-start-2',
66
+ '@xl:justify-self-end @xl:row-start-1 @xl:row-end-3 @xl:col-start-2 ',
67
67
  positionStyle(isImageAlwaysOnRight),
68
68
  isImageSecondary ? 'hidden @xl:block' : '',
69
69
  ),
@@ -18,7 +18,9 @@ export const renderButtonsSection = (
18
18
  <div
19
19
  className={style(
20
20
  'flex',
21
- isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-lg sm:gap-m',
21
+ isVertical
22
+ ? 'flex-col gap-xs justify-items-stretch'
23
+ : 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m',
22
24
  className,
23
25
  )}
24
26
  >
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-12 h-12 min-w-12 rounded-full';
4
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,iCAAiC,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-56 h-56 min-w-56';
4
- //# sourceMappingURL=benefitImageStyles.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-12 h-12 min-w-12 rounded-full';
2
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
2
- //# sourceMappingURL=benefitImageStyles.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-56 h-56 min-w-56';
4
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
2
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
@@ -1 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
@@ -1 +0,0 @@
1
- export const benefitImageStyles = 'w-12 h-12 min-w-12 rounded-full';