@gravity-ui/page-constructor 4.1.2 → 4.3.12-alpha.3

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 (318) hide show
  1. package/README.md +4 -0
  2. package/build/cjs/blocks/CardLayout/CardLayout.d.ts +2 -2
  3. package/build/cjs/blocks/CardLayout/CardLayout.js +1 -1
  4. package/build/cjs/blocks/ContentLayout/schema.d.ts +38 -0
  5. package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +7 -3
  6. package/build/cjs/blocks/Header/Header.css +0 -6
  7. package/build/cjs/blocks/Icons/Icons.js +7 -1
  8. package/build/cjs/blocks/Icons/schema.d.ts +162 -0
  9. package/build/cjs/blocks/Icons/schema.js +11 -0
  10. package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +1 -1
  11. package/build/cjs/blocks/Questions/QuestionBlockItem/QuestionBlockItem.css +50 -0
  12. package/build/cjs/blocks/Questions/QuestionBlockItem/QuestionBlockItem.d.ts +2 -0
  13. package/build/cjs/blocks/Questions/QuestionBlockItem/QuestionBlockItem.js +27 -0
  14. package/build/cjs/blocks/Questions/Questions.css +0 -48
  15. package/build/cjs/blocks/Questions/Questions.js +7 -27
  16. package/build/cjs/blocks/Questions/models.d.ts +10 -0
  17. package/build/cjs/blocks/Questions/models.js +13 -0
  18. package/build/cjs/blocks/Slider/Arrow/Arrow.js +2 -1
  19. package/build/cjs/blocks/Slider/Slider.css +4 -1
  20. package/build/cjs/blocks/Slider/Slider.js +32 -6
  21. package/build/cjs/blocks/Slider/i18n/en.json +4 -0
  22. package/build/cjs/blocks/Slider/i18n/index.d.ts +2 -0
  23. package/build/cjs/blocks/Slider/i18n/index.js +8 -0
  24. package/build/cjs/blocks/Slider/i18n/ru.json +4 -0
  25. package/build/cjs/components/BackLink/BackLink.d.ts +2 -1
  26. package/build/cjs/components/BackLink/BackLink.js +2 -2
  27. package/build/cjs/components/BackgroundImage/BackgroundImage.d.ts +1 -0
  28. package/build/cjs/components/BackgroundImage/BackgroundImage.js +5 -2
  29. package/build/cjs/components/BackgroundMedia/BackgroundMedia.d.ts +1 -1
  30. package/build/cjs/components/BackgroundMedia/BackgroundMedia.js +4 -3
  31. package/build/cjs/components/ButtonTabs/ButtonTabs.js +6 -1
  32. package/build/cjs/components/CardBase/CardBase.css +4 -4
  33. package/build/cjs/components/FileLink/FileLink.js +2 -2
  34. package/build/cjs/components/FullscreenImage/FullscreenImage.js +1 -1
  35. package/build/cjs/components/FullscreenImage/i18n/en.json +2 -1
  36. package/build/cjs/components/FullscreenImage/i18n/ru.json +2 -1
  37. package/build/cjs/components/HTML/HTML.d.ts +5 -1
  38. package/build/cjs/components/HTML/HTML.js +3 -1
  39. package/build/cjs/components/Image/Image.js +7 -5
  40. package/build/cjs/components/Image/i18n/en.json +1 -1
  41. package/build/cjs/components/Image/i18n/ru.json +1 -1
  42. package/build/cjs/components/Image/schema.d.ts +19 -0
  43. package/build/cjs/components/Image/schema.js +12 -1
  44. package/build/cjs/components/Link/Link.d.ts +3 -2
  45. package/build/cjs/components/Link/Link.js +8 -6
  46. package/build/cjs/components/Media/Image/Image.d.ts +3 -2
  47. package/build/cjs/components/Media/Image/Image.js +8 -5
  48. package/build/cjs/components/Media/Media.d.ts +2 -2
  49. package/build/cjs/components/Media/Media.js +9 -7
  50. package/build/cjs/components/Media/Video/Video.d.ts +2 -2
  51. package/build/cjs/components/Media/Video/Video.js +15 -6
  52. package/build/cjs/components/MetaInfo/MetaInfo.css +0 -2
  53. package/build/cjs/components/MetaInfo/MetaInfo.js +2 -1
  54. package/build/cjs/components/ReactPlayer/CustomBarControls.css +46 -14
  55. package/build/cjs/components/ReactPlayer/CustomBarControls.d.ts +4 -1
  56. package/build/cjs/components/ReactPlayer/CustomBarControls.js +33 -9
  57. package/build/cjs/components/ReactPlayer/ReactPlayer.css +12 -0
  58. package/build/cjs/components/ReactPlayer/ReactPlayer.js +52 -27
  59. package/build/cjs/components/ReactPlayer/i18n/en.json +6 -0
  60. package/build/cjs/components/ReactPlayer/i18n/index.d.ts +2 -0
  61. package/build/cjs/components/ReactPlayer/i18n/index.js +8 -0
  62. package/build/cjs/components/ReactPlayer/i18n/ru.json +6 -0
  63. package/build/cjs/components/Table/Table.js +11 -5
  64. package/build/cjs/components/VideoBlock/VideoBlock.js +7 -6
  65. package/build/cjs/components/YFMWrapper/YFMWrapper.d.ts +4 -3
  66. package/build/cjs/components/YFMWrapper/YFMWrapper.js +3 -3
  67. package/build/cjs/components/constants.d.ts +0 -4
  68. package/build/cjs/components/constants.js +1 -5
  69. package/build/cjs/constructor-items.d.ts +10 -3
  70. package/build/cjs/constructor-items.js +11 -1
  71. package/build/cjs/containers/Loadable/Loadable.js +2 -2
  72. package/build/cjs/containers/PageConstructor/PageConstructor.css +4 -0
  73. package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +2 -1
  74. package/build/cjs/containers/PageConstructor/PageConstructor.js +10 -6
  75. package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +38 -0
  76. package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +3 -2
  77. package/build/cjs/context/innerContext/InnerContext.d.ts +3 -1
  78. package/build/cjs/context/innerContext/InnerContext.js +2 -0
  79. package/build/cjs/editor/components/AddBlock/AddBlock.css +1 -1
  80. package/build/cjs/editor/components/EditBlock/EditBlock.css +1 -0
  81. package/build/cjs/editor/components/Layout/Layout.css +2 -1
  82. package/build/cjs/editor/containers/Form/Form.css +14 -35
  83. package/build/cjs/editor/store/index.js +1 -1
  84. package/build/cjs/editor/styles/root.css +2 -1
  85. package/build/cjs/editor/utils/index.d.ts +1 -0
  86. package/build/cjs/grid/Col/Col.d.ts +3 -4
  87. package/build/cjs/grid/Col/Col.js +2 -2
  88. package/build/cjs/icons/Mute.d.ts +2 -0
  89. package/build/cjs/icons/Mute.js +12 -0
  90. package/build/cjs/icons/MuteSmall.d.ts +2 -0
  91. package/build/cjs/icons/MuteSmall.js +15 -0
  92. package/build/cjs/icons/Unmute.d.ts +2 -0
  93. package/build/cjs/icons/Unmute.js +12 -0
  94. package/build/cjs/icons/UnmuteSmall.d.ts +2 -0
  95. package/build/cjs/icons/UnmuteSmall.js +17 -0
  96. package/build/cjs/icons/VideoControlPause.d.ts +2 -0
  97. package/build/cjs/icons/VideoControlPause.js +16 -0
  98. package/build/cjs/icons/VideoControlPlay.d.ts +2 -0
  99. package/build/cjs/icons/VideoControlPlay.js +12 -0
  100. package/build/cjs/models/constructor-items/blocks.d.ts +16 -5
  101. package/build/cjs/models/constructor-items/common.d.ts +22 -36
  102. package/build/cjs/models/constructor-items/common.js +6 -1
  103. package/build/cjs/models/constructor-items/sub-blocks.d.ts +4 -4
  104. package/build/cjs/models/constructor.d.ts +7 -1
  105. package/build/cjs/models/navigation.d.ts +1 -0
  106. package/build/cjs/models/navigation.js +2 -1
  107. package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.js +1 -0
  108. package/build/cjs/navigation/components/NavigationItem/NavigationItem.css +1 -1
  109. package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +4 -16
  110. package/build/cjs/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.js +1 -1
  111. package/build/cjs/navigation/components/NavigationItem/index.d.ts +6 -0
  112. package/build/cjs/navigation/components/NavigationItem/index.js +14 -0
  113. package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.js +1 -1
  114. package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.js +1 -1
  115. package/build/cjs/navigation/components/SocialIcon/SocialIcon.js +2 -1
  116. package/build/cjs/schema/constants.d.ts +181 -78
  117. package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +2 -3
  118. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +100 -0
  119. package/build/cjs/sub-blocks/BackgroundCard/schema.js +10 -0
  120. package/build/cjs/sub-blocks/Content/Content.d.ts +3 -1
  121. package/build/cjs/sub-blocks/Content/Content.js +7 -5
  122. package/build/cjs/sub-blocks/Content/ContentList/ContentList.d.ts +2 -1
  123. package/build/cjs/sub-blocks/Content/ContentList/ContentList.js +17 -5
  124. package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +2 -2
  125. package/build/cjs/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
  126. package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js +3 -3
  127. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +81 -0
  128. package/build/cjs/sub-blocks/LayoutItem/schema.js +10 -0
  129. package/build/cjs/sub-blocks/LayoutItem/utils.d.ts +1 -0
  130. package/build/cjs/sub-blocks/MediaCard/MediaCard.d.ts +1 -1
  131. package/build/cjs/sub-blocks/MediaCard/MediaCard.js +2 -2
  132. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +81 -78
  133. package/build/cjs/sub-blocks/MediaCard/schema.js +11 -1
  134. package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.d.ts +2 -2
  135. package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +2 -2
  136. package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +7 -4
  137. package/build/cjs/sub-blocks/PriceDetailed/schema.js +11 -1
  138. package/build/cjs/sub-blocks/Quote/Quote.css +0 -3
  139. package/build/cjs/text-transform/common.d.ts +7 -2
  140. package/build/cjs/text-transform/common.js +8 -2
  141. package/build/cjs/text-transform/config.js +1 -1
  142. package/build/cjs/text-transform/transformers.d.ts +2 -0
  143. package/build/cjs/text-transform/transformers.js +11 -8
  144. package/build/cjs/utils/blocks.d.ts +4 -7
  145. package/build/cjs/utils/blocks.js +27 -18
  146. package/build/cjs/utils/cn.d.ts +3 -3
  147. package/build/cjs/utils/cn.js +4 -7
  148. package/build/esm/blocks/CardLayout/CardLayout.d.ts +2 -2
  149. package/build/esm/blocks/CardLayout/CardLayout.js +1 -1
  150. package/build/esm/blocks/ContentLayout/schema.d.ts +38 -0
  151. package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +7 -3
  152. package/build/esm/blocks/Header/Header.css +0 -6
  153. package/build/esm/blocks/Icons/Icons.js +8 -2
  154. package/build/esm/blocks/Icons/schema.d.ts +162 -0
  155. package/build/esm/blocks/Icons/schema.js +11 -0
  156. package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +1 -1
  157. package/build/esm/blocks/Questions/QuestionBlockItem/QuestionBlockItem.css +50 -0
  158. package/build/esm/blocks/Questions/QuestionBlockItem/QuestionBlockItem.d.ts +3 -0
  159. package/build/esm/blocks/Questions/QuestionBlockItem/QuestionBlockItem.js +23 -0
  160. package/build/esm/blocks/Questions/Questions.css +0 -48
  161. package/build/esm/blocks/Questions/Questions.js +6 -26
  162. package/build/esm/blocks/Questions/models.d.ts +10 -0
  163. package/build/esm/blocks/Questions/models.js +10 -0
  164. package/build/esm/blocks/Slider/Arrow/Arrow.js +2 -1
  165. package/build/esm/blocks/Slider/Slider.css +4 -1
  166. package/build/esm/blocks/Slider/Slider.js +33 -7
  167. package/build/esm/blocks/Slider/i18n/en.json +4 -0
  168. package/build/esm/blocks/Slider/i18n/index.d.ts +2 -0
  169. package/build/esm/blocks/Slider/i18n/index.js +5 -0
  170. package/build/esm/blocks/Slider/i18n/ru.json +4 -0
  171. package/build/esm/components/BackLink/BackLink.d.ts +2 -1
  172. package/build/esm/components/BackLink/BackLink.js +2 -2
  173. package/build/esm/components/BackgroundImage/BackgroundImage.d.ts +1 -0
  174. package/build/esm/components/BackgroundImage/BackgroundImage.js +5 -3
  175. package/build/esm/components/BackgroundMedia/BackgroundMedia.d.ts +1 -1
  176. package/build/esm/components/BackgroundMedia/BackgroundMedia.js +5 -4
  177. package/build/esm/components/ButtonTabs/ButtonTabs.js +6 -1
  178. package/build/esm/components/CardBase/CardBase.css +4 -4
  179. package/build/esm/components/FileLink/FileLink.js +2 -2
  180. package/build/esm/components/FullscreenImage/FullscreenImage.js +1 -1
  181. package/build/esm/components/FullscreenImage/i18n/en.json +2 -1
  182. package/build/esm/components/FullscreenImage/i18n/ru.json +2 -1
  183. package/build/esm/components/HTML/HTML.d.ts +5 -1
  184. package/build/esm/components/HTML/HTML.js +3 -1
  185. package/build/esm/components/Image/Image.js +7 -5
  186. package/build/esm/components/Image/i18n/en.json +1 -1
  187. package/build/esm/components/Image/i18n/ru.json +1 -1
  188. package/build/esm/components/Image/schema.d.ts +19 -0
  189. package/build/esm/components/Image/schema.js +12 -1
  190. package/build/esm/components/Link/Link.d.ts +3 -2
  191. package/build/esm/components/Link/Link.js +9 -7
  192. package/build/esm/components/Media/Image/Image.d.ts +3 -2
  193. package/build/esm/components/Media/Image/Image.js +8 -6
  194. package/build/esm/components/Media/Media.d.ts +2 -2
  195. package/build/esm/components/Media/Media.js +10 -8
  196. package/build/esm/components/Media/Video/Video.d.ts +2 -2
  197. package/build/esm/components/Media/Video/Video.js +16 -7
  198. package/build/esm/components/MetaInfo/MetaInfo.css +0 -2
  199. package/build/esm/components/MetaInfo/MetaInfo.js +2 -1
  200. package/build/esm/components/ReactPlayer/CustomBarControls.css +46 -14
  201. package/build/esm/components/ReactPlayer/CustomBarControls.d.ts +4 -1
  202. package/build/esm/components/ReactPlayer/CustomBarControls.js +34 -10
  203. package/build/esm/components/ReactPlayer/ReactPlayer.css +12 -0
  204. package/build/esm/components/ReactPlayer/ReactPlayer.js +55 -30
  205. package/build/esm/components/ReactPlayer/i18n/en.json +6 -0
  206. package/build/esm/components/ReactPlayer/i18n/index.d.ts +2 -0
  207. package/build/esm/components/ReactPlayer/i18n/index.js +5 -0
  208. package/build/esm/components/ReactPlayer/i18n/ru.json +6 -0
  209. package/build/esm/components/Table/Table.js +11 -5
  210. package/build/esm/components/VideoBlock/VideoBlock.js +7 -6
  211. package/build/esm/components/YFMWrapper/YFMWrapper.d.ts +4 -3
  212. package/build/esm/components/YFMWrapper/YFMWrapper.js +3 -3
  213. package/build/esm/components/constants.d.ts +0 -4
  214. package/build/esm/components/constants.js +0 -4
  215. package/build/esm/constructor-items.d.ts +10 -3
  216. package/build/esm/constructor-items.js +10 -1
  217. package/build/esm/containers/Loadable/Loadable.js +1 -1
  218. package/build/esm/containers/PageConstructor/PageConstructor.css +4 -0
  219. package/build/esm/containers/PageConstructor/PageConstructor.d.ts +2 -1
  220. package/build/esm/containers/PageConstructor/PageConstructor.js +12 -8
  221. package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +38 -0
  222. package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +1 -0
  223. package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +4 -2
  224. package/build/esm/context/innerContext/InnerContext.d.ts +3 -1
  225. package/build/esm/context/innerContext/InnerContext.js +2 -0
  226. package/build/esm/editor/components/AddBlock/AddBlock.css +1 -1
  227. package/build/esm/editor/components/EditBlock/EditBlock.css +1 -0
  228. package/build/esm/editor/components/Layout/Layout.css +2 -1
  229. package/build/esm/editor/containers/Form/Form.css +14 -35
  230. package/build/esm/editor/store/index.js +2 -2
  231. package/build/esm/editor/styles/root.css +2 -1
  232. package/build/esm/editor/utils/index.d.ts +1 -0
  233. package/build/esm/grid/Col/Col.d.ts +3 -4
  234. package/build/esm/grid/Col/Col.js +2 -2
  235. package/build/esm/icons/Mute.d.ts +2 -0
  236. package/build/esm/icons/Mute.js +7 -0
  237. package/build/esm/icons/MuteSmall.d.ts +2 -0
  238. package/build/esm/icons/MuteSmall.js +10 -0
  239. package/build/esm/icons/Unmute.d.ts +2 -0
  240. package/build/esm/icons/Unmute.js +7 -0
  241. package/build/esm/icons/UnmuteSmall.d.ts +2 -0
  242. package/build/esm/icons/UnmuteSmall.js +12 -0
  243. package/build/esm/icons/VideoControlPause.d.ts +2 -0
  244. package/build/esm/icons/VideoControlPause.js +11 -0
  245. package/build/esm/icons/VideoControlPlay.d.ts +2 -0
  246. package/build/esm/icons/VideoControlPlay.js +7 -0
  247. package/build/esm/models/constructor-items/blocks.d.ts +16 -5
  248. package/build/esm/models/constructor-items/common.d.ts +22 -36
  249. package/build/esm/models/constructor-items/common.js +5 -0
  250. package/build/esm/models/constructor-items/sub-blocks.d.ts +4 -4
  251. package/build/esm/models/constructor.d.ts +7 -1
  252. package/build/esm/models/navigation.d.ts +1 -0
  253. package/build/esm/models/navigation.js +1 -0
  254. package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.js +1 -0
  255. package/build/esm/navigation/components/NavigationItem/NavigationItem.css +1 -1
  256. package/build/esm/navigation/components/NavigationItem/NavigationItem.js +5 -17
  257. package/build/esm/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.js +1 -1
  258. package/build/esm/navigation/components/NavigationItem/index.d.ts +6 -0
  259. package/build/esm/navigation/components/NavigationItem/index.js +6 -0
  260. package/build/esm/navigation/components/NavigationListItem/NavigationListItem.js +1 -1
  261. package/build/esm/navigation/components/NavigationPopup/NavigationPopup.js +1 -1
  262. package/build/esm/navigation/components/SocialIcon/SocialIcon.js +2 -1
  263. package/build/esm/schema/constants.d.ts +181 -78
  264. package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +2 -3
  265. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +100 -0
  266. package/build/esm/sub-blocks/BackgroundCard/schema.js +10 -0
  267. package/build/esm/sub-blocks/Content/Content.d.ts +3 -1
  268. package/build/esm/sub-blocks/Content/Content.js +7 -5
  269. package/build/esm/sub-blocks/Content/ContentList/ContentList.d.ts +2 -1
  270. package/build/esm/sub-blocks/Content/ContentList/ContentList.js +17 -5
  271. package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +2 -2
  272. package/build/esm/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
  273. package/build/esm/sub-blocks/LayoutItem/LayoutItem.js +3 -3
  274. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +81 -0
  275. package/build/esm/sub-blocks/LayoutItem/schema.js +10 -0
  276. package/build/esm/sub-blocks/LayoutItem/utils.d.ts +1 -0
  277. package/build/esm/sub-blocks/MediaCard/MediaCard.d.ts +1 -1
  278. package/build/esm/sub-blocks/MediaCard/MediaCard.js +2 -2
  279. package/build/esm/sub-blocks/MediaCard/schema.d.ts +81 -78
  280. package/build/esm/sub-blocks/MediaCard/schema.js +11 -1
  281. package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.d.ts +2 -2
  282. package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +2 -2
  283. package/build/esm/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +8 -4
  284. package/build/esm/sub-blocks/PriceDetailed/schema.js +11 -1
  285. package/build/esm/sub-blocks/Quote/Quote.css +0 -3
  286. package/build/esm/text-transform/common.d.ts +7 -2
  287. package/build/esm/text-transform/common.js +7 -2
  288. package/build/esm/text-transform/config.js +1 -1
  289. package/build/esm/text-transform/transformers.d.ts +2 -0
  290. package/build/esm/text-transform/transformers.js +11 -8
  291. package/build/esm/utils/blocks.d.ts +4 -7
  292. package/build/esm/utils/blocks.js +23 -13
  293. package/build/esm/utils/cn.d.ts +3 -3
  294. package/build/esm/utils/cn.js +3 -4
  295. package/package.json +7 -7
  296. package/server/components/constants.d.ts +0 -4
  297. package/server/components/constants.js +1 -5
  298. package/server/models/constructor-items/blocks.d.ts +16 -5
  299. package/server/models/constructor-items/common.d.ts +22 -36
  300. package/server/models/constructor-items/common.js +6 -1
  301. package/server/models/constructor-items/sub-blocks.d.ts +4 -4
  302. package/server/models/constructor.d.ts +7 -1
  303. package/server/models/navigation.d.ts +1 -0
  304. package/server/models/navigation.js +2 -1
  305. package/server/text-transform/common.d.ts +7 -2
  306. package/server/text-transform/common.js +10 -2
  307. package/server/text-transform/config.js +1 -1
  308. package/server/text-transform/transformers.d.ts +2 -0
  309. package/server/text-transform/transformers.js +11 -8
  310. package/server/utils/blocks.d.ts +4 -7
  311. package/server/utils/blocks.js +27 -18
  312. package/server/utils/cn.d.ts +3 -3
  313. package/server/utils/cn.js +4 -9
  314. package/styles/mixins.scss +4 -1
  315. package/styles/storybook/common.scss +2 -0
  316. package/styles/styles.css +4 -0
  317. package/styles/yfm.scss +7 -0
  318. package/widget/index.js +1 -1
