@redneckz/wildless-cms-uni-blocks 0.8.24 → 0.8.26

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 (325) hide show
  1. package/bin/migration-scripts/0.6.43.js +4 -1
  2. package/bin/migration-scripts/0.7.8.js +4 -1
  3. package/bin/migration-scripts/0.8.15.js +4 -1
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +165 -184
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/Headline/HeadlineContent.d.ts +2 -0
  8. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  9. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  10. package/dist/components/Accordion/Accordion.js +2 -3
  11. package/dist/components/Accordion/Accordion.js.map +1 -1
  12. package/dist/components/Accordion/Accordion.mobile.js +2 -3
  13. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  14. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  15. package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  16. package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  17. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  19. package/dist/components/Blocks.js +0 -4
  20. package/dist/components/Blocks.js.map +1 -1
  21. package/dist/components/Blocks.mobile.js +4 -2
  22. package/dist/components/Blocks.mobile.js.map +1 -1
  23. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  24. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  25. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  26. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  27. package/dist/components/Footer/Footer.mobile.js +3 -3
  28. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  29. package/dist/components/Header/Header.mobile.js +2 -3
  30. package/dist/components/Header/Header.mobile.js.map +1 -1
  31. package/dist/components/Headline/Headline.js +3 -2
  32. package/dist/components/Headline/Headline.js.map +1 -1
  33. package/dist/components/Headline/HeadlineContent.d.ts +2 -0
  34. package/dist/components/RollupItem/RollupItem.js +9 -4
  35. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  36. package/dist/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  37. package/dist/components/RollupItem/RollupItem.mobile.js +33 -0
  38. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -0
  39. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  40. package/dist/ui-kit/Icon/Icon.js +4 -1
  41. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  42. package/dist/ui-kit/List/List.js +1 -1
  43. package/dist/ui-kit/List/List.js.map +1 -1
  44. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  45. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  46. package/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  47. package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  48. package/lib/common.css +1 -1
  49. package/lib/components/Accordion/Accordion.fixture.d.ts +0 -2
  50. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -1
  51. package/lib/components/Accordion/Accordion.js +2 -3
  52. package/lib/components/Accordion/Accordion.js.map +1 -1
  53. package/lib/components/Accordion/Accordion.mobile.js +2 -3
  54. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  55. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  56. package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  57. package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  58. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  59. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  60. package/lib/components/Blocks.js +0 -4
  61. package/lib/components/Blocks.js.map +1 -1
  62. package/lib/components/Blocks.mobile.js +4 -2
  63. package/lib/components/Blocks.mobile.js.map +1 -1
  64. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  65. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  66. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  67. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  68. package/lib/components/Footer/Footer.mobile.js +3 -3
  69. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  70. package/lib/components/Header/Header.mobile.js +2 -3
  71. package/lib/components/Header/Header.mobile.js.map +1 -1
  72. package/lib/components/Headline/Headline.js +3 -2
  73. package/lib/components/Headline/Headline.js.map +1 -1
  74. package/lib/components/Headline/HeadlineContent.d.ts +2 -0
  75. package/lib/components/{AccordionItem/AccordionItem.fixture.d.ts → RollupItem/RollupItem.fixture.mobile.d.ts} +2 -0
  76. package/lib/components/RollupItem/RollupItem.js +9 -4
  77. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  78. package/lib/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  79. package/lib/components/RollupItem/RollupItem.mobile.js +31 -0
  80. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -0
  81. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  82. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +0 -1
  83. package/lib/ui-kit/Icon/Icon.js +4 -1
  84. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  85. package/lib/ui-kit/List/List.js +1 -1
  86. package/lib/ui-kit/List/List.js.map +1 -1
  87. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  88. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  89. package/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  90. package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  91. package/mobile/bundle/bundle.umd.js +204 -154
  92. package/mobile/bundle/bundle.umd.min.js +1 -1
  93. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -0
  94. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  95. package/mobile/dist/components/Accordion/Accordion.js +2 -3
  96. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  97. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  98. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  99. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  100. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  101. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  102. package/mobile/dist/components/Blocks.js +4 -2
  103. package/mobile/dist/components/Blocks.js.map +1 -1
  104. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  105. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  106. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  107. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  108. package/mobile/dist/components/Footer/Footer.js +3 -3
  109. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  110. package/mobile/dist/components/Header/Header.js +2 -3
  111. package/mobile/dist/components/Header/Header.js.map +1 -1
  112. package/mobile/dist/components/Headline/Headline.js +3 -2
  113. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  114. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -0
  115. package/mobile/dist/components/RollupItem/RollupItem.js +17 -5
  116. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  117. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  118. package/mobile/dist/ui-kit/Icon/Icon.js +4 -1
  119. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  120. package/mobile/dist/ui-kit/List/List.js +1 -1
  121. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  122. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  123. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  124. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  125. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  126. package/mobile/lib/components/Accordion/Accordion.js +2 -3
  127. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  128. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  129. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  130. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  131. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  132. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  133. package/mobile/lib/components/Blocks.js +4 -2
  134. package/mobile/lib/components/Blocks.js.map +1 -1
  135. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  136. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  137. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  138. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  139. package/mobile/lib/components/Footer/Footer.js +3 -3
  140. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  141. package/mobile/lib/components/Header/Header.js +2 -3
  142. package/mobile/lib/components/Header/Header.js.map +1 -1
  143. package/mobile/lib/components/Headline/Headline.js +3 -2
  144. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  145. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -0
  146. package/mobile/lib/components/RollupItem/RollupItem.js +17 -5
  147. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  148. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  149. package/mobile/lib/ui-kit/Icon/Icon.js +4 -1
  150. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  151. package/mobile/lib/ui-kit/List/List.js +1 -1
  152. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  153. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  154. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  155. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  156. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  157. package/mobile/src/components/Accordion/Accordion.example.json +3 -3
  158. package/mobile/src/components/Accordion/Accordion.tsx +2 -3
  159. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  160. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
  161. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  162. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  163. package/mobile/src/components/Blocks.ts +4 -2
  164. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
  165. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  166. package/mobile/src/components/Footer/Footer.tsx +9 -9
  167. package/mobile/src/components/Header/Header.tsx +5 -6
  168. package/mobile/src/components/Headline/Headline.tsx +4 -1
  169. package/mobile/src/components/Headline/HeadlineContent.ts +2 -0
  170. package/mobile/src/components/PictureText/PictureText.example.json +2 -0
  171. package/mobile/src/components/RollupItem/RollupItem.tsx +77 -28
  172. package/mobile/src/components/StepsBlock/StepsBlock.example.json +4 -1
  173. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
  174. package/mobile/src/ui-kit/Icon/Icon.tsx +4 -1
  175. package/mobile/src/ui-kit/List/List.tsx +1 -1
  176. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
  177. package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
  178. package/package.json +1 -1
  179. package/src/components/Accordion/Accordion.example.json +3 -3
  180. package/src/components/Accordion/Accordion.fixture.mobile.tsx +20 -11
  181. package/src/components/Accordion/Accordion.fixture.tsx +42 -27
  182. package/src/components/Accordion/Accordion.mobile.tsx +2 -3
  183. package/src/components/Accordion/Accordion.tsx +2 -3
  184. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  185. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
  186. package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  187. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  188. package/src/components/Blocks.mobile.ts +4 -2
  189. package/src/components/Blocks.ts +0 -4
  190. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
  191. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -2
  192. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  193. package/src/components/Footer/Footer.mobile.tsx +9 -9
  194. package/src/components/Header/Header.mobile.tsx +5 -6
  195. package/src/components/Headline/Headline.tsx +4 -1
  196. package/src/components/Headline/HeadlineContent.ts +2 -0
  197. package/src/components/OtherProducts/OtherProducts.fixture.tsx +15 -14
  198. package/src/components/PictureText/PictureText.example.json +2 -0
  199. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +33 -0
  200. package/src/components/RollupItem/RollupItem.mobile.tsx +143 -0
  201. package/src/components/RollupItem/RollupItem.tsx +17 -13
  202. package/src/components/StepsBlock/StepsBlock.example.json +4 -1
  203. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
  204. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
  205. package/src/ui-kit/Icon/Icon.tsx +4 -1
  206. package/src/ui-kit/List/List.tsx +1 -1
  207. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
  208. package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
  209. package/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
  210. package/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
  211. package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  212. package/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  213. package/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  214. package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  215. package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  216. package/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
  217. package/dist/components/Accordion/AccordionItemsList.js +0 -6
  218. package/dist/components/Accordion/AccordionItemsList.js.map +0 -1
  219. package/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
  220. package/dist/components/AccordionItem/AccordionItem.js +0 -14
  221. package/dist/components/AccordionItem/AccordionItem.js.map +0 -1
  222. package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  223. package/dist/components/AccordionItem/AccordionItem.mobile.js +0 -19
  224. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
  225. package/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  226. package/dist/components/AccordionItem/AccordionItemContent.js +0 -2
  227. package/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
  228. package/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  229. package/dist/components/AccordionItem/AccordionItemProps.js +0 -2
  230. package/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
  231. package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  232. package/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
  233. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  234. package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  235. package/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  236. package/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  237. package/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
  238. package/lib/components/Accordion/AccordionItemsList.js +0 -4
  239. package/lib/components/Accordion/AccordionItemsList.js.map +0 -1
  240. package/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
  241. package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +0 -5
  242. package/lib/components/AccordionItem/AccordionItem.js +0 -12
  243. package/lib/components/AccordionItem/AccordionItem.js.map +0 -1
  244. package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  245. package/lib/components/AccordionItem/AccordionItem.mobile.js +0 -17
  246. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
  247. package/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  248. package/lib/components/AccordionItem/AccordionItemContent.js +0 -2
  249. package/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
  250. package/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  251. package/lib/components/AccordionItem/AccordionItemProps.js +0 -2
  252. package/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
  253. package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  254. package/lib/components/OtherProductsItem/OtherProductsItem.fixture.d.ts +0 -5
  255. package/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
  256. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  257. package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  258. package/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  259. package/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  260. package/mobile/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
  261. package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
  262. package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  263. package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  264. package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  265. package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  266. package/mobile/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
  267. package/mobile/dist/components/Accordion/AccordionItemsList.js +0 -6
  268. package/mobile/dist/components/Accordion/AccordionItemsList.js.map +0 -1
  269. package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
  270. package/mobile/dist/components/AccordionItem/AccordionItem.js +0 -19
  271. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +0 -1
  272. package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  273. package/mobile/dist/components/AccordionItem/AccordionItemContent.js +0 -2
  274. package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
  275. package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  276. package/mobile/dist/components/AccordionItem/AccordionItemProps.js +0 -2
  277. package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
  278. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  279. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
  280. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  281. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  282. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  283. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  284. package/mobile/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
  285. package/mobile/lib/components/Accordion/AccordionItemsList.js +0 -4
  286. package/mobile/lib/components/Accordion/AccordionItemsList.js.map +0 -1
  287. package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
  288. package/mobile/lib/components/AccordionItem/AccordionItem.js +0 -17
  289. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +0 -1
  290. package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  291. package/mobile/lib/components/AccordionItem/AccordionItemContent.js +0 -2
  292. package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
  293. package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  294. package/mobile/lib/components/AccordionItem/AccordionItemProps.js +0 -2
  295. package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
  296. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  297. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
  298. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  299. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  300. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  301. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  302. package/mobile/src/components/Accordion/AccordionItemsList.tsx +0 -5
  303. package/mobile/src/components/AccordionItem/AccordionItem.example.json +0 -25
  304. package/mobile/src/components/AccordionItem/AccordionItem.tsx +0 -90
  305. package/mobile/src/components/AccordionItem/AccordionItem.ui.json +0 -7
  306. package/mobile/src/components/AccordionItem/AccordionItemContent.ts +0 -15
  307. package/mobile/src/components/AccordionItem/AccordionItemProps.ts +0 -4
  308. package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
  309. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
  310. package/mobile/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
  311. package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
  312. package/src/components/Accordion/AccordionItemsList.tsx +0 -5
  313. package/src/components/AccordionItem/AccordionItem.example.json +0 -25
  314. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +0 -17
  315. package/src/components/AccordionItem/AccordionItem.fixture.tsx +0 -17
  316. package/src/components/AccordionItem/AccordionItem.mobile.tsx +0 -90
  317. package/src/components/AccordionItem/AccordionItem.tsx +0 -58
  318. package/src/components/AccordionItem/AccordionItem.ui.json +0 -7
  319. package/src/components/AccordionItem/AccordionItemContent.ts +0 -15
  320. package/src/components/AccordionItem/AccordionItemProps.ts +0 -4
  321. package/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
  322. package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +0 -20
  323. package/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
  324. package/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
  325. package/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
