@redneckz/wildless-cms-uni-blocks 0.6.47 → 0.6.49

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 (452) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +73 -68
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  5. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  6. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  7. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  8. package/bundle/components/Footer/MediaButton.d.ts +3 -0
  9. package/bundle/components/Footer/SocialMedia.d.ts +3 -0
  10. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  11. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  12. package/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  13. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  14. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  15. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  16. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  17. package/dist/components/Calculator/Calculator.js +1 -1
  18. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  19. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  20. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  21. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  22. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  23. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  24. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  25. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  26. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  27. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  28. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  29. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  30. package/dist/components/Catalog/CatalogCard.js +1 -1
  31. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  32. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  33. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  34. package/dist/components/ComparisonTable/TableColumn.js +1 -1
  35. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  36. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  37. package/dist/components/ComparisonTable/constants.js +1 -1
  38. package/dist/components/ComparisonTable/constants.js.map +1 -1
  39. package/dist/components/Footer/MediaButton.d.ts +3 -0
  40. package/dist/components/Footer/MediaButton.js +8 -3
  41. package/dist/components/Footer/MediaButton.js.map +1 -1
  42. package/dist/components/Footer/SocialMedia.d.ts +3 -0
  43. package/dist/components/Footer/SocialMedia.js +1 -1
  44. package/dist/components/Footer/SocialMedia.js.map +1 -1
  45. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  46. package/dist/components/Gallery/GalleryContainer.js +1 -1
  47. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  48. package/dist/components/Header/DropdownMenu.js +2 -2
  49. package/dist/components/Header/DropdownMenu.js.map +1 -1
  50. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  51. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  52. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  53. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  54. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  55. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  56. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  57. package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  58. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  59. package/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  60. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  61. package/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  62. package/dist/components/OfficeMap/renderFunctions.js +1 -1
  63. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  64. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  65. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  66. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  67. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  68. package/dist/content-page-repository/transformHTML.js +2 -2
  69. package/dist/content-page-repository/transformHTML.js.map +1 -1
  70. package/dist/model/BorderVersion.js +1 -1
  71. package/dist/model/BorderVersion.js.map +1 -1
  72. package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  73. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  74. package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  75. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  76. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  77. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  78. package/dist/ui-kit/Input/Input.js +1 -1
  79. package/dist/ui-kit/Input/Input.js.map +1 -1
  80. package/dist/ui-kit/InputRange/InputRange.js +3 -3
  81. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  82. package/dist/ui-kit/Location/SearchBar.js +1 -1
  83. package/dist/ui-kit/Location/SearchBar.js.map +1 -1
  84. package/dist/ui-kit/Radio/Radio.js +1 -1
  85. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  86. package/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  87. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  88. package/dist/ui-kit/Select/Select.js +1 -1
  89. package/dist/ui-kit/Select/Select.js.map +1 -1
  90. package/dist/ui-kit/Tags/Tags.js +1 -1
  91. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  92. package/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  93. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  94. package/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  95. package/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  96. package/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  97. package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  98. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  99. package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  100. package/lib/common.css +1 -1
  101. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  102. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  103. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  104. package/lib/components/Calculator/Calculator.js +1 -1
  105. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  106. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  107. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  108. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  109. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  110. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  111. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  112. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  113. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  114. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  115. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  116. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  117. package/lib/components/Catalog/CatalogCard.js +1 -1
  118. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  119. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  120. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  121. package/lib/components/ComparisonTable/TableColumn.js +1 -1
  122. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  123. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  124. package/lib/components/ComparisonTable/constants.js +1 -1
  125. package/lib/components/ComparisonTable/constants.js.map +1 -1
  126. package/lib/components/Footer/MediaButton.d.ts +3 -0
  127. package/lib/components/Footer/MediaButton.js +8 -3
  128. package/lib/components/Footer/MediaButton.js.map +1 -1
  129. package/lib/components/Footer/SocialMedia.d.ts +3 -0
  130. package/lib/components/Footer/SocialMedia.js +1 -1
  131. package/lib/components/Footer/SocialMedia.js.map +1 -1
  132. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  133. package/lib/components/Gallery/GalleryContainer.js +1 -1
  134. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  135. package/lib/components/Header/DropdownMenu.js +2 -2
  136. package/lib/components/Header/DropdownMenu.js.map +1 -1
  137. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  138. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  139. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  140. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  141. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  142. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  143. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  144. package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  145. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  146. package/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  147. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  148. package/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  149. package/lib/components/OfficeMap/renderFunctions.js +1 -1
  150. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  151. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  152. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  153. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  154. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  155. package/lib/content-page-repository/transformHTML.js +1 -1
  156. package/lib/content-page-repository/transformHTML.js.map +1 -1
  157. package/lib/model/BorderVersion.js +1 -1
  158. package/lib/model/BorderVersion.js.map +1 -1
  159. package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  160. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  161. package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  162. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  163. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  164. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  165. package/lib/ui-kit/Input/Input.js +1 -1
  166. package/lib/ui-kit/Input/Input.js.map +1 -1
  167. package/lib/ui-kit/InputRange/InputRange.js +3 -3
  168. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  169. package/lib/ui-kit/Location/SearchBar.js +1 -1
  170. package/lib/ui-kit/Location/SearchBar.js.map +1 -1
  171. package/lib/ui-kit/Radio/Radio.js +1 -1
  172. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  173. package/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  174. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  175. package/lib/ui-kit/Select/Select.js +1 -1
  176. package/lib/ui-kit/Select/Select.js.map +1 -1
  177. package/lib/ui-kit/Tags/Tags.js +1 -1
  178. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  179. package/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  180. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  181. package/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  182. package/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  183. package/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  184. package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  185. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  186. package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  187. package/mobile/bundle/bundle.umd.js +16 -11
  188. package/mobile/bundle/bundle.umd.min.js +1 -1
  189. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  190. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  191. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  192. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  193. package/mobile/bundle/components/Footer/MediaButton.d.ts +3 -0
  194. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  195. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  196. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  197. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  198. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  199. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  200. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  201. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  202. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  203. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  204. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  205. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  206. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  207. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  208. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  209. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  210. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  211. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  212. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  213. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  214. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  215. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  216. package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
  217. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  218. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  219. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  220. package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
  221. package/mobile/dist/components/Footer/MediaButton.d.ts +3 -0
  222. package/mobile/dist/components/Footer/MediaButton.js +8 -3
  223. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  224. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  225. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  226. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  227. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  228. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  229. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  230. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  231. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  232. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  233. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  234. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  235. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  236. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  237. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  238. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  239. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  240. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  241. package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
  242. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  243. package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
  244. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  245. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  246. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  247. package/mobile/dist/content-page-repository/transformHTML.js +2 -2
  248. package/mobile/dist/content-page-repository/transformHTML.js.map +1 -1
  249. package/mobile/dist/model/BorderVersion.js +1 -1
  250. package/mobile/dist/model/BorderVersion.js.map +1 -1
  251. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  252. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  253. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  254. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  255. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  256. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  257. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  258. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  259. package/mobile/dist/ui-kit/InputRange/InputRange.js +3 -3
  260. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  261. package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
  262. package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
  263. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  264. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  265. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  266. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  267. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  268. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  269. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  270. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  271. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  272. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  273. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  274. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  275. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  276. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  277. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  278. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  279. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  280. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  281. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  282. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  283. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  284. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  285. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  286. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  287. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  288. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  289. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  290. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  291. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  292. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  293. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  294. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  295. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  296. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  297. package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
  298. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  299. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  300. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  301. package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
  302. package/mobile/lib/components/Footer/MediaButton.d.ts +3 -0
  303. package/mobile/lib/components/Footer/MediaButton.js +8 -3
  304. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  305. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  306. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  307. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  308. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  309. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  310. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  311. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  312. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  313. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  314. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  315. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  316. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  317. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  318. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  319. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  320. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  321. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  322. package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
  323. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  324. package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
  325. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  326. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  327. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  328. package/mobile/lib/content-page-repository/transformHTML.js +1 -1
  329. package/mobile/lib/content-page-repository/transformHTML.js.map +1 -1
  330. package/mobile/lib/model/BorderVersion.js +1 -1
  331. package/mobile/lib/model/BorderVersion.js.map +1 -1
  332. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  333. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  334. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  335. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  336. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  337. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  338. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  339. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  340. package/mobile/lib/ui-kit/InputRange/InputRange.js +3 -3
  341. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  342. package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
  343. package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
  344. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  345. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  346. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  347. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  348. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  349. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  350. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  351. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  352. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  353. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  354. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  355. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  356. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  357. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  358. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  359. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  360. package/mobile/src/common.css +5 -4
  361. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  362. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  363. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  364. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  365. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  366. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  367. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  368. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  369. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  370. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  371. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  372. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -4
  373. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  374. package/mobile/src/components/Footer/MediaButton.tsx +46 -36
  375. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  376. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  377. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  378. package/mobile/src/components/Header/DropdownMenu.tsx +36 -34
  379. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  380. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  381. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  382. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  383. package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -2
  384. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  385. package/mobile/src/components/OfficeMap/renderFunctions.tsx +2 -2
  386. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  387. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  388. package/mobile/src/content-page-repository/transformHTML.ts +1 -1
  389. package/mobile/src/model/BorderVersion.ts +1 -1
  390. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  391. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  392. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  393. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  394. package/mobile/src/ui-kit/InputRange/InputRange.tsx +3 -3
  395. package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
  396. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  397. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  398. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  399. package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
  400. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  401. package/mobile/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  402. package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  403. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  404. package/package.json +1 -1
  405. package/src/common.css +5 -4
  406. package/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  407. package/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  408. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  409. package/src/components/Calculator/Calculator.tsx +1 -1
  410. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  411. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  412. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  413. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  414. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  415. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  416. package/src/components/Catalog/CatalogCard.tsx +1 -1
  417. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  418. package/src/components/ComparisonTable/TableColumn.tsx +1 -4
  419. package/src/components/ComparisonTable/constants.ts +1 -1
  420. package/src/components/Footer/MediaButton.tsx +46 -36
  421. package/src/components/Footer/SocialMedia.tsx +20 -10
  422. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  423. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  424. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  425. package/src/components/Header/DropdownMenu.tsx +36 -34
  426. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  427. package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  428. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  429. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  430. package/src/components/OfficeMap/OfficeMap.tsx +3 -2
  431. package/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  432. package/src/components/OfficeMap/renderFunctions.tsx +2 -2
  433. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  434. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  435. package/src/content-page-repository/transformHTML.ts +1 -1
  436. package/src/model/BorderVersion.ts +1 -1
  437. package/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  438. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  439. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  440. package/src/ui-kit/Input/Input.tsx +1 -1
  441. package/src/ui-kit/InputRange/InputRange.tsx +3 -3
  442. package/src/ui-kit/Location/SearchBar.tsx +1 -1
  443. package/src/ui-kit/Radio/Radio.tsx +1 -1
  444. package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  445. package/src/ui-kit/Select/Select.tsx +1 -1
  446. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +3 -3
  447. package/src/ui-kit/Tags/Tags.tsx +1 -1
  448. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  449. package/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  450. package/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  451. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  452. package/tailwind.config.cjs +3 -13