@@ -84,6 +84,10 @@ unpredictable css rules order in build */
84
84
  .yfm_constructor.yfm_constructor_notice p {
85
85
  color: var(--g-color-text-secondary);
86
86
  }
87
+ .yfm_constructor.yfm_constructor_meta_info p {
88
+ color: var(--pc-media-card-meta-info-color);
89
+ font-weight: var(--g-text-accent-font-weight);
90
+ }
87
91
  .yfm_constructor.yfm_constructor ul,
88
92
  .yfm_constructor.yfm_constructor ol,
89
93
  .yfm_constructor.yfm_constructor li,
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import '@doc-tools/transform/dist/js/yfm';
3
- import { blockMap, subBlockMap } from '../../constructor-items';
3
+ import { blockMap, navItemMap, subBlockMap } from '../../constructor-items';
4
4
  import { CustomConfig, CustomItems, NavigationData, PageContent, ShouldRenderBlock } from '../../models';
5
5
  export type ItemMap = typeof blockMap & typeof subBlockMap & CustomItems;
6
+ export type NavItemMap = typeof navItemMap & CustomItems;
6
7
  export interface PageConstructorProps {
7
8
  content?: PageContent;
8
9
  shouldRenderBlock?: ShouldRenderBlock;
@@ -4,7 +4,6 @@ exports.PageConstructor = exports.Constructor = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
6
  require("@doc-tools/transform/dist/js/yfm");
7
- const bem_cn_lite_1 = tslib_1.__importDefault(require("bem-cn-lite"));
8
7
  const BackgroundMedia_1 = tslib_1.__importDefault(require("../../components/BackgroundMedia/BackgroundMedia"));
9
8
  const constants_1 = require("../../components/constants");
10
9
  const constructor_items_1 = require("../../constructor-items");
@@ -19,15 +18,20 @@ const ConstructorBlocks_1 = require("./components/ConstructorBlocks");
19
18
  const ConstructorItem_1 = require("./components/ConstructorItem");
20
19
  const ConstructorRow_1 = require("./components/ConstructorRow");
21
20
  const b = (0, utils_1.block)('page-constructor');
22
- const ycr = (0, bem_cn_lite_1.default)(constants_1.UIKIT_ROOT_CLASS);
21
+ const ycr = (0, utils_1.cn)(constants_1.UIKIT_ROOT_CLASS);
23
22
  const Constructor = (props) => {
24
23
  const { content: { blocks = [], background = {} } = {}, renderMenu, shouldRenderBlock, navigation, custom, } = props;
25
24
  const { context } = (0, react_1.useMemo)(() => ({
26
25
  context: {
27
- blockTypes: [...models_1.BlockTypes, ...(0, utils_1.getCustomBlockTypes)(custom)],
28
- subBlockTypes: [...models_1.SubBlockTypes, ...(0, utils_1.getCustomSubBlockTypes)(custom)],
29
- headerBlockTypes: [...models_1.HeaderBlockTypes, ...(0, utils_1.getCustomHeaderTypes)(custom)],
30
- itemMap: Object.assign(Object.assign(Object.assign({}, constructor_items_1.blockMap), constructor_items_1.subBlockMap), (0, utils_1.getCustomItems)(custom)),
26
+ blockTypes: [...models_1.BlockTypes, ...(0, utils_1.getCustomTypes)(['blocks', 'headers'], custom)],
27
+ subBlockTypes: [...models_1.SubBlockTypes, ...(0, utils_1.getCustomTypes)(['subBlocks'], custom)],
28
+ headerBlockTypes: [...models_1.HeaderBlockTypes, ...(0, utils_1.getCustomTypes)(['headers'], custom)],
29
+ navigationBlockTypes: [
30
+ ...models_1.NavigationItemTypes,
31
+ ...(0, utils_1.getCustomTypes)(['navigation'], custom),
32
+ ],
33
+ itemMap: Object.assign(Object.assign(Object.assign({}, constructor_items_1.blockMap), constructor_items_1.subBlockMap), (0, utils_1.getCustomItems)(['blocks', 'headers', 'subBlocks'], custom)),
34
+ navItemMap: Object.assign(Object.assign({}, constructor_items_1.navItemMap), (0, utils_1.getCustomItems)(['navigation'], custom)),
31
35
  loadables: custom === null || custom === void 0 ? void 0 : custom.loadable,
32
36
  shouldRenderBlock,
33
37
  customization: {
@@ -0,0 +1,38 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-constructor-block.pc-constructor-block_indentTop_0 {
4
+ margin-top: 0;
5
+ }
6
+ .pc-constructor-block.pc-constructor-block_indentTop_xs {
7
+ margin-top: 16px;
8
+ }
9
+ .pc-constructor-block.pc-constructor-block_indentTop_s {
10
+ margin-top: 24px;
11
+ }
12
+ .pc-constructor-block.pc-constructor-block_indentTop_m {
13
+ margin-top: 32px;
14
+ }
15
+ .pc-constructor-block.pc-constructor-block_indentTop_l {
16
+ margin-top: 48px;
17
+ }
18
+ .pc-constructor-block.pc-constructor-block_indentTop_xl {
19
+ margin-top: 64px;
20
+ }
21
+ .pc-constructor-block.pc-constructor-block_indentBottom_0 {
22
+ padding-bottom: 0;
23
+ }
24
+ .pc-constructor-block.pc-constructor-block_indentBottom_xs {
25
+ padding-bottom: 16px;
26
+ }
27
+ .pc-constructor-block.pc-constructor-block_indentBottom_s {
28
+ padding-bottom: 24px;
29
+ }
30
+ .pc-constructor-block.pc-constructor-block_indentBottom_m {
31
+ padding-bottom: 32px;
32
+ }
33
+ .pc-constructor-block.pc-constructor-block_indentBottom_l {
34
+ padding-bottom: 48px;
35
+ }
36
+ .pc-constructor-block.pc-constructor-block_indentBottom_xl {
37
+ padding-bottom: 64px;
38
+ }
@@ -9,9 +9,10 @@ const BlockDecoration_1 = require("../../../../customization/BlockDecoration");
9
9
  const utils_1 = require("../../../../utils");
10
10
  const b = (0, utils_1.block)('constructor-block');
11
11
  const ConstructorBlock = ({ index = 0, data, children, }) => {
12
- const { type } = data;
12
+ const { type, indent } = data;
13
13
  const blockBaseProps = (0, react_1.useMemo)(() => lodash_1.default.pick(data, ['anchor', 'visible', 'resetPaddings']), [data]);
14
+ const { top, bottom } = indent || { top: 'l', bottom: 'l' };
14
15
  return (react_1.default.createElement(BlockDecoration_1.BlockDecoration, Object.assign({ type: type, index: index }, blockBaseProps),
15
- react_1.default.createElement(BlockBase_1.default, Object.assign({ className: b({ type }) }, blockBaseProps), children)));
16
+ react_1.default.createElement(BlockBase_1.default, Object.assign({ className: b({ type, indentTop: top, indentBottom: bottom }) }, blockBaseProps), children)));
16
17
  };
17
18
  exports.ConstructorBlock = ConstructorBlock;
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
- import { ItemMap } from '../../containers/PageConstructor/PageConstructor';
2
+ import { ItemMap, NavItemMap } from '../../containers/PageConstructor/PageConstructor';
3
3
  import { CustomConfig, LoadableConfig, ShouldRenderBlock } from '../../models';
4
4
  export interface InnerContextType {
5
5
  blockTypes: string[];
6
6
  subBlockTypes: string[];
7
7
  headerBlockTypes: string[];
8
+ navigationBlockTypes: string[];
8
9
  itemMap: ItemMap;
10
+ navItemMap: NavItemMap;
9
11
  loadables?: LoadableConfig;
10
12
  shouldRenderBlock?: ShouldRenderBlock;
11
13
  customization?: Pick<CustomConfig, 'decorators'>;
@@ -7,5 +7,7 @@ exports.InnerContext = react_1.default.createContext({
7
7
  blockTypes: [],
8
8
  subBlockTypes: [],
9
9
  headerBlockTypes: [],
10
+ navigationBlockTypes: [],
10
11
  itemMap: {},
12
+ navItemMap: {},
11
13
  });
@@ -23,7 +23,7 @@ unpredictable css rules order in build */
23
23
  transition: transform 0.2s;
24
24
  width: 76px;
25
25
  height: 40px;
26
- color: var(--g-color-text-primary);
26
+ color: var(--pc-editor-control-icon-color);
27
27
  background-color: var(--pc-editor-base-color);
28
28
  border-radius: 8px;
29
29
  }
@@ -45,6 +45,7 @@ unpredictable css rules order in build */
45
45
  width: 48px;
46
46
  height: 32px;
47
47
  border-radius: 8px;
48
+ color: var(--pc-editor-control-icon-color);
48
49
  background-color: var(--pc-editor-control-color);
49
50
  }
50
51
  .pc-edit-block__control:hover {
@@ -4,7 +4,8 @@ body {
4
4
  --pc-editor-header-height: 48px;
5
5
  --pc-editor-divider-width: 12px;
6
6
  --pc-editor-base-color: var(--g-color-base-brand);
7
- --pc-editor-control-color: var(--g-color-private-yellow-400-solid);
7
+ --pc-editor-control-color: var(--g-color-base-brand);
8
+ --pc-editor-control-icon-color: var(--g-color-text-dark-primary);
8
9
  --pc-editor-left-column-width: calc(400px + var(--pc-editor-divider-width));
9
10
  }
10
11
 
@@ -1,46 +1,26 @@
1
1
  /* use this for style redefinitions to awoid problems with
2
2
  unpredictable css rules order in build */
3
3
  .pc-editor-form {
4
- --top-level-font-size: var(--g-text-display-2-font-size);
5
- --top-level-line-height: var(--g-text-display-2-line-height);
6
- --block-level-complex-propery-font-size: var(--g-text-body-3-font-size);
7
- --block-level-complex-property-line-height: var(--g-text-body-3-line-height);
8
- --complex-property-font-size: var(--g-text-body-2-font-size);
9
- --complex-property-line-height: var(--g-text-body-2-line-height);
10
- --property-font-size: var(--g-text-body-1-font-size);
11
- --property-line-height: var(--g-text-body-1-line-height);
4
+ --block-name-font-size: var(--g-text-display-1-font-size);
5
+ --block-name-line-height: var(--g-text-display-1-line-height);
6
+ --property-name-font-size: var(--g-text-body-1-font-size);
7
+ --property-name-line-height: var(--g-text-body-1-line-height);
12
8
  --input-min-width: 150px;
13
9
  --property-title-width: 96px;
14
10
  --button-height: 48px;
15
- --icon-size: 32px;
16
- --icon-margin: 42px;
11
+ --icon-size: 28px;
12
+ --icon-margin: 8px;
17
13
  --property-font-weight: 500;
18
- --header-text-size: var(--top-level-font-size);
19
- --header-line-height: var(--top-level-line-height);
20
- --text-size: var(--top-level-font-size);
21
- --line-height: var(--top-level-line-height);
14
+ --header-text-size: var(--block-name-font-size);
15
+ --header-line-height: var(--block-name-line-height);
22
16
  }
23
17
  .pc-editor-form .df-use-search .df-use-search {
24
- --button-height: 32px;
25
- --icon-size: 20px;
26
- --icon-margin: 30px;
27
- --header-text-size: var(--block-level-complex-propery-font-size);
28
- --header-line-height: var(--block-level-complex-property-line-height);
29
- --text-size: var(--property-font-size);
30
- --line-height: var(--property-line-height);
31
- --property-font-weight: 400;
32
- }
33
- .pc-editor-form .df-use-search .df-use-search .df-use-search {
34
18
  --button-height: 28px;
35
19
  --icon-size: 16px;
36
- --icon-margin: 25px;
20
+ --icon-margin: 0px;
21
+ --header-text-size: var(--property-name-font-size);
22
+ --header-line-height: var(--property-name-line-height);
37
23
  --property-font-weight: 400;
38
- --header-text-size: var(--complex-property-font-size);
39
- --header-line-height: var(--complex-property-line-height);
40
- --text-size: var(--property-font-size);
41
- --line-height: var(--property-line-height);
42
- --oneof-text-size: var(--complex-propery-font-size);
43
- --oneof-line-height: var(--complex-property-line-height);
44
24
  }
45
25
  .pc-editor-form .df-row {
46
26
  width: inherit;
@@ -49,8 +29,6 @@ unpredictable css rules order in build */
49
29
  width: var(--property-title-width);
50
30
  }
51
31
  .pc-editor-form .df-row__title {
52
- font-size: var(--text-size);
53
- line-height: var(--line-height);
54
32
  font-weight: var(--property-font-weight);
55
33
  white-space: nowrap;
56
34
  }
@@ -58,12 +36,13 @@ unpredictable css rules order in build */
58
36
  min-width: var(--input-min-width);
59
37
  min-height: var(--input-min-width);
60
38
  }
61
- .pc-editor-form .df-simple-vertical-accordeon__header .yc-button {
39
+ .pc-editor-form .df-simple-vertical-accordeon__header .yc-button,
40
+ .pc-editor-form .df-simple-vertical-accordeon__title {
62
41
  font-size: var(--header-text-size);
63
42
  line-height: var(--header-line-height);
64
43
  }
65
44
  .pc-editor-form .df-simple-vertical-accordeon__header .yc-button {
66
- --g-button-height: var(--button-height);
45
+ --yc-button-height: var(--button-height);
67
46
  display: flex;
68
47
  justify-content: center;
69
48
  align-items: center;
@@ -19,7 +19,7 @@ function useEditorState({ content: intialContent, custom }) {
19
19
  theme: constants_1.DEFAULT_THEME,
20
20
  });
21
21
  return (0, react_1.useMemo)(() => {
22
- const headerBlockTypes = [...models_1.HeaderBlockTypes, ...(0, utils_1.getCustomHeaderTypes)(custom)];
22
+ const headerBlockTypes = [...models_1.HeaderBlockTypes, ...(0, utils_1.getCustomTypes)(['headers'], custom)];
23
23
  const contentHasHeader = Boolean((0, utils_1.getHeaderBlock)(content.blocks, headerBlockTypes));
24
24
  const checkIsHeader = (type) => headerBlockTypes.includes(type);
25
25
  const onAdd = (block) => {
@@ -2,6 +2,7 @@ body {
2
2
  --pc-editor-header-height: 48px;
3
3
  --pc-editor-divider-width: 12px;
4
4
  --pc-editor-base-color: var(--g-color-base-brand);
5
- --pc-editor-control-color: var(--g-color-private-yellow-400-solid);
5
+ --pc-editor-control-color: var(--g-color-base-brand);
6
+ --pc-editor-control-icon-color: var(--g-color-text-dark-primary);
6
7
  --pc-editor-left-column-width: calc(400px + var(--pc-editor-divider-width));
7
8
  }
@@ -8,6 +8,7 @@ export declare const addCustomDecorator: (decorators: BlockDecorator[], custom?:
8
8
  blocks?: import("../../models").CustomItems | undefined;
9
9
  subBlocks?: import("../../models").CustomItems | undefined;
10
10
  headers?: import("../../models").CustomItems | undefined;
11
+ navigation?: import("../../models").CustomItems | undefined;
11
12
  loadable?: import("../../models").LoadableConfig | undefined;
12
13
  };
13
14
  export declare const getBlockId: ({ index, type }: BlockDecorationProps) => string;
@@ -1,9 +1,8 @@
1
1
  import React, { CSSProperties } from 'react';
2
- import { QAProps, Refable } from '../../models/common';
3
- import { WithChildren } from '../../models/react';
2
+ import { QAProps, Refable, Roleable, WithChildren } from '../../models';
4
3
  import { GridColumnClassParams } from '../types';
5
- export interface GridColumnProps extends GridColumnClassParams, Refable<HTMLDivElement>, QAProps {
4
+ export interface GridColumnProps extends GridColumnClassParams, Refable<HTMLDivElement>, QAProps, Roleable {
6
5
  style?: CSSProperties;
7
6
  children?: React.ReactNode;
8
7
  }
9
- export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "sizes" | "className" | "hidden" | "qa" | "reset" | "visible" | "offsets" | "orders" | "alignSelf" | "justifyContent"> & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "sizes" | "className" | "hidden" | "role" | "qa" | "reset" | "visible" | "offsets" | "orders" | "alignSelf" | "justifyContent"> & React.RefAttributes<HTMLDivElement>>;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
6
  const utils_1 = require("../utils");
7
7
  exports.Col = (0, react_1.forwardRef)((props, ref) => {
8
- const { children, style, qa } = props, rest = tslib_1.__rest(props, ["children", "style", "qa"]);
9
- return (react_1.default.createElement("div", { ref: ref, className: (0, utils_1.getColClass)(rest), style: style, "data-qa": qa }, children));
8
+ const { children, style, qa, role } = props, rest = tslib_1.__rest(props, ["children", "style", "qa", "role"]);
9
+ return (react_1.default.createElement("div", { ref: ref, className: (0, utils_1.getColClass)(rest), style: style, "data-qa": qa, role: role }, children));
10
10
  });
11
11
  exports.Col.displayName = 'Col';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Mute: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Mute = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const Mute = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "27", height: "22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("path", { d: "M20 7a5.657 5.657 0 0 1 0 8m3-11c3.866 3.866 3.866 10.134 0 14", stroke: "#262626", strokeWidth: "2" }),
10
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m7 7 7-7h2v22h-2l-7-7H0V7h7z", fill: "#262626" })));
11
+ };
12
+ exports.Mute = Mute;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const MuteSmall: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuteSmall = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const MuteSmall = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("mask", { id: "path-1-outside-1_1560_517", maskUnits: "userSpaceOnUse", x: "0", y: "1", width: "24", height: "22", fill: "black" },
10
+ react_1.default.createElement("rect", { fill: "white", y: "1", width: "24", height: "22" }),
11
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 16.4118H5.56108L9.56118 21.1131C10.0399 21.6758 10.7415 22 11.4803 22C12.8719 22 14 20.8719 14 19.4803V4.51973C14 3.12812 12.8719 2 11.4803 2C10.7415 2 10.0399 2.32422 9.56118 2.88689L5.56105 7.58825H3C1.89543 7.58825 1 8.48368 1 9.58825V14.4118C1 15.5163 1.89543 16.4118 3 16.4118ZM20.3402 19.7498C20.08 20.0902 19.5841 20.1135 19.273 19.8189C18.9821 19.5434 18.9605 19.0897 19.2014 18.7696C20.6424 16.8552 21.4999 14.4613 21.4999 11.858C21.4999 9.3634 20.7125 7.06102 19.3788 5.18861C19.1507 4.86837 19.1779 4.4254 19.4634 4.15506C19.7803 3.85491 20.2871 3.88515 20.543 4.23879C22.0877 6.37329 22.9999 9.00763 22.9999 11.858C22.9999 14.831 22.0075 17.5689 20.3402 19.7498ZM17.5408 17.0438C17.3001 17.4197 16.7796 17.4578 16.4555 17.1508C16.1765 16.8866 16.1437 16.4572 16.3458 16.1304C17.0726 14.955 17.5 13.5406 17.5 12C17.5 10.4978 17.0936 9.11559 16.3996 7.95794C16.204 7.63174 16.2396 7.2079 16.5157 6.94639C16.843 6.6365 17.3693 6.67839 17.6071 7.06124C18.4877 8.47908 19 10.1762 19 12C19 13.8691 18.4619 15.6051 17.5408 17.0438Z" })),
12
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 16.4118H5.56108L9.56118 21.1131C10.0399 21.6758 10.7415 22 11.4803 22C12.8719 22 14 20.8719 14 19.4803V4.51973C14 3.12812 12.8719 2 11.4803 2C10.7415 2 10.0399 2.32422 9.56118 2.88689L5.56105 7.58825H3C1.89543 7.58825 1 8.48368 1 9.58825V14.4118C1 15.5163 1.89543 16.4118 3 16.4118ZM20.3402 19.7498C20.08 20.0902 19.5841 20.1135 19.273 19.8189C18.9821 19.5434 18.9605 19.0897 19.2014 18.7696C20.6424 16.8552 21.4999 14.4613 21.4999 11.858C21.4999 9.3634 20.7125 7.06102 19.3788 5.18861C19.1507 4.86837 19.1779 4.4254 19.4634 4.15506C19.7803 3.85491 20.2871 3.88515 20.543 4.23879C22.0877 6.37329 22.9999 9.00763 22.9999 11.858C22.9999 14.831 22.0075 17.5689 20.3402 19.7498ZM17.5408 17.0438C17.3001 17.4197 16.7796 17.4578 16.4555 17.1508C16.1765 16.8866 16.1437 16.4572 16.3458 16.1304C17.0726 14.955 17.5 13.5406 17.5 12C17.5 10.4978 17.0936 9.11559 16.3996 7.95794C16.204 7.63174 16.2396 7.2079 16.5157 6.94639C16.843 6.6365 17.3693 6.67839 17.6071 7.06124C18.4877 8.47908 19 10.1762 19 12C19 13.8691 18.4619 15.6051 17.5408 17.0438Z", fill: "white" }),
13
+ react_1.default.createElement("path", { d: "M5.56108 16.4118L6.3227 15.7638L6.02322 15.4118H5.56108V16.4118ZM9.56118 21.1131L8.79955 21.7611L9.56118 21.1131ZM9.56118 2.88689L10.3228 3.53491V3.53491L9.56118 2.88689ZM5.56105 7.58825V8.58825H6.0232L6.32268 8.23627L5.56105 7.58825ZM19.273 19.8189L18.5854 20.545L18.5854 20.545L19.273 19.8189ZM20.3402 19.7498L19.5458 19.1425L19.5458 19.1425L20.3402 19.7498ZM19.2014 18.7696L20.0004 19.371V19.371L19.2014 18.7696ZM19.3788 5.18861L20.1933 4.60845V4.60845L19.3788 5.18861ZM19.4634 4.15506L20.151 4.88116L20.151 4.88116L19.4634 4.15506ZM20.543 4.23879L19.7329 4.82505L19.7329 4.82505L20.543 4.23879ZM16.4555 17.1508L15.7679 17.8769L15.7679 17.8769L16.4555 17.1508ZM17.5408 17.0438L16.6986 16.5046L16.6986 16.5046L17.5408 17.0438ZM16.3458 16.1304L15.4952 15.6045L16.3458 16.1304ZM16.3996 7.95794L17.2573 7.44374L16.3996 7.95794ZM16.5157 6.94639L17.2033 7.67248V7.67248L16.5157 6.94639ZM17.6071 7.06124L18.4566 6.53363L17.6071 7.06124ZM5.56108 15.4118H3V17.4118H5.56108V15.4118ZM10.3228 20.4651L6.3227 15.7638L4.79945 17.0598L8.79955 21.7611L10.3228 20.4651ZM11.4803 21C11.0347 21 10.6115 20.8044 10.3228 20.4651L8.79955 21.7611C9.4683 22.5471 10.4483 23 11.4803 23V21ZM13 19.4803C13 20.3196 12.3196 21 11.4803 21V23C13.4242 23 15 21.4242 15 19.4803H13ZM13 4.51973V19.4803H15V4.51973H13ZM11.4803 3C12.3196 3 13 3.68041 13 4.51973H15C15 2.57584 13.4242 1 11.4803 1V3ZM10.3228 3.53491C10.6115 3.19555 11.0347 3 11.4803 3V1C10.4483 1 9.4683 1.45289 8.79955 2.23887L10.3228 3.53491ZM6.32268 8.23627L10.3228 3.53491L8.79955 2.23887L4.79943 6.94023L6.32268 8.23627ZM3 8.58825H5.56105V6.58825H3V8.58825ZM2 9.58825C2 9.03596 2.44772 8.58825 3 8.58825V6.58825C1.34315 6.58825 0 7.93139 0 9.58825H2ZM2 14.4118V9.58825H0V14.4118H2ZM3 15.4118C2.44771 15.4118 2 14.9641 2 14.4118H0C0 16.0686 1.34314 17.4118 3 17.4118V15.4118ZM18.5854 20.545C19.2972 21.2191 20.4886 21.2022 21.1347 20.3571L19.5458 19.1425C19.6713 18.9782 19.871 19.008 19.9606 19.0928L18.5854 20.545ZM18.4024 18.1683C17.8793 18.8633 17.8972 19.8933 18.5854 20.545L19.9606 19.0928C20.0103 19.1399 20.0328 19.2003 20.0358 19.2491C20.0387 19.2953 20.0254 19.3378 20.0004 19.371L18.4024 18.1683ZM20.4999 11.858C20.4999 14.2382 19.7167 16.4222 18.4024 18.1683L20.0004 19.371C21.5681 17.2882 22.4999 14.6844 22.4999 11.858H20.4999ZM18.5643 5.76877C19.7806 7.47643 20.4999 9.577 20.4999 11.858H22.4999C22.4999 9.14981 21.6443 6.64562 20.1933 4.60845L18.5643 5.76877ZM18.7758 3.42896C18.1013 4.06771 18.069 5.07336 18.5643 5.76877L20.1933 4.60845C20.2324 4.66338 20.2545 4.7831 20.151 4.88116L18.7758 3.42896ZM21.3531 3.65253C20.7177 2.7745 19.5 2.74319 18.7758 3.42896L20.151 4.88116C20.0607 4.96662 19.8564 4.99579 19.7329 4.82505L21.3531 3.65253ZM23.9999 11.858C23.9999 8.79116 23.0177 5.95272 21.3531 3.65253L19.7329 4.82505C21.1576 6.79386 21.9999 9.2241 21.9999 11.858H23.9999ZM21.1347 20.3571C22.9313 18.007 23.9999 15.0569 23.9999 11.858H21.9999C21.9999 14.605 21.0837 17.1308 19.5458 19.1425L21.1347 20.3571ZM15.7679 17.8769C16.4992 18.5694 17.7689 18.5421 18.383 17.583L16.6986 16.5046C16.7557 16.4154 16.8528 16.3653 16.9395 16.3574C17.0202 16.3502 17.0935 16.3777 17.1431 16.4247L15.7679 17.8769ZM15.4952 15.6045C15.0728 16.2877 15.1062 17.2504 15.7679 17.8769L17.1431 16.4248C17.1909 16.47 17.2114 16.5256 17.2154 16.5663C17.2191 16.6036 17.2103 16.6337 17.1963 16.6563L15.4952 15.6045ZM16.5 12C16.5 13.3534 16.1251 14.5859 15.4952 15.6045L17.1963 16.6563C18.0201 15.3241 18.5 13.7277 18.5 12H16.5ZM15.5419 8.47214C16.1435 9.47555 16.5 10.6803 16.5 12H18.5C18.5 10.3154 18.0438 8.75564 17.2573 7.44374L15.5419 8.47214ZM15.8281 6.22029C15.1738 6.83993 15.133 7.79005 15.5419 8.47214L17.2573 7.44374C17.2707 7.46622 17.2791 7.496 17.2752 7.53302C17.271 7.57326 17.2505 7.62785 17.2033 7.67248L15.8281 6.22029ZM18.4566 6.53363C17.8498 5.55671 16.5657 5.52185 15.8281 6.22029L17.2033 7.67248C17.1535 7.7197 17.0796 7.74724 16.9985 7.73938C16.9113 7.73092 16.8138 7.67937 16.7576 7.58886L18.4566 6.53363ZM20 12C20 9.98736 19.4343 8.10784 18.4566 6.53363L16.7576 7.58886C17.5411 8.85031 18 10.365 18 12H20ZM18.383 17.583C19.4058 15.9854 20 14.0626 20 12H18C18 13.6755 17.518 15.2248 16.6986 16.5046L18.383 17.583Z", fill: "black", fillOpacity: "0.15", mask: "url(#path-1-outside-1_1560_517)" })));
14
+ };
15
+ exports.MuteSmall = MuteSmall;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Unmute: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Unmute = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const Unmute = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "29", height: "22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m7 7 7-7h2v22h-2l-7-7H0V7h7z", fill: "#262626" }),
10
+ react_1.default.createElement("path", { d: "m20 7 4 4m0 0-4 4m4-4 4-4m-4 4 4 4", stroke: "#262626", strokeWidth: "2" })));
11
+ };
12
+ exports.Unmute = Unmute;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const UnmuteSmall: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnmuteSmall = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const UnmuteSmall = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("mask", { id: "path-1-outside-1_1560_596", maskUnits: "userSpaceOnUse", x: "0", y: "1", width: "15", height: "22", fill: "black" },
10
+ react_1.default.createElement("rect", { fill: "white", y: "1", width: "15", height: "22" }),
11
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.56108 16.4118H3C1.89543 16.4118 1 15.5163 1 14.4118V9.58825C1 8.48368 1.89543 7.58825 3 7.58825H5.56105L9.56118 2.88689C10.0399 2.32422 10.7415 2 11.4803 2C12.8719 2 14 3.12812 14 4.51973V19.4803C14 20.8719 12.8719 22 11.4803 22C10.7415 22 10.0399 21.6758 9.56118 21.1131L5.56108 16.4118Z" })),
12
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.56108 16.4118H3C1.89543 16.4118 1 15.5163 1 14.4118V9.58825C1 8.48368 1.89543 7.58825 3 7.58825H5.56105L9.56118 2.88689C10.0399 2.32422 10.7415 2 11.4803 2C12.8719 2 14 3.12812 14 4.51973V19.4803C14 20.8719 12.8719 22 11.4803 22C10.7415 22 10.0399 21.6758 9.56118 21.1131L5.56108 16.4118Z", fill: "white" }),
13
+ react_1.default.createElement("path", { d: "M5.56108 16.4118L6.3227 15.7638L6.02322 15.4118H5.56108V16.4118ZM5.56105 7.58825V8.58825H6.0232L6.32268 8.23627L5.56105 7.58825ZM9.56118 2.88689L10.3228 3.53491V3.53491L9.56118 2.88689ZM9.56118 21.1131L8.79955 21.7611L9.56118 21.1131ZM5.56108 15.4118H3V17.4118H5.56108V15.4118ZM3 15.4118C2.44771 15.4118 2 14.9641 2 14.4118H0C0 16.0686 1.34314 17.4118 3 17.4118V15.4118ZM2 14.4118V9.58825H0V14.4118H2ZM2 9.58825C2 9.03596 2.44772 8.58825 3 8.58825V6.58825C1.34315 6.58825 0 7.93139 0 9.58825H2ZM3 8.58825H5.56105V6.58825H3V8.58825ZM6.32268 8.23627L10.3228 3.53491L8.79955 2.23887L4.79943 6.94023L6.32268 8.23627ZM10.3228 3.53491C10.6115 3.19555 11.0347 3 11.4803 3V1C10.4483 1 9.4683 1.45289 8.79955 2.23887L10.3228 3.53491ZM11.4803 3C12.3196 3 13 3.68041 13 4.51973H15C15 2.57584 13.4242 1 11.4803 1V3ZM13 4.51973V19.4803H15V4.51973H13ZM13 19.4803C13 20.3196 12.3196 21 11.4803 21V23C13.4242 23 15 21.4242 15 19.4803H13ZM11.4803 21C11.0347 21 10.6115 20.8044 10.3228 20.4651L8.79955 21.7611C9.4683 22.5471 10.4483 23 11.4803 23V21ZM10.3228 20.4651L6.3227 15.7638L4.79945 17.0598L8.79955 21.7611L10.3228 20.4651Z", fill: "black", fillOpacity: "0.15", mask: "url(#path-1-outside-1_1560_596)" }),
14
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.2563 8.75628C16.598 8.41457 17.152 8.41457 17.4937 8.75628L19.5 10.7626L21.5063 8.75628C21.848 8.41457 22.402 8.41457 22.7437 8.75628C23.0854 9.09799 23.0854 9.65201 22.7437 9.99372L20.7374 12L22.7437 14.0063C23.0854 14.348 23.0854 14.902 22.7437 15.2437C22.402 15.5854 21.848 15.5854 21.5063 15.2437L19.5 13.2374L17.4937 15.2437C17.152 15.5854 16.598 15.5854 16.2563 15.2437C15.9146 14.902 15.9146 14.348 16.2563 14.0063L18.2626 12L16.2563 9.99372C15.9146 9.65201 15.9146 9.09799 16.2563 8.75628Z", fill: "white" }),
15
+ react_1.default.createElement("path", { d: "M23.0973 13.6527L21.4445 12L23.0973 10.3473C23.6342 9.8103 23.6342 8.9397 23.0973 8.40273C22.5603 7.86576 21.6897 7.86576 21.1527 8.40273L19.5 10.0555L17.8473 8.40273C17.3103 7.86576 16.4397 7.86576 15.9027 8.40273C15.3658 8.9397 15.3658 9.8103 15.9027 10.3473L17.5555 12L15.9027 13.6527C15.3658 14.1897 15.3658 15.0603 15.9027 15.5973C16.4397 16.1342 17.3103 16.1342 17.8473 15.5973L19.5 13.9445L21.1527 15.5973C21.6897 16.1342 22.5603 16.1342 23.0973 15.5973C23.6342 15.0603 23.6342 14.1897 23.0973 13.6527Z", stroke: "black", strokeOpacity: "0.15" })));
16
+ };
17
+ exports.UnmuteSmall = UnmuteSmall;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VideoControlPause: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VideoControlPause = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const VideoControlPause = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("g", { opacity: "0.9" },
10
+ react_1.default.createElement("mask", { id: "path-1-outside-1_1237_523", maskUnits: "userSpaceOnUse", x: "1", y: "0", width: "22", height: "24", fill: "black" },
11
+ react_1.default.createElement("rect", { fill: "white", x: "1", width: "22", height: "24" }),
12
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 1C2.89543 1 2 1.89543 2 3V21C2 22.1046 2.89543 23 4 23H8C9.10457 23 10 22.1046 10 21V3C10 1.89543 9.10457 1 8 1H4ZM16 1C14.8954 1 14 1.89543 14 3V21C14 22.1046 14.8954 23 16 23H20C21.1046 23 22 22.1046 22 21V3C22 1.89543 21.1046 1 20 1H16Z" })),
13
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 1C2.89543 1 2 1.89543 2 3V21C2 22.1046 2.89543 23 4 23H8C9.10457 23 10 22.1046 10 21V3C10 1.89543 9.10457 1 8 1H4ZM16 1C14.8954 1 14 1.89543 14 3V21C14 22.1046 14.8954 23 16 23H20C21.1046 23 22 22.1046 22 21V3C22 1.89543 21.1046 1 20 1H16Z", fill: "white" }),
14
+ react_1.default.createElement("path", { d: "M3 3C3 2.44772 3.44771 2 4 2V0C2.34315 0 1 1.34314 1 3H3ZM3 21V3H1V21H3ZM4 22C3.44772 22 3 21.5523 3 21H1C1 22.6569 2.34315 24 4 24V22ZM8 22H4V24H8V22ZM9 21C9 21.5523 8.55229 22 8 22V24C9.65685 24 11 22.6569 11 21H9ZM9 3V21H11V3H9ZM8 2C8.55228 2 9 2.44772 9 3H11C11 1.34315 9.65685 0 8 0V2ZM4 2H8V0H4V2ZM15 3C15 2.44772 15.4477 2 16 2V0C14.3431 0 13 1.34314 13 3H15ZM15 21V3H13V21H15ZM16 22C15.4477 22 15 21.5523 15 21H13C13 22.6569 14.3431 24 16 24V22ZM20 22H16V24H20V22ZM21 21C21 21.5523 20.5523 22 20 22V24C21.6569 24 23 22.6569 23 21H21ZM21 3V21H23V3H21ZM20 2C20.5523 2 21 2.44772 21 3H23C23 1.34315 21.6569 0 20 0V2ZM16 2H20V0H16V2Z", fill: "black", fillOpacity: "0.15", mask: "url(#path-1-outside-1_1237_523)" }))));
15
+ };
16
+ exports.VideoControlPause = VideoControlPause;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const VideoControlPlay: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VideoControlPlay = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const svg_1 = require("../utils/svg");
7
+ const VideoControlPlay = (props) => {
8
+ return (react_1.default.createElement("svg", Object.assign({ width: "24", height: "26", viewBox: "0 0 24 26", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, svg_1.a11yHiddenSvgProps, props),
9
+ react_1.default.createElement("path", { d: "M20.5028 15.6408C22.4991 14.4663 22.4991 11.5337 20.5028 10.3592L6.99778 2.41411C4.99944 1.23846 2.5 2.70595 2.5 5.05488L2.5 20.9451C2.5 23.2941 4.99943 24.7615 6.99777 23.5859L20.5028 15.6408Z", fill: "white" }),
10
+ react_1.default.createElement("path", { d: "M20.7563 16.0717C23.0812 14.7039 23.0812 11.2961 20.7563 9.92827L7.25131 1.98315C4.90651 0.603685 2 2.33458 2 5.05488L2 20.9451C2 23.6654 4.90651 25.3963 7.25131 24.0168L20.7563 16.0717Z", stroke: "black", strokeOpacity: "0.15" })));
11
+ };
12
+ exports.VideoControlPlay = VideoControlPlay;
@@ -2,6 +2,7 @@
2
2
  import { ButtonSize } from '@gravity-ui/uikit';
3
3
  import { GridColumnSize, GridColumnSizesType } from '../../grid/types';
4
4
  import { ThemeSupporting } from '../../utils';
5
+ import { AnalyticsEventsBase } from '../common';
5
6
  import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, TextSize, TextTheme, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps } from './common';
