@redneckz/wildless-cms-uni-blocks 0.5.10 → 0.5.11

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 (440) hide show
  1. package/bin/migration-scripts/0.4.5.js +1 -1
  2. package/bin/migration-scripts/0.5.10.js +36 -0
  3. package/bin/utils.js +0 -2
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +164 -98
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/dist/EventBus/EventMap.d.ts +2 -1
  8. package/dist/components/Bonus/Bonus.js +11 -2
  9. package/dist/components/Bonus/Bonus.js.map +1 -1
  10. package/dist/components/Bonus/BonusContent.d.ts +30 -2
  11. package/dist/components/CardTransfer/CardTransfer.js +10 -11
  12. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  13. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  14. package/dist/components/ComparisonTable/TableColumn.js +7 -2
  15. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  16. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  17. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  18. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  19. package/dist/components/ExchangeRateTile/renderInput.js +2 -2
  20. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  21. package/dist/components/GracePeriod/GracePeriod.js +3 -3
  22. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  23. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  24. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  25. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  26. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  27. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  28. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  29. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  30. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  31. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  32. package/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  33. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  34. package/dist/components/Tabs/Tabs.d.ts +4 -0
  35. package/dist/components/Tabs/Tabs.js +13 -3
  36. package/dist/components/Tabs/Tabs.js.map +1 -1
  37. package/dist/components/Tabs/TabsContent.d.ts +2 -0
  38. package/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  39. package/dist/components/Tabs/renderLinkTab.js +4 -1
  40. package/dist/components/Tabs/renderLinkTab.js.map +1 -1
  41. package/dist/components/Tabs/renderTab.js +12 -2
  42. package/dist/components/Tabs/renderTab.js.map +1 -1
  43. package/dist/react/IntersectionObserverTag.js +7 -3
  44. package/dist/react/IntersectionObserverTag.js.map +1 -1
  45. package/dist/ui-kit/BlockWrapper.js +34 -12
  46. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  47. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +11 -6
  48. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  49. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  50. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  51. package/dist/ui-kit/CurrencyInput/adjustValue .js +15 -0
  52. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  53. package/dist/ui-kit/Input/Input.d.ts +1 -1
  54. package/dist/ui-kit/Input/Input.js +7 -4
  55. package/dist/ui-kit/Input/Input.js.map +1 -1
  56. package/dist/ui-kit/Input/InputProps.d.ts +6 -3
  57. package/dist/ui-kit/Select/Select.d.ts +10 -4
  58. package/dist/ui-kit/Select/Select.js +23 -5
  59. package/dist/ui-kit/Select/Select.js.map +1 -1
  60. package/dist/utils/changeHashOnObserve.d.ts +9 -1
  61. package/dist/utils/changeHashOnObserve.js +12 -4
  62. package/dist/utils/changeHashOnObserve.js.map +1 -1
  63. package/lib/EventBus/EventMap.d.ts +2 -1
  64. package/lib/common.css +1 -1
  65. package/lib/components/Bonus/Bonus.js +11 -2
  66. package/lib/components/Bonus/Bonus.js.map +1 -1
  67. package/lib/components/Bonus/BonusContent.d.ts +30 -2
  68. package/lib/components/CardTransfer/CardTransfer.js +10 -11
  69. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  70. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  71. package/lib/components/ComparisonTable/TableColumn.js +7 -2
  72. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  73. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  74. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  75. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  76. package/lib/components/ExchangeRateTile/renderInput.js +2 -2
  77. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  78. package/lib/components/GracePeriod/GracePeriod.js +3 -3
  79. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  80. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  81. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  82. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  83. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  84. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  85. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  86. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  87. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  88. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  89. package/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  90. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  91. package/lib/components/Tabs/Tabs.d.ts +4 -0
  92. package/lib/components/Tabs/Tabs.js +13 -3
  93. package/lib/components/Tabs/Tabs.js.map +1 -1
  94. package/lib/components/Tabs/TabsContent.d.ts +2 -0
  95. package/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  96. package/lib/components/Tabs/renderLinkTab.js +5 -2
  97. package/lib/components/Tabs/renderLinkTab.js.map +1 -1
  98. package/lib/components/Tabs/renderTab.js +12 -2
  99. package/lib/components/Tabs/renderTab.js.map +1 -1
  100. package/lib/react/IntersectionObserverTag.js +7 -3
  101. package/lib/react/IntersectionObserverTag.js.map +1 -1
  102. package/lib/ui-kit/BlockWrapper.js +35 -13
  103. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  104. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +12 -7
  105. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  106. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  107. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  108. package/lib/ui-kit/CurrencyInput/adjustValue .js +12 -0
  109. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  110. package/lib/ui-kit/Input/Input.d.ts +1 -1
  111. package/lib/ui-kit/Input/Input.js +8 -5
  112. package/lib/ui-kit/Input/Input.js.map +1 -1
  113. package/lib/ui-kit/Input/InputProps.d.ts +6 -3
  114. package/lib/ui-kit/Select/Select.d.ts +10 -4
  115. package/lib/ui-kit/{SelectCustom/SelectCustom.fixture.d.ts → Select/Select.fixture.d.ts} +0 -0
  116. package/lib/ui-kit/Select/Select.js +24 -6
  117. package/lib/ui-kit/Select/Select.js.map +1 -1
  118. package/lib/utils/changeHashOnObserve.d.ts +9 -1
  119. package/lib/utils/changeHashOnObserve.js +12 -4
  120. package/lib/utils/changeHashOnObserve.js.map +1 -1
  121. package/mobile/bundle/bundle.umd.js +90 -52
  122. package/mobile/bundle/bundle.umd.min.js +1 -1
  123. package/mobile/dist/EventBus/EventMap.d.ts +2 -1
  124. package/mobile/dist/components/Bonus/Bonus.js +11 -2
  125. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  126. package/mobile/dist/components/Bonus/BonusContent.d.ts +30 -2
  127. package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -11
  128. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  129. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  130. package/mobile/dist/components/ComparisonTable/TableColumn.js +7 -2
  131. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  132. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  133. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  134. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  135. package/mobile/dist/components/ExchangeRateTile/renderInput.js +2 -2
  136. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  137. package/mobile/dist/components/GracePeriod/GracePeriod.js +3 -3
  138. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  139. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  140. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  141. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  142. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  143. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  144. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  145. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  146. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  147. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  148. package/mobile/dist/components/Tabs/Tabs.d.ts +4 -0
  149. package/mobile/dist/components/Tabs/Tabs.js +13 -3
  150. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  151. package/mobile/dist/components/Tabs/TabsContent.d.ts +2 -0
  152. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  153. package/mobile/dist/components/Tabs/renderLinkTab.js +4 -1
  154. package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
  155. package/mobile/dist/components/Tabs/renderTab.js +12 -2
  156. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  157. package/mobile/dist/react/IntersectionObserverTag.js +7 -3
  158. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -1
  159. package/mobile/dist/ui-kit/BlockWrapper.js +34 -12
  160. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  161. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +11 -6
  162. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  163. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  164. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  165. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +15 -0
  166. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  167. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  168. package/mobile/dist/ui-kit/Input/Input.js +7 -4
  169. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  170. package/mobile/dist/ui-kit/Input/InputProps.d.ts +6 -3
  171. package/mobile/dist/ui-kit/Select/Select.d.ts +10 -4
  172. package/mobile/dist/ui-kit/Select/Select.js +23 -5
  173. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  174. package/mobile/dist/utils/changeHashOnObserve.d.ts +9 -1
  175. package/mobile/dist/utils/changeHashOnObserve.js +12 -4
  176. package/mobile/dist/utils/changeHashOnObserve.js.map +1 -1
  177. package/mobile/lib/EventBus/EventMap.d.ts +2 -1
  178. package/mobile/lib/components/Bonus/Bonus.js +11 -2
  179. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  180. package/mobile/lib/components/Bonus/BonusContent.d.ts +30 -2
  181. package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -11
  182. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  183. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  184. package/mobile/lib/components/ComparisonTable/TableColumn.js +7 -2
  185. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  186. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  187. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  188. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  189. package/mobile/lib/components/ExchangeRateTile/renderInput.js +2 -2
  190. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  191. package/mobile/lib/components/GracePeriod/GracePeriod.js +3 -3
  192. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  193. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  194. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  195. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  196. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  197. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  198. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  199. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  200. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  201. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  202. package/mobile/lib/components/Tabs/Tabs.d.ts +4 -0
  203. package/mobile/lib/components/Tabs/Tabs.js +13 -3
  204. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  205. package/mobile/lib/components/Tabs/TabsContent.d.ts +2 -0
  206. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  207. package/mobile/lib/components/Tabs/renderLinkTab.js +5 -2
  208. package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
  209. package/mobile/lib/components/Tabs/renderTab.js +12 -2
  210. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  211. package/mobile/lib/react/IntersectionObserverTag.js +7 -3
  212. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -1
  213. package/mobile/lib/ui-kit/BlockWrapper.js +35 -13
  214. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  215. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +12 -7
  216. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  217. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  218. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  219. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +12 -0
  220. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  221. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  222. package/mobile/lib/ui-kit/Input/Input.js +8 -5
  223. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  224. package/mobile/lib/ui-kit/Input/InputProps.d.ts +6 -3
  225. package/mobile/lib/ui-kit/Select/Select.d.ts +10 -4
  226. package/mobile/lib/ui-kit/Select/Select.js +24 -6
  227. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  228. package/mobile/lib/utils/changeHashOnObserve.d.ts +9 -1
  229. package/mobile/lib/utils/changeHashOnObserve.js +12 -4
  230. package/mobile/lib/utils/changeHashOnObserve.js.map +1 -1
  231. package/mobile/src/EventBus/EventMap.ts +3 -1
  232. package/mobile/src/components/Accordion/Accordion.ui.json +79 -0
  233. package/mobile/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  234. package/mobile/src/components/Bonus/Bonus.example.json +5 -2
  235. package/mobile/src/components/Bonus/Bonus.tsx +44 -16
  236. package/mobile/src/components/Bonus/Bonus.ui.json +16 -0
  237. package/mobile/src/components/Bonus/BonusContent.ts +33 -2
  238. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  239. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  240. package/mobile/src/components/Calculator/Calculator.example.json +2 -1
  241. package/mobile/src/components/Calculator/Calculator.ui.json +31 -0
  242. package/mobile/src/components/CardTransfer/CardTransfer.example.json +7 -2
  243. package/mobile/src/components/CardTransfer/CardTransfer.tsx +22 -23
  244. package/mobile/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  245. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  246. package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
  247. package/mobile/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  248. package/mobile/src/components/ComparisonTable/TableColumn.tsx +17 -11
  249. package/mobile/src/components/ContentPage/ContentPage.page.json +15 -1
  250. package/mobile/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  251. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  252. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  253. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  254. package/mobile/src/components/Footer/Footer.ui.json +11 -0
  255. package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
  256. package/mobile/src/components/GracePeriod/GracePeriod.tsx +5 -4
  257. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  258. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  259. package/mobile/src/components/Header/Header.ui.json +11 -0
  260. package/mobile/src/components/Headline/Headline.ui.json +1 -0
  261. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  262. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  263. package/mobile/src/components/LinkList/LinkList.ui.json +1 -0
  264. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  265. package/mobile/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  266. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  267. package/mobile/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  268. package/mobile/src/components/PictureText/PictureText.ui.json +1 -0
  269. package/mobile/src/components/Placeholder/Placeholder.ui.json +1 -0
  270. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  271. package/mobile/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  272. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -0
  273. package/mobile/src/components/PromoTile/PromoTile.ui.json +1 -0
  274. package/mobile/src/components/Recommendation/Recommendation.ui.json +11 -0
  275. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +4 -4
  276. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  277. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  278. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  279. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  280. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +11 -0
  281. package/mobile/src/components/Tabs/Tabs.tsx +25 -3
  282. package/mobile/src/components/Tabs/Tabs.ui.json +1 -0
  283. package/mobile/src/components/Tabs/TabsContent.ts +2 -0
  284. package/mobile/src/components/Tabs/renderLinkTab.tsx +28 -12
  285. package/mobile/src/components/Tabs/renderTab.tsx +13 -2
  286. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  287. package/mobile/src/components/TextBlock/TextBlock.ui.json +1 -0
  288. package/mobile/src/components/Tile/Tile.ui.json +1 -0
  289. package/mobile/src/react/IntersectionObserverTag.tsx +10 -3
  290. package/mobile/src/ui-kit/BlockWrapper.tsx +45 -18
  291. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +21 -36
  292. package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  293. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +17 -0
  294. package/mobile/src/ui-kit/Input/Input.tsx +37 -16
  295. package/mobile/src/ui-kit/Input/InputProps.ts +6 -3
  296. package/mobile/src/ui-kit/Select/Select.tsx +86 -20
  297. package/mobile/src/utils/changeHashOnObserve.ts +30 -10
  298. package/package.json +6 -3
  299. package/src/EventBus/EventMap.ts +3 -1
  300. package/src/components/Accordion/Accordion.ui.json +79 -0
  301. package/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  302. package/src/components/Bonus/Bonus.example.json +5 -2
  303. package/src/components/Bonus/Bonus.fixture.tsx +37 -6
  304. package/src/components/Bonus/Bonus.tsx +44 -16
  305. package/src/components/Bonus/Bonus.ui.json +16 -0
  306. package/src/components/Bonus/BonusContent.ts +33 -2
  307. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  308. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  309. package/src/components/Calculator/Calculator.example.json +2 -1
  310. package/src/components/Calculator/Calculator.ui.json +31 -0
  311. package/src/components/CardTransfer/CardTransfer.example.json +7 -2
  312. package/src/components/CardTransfer/CardTransfer.fixture.tsx +9 -1
  313. package/src/components/CardTransfer/CardTransfer.tsx +22 -23
  314. package/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  315. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  316. package/src/components/Catalog/Catalog.ui.json +1 -0
  317. package/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  318. package/src/components/ComparisonTable/TableColumn.tsx +17 -11
  319. package/src/components/ContentPage/ContentPage.page.json +15 -1
  320. package/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  321. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  322. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  323. package/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  324. package/src/components/Footer/Footer.ui.json +11 -0
  325. package/src/components/Gallery/Gallery.ui.json +1 -0
  326. package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
  327. package/src/components/GracePeriod/GracePeriod.tsx +5 -4
  328. package/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  329. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  330. package/src/components/Header/Header.ui.json +11 -0
  331. package/src/components/Headline/Headline.ui.json +1 -0
  332. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  333. package/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  334. package/src/components/LinkList/LinkList.ui.json +1 -0
  335. package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  336. package/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  337. package/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  338. package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  339. package/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  340. package/src/components/PictureText/PictureText.ui.json +1 -0
  341. package/src/components/Placeholder/Placeholder.ui.json +1 -0
  342. package/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  343. package/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  344. package/src/components/ProductTile/ProductTile.ui.json +1 -0
  345. package/src/components/PromoTile/PromoTile.ui.json +1 -0
  346. package/src/components/Recommendation/Recommendation.ui.json +11 -0
  347. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +4 -4
  348. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  349. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  350. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  351. package/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  352. package/src/components/StepsBlock/StepsBlock.ui.json +11 -0
  353. package/src/components/Tabs/Tabs.tsx +25 -3
  354. package/src/components/Tabs/Tabs.ui.json +1 -0
  355. package/src/components/Tabs/TabsContent.ts +2 -0
  356. package/src/components/Tabs/renderLinkTab.tsx +28 -12
  357. package/src/components/Tabs/renderTab.tsx +13 -2
  358. package/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  359. package/src/components/TextBlock/TextBlock.ui.json +1 -0
  360. package/src/components/Tile/Tile.ui.json +1 -0
  361. package/src/react/IntersectionObserverTag.tsx +10 -3
  362. package/src/ui-kit/BlockWrapper.tsx +45 -18
  363. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +21 -36
  364. package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  365. package/src/ui-kit/CurrencyInput/adjustValue .ts +17 -0
  366. package/src/ui-kit/Input/Input.tsx +37 -16
  367. package/src/ui-kit/Input/InputProps.ts +6 -3
  368. package/src/ui-kit/{SelectCustom/SelectCustom.fixture.tsx → Select/Select.fixture.tsx} +2 -2
  369. package/src/ui-kit/Select/Select.tsx +86 -20
  370. package/src/utils/changeHashOnObserve.ts +30 -10
  371. package/bin/migration-scripts/0.4.5.spec.ts +0 -352
  372. package/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  373. package/dist/components/ExchangeRateTile/renderButton.js +0 -9
  374. package/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  375. package/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  376. package/dist/ui-kit/Select/SelectOption.js +0 -8
  377. package/dist/ui-kit/Select/SelectOption.js.map +0 -1
  378. package/dist/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  379. package/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  380. package/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  381. package/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  382. package/lib/components/ExchangeRateTile/renderButton.js +0 -6
  383. package/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  384. package/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  385. package/lib/ui-kit/Select/SelectOption.js +0 -6
  386. package/lib/ui-kit/Select/SelectOption.js.map +0 -1
  387. package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  388. package/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  389. package/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  390. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  391. package/mobile/dist/components/ExchangeRateTile/renderButton.js +0 -9
  392. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  393. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  394. package/mobile/dist/ui-kit/Select/SelectOption.js +0 -8
  395. package/mobile/dist/ui-kit/Select/SelectOption.js.map +0 -1
  396. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  397. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  398. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  399. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  400. package/mobile/lib/components/ExchangeRateTile/renderButton.js +0 -6
  401. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  402. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  403. package/mobile/lib/ui-kit/Select/SelectOption.js +0 -6
  404. package/mobile/lib/ui-kit/Select/SelectOption.js.map +0 -1
  405. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  406. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  407. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  408. package/mobile/src/components/Blocks.spec.tsx +0 -66
  409. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  410. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  411. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  412. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1206
  413. package/mobile/src/content-page-repository/mapJSON.spec.ts +0 -28
  414. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  415. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  416. package/mobile/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  417. package/mobile/src/ui-kit/Select/SelectOption.tsx +0 -18
  418. package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  419. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  420. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  421. package/mobile/src/utils/adjustHref.spec.ts +0 -25
  422. package/mobile/src/utils/maxBy.spec.ts +0 -11
  423. package/mobile/src/utils/url.spec.ts +0 -17
  424. package/src/components/Blocks.spec.tsx +0 -66
  425. package/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  426. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +0 -71
  427. package/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  428. package/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  429. package/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1206
  430. package/src/content-page-repository/mapJSON.spec.ts +0 -28
  431. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  432. package/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  433. package/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  434. package/src/ui-kit/Select/SelectOption.tsx +0 -18
  435. package/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  436. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  437. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  438. package/src/utils/adjustHref.spec.ts +0 -25
  439. package/src/utils/maxBy.spec.ts +0 -11
  440. package/src/utils/url.spec.ts +0 -17
