@redneckz/wildless-cms-uni-blocks 0.14.28 → 0.14.30

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 (625) hide show
  1. package/bin/migration-scripts/0.14.28.js +28 -0
  2. package/bin/migration-scripts/0.14.29.js +73 -0
  3. package/bin/migration-scripts/0.14.30.js +54 -0
  4. package/bin/migration-scripts/0.14.4.js +4 -4
  5. package/bin/utils.js +54 -7
  6. package/bundle/blocks.schema.json +1 -1
  7. package/bundle/bundle.umd.js +219 -133
  8. package/bundle/bundle.umd.min.js +1 -1
  9. package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  10. package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  11. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  12. package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
  13. package/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  14. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  15. package/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  16. package/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  17. package/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  18. package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  19. package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  20. package/bundle/hooks/useResizeObserver.d.ts +3 -0
  21. package/bundle/model/HeadlineType.d.ts +0 -8
  22. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  23. package/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
  24. package/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  25. package/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
  26. package/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
  27. package/dist/components/Blocks.js +0 -6
  28. package/dist/components/Blocks.js.map +1 -1
  29. package/dist/components/Blocks.mobile.js +0 -4
  30. package/dist/components/Blocks.mobile.js.map +1 -1
  31. package/dist/components/Calculator/CreditCalculatorForm.js +3 -2
  32. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  33. package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  34. package/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
  35. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  36. package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  37. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  38. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  39. package/dist/components/Carousel/Carousel.js +1 -1
  40. package/dist/components/Carousel/Carousel.js.map +1 -1
  41. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  42. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  43. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  44. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  46. package/dist/components/Depository/Depository.js +12 -3
  47. package/dist/components/Depository/Depository.js.map +1 -1
  48. package/dist/components/Depository/DepositoryFilter.js +1 -1
  49. package/dist/components/Depository/DepositoryFilter.js.map +1 -1
  50. package/dist/components/Depository/DepositoryItem.js +1 -1
  51. package/dist/components/Depository/DepositoryItem.js.map +1 -1
  52. package/dist/components/Depository/useDepository.js +11 -1
  53. package/dist/components/Depository/useDepository.js.map +1 -1
  54. package/dist/components/Footer/SocialMedia.js +2 -2
  55. package/dist/components/Footer/SocialMedia.js.map +1 -1
  56. package/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
  57. package/dist/components/Headline/headlineVersionStyles.js +1 -12
  58. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  59. package/dist/components/OfficesAtmsMap/Badge.js +2 -2
  60. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  61. package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  62. package/dist/components/OfficesAtmsMap/CardCell.js +6 -4
  63. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  64. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  65. package/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  66. package/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
  67. package/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
  68. package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  69. package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
  70. package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
  71. package/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  72. package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
  73. package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
  74. package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  75. package/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
  76. package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  77. package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  78. package/dist/components/StepsBlock/StepsBlock.js +3 -2
  79. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  80. package/dist/hooks/useResizeObserver.d.ts +3 -0
  81. package/dist/hooks/useResizeObserver.js +22 -0
  82. package/dist/hooks/useResizeObserver.js.map +1 -0
  83. package/dist/model/HeadlineType.d.ts +0 -8
  84. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  85. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  86. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  87. package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  88. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  89. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  90. package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  91. package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  92. package/dist/ui-kit/Foldable/FoldableSection.js +5 -4
  93. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  94. package/dist/ui-kit/List/List.js +1 -1
  95. package/dist/ui-kit/List/List.js.map +1 -1
  96. package/dist/ui-kit/List/ListItem.js +1 -1
  97. package/dist/ui-kit/List/ListItem.js.map +1 -1
  98. package/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
  99. package/dist/ui-kit/PriceList/PriceList.js +9 -0
  100. package/dist/ui-kit/PriceList/PriceList.js.map +1 -0
  101. package/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  102. package/{mobile/dist/components/PictureText/PictureTextContent.js → dist/ui-kit/PriceList/PriceListProps.js} +1 -1
  103. package/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
  104. package/dist/ui-kit/Select/Select.js +1 -0
  105. package/dist/ui-kit/Select/Select.js.map +1 -1
  106. package/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
  107. package/dist/ui-kit/Select/SelectPopup.js +2 -2
  108. package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  109. package/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
  110. package/dist/ui-kit/Select/useSelectPopup.js +2 -2
  111. package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  112. package/lib/common.css +1 -1
  113. package/lib/components/Blocks.js +0 -6
  114. package/lib/components/Blocks.js.map +1 -1
  115. package/lib/components/Blocks.mobile.js +0 -4
  116. package/lib/components/Blocks.mobile.js.map +1 -1
  117. package/lib/components/Calculator/CreditCalculatorForm.js +3 -2
  118. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  119. package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  120. package/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
  121. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  122. package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  123. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  124. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  125. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
  126. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -2
  127. package/lib/components/Carousel/Carousel.js +1 -1
  128. package/lib/components/Carousel/Carousel.js.map +1 -1
  129. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  130. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  131. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
  132. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  133. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  134. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  135. package/lib/components/Depository/Depository.js +12 -3
  136. package/lib/components/Depository/Depository.js.map +1 -1
  137. package/lib/components/Depository/DepositoryFilter.js +1 -1
  138. package/lib/components/Depository/DepositoryFilter.js.map +1 -1
  139. package/lib/components/Depository/DepositoryItem.js +1 -1
  140. package/lib/components/Depository/DepositoryItem.js.map +1 -1
  141. package/lib/components/Depository/useDepository.js +11 -1
  142. package/lib/components/Depository/useDepository.js.map +1 -1
  143. package/lib/components/Footer/SocialMedia.js +2 -2
  144. package/lib/components/Footer/SocialMedia.js.map +1 -1
  145. package/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
  146. package/lib/components/Headline/headlineVersionStyles.js +0 -11
  147. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  148. package/lib/components/OfficesAtmsMap/Badge.js +2 -2
  149. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  150. package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  151. package/lib/components/OfficesAtmsMap/CardCell.js +6 -4
  152. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  153. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  154. package/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  155. package/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
  156. package/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
  157. package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  158. package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
  159. package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
  160. package/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  161. package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
  162. package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
  163. package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  164. package/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
  165. package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  166. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  167. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
  168. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +1 -0
  169. package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  170. package/lib/components/StepsBlock/StepsBlock.js +3 -2
  171. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  172. package/lib/hooks/useResizeObserver.d.ts +3 -0
  173. package/lib/hooks/useResizeObserver.js +19 -0
  174. package/lib/hooks/useResizeObserver.js.map +1 -0
  175. package/lib/model/HeadlineType.d.ts +0 -8
  176. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  177. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  178. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  179. package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  180. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  181. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  182. package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  183. package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  184. package/lib/ui-kit/Foldable/FoldableSection.js +6 -5
  185. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  186. package/lib/ui-kit/List/List.js +1 -1
  187. package/lib/ui-kit/List/List.js.map +1 -1
  188. package/lib/ui-kit/List/ListItem.js +1 -1
  189. package/lib/ui-kit/List/ListItem.js.map +1 -1
  190. package/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
  191. package/lib/ui-kit/PriceList/PriceList.fixture.d.ts +6 -0
  192. package/lib/ui-kit/PriceList/PriceList.js +7 -0
  193. package/lib/ui-kit/PriceList/PriceList.js.map +1 -0
  194. package/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  195. package/lib/ui-kit/PriceList/PriceListProps.js +2 -0
  196. package/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
  197. package/lib/ui-kit/Select/Select.js +1 -0
  198. package/lib/ui-kit/Select/Select.js.map +1 -1
  199. package/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
  200. package/lib/ui-kit/Select/SelectPopup.js +2 -2
  201. package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  202. package/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
  203. package/lib/ui-kit/Select/useSelectPopup.js +2 -2
  204. package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  205. package/mobile/bundle/bundle.umd.js +88 -88
  206. package/mobile/bundle/bundle.umd.min.js +1 -1
  207. package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  208. package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  209. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  210. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
  211. package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  212. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  213. package/mobile/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  214. package/mobile/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  215. package/mobile/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  216. package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  217. package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  218. package/mobile/bundle/hooks/useResizeObserver.d.ts +3 -0
  219. package/mobile/bundle/model/HeadlineType.d.ts +0 -8
  220. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  221. package/mobile/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
  222. package/mobile/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  223. package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
  224. package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
  225. package/mobile/dist/components/Blocks.js +0 -4
  226. package/mobile/dist/components/Blocks.js.map +1 -1
  227. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -2
  228. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  229. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  230. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
  231. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  232. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  233. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  234. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  235. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  236. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  237. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  238. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  239. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  240. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  241. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  242. package/mobile/dist/components/Depository/Depository.js +12 -3
  243. package/mobile/dist/components/Depository/Depository.js.map +1 -1
  244. package/mobile/dist/components/Depository/DepositoryFilter.js +1 -1
  245. package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
  246. package/mobile/dist/components/Depository/DepositoryItem.js +1 -1
  247. package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
  248. package/mobile/dist/components/Depository/useDepository.js +11 -1
  249. package/mobile/dist/components/Depository/useDepository.js.map +1 -1
  250. package/mobile/dist/components/Footer/SocialMedia.js +2 -2
  251. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  252. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
  253. package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -12
  254. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  255. package/mobile/dist/components/OfficesAtmsMap/Badge.js +2 -2
  256. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  257. package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  258. package/mobile/dist/components/OfficesAtmsMap/CardCell.js +6 -4
  259. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  260. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  261. package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  262. package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
  263. package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
  264. package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  265. package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
  266. package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
  267. package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  268. package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
  269. package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
  270. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  271. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
  272. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  273. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  274. package/mobile/dist/hooks/useResizeObserver.d.ts +3 -0
  275. package/mobile/dist/hooks/useResizeObserver.js +22 -0
  276. package/mobile/dist/hooks/useResizeObserver.js.map +1 -0
  277. package/mobile/dist/model/HeadlineType.d.ts +0 -8
  278. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  279. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  280. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  281. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  282. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  283. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  284. package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  285. package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  286. package/mobile/dist/ui-kit/Foldable/FoldableSection.js +5 -4
  287. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  288. package/mobile/dist/ui-kit/List/List.js +1 -1
  289. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  290. package/mobile/dist/ui-kit/List/ListItem.js +1 -1
  291. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  292. package/mobile/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
  293. package/mobile/dist/ui-kit/PriceList/PriceList.js +9 -0
  294. package/mobile/dist/ui-kit/PriceList/PriceList.js.map +1 -0
  295. package/mobile/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  296. package/{dist/components/PictureText/PictureTextContent.js → mobile/dist/ui-kit/PriceList/PriceListProps.js} +1 -1
  297. package/mobile/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
  298. package/mobile/dist/ui-kit/Select/Select.js +1 -0
  299. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  300. package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
  301. package/mobile/dist/ui-kit/Select/SelectPopup.js +2 -2
  302. package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  303. package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
  304. package/mobile/dist/ui-kit/Select/useSelectPopup.js +2 -2
  305. package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  306. package/mobile/lib/common.css +1 -1
  307. package/mobile/lib/components/Blocks.js +0 -4
  308. package/mobile/lib/components/Blocks.js.map +1 -1
  309. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -2
  310. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  311. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
  312. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
  313. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  314. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
  315. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  316. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  317. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  318. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  319. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  320. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  321. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  322. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  323. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  324. package/mobile/lib/components/Depository/Depository.js +12 -3
  325. package/mobile/lib/components/Depository/Depository.js.map +1 -1
  326. package/mobile/lib/components/Depository/DepositoryFilter.js +1 -1
  327. package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
  328. package/mobile/lib/components/Depository/DepositoryItem.js +1 -1
  329. package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
  330. package/mobile/lib/components/Depository/useDepository.js +11 -1
  331. package/mobile/lib/components/Depository/useDepository.js.map +1 -1
  332. package/mobile/lib/components/Footer/SocialMedia.js +2 -2
  333. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  334. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
  335. package/mobile/lib/components/Headline/headlineVersionStyles.js +0 -11
  336. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  337. package/mobile/lib/components/OfficesAtmsMap/Badge.js +2 -2
  338. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  339. package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
  340. package/mobile/lib/components/OfficesAtmsMap/CardCell.js +6 -4
  341. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  342. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
  343. package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
  344. package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
  345. package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
  346. package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
  347. package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
  348. package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
  349. package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
  350. package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
  351. package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
  352. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
  353. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
  354. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
  355. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  356. package/mobile/lib/hooks/useResizeObserver.d.ts +3 -0
  357. package/mobile/lib/hooks/useResizeObserver.js +19 -0
  358. package/mobile/lib/hooks/useResizeObserver.js.map +1 -0
  359. package/mobile/lib/model/HeadlineType.d.ts +0 -8
  360. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  361. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  362. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
  363. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  364. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  365. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  366. package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  367. package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  368. package/mobile/lib/ui-kit/Foldable/FoldableSection.js +6 -5
  369. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  370. package/mobile/lib/ui-kit/List/List.js +1 -1
  371. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  372. package/mobile/lib/ui-kit/List/ListItem.js +1 -1
  373. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  374. package/mobile/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
  375. package/mobile/lib/ui-kit/PriceList/PriceList.js +7 -0
  376. package/mobile/lib/ui-kit/PriceList/PriceList.js.map +1 -0
  377. package/mobile/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
  378. package/mobile/lib/ui-kit/PriceList/PriceListProps.js +2 -0
  379. package/mobile/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
  380. package/mobile/lib/ui-kit/Select/Select.js +1 -0
  381. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  382. package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
  383. package/mobile/lib/ui-kit/Select/SelectPopup.js +2 -2
  384. package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  385. package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
  386. package/mobile/lib/ui-kit/Select/useSelectPopup.js +2 -2
  387. package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  388. package/mobile/src/common.css +1 -0
  389. package/mobile/src/components/Blocks.ts +0 -4
  390. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  391. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
  392. package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
  393. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  394. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  395. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
  396. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
  397. package/mobile/src/components/Depository/Depository.tsx +25 -8
  398. package/mobile/src/components/Depository/DepositoryFilter.tsx +1 -1
  399. package/mobile/src/components/Depository/DepositoryItem.tsx +6 -2
  400. package/mobile/src/components/Depository/useDepository.ts +15 -6
  401. package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
  402. package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -13
  403. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  404. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
  405. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
  406. package/mobile/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
  407. package/mobile/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
  408. package/mobile/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
  409. package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
  410. package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
  411. package/mobile/src/hooks/useResizeObserver.ts +28 -0
  412. package/mobile/src/model/HeadlineType.ts +0 -10
  413. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
  414. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
  415. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  416. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  417. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
  418. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
  419. package/mobile/src/ui-kit/List/List.tsx +1 -1
  420. package/mobile/src/ui-kit/List/ListItem.tsx +15 -17
  421. package/mobile/src/ui-kit/PriceList/PriceList.tsx +25 -0
  422. package/mobile/src/ui-kit/PriceList/PriceListProps.ts +11 -0
  423. package/mobile/src/ui-kit/Select/Select.tsx +1 -0
  424. package/mobile/src/ui-kit/Select/SelectPopup.tsx +41 -34
  425. package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -0
  426. package/package.json +1 -1
  427. package/src/common.css +1 -0
  428. package/src/components/Blocks.mobile.ts +0 -4
  429. package/src/components/Blocks.ts +0 -6
  430. package/src/components/Calculator/Calculator.fixture.mobile.tsx +15 -0
  431. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  432. package/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
  433. package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
  434. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -34
  435. package/src/components/Carousel/Carousel.fixture.tsx +2 -52
  436. package/src/components/Carousel/Carousel.tsx +1 -1
  437. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  438. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +44 -0
  439. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
  440. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
  441. package/src/components/Depository/Depository.tsx +25 -8
  442. package/src/components/Depository/DepositoryFilter.tsx +1 -1
  443. package/src/components/Depository/DepositoryItem.tsx +6 -2
  444. package/src/components/Depository/useDepository.ts +15 -6
  445. package/src/components/Footer/SocialMedia.tsx +2 -2
  446. package/src/components/Headline/headlineVersionStyles.ts +1 -13
  447. package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  448. package/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
  449. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
  450. package/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
  451. package/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
  452. package/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
  453. package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
  454. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +42 -0
  455. package/src/components/ProductBlock/ProductBlock.fixture.tsx +42 -0
  456. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +15 -0
  457. package/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
  458. package/src/components/StepsBlock/StepsBlock.tsx +7 -4
  459. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +4 -12
  460. package/src/hooks/useResizeObserver.ts +28 -0
  461. package/src/model/HeadlineType.ts +0 -10
  462. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
  463. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
  464. package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  465. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  466. package/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
  467. package/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
  468. package/src/ui-kit/List/List.tsx +1 -1
  469. package/src/ui-kit/List/ListItem.tsx +15 -17
  470. package/src/ui-kit/PriceList/PriceList.fixture.tsx +16 -0
  471. package/src/ui-kit/PriceList/PriceList.tsx +25 -0
  472. package/src/ui-kit/PriceList/PriceListProps.ts +11 -0
  473. package/src/ui-kit/Select/Select.tsx +1 -0
  474. package/src/ui-kit/Select/SelectPopup.tsx +41 -34
  475. package/src/ui-kit/Select/useSelectPopup.tsx +2 -0
  476. package/tailwind.config.cjs +23 -20
  477. package/bin/migration-scripts/0.14.12.js +0 -34
  478. package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  479. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  480. package/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  481. package/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  482. package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  483. package/bundle/components/PictureText/PictureText.d.ts +0 -5
  484. package/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
  485. package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
  486. package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  487. package/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
  488. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  489. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  490. package/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  491. package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  492. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  493. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
  494. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  495. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  496. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  497. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  498. package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  499. package/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
  500. package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
  501. package/dist/components/PictureText/PictureText.d.ts +0 -5
  502. package/dist/components/PictureText/PictureText.js +0 -9
  503. package/dist/components/PictureText/PictureText.js.map +0 -1
  504. package/dist/components/PictureText/PictureTextContent.d.ts +0 -11
  505. package/dist/components/PictureText/PictureTextContent.js.map +0 -1
  506. package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
  507. package/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
  508. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
  509. package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  510. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +0 -13
  511. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +0 -13
  512. package/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
  513. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  514. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  515. package/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  516. package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  517. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  518. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +0 -8
  519. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
  520. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  521. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  522. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  523. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  524. package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  525. package/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
  526. package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
  527. package/lib/components/PictureText/PictureText.d.ts +0 -5
  528. package/lib/components/PictureText/PictureText.fixture.d.ts +0 -14
  529. package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +0 -14
  530. package/lib/components/PictureText/PictureText.js +0 -7
  531. package/lib/components/PictureText/PictureText.js.map +0 -1
  532. package/lib/components/PictureText/PictureTextContent.d.ts +0 -11
  533. package/lib/components/PictureText/PictureTextContent.js +0 -2
  534. package/lib/components/PictureText/PictureTextContent.js.map +0 -1
  535. package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -1
  536. package/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
  537. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
  538. package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  539. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  540. package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  541. package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  542. package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  543. package/mobile/bundle/components/PictureText/PictureText.d.ts +0 -5
  544. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
  545. package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
  546. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  547. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
  548. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  549. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  550. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  551. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  552. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  553. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
  554. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  555. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  556. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  557. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  558. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  559. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
  560. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
  561. package/mobile/dist/components/PictureText/PictureText.d.ts +0 -5
  562. package/mobile/dist/components/PictureText/PictureText.js +0 -9
  563. package/mobile/dist/components/PictureText/PictureText.js.map +0 -1
  564. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +0 -11
  565. package/mobile/dist/components/PictureText/PictureTextContent.js.map +0 -1
  566. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
  567. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
  568. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
  569. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  570. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
  571. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  572. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  573. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  574. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  575. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  576. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
  577. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  578. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  579. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  580. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  581. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
  582. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
  583. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
  584. package/mobile/lib/components/PictureText/PictureText.d.ts +0 -5
  585. package/mobile/lib/components/PictureText/PictureText.js +0 -7
  586. package/mobile/lib/components/PictureText/PictureText.js.map +0 -1
  587. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +0 -11
  588. package/mobile/lib/components/PictureText/PictureTextContent.js +0 -2
  589. package/mobile/lib/components/PictureText/PictureTextContent.js.map +0 -1
  590. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
  591. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
  592. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
  593. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
  594. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
  595. package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
  596. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
  597. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
  598. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
  599. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
  600. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
  601. package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
  602. package/mobile/src/components/PictureText/PictureText.example.json +0 -40
  603. package/mobile/src/components/PictureText/PictureText.tsx +0 -36
  604. package/mobile/src/components/PictureText/PictureText.ui.json +0 -23
  605. package/mobile/src/components/PictureText/PictureTextContent.ts +0 -13
  606. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
  607. package/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
  608. package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +0 -92
  609. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +0 -96
  610. package/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
  611. package/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
  612. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
  613. package/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
  614. package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +0 -26
  615. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
  616. package/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
  617. package/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
  618. package/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
  619. package/src/components/PictureText/PictureText.example.json +0 -40
  620. package/src/components/PictureText/PictureText.fixture.mobile.tsx +0 -116
  621. package/src/components/PictureText/PictureText.fixture.tsx +0 -130
  622. package/src/components/PictureText/PictureText.tsx +0 -36
  623. package/src/components/PictureText/PictureText.ui.json +0 -23
  624. package/src/components/PictureText/PictureTextContent.ts +0 -13
  625. package/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