@@ -17,46 +17,48 @@ interface DropdownMenuProps {
17
17
  bgColor?: BgColorVersion;
18
18
  }
19
19
 
20
- export const DropdownMenu = JSX<DropdownMenuProps>(({ className, items, activeItem, bgColor }) => {
21
- const link = useLink();
20
+ export const DropdownMenu = JSX<DropdownMenuProps>(
21
+ ({ className = '', items, activeItem, bgColor }) => {
22
+ const link = useLink();
22
23
 
23
- const [visible, setVisible] = useState(false);
24
- const handleToggle = useCallback(() => setVisible((_) => !_), []);
24
+ const [visible, setVisible] = useState(false);
25
+ const handleToggle = useCallback(() => setVisible((_) => !_), []);
25
26
 
26
- const handleClickOutside = useCallback(() => setVisible(false), []);
27
- const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
27
+ const handleClickOutside = useCallback(() => setVisible(false), []);
28
+ const ref = useOutsideClick<HTMLDivElement>(handleClickOutside);
28
29
 
29
- return (
30
- <div
31
- className={`${visible ? 'bg-white rounded-md shadow-blue-gray/24' : ''} ${className || ''}`}
32
- ref={ref}
33
- >
34
- <button
35
- className="flex justify-between items-center cursor-pointer h-6 ml-6"
36
- aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
37
- onClick={handleToggle}
38
- >
39
- {Array(3).fill(bgColor).map(renderDot)}
40
- </button>
30
+ return (
41
31
  <div
42
- className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
43
- aria-hidden={!visible}
32
+ className={`${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`}
33
+ ref={ref}
44
34
  >
45
- {items?.map((item, i) => (
46
- <a
47
- key={item.href || String(i)}
48
- className={`text-l-light pb-4 hover:text-primary-main ${
49
- item === activeItem ? 'text-primary-main' : ''
50
- }`}
51
- {...link(item)}
52
- >
53
- {item.text}
54
- </a>
55
- ))}
35
+ <button
36
+ className="flex justify-between items-center cursor-pointer h-6 ml-6"
37
+ aria-label={`${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`}
38
+ onClick={handleToggle}
39
+ >
40
+ {Array(3).fill(bgColor).map(renderDot)}
41
+ </button>
42
+ <div
43
+ className={`flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`}
44
+ aria-hidden={!visible}
45
+ >
46
+ {items?.map((item, i) => (
47
+ <a
48
+ key={item.href || String(i)}
49
+ className={`text-l-light pb-4 hover:text-primary-main ${
50
+ item === activeItem ? 'text-primary-main' : ''
51
+ }`}
52
+ {...link(item)}
53
+ >
54
+ {item.text}
55
+ </a>
56
+ ))}
57
+ </div>
56
58
  </div>
57
- </div>
58
- );
59
- });
59
+ );
60
+ },
61
+ );
60
62
 