@@ -1,1206 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Blocks Accordion should render block "Accordion" without content 1`] = `
4
- <section
5
- class="p-[50px] mb-1 last:mb-0 font-sans bg-white text-primary-text "
6
- />
7
- `;
8
-
9
- exports[`Blocks BenefitsBlock should render block "BenefitsBlock" without content 1`] = `
10
- <section
11
- class="font-sans text-primary-text p-12 flex flex-col items-center bg-white"
12
- />
13
- `;
14
-
15
- exports[`Blocks Bonus should render block "Bonus" without content 1`] = `
16
- <section
17
- class="font-sans bg-white p-[50px] pb-9 "
18
- >
19
- <div
20
- class="container"
21
- >
22
- <section
23
- class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
24
- />
25
- <div
26
- class="flex flex-wrap w-full mt-9"
27
- />
28
- </div>
29
- </section>
30
- `;
31
-
32
- exports[`Blocks BonusBenefitsBlock should render block "BonusBenefitsBlock" without content 1`] = `
33
- <section
34
- class="font-sans text-primary-text bg-white p-[50px] flex flex-col text-center "
35
- >
36
- <section
37
- class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
38
- />
39
- </section>
40
- `;
41
-
42
- exports[`Blocks Calculator should render block "Calculator" without content 1`] = `
43
- <section
44
- class="box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white "
45
- >
46
- <div
47
- class="bg-white"
48
- >
49
- <div />
50
- </div>
51
- <div
52
- class="flex"
53
- role="list"
54
- style="transform: translateX(-000%);"
55
- />
56
- </section>
57
- `;
58
-
59
- exports[`Blocks CardTransfer should render block "CardTransfer" without content 1`] = `
60
- <section
61
- class="p-[50px] flex flex-col items-center font-sans bg-white "
62
- >
63
- <h3
64
- class="font-sans m-0 text-h2 max-w-[684px] pb-9"
65
- >
66
- Укажите сумму перевода
67
- </h3>
68
- <form
69
- action="https://www.rshb.ru/p2p/"
70
- class="w-[468px]"
71
- method="POST"
72
- >
73
- <div
74
- class=""
75
- >
76
- <label
77
- class="block text-m-light mb-2"
78
- >
79
- Сумма перевода
80
- </label>
81
- <div
82
- class="h-[56px] relative flex items-center"
83
- >
84
- <input
85
- class="text-l pl-4 pr-8 w-full h-full rounded-md border border-solid border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text"
86
- max="300000"
87
- min="0"
88
- name="amount"
89
- placeholder="1500"
90
- type="number"
91
- value=""
92
- />
93
- <span
94
- class="text-xl-light absolute right-4"
95
- >
96
- ₽
97
- </span>
98
- </div>
99
- </div>
100
- <button
101
- class="inline-block text-center font-sans select-none bg-main-divider text-main-disabled rounded-md w-full h-[56px] px-9 mt-6"
102
- disabled=""
103
- type="submit"
104
- >
105
- Далее
106
- </button>
107
- </form>
108
- </section>
109
- `;
110
-
111
- exports[`Blocks Catalog should render block "Catalog" without content 1`] = `
112
- <section
113
- class="bg-white relative font-sans p-12 overflow-hidden text-center "
114
- >
115
- <section
116
- class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
117
- />
118
- <div
119
- class="flex duration-1000 gap-3.5 mt-8"
120
- role="list"
121
- style="transform: translateX(-0px);"
122
- />
123
- <div />
124
- <div
125
- class="absolute top-0 bottom-0 w-[84px] left-0 bg-opacity-from-white"
126
- />
127
- <div
128
- class="absolute top-0 bottom-0 w-[84px] right-0 bg-opacity-to-white"
129
- />
130
- </section>
131
- `;
132
-
133
- exports[`Blocks ComparisonTable should render block "ComparisonTable" without content 1`] = `
134
- <section
135
- class="bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative "
136
- >
137
- <h3
138
- class="font-sans m-0 text-h2 max-w-[47rem] text-center mb-9 mx-auto"
139
- />
140
- <div>
141
- <div
142
- role="table"
143
- />
144
- </div>
145
- </section>
146
- `;
147
-
148
- exports[`Blocks ErrorBlock should render block "ErrorBlock" without content 1`] = `
149
- <section
150
- class="flex flex-col justify-center items-center mt-12 "
151
- role="listitem"
152
- >
153
- <div
154
- class="flex justify-center py-20"
155
- />
156
- </section>
157
- `;
158
-
159
- exports[`Blocks ExchangeRateTile should render block "ExchangeRateTile" without content 1`] = `
160
- <section
161
- class="bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
162
- "
163
- >
164
- <div
165
- class="font-sans flex flex-col grow h-full items-start "
166
- >
167
- <h3
168
- class="font-sans m-0 text-h4 whitespace-pre-wrap text-h4 mb-5"
169
- >
170
- Курсы обмена валют
171
- </h3>
172
- <div
173
- class="flex grow w-full justify-between"
174
- >
175
- <div
176
- class="flex flex-col justify-between w-full"
177
- >
178
- <div
179
- class="h-full"
180
- >
181
- <div
182
- class="flex"
183
- >
184
- <div
185
- class="mr-14 pt-4"
186
- >
187
- <table
188
- class="h-fit w-fit mb-[30px]"
189
- >
190
- <thead>
191
- <tr>
192
- <th
193
- class="text-left text-m-light text-secondary-text"
194
- >
195
- Валюта
196
- </th>
197
- <th
198
- class="text-left text-m-light text-secondary-text pl-11"
199
- >
200
- Купить
201
- </th>
202
- <th
203
- class="text-left text-m-light text-secondary-text pl-11"
204
- >
205
- Продать
206
- </th>
207
- </tr>
208
- </thead>
209
- <tbody />
210
- </table>
211
- <div
212
- class="flex "
213
- >
214
- <svg
215
- aria-hidden="true"
216
- class="width: 24px text-primary-main "
217
- height="24"
218
- width="24"
219
- >
220
- <title>
221
- Иконка Gps
222
- </title>
223
- <desc>
224
- Иконка Gps
225
- </desc>
226
- <use
227
- href="icons/GpsIcon.svg#icon"
228
- xlink:href="icons/GpsIcon.svg#icon"
229
- />
230
- </svg>
231
- <div
232
- class="ml-3"
233
- >
234
- <p
235
- class="text-primary-main m-0 mb-1 text-l"
236
- >
237
- Москва, ул.Ленина д.28
238
- </p>
239
- <p
240
- class="text-secondary-text m-0 text-m-light"
241
- >
242
- Курс указан для ближайшего офиса -
243
- 6км
244
- </p>
245
- </div>
246
- </div>
247
- </div>
248
- </div>
249
- </div>
250
- </div>
251
- </div>
252
- </div>
253
- </section>
254
- `;
255
-
256
- exports[`Blocks Footer should render block "Footer" without content 1`] = `
257
- <footer
258
- class="p-9 bg-white font-sans "
259
- >
260
- <div
261
- class="flex items-stretch gap-[54px] pb-[30px] xl:gap-8"
262
- >
263
- <a
264
- aria-label="Россельхозбанк"
265
- class="inline-flex items-center font-sans no-underline w-[204px]"
266
- href="/"
267
- target="_self"
268
- >
269
- <div
270
- class="text-primary-main w-10"
271
- >
272
- <svg
273
- aria-hidden="true"
274
- class="width: 40px text-primary-main "
275
- height="45"
276
- width="40"
277
- >
278
- <title>
279
- Иконка Logo
280
- </title>
281
- <desc>
282
- Иконка Logo
283
- </desc>
284
- <use
285
- href="icons/LogoIcon.svg#icon"
286
- xlink:href="icons/LogoIcon.svg#icon"
287
- />
288
- </svg>
289
- </div>
290
- <span
291
- class="text-primary-text font-medium ml-2.5"
292
- >
293
- Россельхозбанк
294
- </span>
295
- </a>
296
- <form
297
- class="font-sans relative grow"
298
- >
299
- <div
300
- class="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none"
301
- >
302
- <div
303
- class="w-6 h-6"
304
- >
305
- <img
306
- alt="Иконка Лупа"
307
- aria-hidden="true"
308
- class=""
309
- height="24"
310
- src="icons/LoupeIcon.svg"
311
- title="Иконка Лупа"
312
- width="24"
313
- />
314
- </div>
315
- <label
316
- class="text-secondary-text text-l-light"
317
- for="search-bar-input"
318
- >
319
- Поиск по сайту
320
- </label>
321
- </div>
322
- <input
323
- class="h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
324
- outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text h-full"
325
- id="search-bar-input"
326
- name="search-bar-input"
327
- type="text"
328
- value=""
329
- />
330
- <a
331
- class="text-center font-sans select-none border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md invisible peer-focus:visible absolute top-[3px] right-1"
332
- role="button"
333
- >
334
- <div
335
- class="text-s px-9 py-2.5"
336
- >
337
- Найти
338
- </div>
339
- </a>
340
- </form>
341
- </div>
342
- <div
343
- class="flex items-stretch gap-[54px] xl:gap-8"
344
- >
345
- <div
346
- class="w-[204px] flex flex-col shrink-0 overflow-hidden"
347
- >
348
- <div
349
- class=""
350
- >
351
- <a
352
- aria-label="Обратная связь"
353
- class="text-center font-sans select-none border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md mb-6 w-full"
354
- href="/"
355
- role="link"
356
- target="_blank"
357
- >
358
- <div
359
- class="group flex items-center justify-center gap-2 py-4 px-9 "
360
- >
361
- <div>
362
- <div
363
- class="text-xs-light text-left"
364
- />
365
- <div
366
- class="text-left text-l"
367
- >
368
- Обратная связь
369
- </div>
370
- </div>
371
- </div>
372
- </a>
373
- </div>
374
- <div
375
- class="font-sans"
376
- >
377
- <div
378
- class="flex gap-2.5 "
379
- />
380
- <span
381
- class="text-s-light text-secondary-text"
382
- >
383
- Соцсети
384
- </span>
385
- </div>
386
- <div
387
- class="font-sans"
388
- >
389
- <div
390
- class="flex gap-2.5 mt-6"
391
- />
392
- <span
393
- class="text-s-light text-secondary-text"
394
- >
395
- Мобильное приложение
396
- </span>
397
- </div>
398
- </div>
399
- <div
400
- class="flex flex-grow items-start justify-between gap-[54px] xl:gap-5 pt-[3px]"
401
- />
402
- </div>
403
- <div
404
- class="mt-[98px]"
405
- />
406
- <div
407
- class=""
408
- >
409
- <div
410
- class="pt-5"
411
- >
412
- <span
413
- class="text-xs-light text-secondary-text"
414
- >
415
- © 2000-2022 АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.
416
- </span>
417
- </div>
418
- </div>
419
- </footer>
420
- `;
421
-
422
- exports[`Blocks Gallery should render block "Gallery" without content 1`] = `
423
- <section
424
- class="relative font-sans text-primary-text bg-white p-[42px] overflow-hidden "
425
- >
426
- <div>
427
- <div
428
- class="absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"
429
- />
430
- <section
431
- class="font-sans flex flex-col p-[50px] gap-4 bg-transparent !p-0"
432
- />
433
- <div
434
- class="flex mt-8 justify-center duration-1000"
435
- role="list"
436
- style="transform: translateX(-0px);"
437
- />
438
- </div>
439
- <div />
440
- <div
441
- class="absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white"
442
- />
443
- <div
444
- class="absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white"
445
- />
446
- </section>
447
- `;
448
-
449
- exports[`Blocks GracePeriod should render block "GracePeriod" without content 1`] = `
450
- <section
451
- class="font-sans bg-white p-[50px] "
452
- >
453
- <section
454
- class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
455
- />
456
- </section>
457
- `;
458
-
459
- exports[`Blocks Header should render block "Header" without content 1`] = `
460
- <header
461
- class="pt-6 px-20 bg-white pb-5"
462
- >
463
- <div
464
- class="container"
465
- >
466
- <div
467
- class="flex items-center"
468
- >
469
- <a
470
- aria-label="Россельхозбанк"
471
- class="inline-flex items-center font-sans no-underline mr-8"
472
- href="/"
473
- target="_self"
474
- >
475
- <div
476
- class="text-primary-main w-10"
477
- >
478
- <svg
479
- aria-hidden="true"
480
- class="width: 40px text-primary-main "
481
- height="45"
482
- width="40"
483
- >
484
- <title>
485
- Иконка Logo
486
- </title>
487
- <desc>
488
- Иконка Logo
489
- </desc>
490
- <use
491
- href="icons/LogoIcon.svg#icon"
492
- xlink:href="icons/LogoIcon.svg#icon"
493
- />
494
- </svg>
495
- </div>
496
- <span
497
- class="text-primary-text font-medium ml-2.5"
498
- >
499
- Россельхозбанк
500
- </span>
501
- </a>
502
- <div
503
- class="flex items-center ml-auto"
504
- >
505
- <a
506
- aria-label="Местоположение"
507
- class="border-transparent inline-block border border-solid bg-transparent text-center no-underline mr-5"
508
- href="#"
509
- rel="noopener noreferrer"
510
- >
511
- <span
512
- class="text-primary-text hover:text-primary-main font-sans text-s-light"
513
- >
514
- Москва
515
- </span>
516
- </a>
517
- <a
518
- aria-label="Список всех доступных офисов и банкоматов"
519
- class="border-transparent inline-block border border-solid bg-transparent text-center no-underline mr-7"
520
- href="#"
521
- rel="noopener noreferrer"
522
- >
523
- <span
524
- class="text-primary-text hover:text-primary-main font-sans text-s-light"
525
- >
526
- Офисы и банкоматы
527
- </span>
528
- </a>
529
- <button
530
- aria-label="Поиск по сайту"
531
- class="border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer mr-5 group text-primary-text hover:text-primary-main"
532
- disabled=""
533
- type="button"
534
- >
535
- <div
536
- class="h-full pointer-events-none"
537
- >
538
- <svg
539
- aria-hidden="true"
540
- class="w-full h-full text-black group-hover:text-primary-hover group-hover:invert-0 pointer-events-none "
541
- >
542
- <title>
543
- Иконка Лупа
544
- </title>
545
- <desc>
546
- Иконка Лупа
547
- </desc>
548
- <use
549
- href="icons/LoupeIcon.svg#icon"
550
- xlink:href="icons/LoupeIcon.svg#icon"
551
- />
552
- </svg>
553
- </div>
554
- </button>
555
- <button
556
- aria-label="Дополнительные ссылки"
557
- class="border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer text-secondary-light hover:text-secondary-hover group min-w-[32px] min-h-[32px]"
558
- disabled=""
559
- type="button"
560
- >
561
- <div
562
- class="h-full bg-main-divider/20 rounded-full pointer-events-none"
563
- >
564
- <svg
565
- aria-hidden="true"
566
- class="w-full h-full text-black group-hover:text-primary-hover group-hover:invert-0 "
567
- >
568
- <title>
569
- Иконка Сетка (белая)
570
- </title>
571
- <desc>
572
- Иконка Сетка (белая)
573
- </desc>
574
- <use
575
- href="icons/GridIcon.svg#icon"
576
- xlink:href="icons/GridIcon.svg#icon"
577
- />
578
- </svg>
579
- </div>
580
- </button>
581
- </div>
582
- </div>
583
- <div
584
- class="mt-6 h-[1px] bg-main-divider"
585
- />
586
- </div>
587
- </header>
588
- `;
589
-
590
- exports[`Blocks Headline should render block "Headline" without content 1`] = `
591
- <section
592
- class="font-sans flex flex-col p-[50px] gap-4 bg-transparent "
593
- />
594
- `;
595
-
596
- exports[`Blocks InsuranceAmountBlock should render block "InsuranceAmountBlock" without content 1`] = `
597
- <section
598
- class="box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white "
599
- >
600
- <div
601
- class="flex"
602
- role="list"
603
- style="transform: translateX(-000%);"
604
- />
605
- </section>
606
- `;
607
-
608
- exports[`Blocks LinkDocs should render block "LinkDocs" without content 1`] = `
609
- <section
610
- class="font-sans text-primary-text p-[50px] bg-white "
611
- >
612
- <section
613
- class="font-sans flex flex-col p-[50px] gap-3 bg-transparent !p-0"
614
- />
615
- </section>
616
- `;
617
-
618
- exports[`Blocks MiniGallery should render block "MiniGallery" without content 1`] = `
619
- <section
620
- class="relative font-sans text-primary-text bg-white p-[42px] overflow-hidden "
621
- >
622
- <div>
623
- <div
624
- class="absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"
625
- />
626
- <section
627
- class="font-sans flex flex-col p-[50px] gap-4 bg-transparent !p-0"
628
- />
629
- <div
630
- class="flex mt-8 justify-center duration-1000"
631
- role="list"
632
- style="transform: translateX(-0px);"
633
- />
634
- </div>
635
- <div />
636
- <div
637
- class="absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white"
638
- />
639
- <div
640
- class="absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white"
641
- />
642
- </section>
643
- `;
644
-
645
- exports[`Blocks MobileAppTile should render block "MobileAppTile" without content 1`] = `
646
- <section
647
- class="flex justify-between font-sans p-9 box-border relative min-h-[320px]
648
- min-h-[360px]
649
- bg-white text-primary-text
650
- "
651
- >
652
- <div
653
- class="font-sans flex flex-col grow h-full items-start z-[1]"
654
- >
655
- <h3
656
- class="font-sans m-0 text-h4 whitespace-pre-wrap max-w-[509px] mb-6
657
- text-primary-text"
658
- >
659
- Мобильное приложение
660
- </h3>
661
- <div
662
- class="flex grow w-full justify-between"
663
- >
664
- <div
665
- class="flex flex-col justify-between w-full"
666
- >
667
- <div
668
- class="h-full"
669
- >
670
- <div
671
- class="flex flex-1 items-center"
672
- >
673
- <span
674
- class="text-m-light text-secondary-text"
675
- >
676
- Наведите камеру телефона на QR-код и скачайте приложение
677
- </span>
678
- </div>
679
- </div>
680
- </div>
681
- </div>
682
- </div>
683
- </section>
684
- `;
685
-
686
- exports[`Blocks OfficeServicesBlock should render block "OfficeServicesBlock" without content 1`] = `
687
- <section
688
- class="font-sans bg-white p-8 flex flex-col "
689
- />
690
- `;
691
-
692
- exports[`Blocks OtherProducts should render block "OtherProducts" without content 1`] = `
693
- <section
694
- class="font-sans text-primary-text "
695
- />
696
- `;
697
-
698
- exports[`Blocks PictureText should render block "PictureText" without content 1`] = `
699
- <section
700
- class="relative font-sans py-12 px-24 bg-white text-primary-text "
701
- >
702
- <section
703
- class="font-sans flex flex-col p-[50px] gap-3 bg-white !p-0"
704
- />
705
- <div
706
- class="flex justify-center gap-[122px] mt-[30px]"
707
- >
708
- <div
709
- class="w-[558px] m-auto"
710
- />
711
- </div>
712
- </section>
713
- `;
714
-
715
- exports[`Blocks Placeholder should render block "Placeholder" without content 1`] = `
716
- <section
717
- class="bg-white text-primary-text font-sans p-9 box-border undefined pr-[9.4rem] min-h-[360px] "
718
- >
719
- <section
720
- class="font-sans flex flex-col p-[50px] gap-4 bg-transparent !p-0 max-w-[600px]"
721
- >
722
- <div
723
- class="text-xl-light text-primary-text text-center"
724
- >
725
- Блок в разработке...
726
- </div>
727
- </section>
728
- <figure
729
- class="m-0 min-w-[80%]"
730
- >
731
- <div
732
- class="h-4 mt-2 bg-secondary-light"
733
- style="width: 100%;"
734
- />
735
- <div
736
- class="h-4 mt-2 bg-secondary-light"
737
- style="width: 61%;"
738
- />
739
- <div
740
- class="h-4 mt-2 bg-secondary-light"
741
- style="width: 38%;"
742
- />
743
- <div
744
- class="h-4 mt-2 bg-secondary-light"
745
- style="width: 23%;"
746
- />
747
- </figure>
748
- </section>
749
- `;
750
-
751
- exports[`Blocks ProductBlock should render block "ProductBlock" without content 1`] = `
752
- <section
753
- class="font-sans overflow-hidden p-[50px] flex flex-col box-border min-h-[454px] bg-white text-primary-text "
754
- >
755
- <div
756
- class="flex grow justify-between items-stretch h-full "
757
- >
758
- <div
759
- class="flex flex-col "
760
- >
761
- <section
762
- class="font-sans flex flex-col p-[50px] gap-4 bg-white !p-0 max-w-[600px]"
763
- />
764
- <div
765
- class="font-sans flex flex-col grow h-full items-start "
766
- >
767
-
768
- <div
769
- class="flex grow w-full justify-between"
770
- >
771
- <div
772
- class="flex flex-col justify-between w-full"
773
- >
774
- <div
775
- class="h-full"
776
- />
777
- </div>
778
- </div>
779
- </div>
780
- </div>
781
- </div>
782
- </section>
783
- `;
784
-
785
- exports[`Blocks ProductGallery should render block "ProductGallery" without content 1`] = `
786
- <section
787
- class="box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6
788
- bg-white text-primary-text"
789
- >
790
- <div
791
- class="flex duration-1000 pb-14"
792
- role="list"
793
- style="transform: translateX(-000%);"
794
- />
795
- <div
796
- class="flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28"
797
- />
798
- </section>
799
- `;
800
-
801
- exports[`Blocks ProductTile should render block "ProductTile" without content 1`] = `
802
- <section
803
- class="overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
804
- bg-white text-primary-text pr-[9.4rem]"
805
- >
806
- <section
807
- class="font-sans flex flex-col p-[50px] gap-2 bg-white !p-0 !bg-transparent z-10 "
808
- />
809
- <div
810
- class="z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
811
- 100%"
812
- />
813
- </section>
814
- `;
815
-
816
- exports[`Blocks PromoTile should render block "PromoTile" without content 1`] = `
817
- <section
818
- class="bg-white text-primary-text font-sans p-9 box-border bg-white text-primary-text pr-[9.4rem] min-h-[360px] "
819
- >
820
- <div
821
- class="font-sans flex flex-col grow h-full items-start "
822
- >
823
- <section
824
- class="font-sans flex flex-col p-[50px] gap-4 bg-white !p-0 max-w-[600px]"
825
- >
826
- <h2
827
- class="font-sans m-0 text-h2 whitespace-pre-wrap text-primary-text text-left"
828
- >
829
- Акции и спецпредложения
830
- </h2>
831
- </section>
832
- <div
833
- class="flex grow w-full justify-between"
834
- >
835
- <div
836
- class="flex flex-col justify-between w-full"
837
- >
838
- <div
839
- class="h-full"
840
- >
841
- <div
842
- class="mt-1.5"
843
- >
844
- <div
845
- class="text-l"
846
- />
847
- </div>
848
- </div>
849
- </div>
850
- </div>
851
- </div>
852
- </section>
853
- `;
854
-
855
- exports[`Blocks Recommendation should render block "Recommendation" without content 1`] = `
856
- <section
857
- class="relative font-sans p-9 overflow-hidden text-center bg-white text-primary-text "
858
- >
859
- <div>
860
- <div
861
- class="flex duration-1000 gap-3.5"
862
- role="list"
863
- style="transform: translateX(-0px);"
864
- />
865
- <div>
866
- <div />
867
- </div>
868
- </div>
869
- <div
870
- class="absolute top-0 bottom-0 w-[84px] left-0 bg-opacity-from-white"
871
- />
872
- <div
873
- class="absolute top-0 bottom-0 w-[84px] right-0 bg-opacity-to-white"
874
- />
875
- </section>
876
- `;
877
-
878
- exports[`Blocks SafeDepositRental should render block "SafeDepositRental" without content 1`] = `
879
- <section
880
- class=""
881
- >
882
- <div
883
- class="bg-white px-8 py-12"
884
- >
885
- <div
886
- class="flex justify-between align-top mb-6"
887
- >
888
- <div
889
- class="flex-1 mr-9"
890
- >
891
- <div
892
- class="flex justify-between mb-6"
893
- >
894
- <div
895
- class="w-full mr-4"
896
- >
897
- <div>
898
- <span
899
- class="block text-m-light mb-2"
900
- >
901
- Город
902
- </span>
903
- <select
904
- class="appearance-none pl-0.5 h-14 border border-gray p-4 rounded-md text-s w-full cursor-pointer text-secondary-text"
905
- placeholder=""
906
- />
907
- </div>
908
- </div>
909
- <div
910
- class="w-full"
911
- >
912
- <div>
913
- <span
914
- class="block text-m-light mb-2"
915
- >
916
- Отделение
917
- </span>
918
- <select
919
- class="appearance-none pl-0.5 h-14 border border-gray p-4 rounded-md text-s w-full cursor-pointer text-secondary-text"
920
- placeholder=""
921
- >
922
- <option
923
- class=""
924
- value=""
925
- >
926
- Выберите отделение
927
- </option>
928
- </select>
929
- </div>
930
- </div>
931
- </div>
932
- <div
933
- class="mb-6"
934
- >
935
- <span
936
- class="block text-m-light mb-[3px]"
937
- >
938
- Срок аренды
939
- </span>
940
- <div>
941
- <label
942
- class="block relative"
943
- >
944
- <input
945
- class="m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
946
- outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus disabled:border-main-stroke disabled:bg-main-divider"
947
- value="26"
948
- />
949
- <div
950
- class="absolute inset-x-0 -bottom-1 px-4 leading-[18px]"
951
- >
952
- <input
953
- class="box-border w-full m-0 cursor-pointer slider"
954
- max="365"
955
- min="1"
956
- step="1"
957
- style="background-size: 6.87% 100%;"
958
- type="range"
959
- value="26"
960
- />
961
- </div>
962
- </label>
963
- <div
964
- class="flex justify-between my-2"
965
- >
966
- <span
967
- class="text-s-light text-secondary-text"
968
- >
969
- От 1 дня
970
- </span>
971
- <span
972
- class="text-s-light text-secondary-text"
973
- >
974
- До 365 дней
975
- </span>
976
- </div>
977
- </div>
978
- </div>
979
- <div
980
- class="flex justify-between mb-6"
981
- >
982
- <div
983
- class="mr-4 w-full"
984
- >
985
- <div>
986
- <span
987
- class="block text-m-light mb-2"
988
- >
989
- Размер
990
- </span>
991
- <select
992
- class="appearance-none pl-0.5 h-14 border border-gray p-4 rounded-md text-s w-full cursor-pointer text-secondary-text"
993
- placeholder=""
994
- >
995
- <option
996
- class=""
997
- value=""
998
- >
999
- Выберите размер
1000
- </option>
1001
- </select>
1002
- </div>
1003
- </div>
1004
- <div
1005
- class="w-full"
1006
- >
1007
- <div>
1008
- <span
1009
- class="block text-m-light mb-2"
1010
- >
1011
- Параметры ячейки, мм (ВхШхД)
1012
- </span>
1013
- <select
1014
- class="appearance-none pl-0.5 h-14 border border-gray p-4 rounded-md text-s w-full cursor-pointer text-secondary-text"
1015
- placeholder=""
1016
- >
1017
- <option
1018
- class=""
1019
- value=""
1020
- >
1021
- Выберите параметр ячейки
1022
- </option>
1023
- </select>
1024
- </div>
1025
- </div>
1026
- </div>
1027
- <span
1028
- class="text-secondary-text text-l-light"
1029
- >
1030
- Тип договора
1031
- </span>
1032
- <div
1033
- class="flex justify-between items-center mt-5"
1034
- >
1035
- <div>
1036
- <div
1037
- class="mb-2"
1038
- >
1039
- <label
1040
- class="flex items-center relative cursor-pointer"
1041
- >
1042
- <input
1043
- class="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border-2 border-primary-main
1044
- rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main"
1045
- name="contractType"
1046
- type="radio"
1047
- value="option1"
1048
- />
1049
- <span
1050
- class="font-sans ml-3 cursor-pointer"
1051
- >
1052
- Простое хранение
1053
- </span>
1054
- </label>
1055
- </div>
1056
- <div>
1057
- <label
1058
- class="flex items-center relative cursor-pointer"
1059
- >
1060
- <input
1061
- checked=""
1062
- class="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border-2 border-primary-main
1063
- rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main"
1064
- name="contractType"
1065
- type="radio"
1066
- value="option2"
1067
- />
1068
- <span
1069
- class="font-sans ml-3 cursor-pointer"
1070
- >
1071
- Сделка с недвижимостью
1072
- </span>
1073
- </label>
1074
- </div>
1075
- </div>
1076
- <a
1077
- class="text-center font-sans select-none border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active rounded-md "
1078
- role="button"
1079
- >
1080
- <div
1081
- class="group flex items-center justify-center gap-2 py-4 px-9 "
1082
- >
1083
- <div>
1084
- <div
1085
- class="text-xs-light text-left"
1086
- />
1087
- <div
1088
- class="text-left text-l"
1089
- >
1090
- Офисы на карте
1091
- </div>
1092
- </div>
1093
- </div>
1094
- </a>
1095
- </div>
1096
- </div>
1097
- <div
1098
- class="flex flex-col justify-between"
1099
- >
1100
- <div
1101
- class="flex"
1102
- >
1103
- <div
1104
- class="mr-11"
1105
- >
1106
- <span
1107
- class="block text-m-light mb-1"
1108
- >
1109
- Аренда за
1110
- </span>
1111
- <span
1112
- class="text-h3"
1113
- >
1114
- 26
1115
- </span>
1116
- </div>
1117
- <div
1118
- class=""
1119
- >
1120
- <span
1121
- class="block text-m-light mb-1"
1122
- >
1123
- Цена
1124
- </span>
1125
- <span
1126
- class="text-h3"
1127
- >
1128
- 0 ₽
1129
- </span>
1130
- </div>
1131
- </div>
1132
- <div
1133
- class="bg-primary-main px-10 pt-10 pb-4 text-center"
1134
- >
1135
- <img
1136
- alt="Иконка Пачка бумаги А4"
1137
- aria-hidden="true"
1138
- class=""
1139
- height="257"
1140
- src="icons/PackA4Icon.svg"
1141
- title="Иконка Пачка бумаги А4"
1142
- width="290"
1143
- />
1144
- <span
1145
- class="text-s-light text-white opacity-80 mt-2 inline-block"
1146
- >
1147
- На рисунки изображена пачка
1148
- <br />
1149
- листов формата А4
1150
- </span>
1151
- </div>
1152
- </div>
1153
- </div>
1154
- </div>
1155
- </section>
1156
- `;
1157
-
1158
- exports[`Blocks StepsBlock should render block "StepsBlock" without content 1`] = `
1159
- <section
1160
- class="box-border font-sans text-primary-text bg-white px-[70px] py-[50px] flex flex-col items-center bg-white text-primary-text "
1161
- />
1162
- `;
1163
-
1164
- exports[`Blocks Tabs should render block "Tabs" without content 1`] = `
1165
- <section
1166
- class="mb-2 box-border flex gap-x-1 undefined"
1167
- />
1168
- `;
1169
-
1170
- exports[`Blocks TariffsTable should render block "TariffsTable" without content 1`] = `
1171
- <section
1172
- class="bg-white font-sans p-[50px] overflow-hidden text-primary-text relative "
1173
- />
1174
- `;
1175
-
1176
- exports[`Blocks TextBlock should render block "TextBlock" without content 1`] = `
1177
- <section
1178
- class="font-sans px-9 py-4 flex bg-white "
1179
- >
1180
- <div
1181
- class="py-0.5"
1182
- />
1183
- </section>
1184
- `;
1185
-
1186
- exports[`Blocks Tile should render block "Tile" without content 1`] = `
1187
- <section
1188
- class="overflow-hidden font-sans p-9 pr-3 box-border bg-white text-primary-text pr-[9.4rem] min-h-[360px] "
1189
- >
1190
- <div
1191
- class="font-sans flex flex-col grow h-full items-start "
1192
- >
1193
- <div
1194
- class="flex grow w-full justify-between"
1195
- >
1196
- <div
1197
- class="flex flex-col justify-between w-full"
1198
- >
1199
- <div
1200
- class="h-full"
1201
- />
1202
- </div>
1203
- </div>
1204
- </div>
1205
- </section>
1206
- `;