@redneckz/wildless-cms-uni-blocks 0.2.92 → 0.2.96

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 (295) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +165 -112
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/api/LikeAPI.js +1 -0
  5. package/dist/api/LikeAPI.js.map +1 -1
  6. package/dist/components/Accordion/AccordionBlocks.d.ts +1 -2
  7. package/dist/components/Accordion/AccordionBlocks.js +2 -2
  8. package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  9. package/dist/components/Accordion/AccordionContent.d.ts +38 -14
  10. package/dist/components/Accordion/AccordionItem.js +9 -10
  11. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  12. package/dist/components/BaseTile/BaseTile.js +7 -2
  13. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  14. package/dist/components/Blocks.js +1 -1
  15. package/dist/components/Blocks.js.map +1 -1
  16. package/dist/components/ComparisonTable/ComparisonTable.js +11 -6
  17. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  18. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  19. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  20. package/dist/components/ContentPage/ContentPage.d.ts +9 -1
  21. package/dist/components/ContentPage/ContentPage.js +20 -17
  22. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  23. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  24. package/dist/components/ContentPage/toMobilePage.js +13 -2
  25. package/dist/components/ContentPage/toMobilePage.js.map +1 -1
  26. package/dist/components/CreditCalculator/CreditCalculator.js +3 -3
  27. package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -1
  28. package/dist/components/Footer/Contacts.js +1 -1
  29. package/dist/components/Footer/Contacts.js.map +1 -1
  30. package/dist/components/Footer/Footer.js +1 -1
  31. package/dist/components/Footer/Footer.js.map +1 -1
  32. package/dist/components/Footer/FooterContent.d.ts +1 -2
  33. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  34. package/dist/components/Footer/Sitemap.js +1 -1
  35. package/dist/components/Footer/Sitemap.js.map +1 -1
  36. package/dist/components/Footer/SocialMedia.js +1 -2
  37. package/dist/components/Footer/SocialMedia.js.map +1 -1
  38. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  39. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  40. package/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
  41. package/dist/components/Gallery/GalleryCardInner.js +19 -0
  42. package/dist/components/Gallery/GalleryCardInner.js.map +1 -0
  43. package/dist/components/Gallery/GalleryContainer.d.ts +13 -0
  44. package/dist/components/Gallery/GalleryContainer.js +16 -0
  45. package/dist/components/Gallery/GalleryContainer.js.map +1 -0
  46. package/dist/components/Gallery/GalleryContent.d.ts +8 -2
  47. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  48. package/dist/components/Gallery/GalleryInner.js +8 -36
  49. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  50. package/dist/components/Gallery/constants.d.ts +6 -0
  51. package/dist/components/Gallery/constants.js +19 -0
  52. package/dist/components/Gallery/constants.js.map +1 -0
  53. package/dist/components/Header/Header.js +3 -3
  54. package/dist/components/Header/Header.js.map +1 -1
  55. package/dist/components/LinkDocs/LinkDocs.js +5 -5
  56. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  57. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
  58. package/dist/components/MobileBlocks.js +0 -3
  59. package/dist/components/MobileBlocks.js.map +1 -1
  60. package/dist/components/PictureText/PictureTextContent.d.ts +1 -3
  61. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  62. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  63. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  64. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -1
  65. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  66. package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
  67. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  68. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  69. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  70. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  71. package/dist/components/PromoTile/PromoTile.js +1 -1
  72. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  73. package/dist/components/TariffsTable/TariffsTable.js +8 -3
  74. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  75. package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
  76. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  77. package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -1
  78. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
  79. package/dist/components/Tile/Tile.d.ts +1 -1
  80. package/dist/components/Tile/Tile.js +14 -2
  81. package/dist/components/Tile/Tile.js.map +1 -1
  82. package/dist/content-page-repository/ContentPageRepository.js +1 -0
  83. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  84. package/dist/hooks/useComparisonTableScroll.d.ts +6 -1
  85. package/dist/hooks/useComparisonTableScroll.js +1 -1
  86. package/dist/hooks/useComparisonTableScroll.js.map +1 -1
  87. package/dist/hooks/useLink.js +1 -1
  88. package/dist/hooks/useLink.js.map +1 -1
  89. package/dist/types.d.ts +8 -0
  90. package/dist/ui-kit/BlockItem/BlockItem.js +4 -4
  91. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  92. package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  93. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  94. package/dist/ui-kit/InputRange/InputRange.js +2 -1
  95. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  96. package/dist/ui-kit/SearchBar.js +2 -1
  97. package/dist/ui-kit/SearchBar.js.map +1 -1
  98. package/lib/api/LikeAPI.js +1 -0
  99. package/lib/api/LikeAPI.js.map +1 -1
  100. package/lib/common.css +1 -1
  101. package/lib/components/Accordion/Accordion.fixture.d.ts +1 -4
  102. package/lib/components/Accordion/AccordionBlocks.d.ts +1 -2
  103. package/lib/components/Accordion/AccordionBlocks.js +1 -2
  104. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  105. package/lib/components/Accordion/AccordionContent.d.ts +38 -14
  106. package/lib/components/Accordion/AccordionItem.js +9 -7
  107. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  108. package/lib/components/BaseTile/BaseTile.js +7 -2
  109. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  110. package/lib/components/Blocks.js +1 -1
  111. package/lib/components/Blocks.js.map +1 -1
  112. package/lib/components/ComparisonTable/ComparisonTable.js +11 -6
  113. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  114. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  115. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  116. package/lib/components/ContentPage/ContentPage.d.ts +9 -1
  117. package/lib/components/ContentPage/ContentPage.js +20 -17
  118. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  119. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  120. package/lib/components/ContentPage/toMobilePage.js +13 -2
  121. package/lib/components/ContentPage/toMobilePage.js.map +1 -1
  122. package/lib/components/CreditCalculator/CreditCalculator.js +3 -3
  123. package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -1
  124. package/lib/components/Footer/Contacts.js +1 -1
  125. package/lib/components/Footer/Contacts.js.map +1 -1
  126. package/lib/components/Footer/Footer.js +1 -1
  127. package/lib/components/Footer/Footer.js.map +1 -1
  128. package/lib/components/Footer/FooterContent.d.ts +1 -2
  129. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  130. package/lib/components/Footer/Sitemap.js +1 -1
  131. package/lib/components/Footer/Sitemap.js.map +1 -1
  132. package/lib/components/Footer/SocialMedia.js +1 -2
  133. package/lib/components/Footer/SocialMedia.js.map +1 -1
  134. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  135. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  136. package/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
  137. package/lib/components/Gallery/GalleryCardInner.js +17 -0
  138. package/lib/components/Gallery/GalleryCardInner.js.map +1 -0
  139. package/lib/components/Gallery/GalleryContainer.d.ts +13 -0
  140. package/lib/components/Gallery/GalleryContainer.js +14 -0
  141. package/lib/components/Gallery/GalleryContainer.js.map +1 -0
  142. package/lib/components/Gallery/GalleryContent.d.ts +8 -2
  143. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  144. package/lib/components/Gallery/GalleryInner.js +6 -34
  145. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  146. package/lib/components/Gallery/constants.d.ts +6 -0
  147. package/lib/components/Gallery/constants.js +17 -0
  148. package/lib/components/Gallery/constants.js.map +1 -0
  149. package/lib/components/Header/Header.js +3 -3
  150. package/lib/components/Header/Header.js.map +1 -1
  151. package/lib/components/Headline/Headline.fixture.d.ts +3 -2
  152. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +7 -7
  153. package/lib/components/LinkDocs/LinkDocs.js +5 -5
  154. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  155. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
  156. package/lib/components/MobileBlocks.js +0 -3
  157. package/lib/components/MobileBlocks.js.map +1 -1
  158. package/lib/components/PictureText/PictureText.fixture.d.ts +2 -0
  159. package/lib/components/PictureText/PictureTextContent.d.ts +1 -3
  160. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  161. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  162. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  163. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -1
  164. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  165. package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
  166. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  167. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  168. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  169. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  170. package/lib/components/PromoTile/PromoTile.js +1 -1
  171. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  172. package/lib/components/TariffsTable/TariffsTable.js +8 -3
  173. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  174. package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
  175. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  176. package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -1
  177. package/lib/components/TextBlock/TextBlock.fixture.d.ts +2 -0
  178. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
  179. package/lib/components/Tile/Tile.d.ts +1 -1
  180. package/lib/components/Tile/Tile.js +14 -2
  181. package/lib/components/Tile/Tile.js.map +1 -1
  182. package/lib/content-page-repository/ContentPageRepository.js +1 -0
  183. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  184. package/lib/hooks/useComparisonTableScroll.d.ts +6 -1
  185. package/lib/hooks/useComparisonTableScroll.js +1 -1
  186. package/lib/hooks/useComparisonTableScroll.js.map +1 -1
  187. package/lib/hooks/useLink.js +1 -1
  188. package/lib/hooks/useLink.js.map +1 -1
  189. package/lib/types.d.ts +8 -0
  190. package/lib/ui-kit/BlockItem/BlockItem.js +4 -4
  191. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  192. package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  193. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  194. package/lib/ui-kit/InputRange/InputRange.js +2 -1
  195. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  196. package/lib/ui-kit/SearchBar.js +2 -1
  197. package/lib/ui-kit/SearchBar.js.map +1 -1
  198. package/package.json +19 -8
  199. package/src/api/LikeAPI.ts +1 -0
  200. package/src/components/Accordion/Accordion.example.json +18 -42
  201. package/src/components/Accordion/Accordion.fixture.tsx +33 -119
  202. package/src/components/Accordion/AccordionBlocks.tsx +1 -3
  203. package/src/components/Accordion/AccordionContent.ts +47 -18
  204. package/src/components/Accordion/AccordionItem.tsx +14 -10
  205. package/src/components/BaseTile/BaseTile.tsx +13 -5
  206. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +31 -28
  207. package/src/components/Blocks.ts +1 -1
  208. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +43 -53
  209. package/src/components/ComparisonTable/ComparisonTable.tsx +8 -8
  210. package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
  211. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -3
  212. package/src/components/ContentPage/ContentPage.page.json +45 -56
  213. package/src/components/ContentPage/ContentPage.tsx +71 -36
  214. package/src/components/ContentPage/ContentPageHead.tsx +1 -1
  215. package/src/components/ContentPage/toMobilePage.ts +19 -2
  216. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +9 -1
  217. package/src/components/CreditCalculator/CreditCalculator.tsx +12 -9
  218. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
  219. package/src/components/Footer/Contacts.tsx +1 -1
  220. package/src/components/Footer/Footer.fixture.tsx +265 -258
  221. package/src/components/Footer/Footer.tsx +3 -3
  222. package/src/components/Footer/FooterContent.ts +1 -1
  223. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  224. package/src/components/Footer/Sitemap.tsx +1 -1
  225. package/src/components/Footer/SocialMedia.tsx +5 -6
  226. package/src/components/Gallery/Gallery.fixture.tsx +52 -48
  227. package/src/components/Gallery/Gallery.mobile.tsx +1 -3
  228. package/src/components/Gallery/GalleryCardInner.tsx +53 -0
  229. package/src/components/Gallery/GalleryContainer.tsx +58 -0
  230. package/src/components/Gallery/GalleryContent.ts +8 -2
  231. package/src/components/Gallery/GalleryInner.tsx +15 -93
  232. package/src/components/Gallery/constants.ts +22 -0
  233. package/src/components/Header/Header.tsx +14 -12
  234. package/src/components/Headline/Headline.fixture.tsx +30 -31
  235. package/src/components/LikeControl/LikeControl.fixture.tsx +5 -1
  236. package/src/components/LinkDocs/LinkDocs.example.json +26 -0
  237. package/src/components/LinkDocs/LinkDocs.fixture.tsx +30 -13
  238. package/src/components/LinkDocs/LinkDocs.tsx +9 -8
  239. package/src/components/MiniGallery/MiniGallery.fixture.tsx +12 -22
  240. package/src/components/MiniGallery/MiniGalleryContent.ts +1 -1
  241. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
  242. package/src/components/MobileBlocks.ts +0 -3
  243. package/src/components/PictureText/PictureText.fixture.tsx +22 -18
  244. package/src/components/PictureText/PictureTextContent.ts +1 -3
  245. package/src/components/Placeholder/Placeholder.fixture.tsx +5 -1
  246. package/src/components/Placeholder/Placeholder.tsx +2 -2
  247. package/src/components/ProductBlock/ProductBlock.fixture.tsx +83 -76
  248. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
  249. package/src/components/ProductBlock/ProductBlock.tsx +3 -1
  250. package/src/components/ProductBlock/ProductBlockInner.tsx +9 -12
  251. package/src/components/ProductGallery/ProductGallery.example.json +1 -1
  252. package/src/components/ProductGallery/ProductGallery.fixture.tsx +103 -106
  253. package/src/components/ProductGallery/ProductGallery.tsx +7 -5
  254. package/src/components/ProductTile/ProductTile.fixture.tsx +4 -4
  255. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
  256. package/src/components/PromoTile/PromoTile.tsx +3 -3
  257. package/src/components/StepsBlock/StepsBlock.fixture.tsx +21 -18
  258. package/src/components/TariffsTable/TariffsTable.example.json +3 -1
  259. package/src/components/TariffsTable/TariffsTable.fixture.tsx +8 -16
  260. package/src/components/TariffsTable/TariffsTable.tsx +39 -37
  261. package/src/components/TariffsTable/TariffsTableCell.tsx +4 -4
  262. package/src/components/TariffsTable/TariffsTableContent.ts +5 -1
  263. package/src/components/TextBlock/TextBlock.example.json +9 -2
  264. package/src/components/TextBlock/TextBlock.fixture.tsx +70 -97
  265. package/src/components/TextBlock/TextBlockContent.ts +1 -2
  266. package/src/components/Tile/Tile.example.json +5 -2
  267. package/src/components/Tile/Tile.fixture.tsx +11 -8
  268. package/src/components/Tile/Tile.tsx +16 -5
  269. package/src/content-page-repository/ContentPageRepository.ts +1 -0
  270. package/src/hooks/useComparisonTableScroll.ts +11 -6
  271. package/src/hooks/useLink.ts +1 -1
  272. package/src/setup-fixture.ts +1 -2
  273. package/src/types.ts +11 -1
  274. package/src/ui-kit/BlockItem/BlockItem.tsx +4 -4
  275. package/src/ui-kit/Checkbox/Checkbox.tsx +7 -3
  276. package/src/ui-kit/InputRange/InputRange.tsx +9 -8
  277. package/src/ui-kit/SearchBar.tsx +15 -6
  278. package/src/Icons/CalendarCircleIcon.svg +0 -14
  279. package/src/Icons/CardIcon.svg +0 -11
  280. package/src/Icons/CardPosIcon.svg +0 -12
  281. package/src/Icons/CardTickIcon.svg +0 -13
  282. package/src/Icons/EmptyWalletChangeIcon.svg +0 -21
  283. package/src/Icons/JCBIcon.svg +0 -42
  284. package/src/Icons/MastercardIcon.svg +0 -6
  285. package/src/Icons/MinusIcon.svg +0 -1
  286. package/src/Icons/MirIcon.svg +0 -13
  287. package/src/Icons/MoneyIcon.svg +0 -13
  288. package/src/Icons/MonitorMobileIcon.svg +0 -14
  289. package/src/Icons/PlusIcon.svg +0 -1
  290. package/src/Icons/Profile2UserIcon.svg +0 -14
  291. package/src/Icons/ShieldTickIcon.svg +0 -7
  292. package/src/Icons/UnionPayIcon.svg +0 -7
  293. package/src/Icons/UserIcon.svg +0 -11
  294. package/src/Icons/VisaIcon.svg +0 -7
  295. package/src/Icons/WalletIcon.svg +0 -19