61
63
  const renderDot = (bgColor: BgColorVersion, i: number) => (
62
64
  <div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
@@ -91,8 +91,8 @@ function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }: Insur
91
91
 
92
92
  function renderNavButton({ slide, i, isActive, onClick }: NavButtonProps) {
93
93
  const btnClassName = isActive
94
- ? 'shadow-dark-blue/42 border-primary-main'
95
- : `ease-in duration-300 border-main-stroke`;
94
+ ? 'shadow-dark-blue border-primary-main'
95
+ : `ease-in duration-300 border-gray`;
96
96
 
97
97
  return (
98
98
  <button
@@ -49,12 +49,10 @@ export const InvestmentInfo = JSX<InvestmentInfoProps>((props) => {
49
49
  {colums?.length ? (
50
50
  <div>
51
51
  <div className="flex items-end relative pl-9 pr-5 text-white">
52
- {joinList(<div className="w-px h-4 bg-main-stroke" />)(
53
- colums.map(renderInvestmentColumn),
54
- )}
55
- <div className="absolute right-[30px] w-px h-4 bg-main-stroke" />
52
+ {joinList(<div className="w-px h-4 bg-gray" />)(colums.map(renderInvestmentColumn))}
53
+ <div className="absolute right-[30px] w-px h-4 bg-gray" />
56
54
  </div>
57
- <div className="border-t border-main-stroke -mt-2 ml-9 mr-8" />
55
+ <div className="border-t border-gray -mt-2 ml-9 mr-8" />
58
56
  <div className="flex justify-between text-primary-text mt-3 -mx-10">
59
57
  {colums.map(renderInvestmentColumnTitle)}
60
58
  </div>
@@ -10,7 +10,7 @@ export const LinkDocsHorizontalList = JSX<LinkDocsVerticalListProps>(
10
10
  ? documents.map((doc, i) => (
11
11
  <LinkDocsListItem
12
12
  key={String(i)}
13
- className={hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''}
13
+ className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
14
14
  doc={doc}
15
15
  icon={icon}
16
16
  />
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
2
  import type { Picture } from '../../model/Picture';
3
+ import type { LinkDocsItem } from './LinkDocsContent';
4
4
  import { LinkDocsListItem } from './LinkDocsListItem';
5
5
 
6
6
  export interface LinkDocsVerticalListProps {
@@ -20,9 +20,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
20
20
  ? documents.map((doc, i) => (
21
21
  <div key={String(i)} role="listitem">
22
22
  <LinkDocsListItem
23
- className={
24
- hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : ''
25
- }
23
+ className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
26
24
  doc={doc}
27
25
  icon={icon}
28
26
  />
@@ -3,17 +3,18 @@ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import { Icon } from '../../ui-kit/Icon/Icon';
4
4
  import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
5
5
  import { nearbyOffices } from './nearbyOffices';
6
- import type { OfficeMapProps, WorkScheduleWeek } from './OfficeMapContent';
6
+ import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
7
7
  import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
8
8
  import { useOfficeMap } from './useOfficeMap';
9
9
 
10
+ export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
10
11
  export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
11
12
  // TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
12
13
  // TODO: useOfficeMap has return MOCK OBJECT!
13
14
  // TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
14
15
  const resultOfficeMap = useOfficeMap('000');
15
16
  const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
16
- resultOfficeMap as OfficeMapProps;
17
+ resultOfficeMap as OfficeMapContent;
17
18
  const {
18
19
  workingMonday,
19
20
  workingTuesday,
@@ -14,7 +14,10 @@ export type WorkSchedule = {
14
14
  workingSunday: boolean;
15
15
  };
16
16
 
17
- export interface OfficeMapProps {
17
+ /**
18
+ * @title Карта офиса
19
+ */
20
+ export interface OfficeMapContent {
18
21
  name?: string;
19
22
  address: string;
20
23
  workSchedule: WorkSchedule;
@@ -1,5 +1,5 @@
1
- import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
2
1
  import { Icon } from '../../ui-kit/Icon/Icon';
2
+ import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
3
3
 
4
4
  export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
5
5
  const hasTime = /\d+/gi.test(lunchHour as string);
@@ -10,7 +10,7 @@ export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkSc
10
10
  <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4">
11
11
  {workTime ? workTime : null}
12
12
  </div>
13
- <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden">
13
+ <div className="p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden">
14
14
  {lunchHour ? lunchHourText : null}
15
15
  </div>
16
16
  </div>
@@ -91,7 +91,7 @@ function renderProductBlock(block: ProductBlockInnerContent & UniBlockProps, i:
91
91
 
92
92
  function renderNavButton({ slide, i, isActive, onClick, version }: NavButtonProps) {
93
93
  const btnClassName = isActive
94
- ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
94
+ ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
95
95
  : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
96
96
  ${VersionStyleMap[version]}`;
97
97
  const btnTitleClassName = isActive
@@ -10,7 +10,7 @@ export interface TariffsTableTileCellProps extends UniBlockProps {
10
10
  }
11
11
 
12
12
  export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ tile, ...rest }) => (
13
- <div className="rounded-md border-main-stroke h-full box-border border p-4">
13
+ <div className="rounded-md border-gray h-full box-border border p-4">
14
14
  <TableTileHeader {...tile?.header} />
15
15
  {tile?.data?.length
16
16
  ? tile.data.map((cell, i) => (
@@ -1,4 +1,4 @@
1
- import rehypeParse from 'rehype-parse/lib';
1
+ import rehypeParse from 'rehype-parse';
2
2
  import rehypeSanitize from 'rehype-sanitize';
3
3
  import rehypeStringify from 'rehype-stringify';
4
4
  import { unified } from 'unified';
@@ -5,6 +5,6 @@
5
5
  export type BorderVersion = 'primary' | 'secondary';
6
6
 
7
7
  export const BorderVersionStyleMap: Record<BorderVersion, string> = {
8
- primary: 'border-main-stroke',
8
+ primary: 'border-gray',
9
9
  secondary: 'border-white/50',
10
10
  };
@@ -1,5 +1,5 @@
1
- import type { GetButtonClassParams } from './GetButtonClassParams';
2
1
  import { buttonStyle, buttonStyleMap } from './buttonClassNameConstants';
2
+ import type { GetButtonClassParams } from './GetButtonClassParams';
3
3
 
4
4
  export const getRegularButtonClasses = ({
5
5
  className,
@@ -8,7 +8,7 @@ export const getRegularButtonClasses = ({
8
8
  }: GetButtonClassParams): string =>
9
9
  [
10
10
  buttonStyle,
11
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
11
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
12
12
  version ? buttonStyleMap[version] : '',
13
13
  rounded ? 'rounded-full' : 'rounded-md',
14
14
  className,
@@ -16,9 +16,9 @@ export const Checkbox = JSX<CheckboxProps>(({ className, text, checked, isRadio,
16
16
  <div className={className}>
17
17
  <label className="flex items-center relative cursor-pointer group">
18
18
  <input
19
- className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
19
+ className={`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
20
20
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
21
- ${checked ? 'border-black' : 'border-main-stroke'}
21
+ ${checked ? 'border-black' : 'border-gray'}
22
22
  checked:border-primary-main m-0`}
23
23
  type="checkbox"
24
24
  onChange={(e) => onChange && onChange(e.target.checked as boolean)}
@@ -25,7 +25,7 @@ export const InnerTableBody = JSX<InnerTableBodyProps>(({ activeTabIndex, items
25
25
  return (
26
26
  <div key={key} className="w-full">
27
27
  <div
28
- className="flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative"
28
+ className="flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative"
29
29
  onClick={() => toggleTables(key)}
30
30
  >
31
31
  {_.title}
@@ -38,7 +38,7 @@ export const Input = JSX<InputProps>(
38
38
 
39
39
  const paddingStyle = children ? 'pr-8' : '';
40
40
  const validStyle = valid
41
- ? 'border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text'
41
+ ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
42
42
  : 'border-error';
43
43
 
44
44
  return (
@@ -4,7 +4,7 @@ import { clamp } from '../../utils/clamp';
4
4
  import { getSanitizedValue } from '../../utils/getSanitizedValue';
5
5
  import type { InputRangeProps } from './InputRangeProps';
6
6
 
7
- const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
7
+ const DISABLED_INPUT_CLASSES = 'disabled:border-gray disabled:bg-main-divider';
8
8
 
9
9
  export const InputRange = JSX<InputRangeProps>(
10
10
  ({
@@ -35,8 +35,8 @@ export const InputRange = JSX<InputRangeProps>(
35
35
  <label className="block relative">
36
36
  {title ? <span className="text-m-light text-primary-text">{title}</span> : null}
37
37
  <input
38
- className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
39
- outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`}
38
+ className={`m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-gray rounded-md
39
+ outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-text ${DISABLED_INPUT_CLASSES}`}
40
40
  value={addSpacesBetweenNumbers(value)}
41
41
  disabled={disabled}
42
42
  onChange={handleChange}
@@ -19,7 +19,7 @@ export const SearchBar = JSX<SearchBarInnerProps>(({ className, searchTerm, onSe
19
19
  <input
20
20
  id="search-bar-input"
21
21
  className={`h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
22
- outline-none border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text`}
22
+ outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`}
23
23
  value={searchTerm}
24
24
  onChange={(e) => onSearch(e.target.value as string)}
25
25
  type="text"
@@ -5,7 +5,7 @@ export const Radio = JSX<RadioProps>(({ name, text, value, checked, onChange, cl
5
5
  <div className={className}>
6
6
  <label className="font-sans flex items-center relative cursor-pointer">
7
7
  <input
8
- className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover
8
+ className="appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover
9
9
  checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text
10
10
  after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer"
11
11
  type="radio"
@@ -34,7 +34,7 @@ export const SearchBarInner = JSX<SearchBarInnerProps>(({ className, isMobile =
34
34
  <input
35
35
  id="search-bar-input"
36
36
  className={`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
37
- outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`}
37
+ outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`}
38
38
  value={term}
39
39
  onChange={(e) => setTerm(e.target.value as string)}
40
40
  type="text"
@@ -102,4 +102,4 @@ const renderOption =
102
102
  };
103
103
 
104
104
  const getBorderStyle = (isBorder: boolean) =>
105
- isBorder ? 'border border-main-stroke rounded-md hover:border-primary-hover' : '';
105
+ isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
@@ -17,7 +17,7 @@ export const Tags = JSX<TagsProps>((props) => {
17
17
  const renderTag = (tag: string, key: number) => (
18
18
  <span
19
19
  key={String(key)}
20
- className="text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke"
20
+ className="text-m-light py-2 px-2.5 border-solid border rounded-md border-gray"
21
21
  >
22
22
  {tag}
23
23
  </span>
@@ -3,14 +3,14 @@
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useEffect, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
5
5
  import ymaps from 'yandex-maps';
6
+ import { Icon } from '../Icon/Icon';
7
+ import { MockPoints, mockPoints } from './mockPoints';
6
8
  import { renderClusterer } from './renderClusterer';
7
9
  import { renderOpenMap } from './renderOpenMap';
8
10
  import { renderSearchField } from './renderSearchField';
9
11
  import { renderUserGeolocation } from './renderUserGeolocation';
10
12
  import { useYandexMaps } from './useYandexMaps';
11
- import { Icon } from '../Icon/Icon';
12
13
  import { ZoomButton } from './ZoomButton';
13
- import { MockPoints, mockPoints } from './mockPoints';
14
14
 
15
15
  interface YandexMapProps {
16
16
  points: number[][];
@@ -23,7 +23,7 @@ const FULLSCREEN_STYLES = {
23
23
  border: 'border border-transparent rounded-md ',
24
24
  position: 'absolute flex items-center justify-center',
25
25
  size: 'w-12 h-12',
26
- focus: 'focus:border-primary-focus focus:border',
26
+ focus: 'focus:border-primary-text focus:border',
27
27
  font: 'text-center font-sans',
28
28
  active: 'active:bg-primary-active',
29
29
  hover: 'hover:bg-primary-hover',
@@ -10,7 +10,7 @@ interface ZoomButtonProps {
10
10
  }
11
11
 
12
12
  const styles = {
13
- focus: 'focus:border-primary-focus focus:border',
13
+ focus: 'focus:border-primary-text focus:border',
14
14
  hover: 'hover:bg-primary-hover',
15
15
  active: 'active:bg-primary-active',
16
16
  border: 'border-b border-b-2 border-gray last:border-0',
@@ -1,5 +1,5 @@
1
1
  const styles = {
2
- focus: 'focus:border-primary-focus focus:border',
2
+ focus: 'focus:border-primary-text focus:border',
3
3
  hover: 'hover:bg-primary-hover',
4
4
  active: 'active:bg-primary-active',
5
5
  border: 'border border-transparent rounded-md',
@@ -14,7 +14,7 @@ export const renderOpenMap = (pointsCenter: number[]) => {
14
14
 
15
15
  return (
16
16
  <a
17
- className={`select-none cursor-pointer px-9 h-12 bg-white bg-primary-main text-white ${Object.values(
17
+ className={`select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(
18
18
  styles,
19
19
  ).join(' ')}`}
20
20
  href={getYandexMapUrl()}
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable @typescript-eslint/no-unsafe-argument */
2
- import { Icon } from '../Icon/Icon';
3
2
  import ymaps from 'yandex-maps';
3
+ import { Icon } from '../Icon/Icon';
4
4
 
5
5
  const styles = {
6
- focus: 'focus:border-primary-focus focus:border',
6
+ focus: 'focus:border-primary-text focus:border',
7
7
  hover: 'hover:bg-primary-hover',
8
8
  active: 'active:bg-primary-active',
9
9
  border: 'border border-transparent rounded-md',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.6.47",
3
+ "version": "0.6.49",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
package/src/common.css CHANGED
@@ -11,6 +11,7 @@ html {
11
11
  --color-green-dark: 66, 171, 68;
12
12
  --color-green-more-dark: 39, 148, 41;
13
13
  --color-yellow: 221, 182, 61;
14
+ --color-gray: 201, 202, 204;
14
15
  }
15
16
 
16
17
  /* Private clients | Green */
@@ -121,21 +122,21 @@ html {
121
122
  }
122
123
 
123
124
  input[type='range'].slider:disabled {
124
- background-image: linear-gradient(rgb(201, 202, 204), rgb(201, 202, 204));
125
+ background-image: linear-gradient(rgb(var(--color-gray)), rgb(var(--color-gray)));
125
126
  pointer-events: none;
126
127
  cursor: default;
127
128
  }
128
129
 
129
130
  input[type='range'].slider:disabled::-webkit-slider-thumb {
130
- background: rgb(201, 202, 204);
131
+ background: rgb(var(--color-gray));
131
132
  }
132
133
 
133
134
  input[type='range'].slider:disabled::-moz-range-thumb {
134
- background: rgb(201, 202, 204);
135
+ background: rgb(var(--color-gray));
135
136
  }
136
137
 
137
138
  input[type='range'].slider:disabled::-ms-thumb {
138
- background: rgb(201, 202, 204);
139
+ background: rgb(var(--color-gray));
139
140
  }
140
141
 
141
142
  /* Hide arrows */
@@ -26,9 +26,8 @@
26
26
  ],
27
27
  "button": {
28
28
  "href": "#",
29
- "text": "Подробнее",
30
- "target": "_blank",
31
- "version": "secondary"
29
+ "text": "Кнопка",
30
+ "version": "primary"
32
31
  }
33
32
  },
34
33
  {
@@ -56,9 +55,8 @@
56
55
  ],
57
56
  "button": {
58
57
  "href": "#",
59
- "text": "Подробнее",
60
- "target": "_blank",
61
- "version": "secondary"
58
+ "text": "Кнопка",
59
+ "version": "primary"
62
60
  }
63
61
  }
64
62
  ]
@@ -1,6 +1,7 @@
1
1
  import type { IconProps, Picture } from '../../model/Picture';
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
3
 
4
+ /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
4
5
  export type BusinessCardItemProps = IconProps & {
5
6
  /** @title Текст */
6
7
  text?: string;
@@ -12,7 +13,11 @@ export interface BusinessCardProps {
12
13
  image?: Picture;
13
14
  /** @title Список */
14
15
  cardItems?: BusinessCardItemProps[];
15
- /** @title Кнопка */
16
+ /**
17
+ * @title Кнопка
18
+ * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
19
+ * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
20
+ */
16
21
  button?: ButtonWithIconProps;
17
22
  }
18
23
 
@@ -8,7 +8,7 @@ export const BusinessCard = JSX<BusinessCardProps>((props) => {
8
8
  const { title, image, cardItems, button } = props;
9
9
 
10
10
  return (
11
- <div className="border-color-stroke border p-9 w-1/2">
11
+ <div className="border-gray border p-9 w-1/2">
12
12
  {image ? (
13
13
  <div className="flex justify-center">
14
14
  {image?.src ? <Img className="mb-5" image={image} /> : null}
@@ -84,7 +84,7 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
84
84
  key={String(i)}
85
85
  onClick={onClick}
86
86
  aria-label={tab?.title}
87
- className={`box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
87
+ className={`box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]
88
88
  ${btnClassName}`}
89
89
  >
90
90
  <Img
@@ -7,7 +7,7 @@ import type { CarouselCardContent } from './CarouselCardContent';
7
7
 
8
8
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {}
9
9
 
10
- const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
10
+ const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
11
11
 
12
12
  const CARD_WIDTH_MAP: Record<CarouselCardVersion, string> = {
13
13
  normal: 'min-w-[1007px]',
@@ -3,7 +3,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
 
5
5
  /**
6
- * @title Карточка какусели
6
+ * @title Карточка карусели
7
7
  */
8
8
  export interface CarouselCardContent extends HeadlineCommonProps {
9
9
  /**
@@ -22,7 +22,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
22
22
  export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
23
23
  ({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (
24
24
  <section
25
- className={`border box-border border-main-stroke p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
25
+ className={`border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`}
26
26
  role="listitem"
27
27
  >
28
28
  {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
@@ -20,7 +20,7 @@ const descriptionStyleMap: Record<BlockVersion, string> = {
20
20
  secondary: 'text-white/80',
21
21
  };
22
22
 
23
- const BORDER_STYLE = 'box-border border-solid border border-main-stroke ';
23
+ const BORDER_STYLE = 'box-border border-solid border border-gray ';
24
24
 
25
25
  export const CarouselProductCard = JSX<CarouselProductCardProps>(
26
26
  ({
@@ -13,7 +13,7 @@ export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, U
13
13
  export const CarouselProgramsCard = JSX<CarouselTariffsCardProps>(
14
14
  ({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (
15
15
  <BlockWrapper
16
- className={`font-sans border border-main-stroke flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
16
+ className={`font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`}
17
17
  {...rest}
18
18
  >
19
19
  <div className="w-[200px] min-w-[200px] self-end">
@@ -1,3 +1,7 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
+ import type { UniBlockProps } from '../../model/JSXBlock';
4
+ import { VNode } from '../../model/VNode';
1
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
2
6
  import { Button } from '../../ui-kit/Button/Button';
3
7
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
@@ -6,11 +10,7 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
6
10
  import { Heading } from '../../ui-kit/Heading/Heading';
7
11
  import { Icon } from '../../ui-kit/Icon/Icon';
8
12
  import { Img } from '../../ui-kit/Img/Img';
9
- import { JSX } from '@redneckz/uni-jsx';
10
- import { VNode } from '../../model/VNode';
11
13
  import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
12
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
13
- import type { UniBlockProps } from '../../model/JSXBlock';
14
14
 
15
15
  export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
16
16
 
@@ -24,7 +24,7 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
24
24
 
25
25
  return (
26
26
  <BlockWrapper
27
- className={`font-sans relative bg-white border border-main-stroke min-w-[322px] p-8
27
+ className={`font-sans relative bg-white border border-gray min-w-[322px] p-8
28
28
  ${getHitStyle(isHighlighting)}
29
29
  ${className}`}
30
30
  {...rest}
@@ -19,7 +19,7 @@ const cardStyleMap: Record<ProductColorVersion, string> = {
19
19
  export const CatalogCard = JSX<CatalogCardProps>(
20
20
  ({ className = '', title, description, image, price, button, colors }) => (
21
21
  <section
22
- className={`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
22
+ className={`border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
23
23
  role="listitem"
24
24
  >
25
25
  {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
@@ -59,7 +59,7 @@ const renderShowMoreToggleButton = ({
59
59
  <div className={FIRST_CELL_CLASSES} />
60
60
  <button
61
61
  onClick={onClick}
62
- className="mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
62
+ className="mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
63
63
  >
64
64
  <div className="font-sans text-xs-light font-medium py-3">
65
65
  {!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}