6
7
  import { BannerCardProps, SubBlock, SubBlockModels } from './sub-blocks';
7
8
  export declare enum BlockType {
@@ -32,6 +33,7 @@ export interface Childable {
32
33
  export interface BlockBaseProps {
33
34
  anchor?: AnchorProps;
34
35
  visible?: GridColumnSize;
36
+ /** @deprecated */
35
37
  resetPaddings?: boolean;
36
38
  qa?: string;
37
39
  }
@@ -141,6 +143,10 @@ export interface QuestionItem {
141
143
  export interface QuestionsProps extends Omit<ContentBlockProps, 'colSizes' | 'centered' | 'size' | 'theme'> {
142
144
  items: QuestionItem[];
143
145
  }
146
+ export interface QuestionBlockItemProps extends QuestionItem {
147
+ isOpened: boolean;
148
+ onClick: () => void;
149
+ }
144
150
  export interface BannerBlockProps extends BannerCardProps, Animatable {
145
151
  }
146
152
  export interface CompaniesBlockProps extends Animatable {
@@ -185,6 +191,10 @@ export interface TableProps {
185
191
  legend?: string[];
186
192
  justify?: Justify[];
187
193
  marker?: LegendTableMarkerType;
194
+ /**
195
+ * Only as accessible name, not displayed explicitly
196
+ */
197
+ caption?: string;
188
198
  }
189
199
  export interface TableBlockProps {
190
200
  title: string;
@@ -232,14 +242,15 @@ export interface FilterBlockProps extends Animatable, LoadableChildren {
232
242
  colSizes?: GridColumnSizesType;
233
243
  centered?: boolean;
234
244
  }
245
+ export interface IconsBlockItemProps extends AnalyticsEventsBase {
246
+ url: string;
247
+ text: string;
248
+ src: string;
249
+ }
235
250
  export interface IconsBlockProps {
236
251
  title?: string;
237
252
  size?: 's' | 'm' | 'l';
238
- items: {
239
- url: string;
240
- text: string;
241
- src: string;
242
- }[];
253
+ items: IconsBlockItemProps[];
243
254
  }
244
255
  interface ContentLayoutBlockParams {
245
256
  size?: ContentSize;
@@ -1,6 +1,6 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import React, { CSSProperties, ReactNode } from 'react';
2
2
  import { ButtonView, ButtonProps as UikitButtonProps } from '@gravity-ui/uikit';
3
- import { ThemeSupporting } from '../../utils/theme';
3
+ import { ThemeSupporting } from '../../utils';
4
4
  import { AnalyticsEventsBase, ClassNameProps, PixelEventType, QAProps } from '../common';
5
5
  export declare enum AuthorType {
6
6
  Column = "column",
@@ -25,6 +25,10 @@ export declare enum PlayButtonThemes {
25
25
  Blue = "blue",
26
26
  Grey = "grey"
27
27
  }
28
+ export declare enum CustomControlsType {
29
+ WithMuteButton = "with-mute-button",
30
+ WithPlayPauseButton = "with-play-pause-button"
31
+ }
28
32
  export declare enum MediaVideoType {
29
33
  Default = "default",
30
34
  Player = "player"
@@ -61,6 +65,12 @@ export interface Stylable {
61
65
  export interface Animatable {
62
66
  animated?: boolean;
63
67
  }
68
+ export interface Tabbable {
69
+ tabIndex?: number;
70
+ }
71
+ export interface Roleable {
72
+ role?: React.AriaRole;
73
+ }
64
74
  export interface Background {
65
75
  image?: string;
66
76
  color?: string;
@@ -104,9 +114,11 @@ export interface MediaVideoProps extends AnalyticsEventsBase {
104
114
  elapsedTime?: number;
105
115
  playButton?: PlayButtonProps;
106
116
  controls?: MediaVideoControlsType;
117
+ customControlsOptions?: CustomControlsOptions;
107
118
  metrika?: MetrikaVideo;
119
+ ariaLabel?: string;
108
120
  }
109
- export interface LinkProps extends AnalyticsEventsBase, Stylable {
121
+ export interface LinkProps extends AnalyticsEventsBase, Stylable, Tabbable {
110
122
  url: string;
111
123
  text?: string;
112
124
  textSize?: TextSize;
@@ -117,7 +129,7 @@ export interface LinkProps extends AnalyticsEventsBase, Stylable {
117
129
  metrikaGoals?: MetrikaGoal;
118
130
  pixelEvents?: ButtonPixel;
119
131
  }
120
- export interface FileLinkProps extends ClassNameProps {
132
+ export interface FileLinkProps extends ClassNameProps, Tabbable {
121
133
  href: string;
122
134
  text: ReactNode;
123
135
  type?: FileLinkType;
@@ -126,7 +138,7 @@ export interface FileLinkProps extends ClassNameProps {
126
138
  onClick?: () => void;
127
139
  }
128
140
  export type ButtonTheme = ButtonView | 'github' | 'app-store' | 'google-play' | 'scale' | 'monochrome';
129
- export interface ButtonProps extends AnalyticsEventsBase, Pick<UikitButtonProps, 'size' | 'width'> {
141
+ export interface ButtonProps extends AnalyticsEventsBase, Pick<UikitButtonProps, 'size' | 'width' | 'extraProps'> {
130
142
  text: string;
131
143
  url: string;
132
144
  primary?: boolean;
@@ -142,22 +154,14 @@ export interface ButtonImageProps {
142
154
  position?: ButtonImagePosition;
143
155
  alt?: string;
144
156
  }
157
+ export interface CustomControlsOptions {
158
+ type?: CustomControlsType;
159
+ }
145
160
  export interface PlayButtonProps extends ClassNameProps {
146
161
  type?: PlayButtonType;
147
162
  theme?: PlayButtonThemes;
148
163
  text?: string;
149
164
  }
150
- export interface MediaVideoProps {
151
- src: string[];
152
- type?: MediaVideoType;
153
- loop?: LoopProps | boolean;
154
- muted?: boolean;
155
- autoplay?: boolean;
156
- elapsedTime?: number;
157
- playButton?: PlayButtonProps;
158
- controls?: MediaVideoControlsType;
159
- metrika?: MetrikaVideo;
160
- }
161
165
  export type ThemedMediaVideoProps = ThemeSupporting<MediaVideoProps>;
162
166
  export interface MediaComponentVideoProps extends AnalyticsEventsBase {
163
167
  video: MediaVideoProps;
@@ -182,7 +186,7 @@ export interface MediaComponentDataLensProps {
182
186
  export interface MediaProps extends Animatable, Partial<MediaComponentDataLensProps>, Partial<MediaComponentYoutubeProps>, Partial<MediaComponentImageProps>, Partial<MediaComponentVideoProps> {
183
187
  color?: string;
184
188
  }
185
- export interface BackgroundMediaProps extends MediaProps, Animatable {
189
+ export interface BackgroundMediaProps extends MediaProps, Animatable, QAProps {
186
190
  fullWidthMedia?: boolean;
187
191
  className?: string;
188
192
  mediaClassName?: string;
@@ -283,7 +287,7 @@ export interface PriceDetailsListProps {
283
287
  export interface PriceDetailsProps {
284
288
  items?: PriceDetailsSettingsProps[] | PriceDetailsListProps[];
285
289
  }
286
- export interface PriceItemProps extends PriceDetailsProps, PriceDescriptionProps {
290
+ export interface PriceItemProps extends PriceDetailsProps, PriceDescriptionProps, AnalyticsEventsBase {
287
291
  }
288
292
  export interface PriceFoldableDetailsProps {
289
293
  title: string;
@@ -308,24 +312,6 @@ export interface PriceDetailedProps extends CardBaseProps {
308
312
  foldable?: PriceFoldableDetailsProps;
309
313
  labelsDefaultText?: Record<PriceLabelColor, string>;
310
314
  }
311
- export interface PriceDetailedProps extends CardBaseProps {
312
- items: PriceItemProps[];
313
- description?: {
314
- titleSize?: TextSize;
315
- descriptionSize?: TextSize;
316
- titleColor?: PriceDescriptionColor;
317
- };
318
- details?: {
319
- titleSize?: TextSize;
320
- descriptionSize?: TextSize;
321
- };
322
- priceType?: PriceDetailsType;
323
- numberGroupItems?: 3 | 4 | 5;
324
- isCombined?: boolean;
325
- useMixedView?: boolean;
326
- foldable?: PriceFoldableDetailsProps;
327
- labelsDefaultText?: Record<PriceLabelColor, string>;
328
- }
329
315
  export interface AuthorProps extends QAProps {
330
316
  author: AuthorItem;
331
317
  className?: string;