@@ -73,7 +73,6 @@ export const SwipeListContainer = JSX<SwipeListContainerProps>(
73
73
  <div
74
74
  className={style('box-border overflow-auto no-scrollbar', listType, className)}
75
75
  style={containerStyle}
76
- role="list"
77
76
  ref={containerRef}
78
77
  >
79
78
  {mapChildren((child, idx) => (
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
3
3
  import {
4
- useIntersectionObserver,
5
4
  type IntersectionObserverOptions,
5
+ useIntersectionObserver,
6
6
  } from '../../hooks/useIntersectionObserver';
7
7
 
8
8
  /**
@@ -33,7 +33,6 @@ export const SwipeListItem = JSX<SwipeListControlItemProps>(
33
33
  <div
34
34
  className={`inline-block snap-always box-border ${className}`}
35
35
  style={style}
36
- role="listitem"
37
36
  aria-current={Boolean(idx === activeIndex)}
38
37
  ref={ref}
39
38
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.8.24",
3
+ "version": "0.8.26",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "blocks": [
7
7
  {
8
- "type": "AccordionItem",
8
+ "type": "RollupItem",
9
9
  "content": {
10
10
  "label": "Аккордеон 1",
11
11
  "isExpanded": true,
@@ -31,7 +31,7 @@
31
31
  ]
32
32
  },
33
33
  {
34
- "type": "AccordionItem",
34
+ "type": "RollupItem",
35
35
  "content": {
36
36
  "label": "Аккордеон 2",
37
37
  "isExpanded": false,
@@ -41,7 +41,7 @@
41
41
  }
42
42
  },
43
43
  {
44
- "type": "AccordionItem",
44
+ "type": "RollupItem",
45
45
  "content": {
46
46
  "label": "Аккордеон 3",
47
47
  "isExpanded": false,
@@ -5,10 +5,10 @@ import { Blocks } from '../Blocks';
5
5
  import { HEADLINE } from '../Headline/Headline.fixture';
6
6
  import { linkDocsContentExample } from '../LinkDocs/linkDocsContentExample';
7
7
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
8
- import { Accordion } from './Accordion';
8
+ import { VerticalLayout } from '../VerticalLayout/VerticalLayout';
9
9
 
10
- export const ACCORDION_ITEM: BlockDef = {
11
- type: 'AccordionItem',
10
+ export const ROLLUP_ITEM: BlockDef = {
11
+ type: 'RollupItem',
12
12
  content: {
13
13
  label: 'Accordion label 1',
14
14
  labelIcon: { icon: 'CardIcon' },
@@ -27,27 +27,36 @@ const options = {
27
27
  export default {
28
28
  default: (
29
29
  <div className="container grid grid-cols-12">
30
- <Accordion
30
+ <VerticalLayout
31
31
  className="col-span-12"
32
- title="Accordion title"
33
- description="Accordion description 2"
34
- bordered={true}
35
32
  block={{
36
- type: 'Accordion',
33
+ type: 'VerticalLayout',
37
34
  blocks: [
38
- ACCORDION_ITEM,
39
35
  {
40
- type: 'AccordionItem',
36
+ type: 'Headline',
37
+ content: {
38
+ title: 'Accordion title',
39
+ description: 'Accordion description 2',
40
+ headlineVersion: 'M',
41
+ align: 'text-center',
42
+ },
43
+ },
44
+ ROLLUP_ITEM,
45
+ {
46
+ type: 'RollupItem',
41
47
  content: { label: 'Accordion label 2', isExpanded: true },
42
48
  blocks: [{ type: 'Headline', content: HEADLINE }],
43
49
  },
44
50
  {
45
- type: 'AccordionItem',
51
+ type: 'RollupItem',
46
52
  content: { label: 'Accordion label 3', isExpanded: true },
47
53
  blocks: [{ type: 'LinkDocs', content: { ...linkDocsContentExample, title: '' } }],
48
54
  },
49
55
  ],
50
56
  }}
57
+ version="primary"
58
+ isInnerPadding={false}
59
+ isPadding={true}
51
60
  options={options}
52
61
  />
53
62
  </div>
@@ -1,5 +1,4 @@
1
1
  import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
2
- import type { BlockDef } from '../../model/ContentPageDef';
3
2
  import '../../setup-fixture';
4
3
  import { Blocks } from '../Blocks';
5
4
  import { HEADLINE } from '../Headline/Headline.fixture';
@@ -8,16 +7,7 @@ import { PICTURE_TEXT } from '../PictureText/PictureText.fixture';
8
7
  import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
9
8
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
10
9
  import { TILE } from '../Tile/Tile.fixture';
11
- import { Accordion } from './Accordion';
12
-
13
- export const ACCORDION_ITEM: BlockDef = {
14
- type: 'AccordionItem',
15
- content: { label: 'Accordion label 1', isExpanded: true },
16
- blocks: [
17
- { type: 'TextBlock', content: TEXT_BLOCK },
18
- { type: 'TextBlock', content: TEXT_BLOCK },
19
- ],
20
- };
10
+ import { VerticalLayout } from '../VerticalLayout/VerticalLayout';
21
11
 
22
12
  const options = {
23
13
  blocksRegistry: Blocks,
@@ -26,31 +16,47 @@ const options = {
26
16
  export default {
27
17
  default: (
28
18
  <div className="container grid grid-cols-12">
29
- <Accordion
19
+ <VerticalLayout
30
20
  className="col-span-12"
31
- title="Accordion title"
32
- description="Accordion description"
21
+ version="primary"
22
+ isInnerPadding={false}
23
+ isPadding={true}
33
24
  block={{
34
- type: 'Accordion',
25
+ type: 'VerticalLayout',
35
26
  blocks: [
36
- ACCORDION_ITEM,
37
27
  {
38
- type: 'AccordionItem',
28
+ type: 'Headline',
29
+ content: {
30
+ title: 'Accordion title',
31
+ description: 'Accordion description',
32
+ headlineVersion: 'M',
33
+ },
34
+ },
35
+ {
36
+ type: 'RollupItem',
37
+ content: { label: 'Accordion label 1', isExpanded: true },
38
+ blocks: [
39
+ { type: 'TextBlock', content: TEXT_BLOCK },
40
+ { type: 'TextBlock', content: TEXT_BLOCK },
41
+ ],
42
+ },
43
+ {
44
+ type: 'RollupItem',
39
45
  content: { label: 'Accordion label 2', isExpanded: true },
40
46
  blocks: [{ type: 'PictureText', content: PICTURE_TEXT }],
41
47
  },
42
48
  {
43
- type: 'AccordionItem',
49
+ type: 'RollupItem',
44
50
  content: { label: 'Accordion label 3', isExpanded: true },
45
51
  blocks: [{ type: 'Headline', content: HEADLINE }],
46
52
  },
47
53
  {
48
- type: 'AccordionItem',
54
+ type: 'RollupItem',
49
55
  content: { label: 'Accordion label 4' },
50
56
  blocks: [{ type: 'LinkDocs', content: { ...linkDocsContentExample, title: '' } }],
51
57
  },
52
58
  {
53
- type: 'AccordionItem',
59
+ type: 'RollupItem',
54
60
  content: { label: 'Accordion label 5' },
55
61
  blocks: [
56
62
  { type: 'Tile', content: TILE, style: ['col-span-6'] },
@@ -58,7 +64,7 @@ export default {
58
64
  ],
59
65
  },
60
66
  {
61
- type: 'AccordionItem',
67
+ type: 'RollupItem',
62
68
  content: { label: 'Accordion label 6' },
63
69
  blocks: [
64
70
  { type: 'ProductTile', content: PRODUCT_TILE, style: ['col-span-6'] },
@@ -73,16 +79,22 @@ export default {
73
79
  ),
74
80
  'right-align-title': (
75
81
  <div className="container grid grid-cols-12">
76
- <Accordion
82
+ <VerticalLayout
77
83
  className="col-span-12"
78
- title="Accordion title"
79
- accordionAlignTitle="right"
80
- description="Accordion description"
81
84
  block={{
82
- type: 'Accordion',
85
+ type: 'VerticalLayout',
83
86
  blocks: [
84
87
  {
85
- type: 'AccordionItem',
88
+ type: 'Headline',
89
+ content: {
90
+ title: 'Accordion title',
91
+ description: 'Accordion description',
92
+ headlineVersion: 'M',
93
+ align: 'text-right',
94
+ },
95
+ },
96
+ {
97
+ type: 'RollupItem',
86
98
  content: { label: 'Accordion label 1', isExpanded: true },
87
99
  blocks: [
88
100
  { type: 'TextBlock', content: TEXT_BLOCK },
@@ -91,6 +103,9 @@ export default {
91
103
  },
92
104
  ],
93
105
  }}
106
+ version="primary"
107
+ isInnerPadding={false}
108
+ isPadding={true}
94
109
  options={options}
95
110
  />
96
111
  </div>
@@ -5,7 +5,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { Heading } from '../../ui-kit/Heading/Heading';
6
6
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
7
7
  import type { AccordionContent } from './AccordionContent';
8
- import { AccordionItemsList } from './AccordionItemsList';
9
8
 
10
9
  export interface AccordionProps extends AccordionContent, UniBlockProps {}
11
10
 
@@ -20,9 +19,9 @@ export const Accordion: JSXBlock<AccordionProps> = JSX<AccordionProps>(
20
19
  </Paragraph>
21
20
  </div>
22
21
  ) : null}
23
- <AccordionItemsList>{renderChildren(rest)}</AccordionItemsList>
22
+ <div className="list-none m-0 p-0">{renderChildren(rest)}</div>
24
23
  </BlockWrapper>
25
24
  ),
26
25
  );
27
26
 
28
- Accordion.childrenTypes = ['AccordionItem'];
27
+ Accordion.childrenTypes = ['Accordion'];
@@ -6,7 +6,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { Heading } from '../../ui-kit/Heading/Heading';
7
7
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
8
8
  import type { AccordionContent } from './AccordionContent';
9
- import { AccordionItemsList } from './AccordionItemsList';
10
9
 
11
10
  export interface AccordionProps extends AccordionContent, UniBlockProps {}
12
11
 
@@ -26,9 +25,9 @@ export const Accordion: JSXBlock<AccordionProps> = JSX<AccordionProps>(
26
25
  <Paragraph size="text-l">{description}</Paragraph>
27
26
  </div>
28
27
  ) : null}
29
- <AccordionItemsList>{renderChildren(rest)}</AccordionItemsList>
28
+ <div className="list-none m-0 p-0">{renderChildren(rest)}</div>
30
29
  </BlockWrapper>
31
30
  ),
32
31
  );
33
32
 
34
- Accordion.childrenTypes = ['AccordionItem'];
33
+ Accordion.childrenTypes = ['Accordion'];
@@ -61,13 +61,13 @@ export const ApplicationFormAcquiring = JSX<ApplicationFormsProps>((props) => {
61
61
  const onSubmit = async (e: PreventableEvent) => {
62
62
  e.preventDefault();
63
63
 
64
- const PartnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
64
+ const partnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
65
65
 
66
66
  handleSubmit &&
67
67
  (await handleSubmit({
68
68
  typeForm: 'acqr',
69
69
  region: regions.find((_) => _.code === selectedRegion)?.name || '',
70
- PartnerComments,
70
+ partnerComments,
71
71
  fullName,
72
72
  inn,
73
73
  name,
@@ -65,7 +65,7 @@ export const ApplicationFormCredit = JSX<ApplicationFormsProps>((props) => {
65
65
  const onSubmit = async (e: PreventableEvent) => {
66
66
  e.preventDefault();
67
67
 
68
- const PartnerComments = `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`;
68
+ const partnerComments = `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`;
69
69
 
70
70
  handleSubmit &&
71
71
  (await handleSubmit({
@@ -77,7 +77,7 @@ export const ApplicationFormCredit = JSX<ApplicationFormsProps>((props) => {
77
77
  mail,
78
78
  region: regions.find((_) => _.code === selectedRegion)?.name || '',
79
79
  department: branches.find((_) => _.branchCode === department)?.address || '',
80
- PartnerComments,
80
+ partnerComments,
81
81
  }));
82
82
  };
83
83
 
@@ -54,7 +54,7 @@ export const ApplicationFormWed = JSX<ApplicationFormsProps>((props) => {
54
54
  const onSubmit = async (e: PreventableEvent) => {
55
55
  e.preventDefault();
56
56
 
57
- const PartnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
57
+ const partnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
58
58
 
59
59
  handleSubmit &&
60
60
  (await handleSubmit({
@@ -63,7 +63,7 @@ export const ApplicationFormWed = JSX<ApplicationFormsProps>((props) => {
63
63
  name,
64
64
  phone,
65
65
  mail,
66
- PartnerComments,
66
+ partnerComments,
67
67
  }));
68
68
  };
69
69
 
@@ -41,7 +41,7 @@ const renderStep = (benefit: BenefitBlockItemProps, i: number) => {
41
41
  />
42
42
  ) : null}
43
43
  {benefit?.icon?.src ? <Img image={benefit.icon} /> : null}
44
- <div className="ml-5">
44
+ <div className="ml-5 h-full">
45
45
  {benefit?.label ? <Heading headingType="h6">{benefit.label}</Heading> : null}
46
46
  {renderDescription(description)}
47
47
  </div>
@@ -1,6 +1,5 @@
1
1
  import type { BlocksRegistry } from '../model/BlocksRegistry';
2
2
  import { Accordion } from './Accordion/Accordion';
3
- import { AccordionItem } from './AccordionItem/AccordionItem';
4
3
  import { ComparisonTable } from './ComparisonTable/ComparisonTable';
5
4
  import { Footer } from './Footer/Footer';
6
5
  import { Header } from './Header/Header';
@@ -10,13 +9,14 @@ import { LinkList } from './LinkList/LinkList';
10
9
  import { MobileAppTile } from './MobileAppTile/MobileAppTile';
11
10
  import { Placeholder } from './Placeholder/Placeholder';
12
11
  import { ProductBlock } from './ProductBlock/ProductBlock';
12
+ import { RollupItem } from './RollupItem/RollupItem';
13
13
  import { StepsBlock } from './StepsBlock/StepsBlock';
14
14
  import { TariffsTable } from './TariffsTable/TariffsTable';
15
15
  import { TextBlock } from './TextBlock/TextBlock';
16
+ import { VerticalLayout } from './VerticalLayout/VerticalLayout';
16
17
 
17
18
  export const Blocks: BlocksRegistry = {
18
19
  Accordion,
19
- AccordionItem,
20
20
  ComparisonTable,
21
21
  Footer,
22
22
  Header,
@@ -25,8 +25,10 @@ export const Blocks: BlocksRegistry = {
25
25
  LinkList,
26
26
  MobileAppTile,
27
27
  ProductBlock,
28
+ RollupItem,
28
29
  StepsBlock,
29
30
  TariffsTable,
30
31
  TextBlock,
31
32
  Placeholder,
33
+ VerticalLayout,
32
34
  };
@@ -1,6 +1,5 @@
1
1
  import type { BlocksRegistry } from '../model/BlocksRegistry';
2
2
  import { Accordion } from './Accordion/Accordion';
3
- import { AccordionItem } from './AccordionItem/AccordionItem';
4
3
  import { ApplicationForm } from './ApplicationForm/ApplicationForm';
5
4
  import { BenefitsBlock } from './BenefitsBlock/BenefitsBlock';
6
5
  import { Bonus } from './Bonus/Bonus';
@@ -37,7 +36,6 @@ import { MobileAppTile } from './MobileAppTile/MobileAppTile';
37
36
  import { OfficeMap } from './OfficeMap/OfficeMap';
38
37
  import { OfficeServicesBlock } from './OfficeServicesBlock/OfficeServicesBlock';
39
38
  import { OtherProducts } from './OtherProducts/OtherProducts';
40
- import { OtherProductsItem } from './OtherProductsItem/OtherProductsItem';
41
39
  import { ParagraphBlock } from './ParagraphBlock/ParagraphBlock';
42
40
  import { PictureText } from './PictureText/PictureText';
43
41
  import { Placeholder } from './Placeholder/Placeholder';
@@ -60,7 +58,6 @@ import { Video } from './Video/Video';
60
58
 
61
59
  export const Blocks: BlocksRegistry = {
62
60
  Accordion,
63
- AccordionItem,
64
61
  ApplicationForm,
65
62
  BenefitsBlock,
66
63
  Bonus,
@@ -97,7 +94,6 @@ export const Blocks: BlocksRegistry = {
97
94
  OfficeMap,
98
95
  OfficeServicesBlock,
99
96
  OtherProducts,
100
- OtherProductsItem,
101
97
  ParagraphBlock,
102
98
  PictureText,
103
99
  Placeholder,
@@ -9,6 +9,7 @@ import type {
9
9
  BonusBenefitsBlockContent,
10
10
  ColumnsCount,
11
11
  } from './BonusBenefitsBlockContent';
12
+ import { style } from '../../utils/style';
12
13
 
13
14
  export interface BenefitsBlockProps extends BonusBenefitsBlockContent, UniBlockProps {}
14
15
 
@@ -40,10 +41,16 @@ export const BonusBenefitsBlock = JSX<BenefitsBlockProps>(
40
41
 
41
42
  const renderBonusBenefit = ({ icon, title, description }: BonusBenefit, i: number) => {
42
43
  return (
43
- <div key={String(i)} className="flex flex-col items-center text-h6">
44
+ <div
45
+ key={String(i)}
46
+ className={style(
47
+ 'flex flex-col items-center text-h6',
48
+ !description && !title ? 'justify-center' : '',
49
+ )}
50
+ >
44
51
  {title ? <span>{title}</span> : null}
45
- {icon ? <Img image={icon} height="180" width="auto" className="h-[180px] w-auto" /> : null}
46
- <div>{description ? <span>{description}</span> : null}</div>
52
+ {icon ? <Img image={icon} height="180" width="auto" className="w-auto" /> : null}
53
+ {description ? <span>{description}</span> : null}
47
54
  </div>
48
55
  );
49
56
  };
@@ -3,13 +3,13 @@ import { CarouselBankHistoryCard } from './CarouselBankHistoryCard';
3
3
  export const BANK_HISTORY_CARD = {
4
4
  title: '1796г.',
5
5
  description:
6
- "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' основной целью которого было развитие агропромышленного сектора российской экономики и обеспечение продовольственной безопасности страны.",
6
+ "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' целью которого развитие агропромышленного сектора российской экономики",
7
7
  };
8
8
 
9
9
  export const ACTIVE_BANK_HISTORY_CARD = {
10
10
  title: '1796г.',
11
11
  description:
12
- "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' основной целью которого было развитие агропромышленного сектора российской экономики и обеспечение продовольственной безопасности страны.",
12
+ "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' целью которого развитие агропромышленного сектора российской экономики",
13
13
  isActive: true,
14
14
  };
15
15
 
@@ -21,7 +21,7 @@ export const CarouselLinks = JSX<CarouselLinksProps>(
21
21
  >
22
22
  <div className="flex flex-col max-w-96 pr-9 text-white text-xl-light">
23
23
  <Headline
24
- className="p-0"
24
+ isPadding={false}
25
25
  title={title}
26
26
  description={description}
27
27
  as="h1"
@@ -1,16 +1,16 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { projectSettings } from '../../ProjectSettings';
3
2
  import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import { projectSettings } from '../../ProjectSettings';
4
4
  import type { SitemapDataProps } from '../../services/sitemap/SitemapProps';
5
5
  import { useSWRResource } from '../../services/sitemap/useSWRResource';
6
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
7
  import { Button } from '../../ui-kit/Button/Button';
7
8
  import { Img } from '../../ui-kit/Img/Img';
8
9
  import { SearchBar } from '../../ui-kit/SearchBar/SearchBar';
9
10
  import { getIconWithVersion } from '../../utils/getIconWithVersion';
10
- import { AccordionItemsList } from '../Accordion/AccordionItemsList';
11
- import { AccordionItem } from '../AccordionItem/AccordionItem';
12
11
  import { LinkList } from '../LinkList/LinkList';
13
12
  import { MobileAppTile } from '../MobileAppTile/MobileAppTile';
13
+ import { RollupItem } from '../RollupItem/RollupItem';
14
14
  import { Contacts } from './Contacts';
15
15
  import type { FooterContent, SubMenuItem } from './FooterContent';
16
16
  import type { FooterDataProps } from './FooterDataProps';
@@ -28,15 +28,15 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
28
28
  useSWRResource<FooterDataProps>(projectSettings.FOOTER || 'footer', fallback);
29
29
 
30
30
  return (
31
- <footer className={`font-sans px-4 py-[26px] bg-white ${className}`}>
31
+ <BlockWrapper tag="footer" className={`px-4 py-[26px] ${className}`} {...rest}>
32
32
  <Contacts className="overflow-hidden" items={contacts} hasButton />
33
- <AccordionItemsList>
33
+ <div className="m-0 p-0">
34
34
  {sitemap.topItems?.map((item, i) => (
35
- <AccordionItem key={String(i)} label={item.text}>
35
+ <RollupItem key={String(i)} label={item?.text}>
36
36
  <LinkList documents={item.items} />
37
- </AccordionItem>
37
+ </RollupItem>
38
38
  ))}
39
- </AccordionItemsList>
39
+ </div>
40
40
  <div>{sitemap?.dispositions?.map(renderSubMenuItem)}</div>
41
41
  <MobileAppTile
42
42
  title="Мобильное приложение"
@@ -47,7 +47,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
47
47
  <SocialMedia className="pb-4" media={socialMedia} />
48
48
  <HorizontalNavigation title={horizontalNavigationTitle} links={relatedEnterprises} />
49
49
  <TextInformation links={documents} />
50
- </footer>
50
+ </BlockWrapper>
51
51
  );
52
52
  });
53
53
 
@@ -12,9 +12,8 @@ import type { SitemapDataProps } from '../../services/sitemap/SitemapProps';
12
12
  import { useSWRResource } from '../../services/sitemap/useSWRResource';
13
13
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
14
14
  import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem';
15
- import { AccordionItemsList } from '../Accordion/AccordionItemsList';
16
- import { AccordionItem } from '../AccordionItem/AccordionItem';
17
15
  import { LinkList } from '../LinkList/LinkList';
16
+ import { RollupItem } from '../RollupItem/RollupItem';
18
17
  import { HeaderBurger } from './HeaderBurger';
19
18
  import type { HeaderContent } from './HeaderContent';
20
19
  import { HeaderTop } from './HeaderTop';
@@ -65,13 +64,13 @@ export const Header = JSX<HeaderProps>(
65
64
  burgerSubMenu={dispositions}
66
65
  defaultLocation={defaultLocation}
67
66
  >
68
- <AccordionItemsList>
67
+ <div className="list-none m-0 p-0">
69
68
  {topItems?.map((item, i) => (
70
- <AccordionItem key={String(i)} label={item.text}>
69
+ <RollupItem key={String(i)} label={item.text}>
71
70
  <LinkList documents={item.items} />
72
- </AccordionItem>
71
+ </RollupItem>
73
72
  ))}
74
- </AccordionItemsList>
73
+ </div>
75
74
  </HeaderBurger>
76
75
  ) : null}
77
76
  </BlockWrapper>
@@ -18,14 +18,17 @@ export const Headline = JSX<HeadlineProps>(
18
18
  headlineVersion = 'XL',
19
19
  align = 'text-center',
20
20
  as,
21
+ isPadding = true,
21
22
  ...rest
22
23
  }) => {
23
24
  const versionStyle = headlineVersionStyles[headlineVersion];
25
+ const paddingStyle = isPadding ? 'p-12' : '';
24
26
 
25
27
  return (
26
28
  <BlockWrapper
27
29
  className={style(
28
- 'flex flex-col p-12 group-data-secondary:bg-primary-main group-data-secondary:text-white',
30
+ 'flex flex-col group-data-secondary:bg-primary-main group-data-secondary:text-white',
31
+ paddingStyle,
29
32
  versionStyle.wrapper,
30
33
  className,
31
34
  )}
@@ -13,4 +13,6 @@ export type HeadlineContent = UniBlockContent &
13
13
  align?: TextAlign;
14
14
  /** @hidden */
15
15
  as?: HeadingTagType;
16
+ /** @title Внутренний отступ блока */
17
+ isPadding?: boolean;
16
18
  };
@@ -16,8 +16,8 @@ const options = {
16
16
  } as BlockRendererOptions;
17
17
 
18
18
  export const OTHER_PRODUCTS_ITEM: BlockDef = {
19
- type: 'OtherProductsItem',
20
- content: { label: 'OtherProducts №1 Tiles' },
19
+ type: 'RollupItem',
20
+ content: { label: 'OtherProducts №1 Tiles', version: 'secondary' },
21
21
  blocks: [
22
22
  { type: 'Tile', content: TILE_PREMIUM, style: ['col-span-6'] },
23
23
  { type: 'Tile', content: TILE_PREMIUM, style: ['col-span-6'] },
@@ -36,8 +36,9 @@ export default {
36
36
  blocks: [
37
37
  OTHER_PRODUCTS_ITEM,
38
38
  {
39
- type: 'OtherProductsItem',
40
- content: { label: 'OtherProducts №2 Product_Tiles' },
39
+ type: 'RollupItem',
40
+
41
+ content: { label: 'OtherProducts №2 Product_Tiles', version: 'secondary' },
41
42
  blocks: [
42
43
  { type: 'ProductTile', content: PRODUCT_TILE, style: ['col-span-6'] },
43
44
  { type: 'ProductTile', content: PRODUCT_TILE, style: ['col-span-6'] },
@@ -46,16 +47,16 @@ export default {
46
47
  ],
47
48
  },
48
49
  {
49
- type: 'OtherProductsItem',
50
- content: { label: 'OtherProducts №3 Product_Block' },
50
+ type: 'RollupItem',
51
+ content: { label: 'OtherProducts №3 Product_Block', version: 'secondary' },
51
52
  blocks: [
52
53
  { type: 'ProductBlock', content: PRODUCT_BLOCK, style: ['col-span-6'] },
53
54
  { type: 'ProductBlock', content: PRODUCT_BLOCK, style: ['col-span-6'] },
54
55
  ],
55
56
  },
56
57
  {
57
- type: 'OtherProductsItem',
58
- content: { label: 'OtherProducts №4 Text_Block' },
58
+ type: 'RollupItem',
59
+ content: { label: 'OtherProducts №4 Text_Block', version: 'secondary' },
59
60
  blocks: [
60
61
  { type: 'TextBlock', content: TEXT_BLOCK },
61
62
  { type: 'TextBlock', content: TEXT_BLOCK },
@@ -64,18 +65,18 @@ export default {
64
65
  ],
65
66
  },
66
67
  {
67
- type: 'OtherProductsItem',
68
- content: { label: 'OtherProducts №5 Picture_Text' },
68
+ type: 'RollupItem',
69
+ content: { label: 'OtherProducts №5 Picture_Text', version: 'secondary' },
69
70
  blocks: [{ type: 'PictureText', content: PICTURE_TEXT }],
70
71
  },
71
72
  {
72
- type: 'OtherProductsItem',
73
- content: { label: 'OtherProducts №6 Headline' },
73
+ type: 'RollupItem',
74
+ content: { label: 'OtherProducts №6 Headline', version: 'secondary' },
74
75
  blocks: [{ type: 'Headline', content: HEADLINE }],
75
76
  },
76
77
  {
77
- type: 'OtherProductsItem',
78
- content: { label: 'OtherProducts №7 Link_Docs' },
78
+ type: 'RollupItem',
79
+ content: { label: 'OtherProducts №7 Link_Docs', version: 'secondary' },
79
80
  blocks: [{ type: 'LinkDocs', content: linkDocsContentExample }],
80
81
  },
81
82
  ],