@@ -26,7 +26,7 @@ export interface CreditCalculatorProp extends CreditCalculatorProps {
26
26
  }
27
27
 
28
28
  export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
29
- ({ className, sourceBookDir, buttons, footnote, paramsViewSettings, isMobile }) => {
29
+ ({ className, sourceBookDir, buttons, footnote, paramsViewSettings }) => {
30
30
  const [userInputParams, { field }] = useForm({
31
31
  isAnnuity: true,
32
32
  isInsurance: true,
@@ -44,7 +44,8 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
44
44
  );
45
45
 
46
46
  const paymentTypeElement = renderPaymentType({
47
- title: isMobile ? 'Тип платежа' : '',
47
+ title: '',
48
+ mobileTitle: 'Тип платежа',
48
49
  orientation: 'vertical',
49
50
  ...field('isAnnuity'),
50
51
  });
@@ -26,6 +26,7 @@ import {
26
26
 
27
27
  export interface RefinancingCalculatorProp extends RefinancingCalculatorProps {
28
28
  className?: string;
29
+ isMobile?: boolean;
29
30
  }
30
31
 
31
32
  export const RefinancingCalculatorForm = JSX<RefinancingCalculatorProp>(
@@ -47,6 +48,13 @@ export const RefinancingCalculatorForm = JSX<RefinancingCalculatorProp>(
47
48
  paramsViewSettings,
48
49
  );
49
50
 
51
+ const paymentTypeElement = renderPaymentType({
52
+ title: '',
53
+ mobileTitle: 'Тип платежа',
54
+ orientation: 'vertical',
55
+ ...field('isAnnuity'),
56
+ });
57
+
50
58
  return (
51
59
  <section className={style('flex flex-col justify-between @5xl:flex-row gap-m', className)}>
52
60
  <div className="flex flex-col gap-y-m sm:max-w-md gap-2xl">
@@ -84,12 +92,15 @@ export const RefinancingCalculatorForm = JSX<RefinancingCalculatorProp>(
84
92
  value: calculatorParams.moneyExtra,
85
93
  })
86
94
  : null}
95
+ <div className="sm:hidden pt-1 pb-4 border-b border-main-divider">
96
+ {paymentTypeElement}
97
+ </div>
87
98
  </div>
88
99
  {renderRate({
89
100
  rate: calculatorParams.rate,
90
101
  fractionDigits: 1,
91
102
  })}
92
- <div className="flex flex-col gap-2xl sm:w-96">
103
+ <div className="flex flex-col gap-2xl mt-2 sm:w-96 sm:mt-0">
93
104
  <CalculatorValueBlock
94
105
  title={'Ежемесячный платеж'}
95
106
  value={calculatorParams.monthlyPayment}
@@ -102,7 +113,7 @@ export const RefinancingCalculatorForm = JSX<RefinancingCalculatorProp>(
102
113
  postfix="₽"
103
114
  />
104
115
  ) : null}
105
- {renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') })}
116
+ <div className="hidden sm:block">{paymentTypeElement}</div>
106
117
  {renderButtonsSection(buttons, { isVertical: true })}
107
118
  {renderFootnote(footnote)}
108
119
  </div>
@@ -115,7 +126,7 @@ const renderCreditParamsForm = (
115
126
  params: RefinancingCalculatorParams & RefinancingCalculatorParamsViewSettings,
116
127
  field: FormFieldRegisterer<any>,
117
128
  ) => (
118
- <div className="space-y-s">
129
+ <div className="space-y-lg sm:space-y-s">
119
130
  {params.isShowSalaryClient ? (
120
131
  <Checkbox
121
132
  text="Получаю зарплату на счёт в Россельхозбанке"
@@ -9,6 +9,7 @@ import { style } from '../../utils/style';
9
9
  export interface BinaryRadioButtonGroupProps {
10
10
  items: [truthy: RadioButtonItem, falsy: RadioButtonItem];
11
11
  title?: string;
12
+ mobileTitle?: string;
12
13
  orientation?: ListOrientation;
13
14
  value?: boolean;
14
15
  radioGroupClassName?: string;
@@ -18,6 +19,7 @@ export interface BinaryRadioButtonGroupProps {
18
19
  export const renderBinaryRadioButtonGroup = ({
19
20
  items,
20
21
  title,
22
+ mobileTitle = title,
21
23
  orientation = 'horizontal',
22
24
  value,
23
25
  radioGroupClassName,
@@ -25,12 +27,20 @@ export const renderBinaryRadioButtonGroup = ({
25
27
  }: BinaryRadioButtonGroupProps) => (
26
28
  <div className="space-y-s">
27
29
  {title ? (
28
- <div>
30
+ <div className="hidden @5xl:block">
29
31
  <Text color="text-secondary-text" font="font-light">
30
32
  {title}
31
33
  </Text>
32
34
  </div>
33
35
  ) : null}
36
+ {mobileTitle ? (
37
+ <div className="@5xl:hidden">
38
+ <Text color="text-secondary-text" font="font-light">
39
+ {mobileTitle}
40
+ </Text>
41
+ </div>
42
+ ) : null}
43
+
34
44
  <RadioButtonGroup
35
45
  orientation={orientation}
36
46
  items={items}
@@ -5,10 +5,6 @@ import { Blocks } from '../Blocks';
5
5
  import { BANK_HISTORY_CARD } from '../CarouselBankHistoryCard/CarouselBankHistoryCard.fixture';
6
6
  import { CARD } from '../CarouselCard/CarouselCard.fixture';
7
7
  import { CATALOG_CARD, CATALOG_CARD_NEW } from '../CarouselCatalogCard/CarouselCatalogCard.fixture';
8
- import {
9
- PRODUCT_CARD,
10
- PRODUCT_CARD_SMALL,
11
- } from '../CarouselProductCard/CarouselProductCard.fixture';
12
8
  import { CAROUSEL_RECOMMENDATION_CARD_BENEFITS } from '../CarouselRecommendationCard/CarouselRecommendationCard.fixture';
13
9
  import { CAROUSEL_RECOMMENDATION_CARD } from '../CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile';
14
10
  import { TARIFFS_CARD, TARIFFS_CARD_HIT } from '../CarouselTariffsCard/CarouselTariffsCard.fixture';
@@ -95,36 +91,6 @@ export default {
95
91
  />
96
92
  </div>
97
93
  ),
98
- product: (
99
- <div className="container grid grid-cols-12">
100
- <Carousel
101
- className="col-span-12"
102
- block={{
103
- type: 'Carousel',
104
- blocks: new Array(3).fill({
105
- type: 'CarouselProductCard',
106
- content: PRODUCT_CARD,
107
- }),
108
- }}
109
- options={options}
110
- />
111
- </div>
112
- ),
113
- 'mini-product': (
114
- <div className="container grid grid-cols-12">
115
- <Carousel
116
- className="col-span-12"
117
- block={{
118
- type: 'Carousel',
119
- blocks: new Array(3).fill({
120
- type: 'CarouselProductCard',
121
- content: PRODUCT_CARD_SMALL,
122
- }),
123
- }}
124
- options={options}
125
- />
126
- </div>
127
- ),
128
94
  recommendations: (
129
95
  <div className="container grid grid-cols-12">
130
96
  <Carousel
@@ -6,17 +6,13 @@ import { BANK_HISTORY_CARD } from '../CarouselBankHistoryCard/CarouselBankHistor
6
6
  import { CARD, CARD_MINI, CARD_NEW } from '../CarouselCard/CarouselCard.fixture';
7
7
  import { CATALOG_CARD, CATALOG_CARD_NEW } from '../CarouselCatalogCard/CarouselCatalogCard.fixture';
8
8
  import { INVESTMENT_CARD_WITH_SINGLE_COLUMN } from '../CarouselInvestmentCard/CarouselInvestmentCard.fixture';
9
- import {
10
- PRODUCT_CARD,
11
- PRODUCT_CARD_SMALL,
12
- } from '../CarouselProductCard/CarouselProductCard.fixture';
13
9
  import {
14
10
  CAROUSEL_RECOMMENDATION_CARD_BENEFITS,
15
11
  CAROUSEL_RECOMMENDATION_CARD_SECONDARY,
16
12
  CAROUSEL_RECOMMENDATION_CARD_WITHOUT_LIST,
17
13
  } from '../CarouselRecommendationCard/CarouselRecommendationCard.fixture';
18
- import { RICH_CARD } from '../CarouselRichTextCard/CarouselRichTextCard.fixture';
19
14
  import { TARIFFS_CARD, TARIFFS_CARD_HIT } from '../CarouselTariffsCard/CarouselTariffsCard.fixture';
15
+ import { RICH_CARD } from '../RichTextBlock/RichTextBlock.fixture';
20
16
  import { Carousel } from './Carousel';
21
17
 
22
18
  const catalogImage: Picture = {
@@ -114,52 +110,6 @@ export default {
114
110
  />
115
111
  </div>
116
112
  ),
117
- product: (
118
- <div className="container grid grid-cols-12">
119
- <Carousel
120
- className="col-span-12"
121
- visibleItemCount={1}
122
- block={{
123
- type: 'Carousel',
124
- blocks: new Array(6).fill({
125
- type: 'CarouselProductCard',
126
- content: PRODUCT_CARD,
127
- }),
128
- }}
129
- options={options}
130
- />
131
- </div>
132
- ),
133
- 'mini-product': (
134
- <div className="container grid grid-cols-12">
135
- <Carousel
136
- className="col-span-12"
137
- visibleItemCount={3}
138
- block={{
139
- type: 'Carousel',
140
- blocks: [
141
- {
142
- type: 'CarouselProductCard',
143
- content: PRODUCT_CARD,
144
- },
145
- {
146
- type: 'CarouselProductCard',
147
- content: PRODUCT_CARD_SMALL,
148
- },
149
- {
150
- type: 'CarouselProductCard',
151
- content: PRODUCT_CARD_SMALL,
152
- },
153
- {
154
- type: 'CarouselProductCard',
155
- content: PRODUCT_CARD_SMALL,
156
- },
157
- ],
158
- }}
159
- options={options}
160
- />
161
- </div>
162
- ),
163
113
  investment: (
164
114
  <div className="container grid grid-cols-12">
165
115
  <Carousel
@@ -254,7 +204,7 @@ export default {
254
204
  block={{
255
205
  type: 'Carousel',
256
206
  blocks: new Array(6).fill({
257
- type: 'CarouselRichTextCard',
207
+ type: 'RichTextBlock',
258
208
  content: RICH_CARD,
259
209
  }),
260
210
  }}
@@ -88,8 +88,8 @@ Carousel.childrenTypes = [
88
88
  'CarouselProgramsCard',
89
89
  'CarouselRecommendationCard',
90
90
  'CarouselTariffsCard',
91
- 'CarouselRichTextCard',
92
91
  'CarouselInvestmentCard',
92
+ 'RichTextBlock',
93
93
  'ProductBlock',
94
94
  ];
95
95
 
@@ -26,7 +26,7 @@ export const CarouselCard = JSX<CarouselCardProps>(
26
26
  <div
27
27
  className={style(
28
28
  layerBaseStyle,
29
- 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-light',
29
+ 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light',
30
30
  )}
31
31
  >
32
32
  <Headline
@@ -178,4 +178,48 @@ export default {
178
178
  />
179
179
  </div>
180
180
  ),
181
+ additionalDescription: (
182
+ <div className="container grid grid-cols-12">
183
+ <CarouselRecommendationCard
184
+ className="col-span-6"
185
+ align="text-center"
186
+ title="Более 5000 товаров"
187
+ description="Время копить: ставка растет в зависимости от срока нахождения средств на Счете!"
188
+ items={items}
189
+ isDotted={false}
190
+ icon={iconCoin}
191
+ imageOptions={{ isImageAlwaysOnRight: false }}
192
+ additionalDescription="Дополнительное описание"
193
+ socialMedia={[
194
+ {
195
+ href: 'https://rshb.ru',
196
+ text: 'Подробнее',
197
+ version: 'gray',
198
+ },
199
+ ]}
200
+ />
201
+ </div>
202
+ ),
203
+ leftImage: (
204
+ <div className="container grid grid-cols-12">
205
+ <CarouselRecommendationCard
206
+ className="col-span-6"
207
+ align="text-center"
208
+ title="Более 5000 товаров"
209
+ description="Время копить: ставка растет в зависимости от срока нахождения средств на Счете!"
210
+ items={items}
211
+ isDotted={false}
212
+ icon={iconCoin}
213
+ imageOptions={{ isImageAlwaysOnRight: false, directionRight: false }}
214
+ additionalDescription="Дополнительное описание"
215
+ socialMedia={[
216
+ {
217
+ href: 'https://rshb.ru',
218
+ text: 'Подробнее',
219
+ version: 'gray',
220
+ },
221
+ ]}
222
+ />
223
+ </div>
224
+ ),
181
225
  };
@@ -7,6 +7,8 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
7
  import { Img } from '../../ui-kit/Img/Img';
8
8
  import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper';
9
9
  import { List } from '../../ui-kit/List/List';
10
+ import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
11
+ import { type TextAlign } from '../../ui-kit/Text/TextProps';
10
12
  import { isIcon } from '../../utils/isIcon';
11
13
  import { style } from '../../utils/style';
12
14
  import { SocialMedia } from '../Footer/SocialMedia';
@@ -22,9 +24,11 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
22
24
  className,
23
25
  padding,
24
26
  description,
27
+ additionalDescription,
25
28
  href,
26
29
  icon,
27
30
  items = [],
31
+ isDotted,
28
32
  listItemSize = 'S',
29
33
  socialMedia = [],
30
34
  target,
@@ -54,7 +58,7 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
54
58
  <Headline
55
59
  title={title}
56
60
  description={description}
57
- headlineVersion="S"
61
+ headlineVersion="XS"
58
62
  isEmbedded={true}
59
63
  align={align}
60
64
  />
@@ -68,12 +72,26 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
68
72
  }
69
73
  isImageAlwaysOnRight={isImageAlwaysOnRight}
70
74
  isImageSecondary={isImageSecondary}
75
+ imageAlign="center"
71
76
  >
72
77
  <BenefitsList benefits={benefits} />
73
- <List items={items} listItemSize={listItemSize} />
78
+ <List items={items} listItemSize={listItemSize} isDotted={isDotted} />
79
+ {renderAdditionalDescription(additionalDescription, align)}
74
80
  </BaseTile>
75
81
  </LinkWrapper>
76
82
  </BlockWrapper>
77
83
  );
78
84
  },
79
85
  );
86
+
87
+ const renderAdditionalDescription = (additionalDescription?: string, align?: TextAlign) =>
88
+ additionalDescription ? (
89
+ <Paragraph
90
+ size="text-m"
91
+ font="font-light"
92
+ color="text-secondary-text group-data-secondary:text-white/80"
93
+ align={align}
94
+ >
95
+ {additionalDescription}
96
+ </Paragraph>
97
+ ) : null;
@@ -1,4 +1,9 @@
1
- import { type AlignProps, type HeadlineCommonProps } from '../../model/HeadlineType';
1
+ import { type BulletsProps } from '../../model/Bullets';
2
+ import {
3
+ type AdditionalDescriptionProps,
4
+ type AlignProps,
5
+ type HeadlineCommonProps,
6
+ } from '../../model/HeadlineType';
2
7
  import { type UniBlockContent } from '../../model/JSXBlock';
3
8
  import { type LinkCommonProps } from '../../model/LinkProps';
4
9
  import { type IconProps } from '../../model/Picture';
@@ -12,9 +17,11 @@ import { type ListContent } from '../../ui-kit/List/ListContent';
12
17
  */
13
18
  export type CarouselRecommendationCardContent = UniBlockContent &
14
19
  HeadlineCommonProps &
20
+ AdditionalDescriptionProps &
15
21
  ListContent &
16
22
  IconProps &
17
23
  LinkCommonProps &
24
+ BulletsProps &
18
25
  AlignProps &
19
26
  BenefitsListContent & {
20
27
  /** @title Соц сети */
@@ -5,6 +5,7 @@ import { type JSXBlock, type UniBlockProps } from '../../model/JSXBlock';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { NotFound } from '../../ui-kit/NotFound/NotFound';
7
7
  import { Pagination } from '../../ui-kit/Pagination/Pagination';
8
+ import { Text } from '../../ui-kit/Text/Text';
8
9
  import { style } from '../../utils/style';
9
10
  import { type DepositoryContent } from './DepositoryContent';
10
11
  import { DepositoryFilter } from './DepositoryFilter';
@@ -33,32 +34,48 @@ export const Depository: JSXBlock<DepositoryProps> = JSX<DepositoryProps>(
33
34
  const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
34
35
  const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
35
36
 
36
- const { totalPages = 0, items } = useDepository({
37
+ const { totalPages = 0, items = [] } = useDepository({
37
38
  size: itemCount,
38
39
  page: currentPage,
39
40
  ...filtrationState,
40
41
  });
41
42
 
42
43
  const handleChangePage = useCallback((page: number) => setCurrentPage(page - 1), []);
43
- const handleItemCountChange = useCallback((count: number) => setItemCount(count), []);
44
+
45
+ const handleItemCountChange = useCallback((count: number) => {
46
+ if (itemCount !== count) {
47
+ setItemCount(count);
48
+ setCurrentPage(0);
49
+ } else {
50
+ setItemCount(count);
51
+ }
52
+ }, []);
44
53
 
45
54
  return (
46
- <BlockWrapper className={style(className, 'container p-4xl')} {...rest}>
55
+ <BlockWrapper className={style(className, 'container p-6xl')} {...rest}>
47
56
  <DepositoryFilter filtrationState={filtrationState} field={field} onClearFilter={reset} />
48
57
  <div className="flex flex-col">
49
58
  <div className="grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b">
50
- <span className="col-span-2 text-gray text-m">Дата</span>
51
- <span className="col-span-10 text-gray text-m">Тема</span>
59
+ <div className="col-span-2">
60
+ <Text size="text-m" color="text-secondary-text">
61
+ Дата
62
+ </Text>
63
+ </div>
64
+ <span className="col-span-10">
65
+ <Text size="text-m" color="text-secondary-text">
66
+ Тема
67
+ </Text>
68
+ </span>
52
69
  </div>
53
- {items?.length ? (
54
- items?.map((params) => <DepositoryItem key={String(params.publicId)} {...params} />)
70
+ {items.length ? (
71
+ items.map((params) => <DepositoryItem key={String(params.publicId)} {...params} />)
55
72
  ) : (
56
73
  <NotFound title="Ничего не найдено" description="Попробуйте очистить фильтры" />
57
74
  )}
58
75
  <Pagination
59
76
  currentPage={currentPage + 1}
60
77
  onPageChange={handleChangePage}
61
- totalPages={totalPages + 1}
78
+ totalPages={totalPages}
62
79
  itemCount={itemCount}
63
80
  onItemCountChange={handleItemCountChange}
64
81
  />
@@ -28,7 +28,7 @@ export const DepositoryFilter = JSX<DepositoryFilterProps>(
28
28
  />
29
29
  <div className="col-span-2 mt-auto">
30
30
  <button
31
- className="px-m py-s rounded-md bg-main-gray text-green cursor-pointer w-full"
31
+ className="px-m py-s rounded-md bg-main-gray text-green hover:text-white hover:bg-primary-hover active:bg-primary-active cursor-pointer w-full"
32
32
  onClick={onClearFilter}
33
33
  >
34
34
  Очистить фильтр
@@ -9,8 +9,12 @@ export const DepositoryItem = ({ title, timestamp, publicId }: DepositoryDataIte
9
9
 
10
10
  return (
11
11
  <div className="grid grid-cols-12 py-lg border-gray border-opacity-50 border-b" key={publicId}>
12
- <div className="col-span-2 text-m">
13
- {timestamp ? <Text>{formatDate(timestamp)}</Text> : null}
12
+ <div className="col-span-2">
13
+ {timestamp ? (
14
+ <Text size="text-m" font-weight="font-light">
15
+ {formatDate(timestamp)}
16
+ </Text>
17
+ ) : null}
14
18
  </div>
15
19
  <div className="col-span-10 text-h6 hover:text-primary-active">
16
20
  <a href={href} download aria-label="Скачать">
@@ -19,14 +19,23 @@ interface UseDepositoryParams extends DepositoryFiltrationState {
19
19
  size: number;
20
20
  page: number;
21
21
  }
22
+ const DEPOSITARY_URL = '/api/v1/depository';
22
23
 
23
24
  export const useDepository = ({ size, page, query, startDate, endDate }: UseDepositoryParams) => {
24
- const { data } = useAsyncData<DepositoryData>(
25
- `/api/v1/depository?page=${page}&size=${size}&query=${query}&timestampStart=${
26
- startDate ? formatDate(startDate, true) : ''
27
- }&timestampEnd=${endDate ? formatDate(endDate, true) : ''}`,
28
- fetchJSONUnsafe,
29
- );
25
+ const formatStartDate = startDate ? formatDate(startDate, true) : '';
26
+ const formatEndDate = endDate ? formatDate(endDate, true) : '';
27
+
28
+ const searchParams = new URLSearchParams(DEPOSITARY_URL);
29
+
30
+ searchParams.set('page', String(page));
31
+ searchParams.set('size', String(size));
32
+ searchParams.set('query', query);
33
+ searchParams.set('startDate', formatStartDate);
34
+ searchParams.set('endDate', formatEndDate);
35
+
36
+ const queryString = `?${searchParams.toString()}`;
37
+
38
+ const { data } = useAsyncData<DepositoryData>(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
30
39
 
31
40
  return { items: data?.content, totalPages: data?.totalPages };
32
41
  };
@@ -33,7 +33,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
33
33
  ..._,
34
34
  ...buttonText,
35
35
  icon: { ...iconCustom, iconVersion: 'color' },
36
- version,
36
+ version: _?.version ?? version,
37
37
  };
38
38
  });
39
39
 
@@ -47,7 +47,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
47
47
  <div className={style('flex flex-col gap-xs', className)}>
48
48
  <div className="flex gap-xs">
49
49
  {renderButtonsSection(buttons, {
50
- className: stretched ? 'w-full' : '',
50
+ className: style(stretched || hasText ? 'basis-full' : ''),
51
51
  buttonClassName,
52
52
  })}
53
53
  </div>
@@ -1,4 +1,4 @@
1
- import { type HeadlineSmallVersion, type HeadlineVersion } from '../../model/HeadlineType';
1
+ import { type HeadlineVersion } from '../../model/HeadlineType';
2
2
  import { type HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
3
3
  import { type FontWeight, type TextSize, type TitleSize } from '../../ui-kit/Text/TextProps';
4
4
 
@@ -48,15 +48,3 @@ export const headlineVersionStyles: Record<
48
48
  descriptionStyle: 'mt-xs',
49
49
  },
50
50
  };
51
-
52
- // TODO: Move to Gallery and rename
53
- export const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string> = {
54
- H6: 'text-h6',
55
- XL_L: 'text-xl-light',
56
- XL_R: 'text-xl',
57
- L_L: 'text-l-light',
58
- L_R: 'text-l',
59
- M: 'text-m-light',
60
- S: 'text-s-light',
61
- XS: 'text-xs-light',
62
- };
@@ -5,9 +5,9 @@ import { style } from '../../utils/style';
5
5
 
6
6
  const colorStyle: Record<string, { border: string; text: TextColor }> = {
7
7
  yellow: { border: 'border-yellow-light', text: 'text-yellow' },
8
- green: { border: 'border-green-light', text: 'text-green-dark' },
8
+ green: { border: 'border-green-more-light', text: 'text-green-dark' },
9
9
  gray: { border: 'border-gray', text: 'text-secondary-text' },
10
- red: { border: 'border-error', text: 'text-error' },
10
+ red: { border: 'border-error/30', text: 'text-error' },
11
11
  };
12
12
 
13
13
  export interface BadgeProps {
@@ -1,40 +1,52 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Text } from '../../ui-kit/Text/Text';
3
- import { type TextColor } from '../../ui-kit/Text/TextProps';
3
+ import { type TextColor, type TextSize } from '../../ui-kit/Text/TextProps';
4
4
  import { style } from '../../utils/style';
5
5
 
6
6
  export interface CardCellProps {
7
7
  className?: string;
8
8
  label?: string;
9
- value?: string;
9
+ labelSize?: TextSize;
10
+ value?: string | string[];
10
11
  subText?: string;
11
12
  subColor?: TextColor;
12
13
  }
13
14
 
14
- export const CardCell = JSX<CardCellProps>(({ className, label, value, subText, subColor }) => {
15
- const textItems = value?.split(',') ?? [];
15
+ export const CardCell = JSX<CardCellProps>(({ value, subText, children, ...props }) => {
16
+ const textItems = (Array.isArray(value) ? value : value?.split(',') ?? []).filter(Boolean);
16
17
 
17
- if (!textItems.length && !subText) {
18
+ if ([textItems.length, children, subText].every((_) => !_)) {
18
19
  return null;
19
20
  }
20
21
 
21
- return (
22
- <div className={style('flex gap-2xs flex-col h-full max-w-[300px]', className)}>
23
- {label ? (
24
- <Text color="text-secondary-text" font="font-light" size="text-m">
25
- {label}
26
- </Text>
27
- ) : null}
28
- {textItems.filter(Boolean).map((text, i) => (
22
+ return renderCardCell({ textItems, subText, children, ...props });
23
+ });
24
+
25
+ const renderCardCell = ({
26
+ label,
27
+ labelSize = 'text-m',
28
+ textItems,
29
+ subColor,
30
+ subText,
31
+ className,
32
+ children,
33
+ }: CardCellProps & { textItems: string[]; children: any }) => (
34
+ <div className={style('flex gap-2xs flex-col h-full max-w-[300px]', className)}>
35
+ {label ? (
36
+ <Text color="text-secondary-text" font="font-light" size={labelSize}>
37
+ {label}
38
+ </Text>
39
+ ) : null}
40
+ {children ||
41
+ textItems.filter(Boolean).map((text, i) => (
29
42
  <Text key={String(i)} size="text-l">
30
43
  {text.trim()}
31
44
  </Text>
32
45
  ))}
33
- {subText ? (
34
- <Text color={subColor} size="text-m">
35
- {subText}
36
- </Text>
37
- ) : null}
38
- </div>
39
- );
40
- });
46
+ {subText ? (
47
+ <Text color={subColor} size="text-m">
48
+ {subText}
49
+ </Text>
50
+ ) : null}
51
+ </div>
52
+ );
@@ -16,7 +16,9 @@ export interface ExchangeRate {
16
16
  }
17
17
 
18
18
  export type WorkScheduleWeek = {
19
+ key?: string;
19
20
  title?: string;
21
+ short?: string;
20
22
  status?: boolean;
21
23
  workTime?: string;
22
24
  lunchHour?: string;
@@ -42,6 +44,9 @@ export type WorkSchedule = {
42
44
  workingFriday?: boolean;
43
45
  workingSaturday?: boolean;
44
46
  workingSunday?: boolean;
47
+ isMatchesPattern?: boolean;
48
+ businessScheduleVisibleTag?: boolean;
49
+ businessScheduleDescription?: string;
45
50
  };
46
51
 
47
52
  export type SafeBoxCaseTariff = {