@@ -27,7 +27,7 @@ const STEP_MONEY = 1000;
27
27
  const STEP_MONTHS = 1;
28
28
  const DEFAULT_PAYMENT_TYPE = 'annuity';
29
29
 
30
- const borderStyle = 'border-solid border-3 border-primary-main rounded-md';
30
+ const borderStyle = 'border-solid border-[3px] border-primary-main rounded-md';
31
31
 
32
32
  export const CreditCalculator = JSX<CreditCalculatorProps>(
33
33
  ({ context, className, directoryName }) => {
@@ -72,10 +72,12 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
72
72
  }
73
73
 
74
74
  return (
75
- <section className={`font-sans text-primary-text bg-white p-4 ${className}`}>
76
- <div className={`box-border p-12 flex flex-col justify-between ${borderStyle}`}>
77
- <div className="flex justify-between">
78
- <div className="grow mr-11">
75
+ <section className={`font-sans text-primary-text bg-white p-4 w-[847px] ${className || ''}`}>
76
+ <div
77
+ className={`box-border p-[49px] pr-[53px] flex flex-col justify-between ${borderStyle}`}
78
+ >
79
+ <div className="flex justify-between ">
80
+ <div className="grow mr-[42px] w-[465px]">
79
81
  <InputRange
80
82
  title="Желаемая сумма кредита, ₽"
81
83
  items={[
@@ -89,6 +91,7 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
89
91
  onChange={setMoneyValue}
90
92
  />
91
93
  <InputRange
94
+ className="mt-[23px]"
92
95
  title="Срок кредита, месяцев"
93
96
  items={['Или выберите из предложенных вариантов ниже']}
94
97
  min={minMonths}
@@ -106,14 +109,14 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
106
109
  onChange={setIsAnnuityChecked}
107
110
  />
108
111
  <Checkbox
109
- className="mb-4"
112
+ className="mt-3 mb-7"
110
113
  text="Комплексная страховая защита"
111
114
  checked={isInsuranceChecked}
112
115
  onChange={setIsInsuranceChecked}
113
116
  />
114
117
  </div>
115
- <div className="p-9 bg-primary-main rounded-md text-white">
116
- <div className="text-base mb-5">Наше предложение</div>
118
+ <div className="basis-[226px] shrink-0 box-border h-fit p-9 bg-primary-main rounded-md text-white">
119
+ <div className="text-base mb-[18px]">Наше предложение</div>
117
120
  <div className="text-sm opacity-60">Ежемесячный платёж</div>
118
121
  <div className="text-lg mb-3">
119
122
  {addSpacesBetweenNumbers(Math.round(montlyPayment))} ₽
@@ -129,7 +132,7 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
129
132
  aria-label="Соглашение на обработку персональных данных"
130
133
  >
131
134
  Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно
132
- требованиям ФЗ «О персональных данных»
135
+ требованиям ФЗ «О персональных данных»
133
136
  </div>
134
137
  </div>
135
138
  </div>
@@ -4,7 +4,7 @@ import { ExchangeRateTile } from './ExchangeRateTile';
4
4
 
5
5
  export default {
6
6
  default: (
7
- <div className="grid grid-cols-12">
7
+ <div className="container grid grid-cols-12">
8
8
  <ExchangeRateTile context={context} className="col-span-4" />
9
9
  </div>
10
10
  ),
@@ -70,4 +70,4 @@ const renderText = (type: ContactInfo['type'], text = '') => {
70
70
  }
71
71
  };
72
72
 
73
- const formatTel = (s: string) => s.replaceAll(/(\-|\s|\(|\)|\D+)/g, '');
73
+ const formatTel = (s: string) => s.replaceAll(/\D/g, '');
@@ -4,262 +4,269 @@ import { Footer } from './Footer';
4
4
  const DEFAULT_ORIGIN = 'https://rshb.ru/';
5
5
 
6
6
  export default (
7
- <Footer
8
- topItems={[
9
- {
10
- href: DEFAULT_ORIGIN,
11
- text: 'Частным клиентам',
12
- target: '_blank',
13
- items: [
14
- {
15
- href: DEFAULT_ORIGIN,
16
- text: 'Кредитные карты',
17
- },
18
- {
19
- href: DEFAULT_ORIGIN,
20
- text: 'Дебетовые карты',
21
- },
22
- {
23
- href: DEFAULT_ORIGIN,
24
- text: 'Кредиты',
25
- },
26
- {
27
- href: DEFAULT_ORIGIN,
28
- text: 'Ипотека',
29
- },
30
- {
31
- href: DEFAULT_ORIGIN,
32
- text: 'Вклады и сбережения',
33
- },
34
- {
35
- href: DEFAULT_ORIGIN,
36
- text: 'Инвестиции',
37
- },
38
- {
39
- href: DEFAULT_ORIGIN,
40
- text: 'Страхование',
41
- },
42
- {
43
- href: DEFAULT_ORIGIN,
44
- text: 'Премиальным клиентам',
45
- },
46
- {
47
- href: DEFAULT_ORIGIN,
48
- text: 'Биометрическая регистрация',
49
- },
50
- {
51
- href: DEFAULT_ORIGIN,
52
- text: 'Перевод денег',
53
- },
54
- {
55
- href: DEFAULT_ORIGIN,
56
- text: 'Обмен денег',
57
- },
58
- {
59
- href: DEFAULT_ORIGIN,
60
- text: 'Акции',
61
- },
62
- {
63
- href: DEFAULT_ORIGIN,
64
- text: 'Тарифы',
65
- },
66
- {
67
- href: DEFAULT_ORIGIN,
68
- text: 'Архивная информация',
69
- },
70
- ],
71
- },
72
- {
73
- href: DEFAULT_ORIGIN,
74
- text: 'Бизнес клиентам',
75
- target: '_blank',
76
- items: [
77
- {
78
- href: DEFAULT_ORIGIN,
79
- text: 'РКО',
80
- },
81
- {
82
- href: DEFAULT_ORIGIN,
83
- text: 'Кредиты',
84
- },
85
- {
86
- href: DEFAULT_ORIGIN,
87
- text: 'Депозиты',
88
- },
89
- {
90
- href: DEFAULT_ORIGIN,
91
- text: 'Эквайринг',
92
- },
93
- {
94
- href: DEFAULT_ORIGIN,
95
- text: 'Банковские карты',
96
- },
97
- {
98
- href: DEFAULT_ORIGIN,
99
- text: 'ВЭД',
100
- },
101
- {
102
- href: DEFAULT_ORIGIN,
103
- text: 'Инвестиции',
104
- },
105
- {
106
- href: DEFAULT_ORIGIN,
107
- text: 'Обмен валюты',
108
- },
109
- {
110
- href: DEFAULT_ORIGIN,
111
- text: 'Страхование',
112
- },
113
- {
114
- href: DEFAULT_ORIGIN,
115
- text: 'Партнёрские программы',
116
- },
117
- {
118
- href: DEFAULT_ORIGIN,
119
- text: 'Онлайн-сервисы',
120
- },
121
- {
122
- href: DEFAULT_ORIGIN,
123
- text: 'Акции',
124
- },
125
- {
126
- href: DEFAULT_ORIGIN,
127
- text: 'Тарифы',
128
- },
129
- {
130
- href: DEFAULT_ORIGIN,
131
- text: 'Архивная информация',
132
- },
133
- ],
134
- },
135
- {
136
- href: DEFAULT_ORIGIN,
137
- text: 'О банке',
138
- target: '_blank',
139
- items: [
140
- {
141
- href: DEFAULT_ORIGIN,
142
- text: 'О банке',
143
- },
144
- {
145
- href: DEFAULT_ORIGIN,
146
- text: 'Новости',
147
- },
148
- {
149
- href: DEFAULT_ORIGIN,
150
- text: 'Офисы и отделения',
151
- },
152
- {
153
- href: DEFAULT_ORIGIN,
154
- text: 'Карьера в банке',
155
- },
156
- {
157
- href: DEFAULT_ORIGIN,
158
- text: 'Пресс-центр',
159
- },
160
- {
161
- href: DEFAULT_ORIGIN,
162
- text: 'Кредитным организациям',
163
- },
164
- {
165
- href: DEFAULT_ORIGIN,
166
- text: 'Закупки',
167
- },
168
- {
169
- href: DEFAULT_ORIGIN,
170
- text: 'Непрофильные/Профильные нецелевые активы',
171
- },
172
- {
173
- href: DEFAULT_ORIGIN,
174
- text: 'Инсайдерам',
175
- },
176
- {
177
- href: DEFAULT_ORIGIN,
178
- text: 'Противодействие коррупции',
179
- },
180
- {
181
- href: DEFAULT_ORIGIN,
182
- text: 'Меры безопасности',
183
- },
184
- {
185
- href: DEFAULT_ORIGIN,
186
- text: 'Залоговое имущество',
187
- },
188
- ],
189
- },
190
- ]}
191
- socialMedia={[{ href: 'https://t.me' }, { href: 'https://vk.com' }, { href: 'https://ok.ru' }]}
192
- contacts={[
193
- {
194
- text: '+7 (495) 787-7-787',
195
- description: 'Для звонков из-за границы',
196
- type: 'tel',
197
- },
198
- {
199
- text: 'example@example.com',
200
- description: 'Для писем',
201
- type: 'email',
202
- },
203
- {
204
- text: '7787',
205
- description: 'Абонентам МТС, Мегафон, Билайн и Tele2',
206
- type: 'tel',
207
- },
208
- ]}
209
- relatedEnterprises={[
210
- {
211
- text: 'РСХБ Страхование',
212
- href: DEFAULT_ORIGIN,
213
- target: '_blank',
214
- },
215
- {
216
- text: 'РСХБ Страхование жизни',
217
- href: DEFAULT_ORIGIN,
218
- target: '_blank',
219
- },
220
- {
221
- text: 'РСХБ Управление активами',
222
- href: DEFAULT_ORIGIN,
223
- target: '_blank',
224
- },
225
- {
226
- text: 'РСХБ Лизинг',
227
- href: DEFAULT_ORIGIN,
228
- target: '_blank',
229
- },
230
- {
231
- text: 'РСХБ Факторинг',
232
- href: DEFAULT_ORIGIN,
233
- target: '_blank',
234
- },
235
- ]}
236
- documents={[
237
- {
238
- text: 'Информация о процентных ставках по договорам банковского вклада с физическими лицами',
239
- href: DEFAULT_ORIGIN,
240
- target: '_blank',
241
- },
242
- {
243
- text: 'Раскрытие информации профессиональным участником рынка ценных бумаг',
244
- href: DEFAULT_ORIGIN,
245
- target: '_blank',
246
- },
247
- {
248
- text: 'Раскрытие информации',
249
- href: DEFAULT_ORIGIN,
250
- target: '_blank',
251
- },
252
- {
253
- text: 'Удостоверяющий центр',
254
- href: DEFAULT_ORIGIN,
255
- target: '_blank',
256
- },
257
- {
258
- text: 'Финансовая культура',
259
- href: DEFAULT_ORIGIN,
260
- target: '_blank',
261
- },
262
- ]}
263
- context={context}
264
- />
7
+ <div className="container grid grid-cols-12">
8
+ <Footer
9
+ className="col-span-12"
10
+ topItems={[
11
+ {
12
+ href: DEFAULT_ORIGIN,
13
+ text: 'Частным клиентам',
14
+ target: '_blank',
15
+ items: [
16
+ {
17
+ href: DEFAULT_ORIGIN,
18
+ text: 'Кредитные карты',
19
+ },
20
+ {
21
+ href: DEFAULT_ORIGIN,
22
+ text: 'Дебетовые карты',
23
+ },
24
+ {
25
+ href: DEFAULT_ORIGIN,
26
+ text: 'Кредиты',
27
+ },
28
+ {
29
+ href: DEFAULT_ORIGIN,
30
+ text: 'Ипотека',
31
+ },
32
+ {
33
+ href: DEFAULT_ORIGIN,
34
+ text: 'Вклады и сбережения',
35
+ },
36
+ {
37
+ href: DEFAULT_ORIGIN,
38
+ text: 'Инвестиции',
39
+ },
40
+ {
41
+ href: DEFAULT_ORIGIN,
42
+ text: 'Страхование',
43
+ },
44
+ {
45
+ href: DEFAULT_ORIGIN,
46
+ text: 'Премиальным клиентам',
47
+ },
48
+ {
49
+ href: DEFAULT_ORIGIN,
50
+ text: 'Биометрическая регистрация',
51
+ },
52
+ {
53
+ href: DEFAULT_ORIGIN,
54
+ text: 'Перевод денег',
55
+ },
56
+ {
57
+ href: DEFAULT_ORIGIN,
58
+ text: 'Обмен денег',
59
+ },
60
+ {
61
+ href: DEFAULT_ORIGIN,
62
+ text: 'Акции',
63
+ },
64
+ {
65
+ href: DEFAULT_ORIGIN,
66
+ text: 'Тарифы',
67
+ },
68
+ {
69
+ href: DEFAULT_ORIGIN,
70
+ text: 'Архивная информация',
71
+ },
72
+ ],
73
+ },
74
+ {
75
+ href: DEFAULT_ORIGIN,
76
+ text: 'Бизнес клиентам',
77
+ target: '_blank',
78
+ items: [
79
+ {
80
+ href: DEFAULT_ORIGIN,
81
+ text: 'РКО',
82
+ },
83
+ {
84
+ href: DEFAULT_ORIGIN,
85
+ text: 'Кредиты',
86
+ },
87
+ {
88
+ href: DEFAULT_ORIGIN,
89
+ text: 'Депозиты',
90
+ },
91
+ {
92
+ href: DEFAULT_ORIGIN,
93
+ text: 'Эквайринг',
94
+ },
95
+ {
96
+ href: DEFAULT_ORIGIN,
97
+ text: 'Банковские карты',
98
+ },
99
+ {
100
+ href: DEFAULT_ORIGIN,
101
+ text: 'ВЭД',
102
+ },
103
+ {
104
+ href: DEFAULT_ORIGIN,
105
+ text: 'Инвестиции',
106
+ },
107
+ {
108
+ href: DEFAULT_ORIGIN,
109
+ text: 'Обмен валюты',
110
+ },
111
+ {
112
+ href: DEFAULT_ORIGIN,
113
+ text: 'Страхование',
114
+ },
115
+ {
116
+ href: DEFAULT_ORIGIN,
117
+ text: 'Партнёрские программы',
118
+ },
119
+ {
120
+ href: DEFAULT_ORIGIN,
121
+ text: 'Онлайн-сервисы',
122
+ },
123
+ {
124
+ href: DEFAULT_ORIGIN,
125
+ text: 'Акции',
126
+ },
127
+ {
128
+ href: DEFAULT_ORIGIN,
129
+ text: 'Тарифы',
130
+ },
131
+ {
132
+ href: DEFAULT_ORIGIN,
133
+ text: 'Архивная информация',
134
+ },
135
+ ],
136
+ },
137
+ {
138
+ href: DEFAULT_ORIGIN,
139
+ text: 'О банке',
140
+ target: '_blank',
141
+ items: [
142
+ {
143
+ href: DEFAULT_ORIGIN,
144
+ text: 'О банке',
145
+ },
146
+ {
147
+ href: DEFAULT_ORIGIN,
148
+ text: 'Новости',
149
+ },
150
+ {
151
+ href: DEFAULT_ORIGIN,
152
+ text: 'Офисы и отделения',
153
+ },
154
+ {
155
+ href: DEFAULT_ORIGIN,
156
+ text: 'Карьера в банке',
157
+ },
158
+ {
159
+ href: DEFAULT_ORIGIN,
160
+ text: 'Пресс-центр',
161
+ },
162
+ {
163
+ href: DEFAULT_ORIGIN,
164
+ text: 'Кредитным организациям',
165
+ },
166
+ {
167
+ href: DEFAULT_ORIGIN,
168
+ text: 'Закупки',
169
+ },
170
+ {
171
+ href: DEFAULT_ORIGIN,
172
+ text: 'Непрофильные/Профильные нецелевые активы',
173
+ },
174
+ {
175
+ href: DEFAULT_ORIGIN,
176
+ text: 'Инсайдерам',
177
+ },
178
+ {
179
+ href: DEFAULT_ORIGIN,
180
+ text: 'Противодействие коррупции',
181
+ },
182
+ {
183
+ href: DEFAULT_ORIGIN,
184
+ text: 'Меры безопасности',
185
+ },
186
+ {
187
+ href: DEFAULT_ORIGIN,
188
+ text: 'Залоговое имущество',
189
+ },
190
+ ],
191
+ },
192
+ ]}
193
+ socialMedia={[
194
+ { href: 'https://t.me' },
195
+ { href: 'https://vk.com' },
196
+ { href: 'https://ok.ru' },
197
+ ]}
198
+ contacts={[
199
+ {
200
+ text: '+7 (495) 787-7-787',
201
+ description: 'Для звонков из-за границы',
202
+ type: 'tel',
203
+ },
204
+ {
205
+ text: 'example@example.com',
206
+ description: 'Для писем',
207
+ type: 'email',
208
+ },
209
+ {
210
+ text: '7787',
211
+ description: 'Абонентам МТС, Мегафон, Билайн и Tele2',
212
+ type: 'tel',
213
+ },
214
+ ]}
215
+ relatedEnterprises={[
216
+ {
217
+ text: 'РСХБ Страхование',
218
+ href: DEFAULT_ORIGIN,
219
+ target: '_blank',
220
+ },
221
+ {
222
+ text: 'РСХБ Страхование жизни',
223
+ href: DEFAULT_ORIGIN,
224
+ target: '_blank',
225
+ },
226
+ {
227
+ text: 'РСХБ Управление активами',
228
+ href: DEFAULT_ORIGIN,
229
+ target: '_blank',
230
+ },
231
+ {
232
+ text: 'РСХБ Лизинг',
233
+ href: DEFAULT_ORIGIN,
234
+ target: '_blank',
235
+ },
236
+ {
237
+ text: 'РСХБ Факторинг',
238
+ href: DEFAULT_ORIGIN,
239
+ target: '_blank',
240
+ },
241
+ ]}
242
+ documents={[
243
+ {
244
+ text: 'Информация о процентных ставках по договорам банковского вклада с физическими лицами',
245
+ href: DEFAULT_ORIGIN,
246
+ target: '_blank',
247
+ },
248
+ {
249
+ text: 'Раскрытие информации профессиональным участником рынка ценных бумаг',
250
+ href: DEFAULT_ORIGIN,
251
+ target: '_blank',
252
+ },
253
+ {
254
+ text: 'Раскрытие информации',
255
+ href: DEFAULT_ORIGIN,
256
+ target: '_blank',
257
+ },
258
+ {
259
+ text: 'Удостоверяющий центр',
260
+ href: DEFAULT_ORIGIN,
261
+ target: '_blank',
262
+ },
263
+ {
264
+ text: 'Финансовая культура',
265
+ href: DEFAULT_ORIGIN,
266
+ target: '_blank',
267
+ },
268
+ ]}
269
+ context={context}
270
+ />
271
+ </div>
265
272
  );
@@ -17,12 +17,12 @@ export interface FooterProps extends FooterContent, UniBlockProps {}
17
17
  export const Footer = JSX<FooterProps>(
18
18
  ({ className, documents, relatedEnterprises, contacts, socialMedia, topItems, context }) => {
19
19
  return (
20
- <footer className={`${className} px-9 py-10 bg-white`}>
21
- <div className="flex items-stretch gap-32 pb-8 xl:gap-8">
20
+ <footer className={`px-9 py-10 bg-white ${className || ''}`}>
21
+ <div className="flex items-stretch gap-[54px] pb-8 xl:gap-8">
22
22
  <Logo className={`${LEFT_COL_WIDTH_FULL_HD} ${LEFT_COL_WIDTH_SMALL_DESKTOP}`} />
23
23
  <SearchBar context={context} className="grow" />
24
24
  </div>
25
- <div className="flex items-stretch gap-32 xl:gap-8">
25
+ <div className="flex items-stretch gap-[54px] xl:gap-8">
26
26
  <Contacts
27
27
  className={`${LEFT_COL_WIDTH_FULL_HD} shrink-0 overflow-hidden ${LEFT_COL_WIDTH_SMALL_DESKTOP}`}
28
28
  items={contacts}
@@ -24,7 +24,7 @@ export interface ContactInfo {
24
24
  /**
25
25
  * @required ["href"]
26
26
  */
27
- export interface SocialMedia extends Omit<LinkProps, 'text'> {}
27
+ export type SocialMedia = Omit<LinkProps, 'text'>;
28
28
 
29
29
  /**
30
30
  * @title Подвал
@@ -33,7 +33,7 @@ interface HorizontalNavigationLinkProps extends LinkProps {
33
33
  const HorizontalNavigationLink = JSX<Partial<HorizontalNavigationLinkProps>>(
34
34
  ({ className, index, text, href, target, onClick }) => (
35
35
  <a
36
- className={`font-sans font-normal text-sm text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${
36
+ className={`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${
37
37
  className || ''
38
38
  }`}
39
39
  href={href}
@@ -28,7 +28,7 @@ const renderColumn = (c: TopMenuItem, index: number, { router, handlerDecorator
28
28
  const { text, href, items, target } = c;
29
29
 
30
30
  return (
31
- <div key={String(index)} className="flex flex-col w-[235px] gap-[14px]">
31
+ <div key={String(index)} className="flex flex-col gap-[14px]">
32
32
  <a
33
33
  className="block font-sans font-medium text-base text-primary-text no-underline"
34
34
  href={href}